66447bf52af592580b97a581051998bc0b8fc7d8
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2
3         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4         Call get_rounding_mode.
5
6 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7
8         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9         Simplify logic.
10
11 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12
13         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14         Simplify logic.
15
16 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17
18         [BZ #14138]
19         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
46         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
47         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
48         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
49         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
50         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
51         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
52         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
53         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
55         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
56         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
57         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
58         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
59         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
60         syscall.
61         (geteuid): Likewise.
62         (getgid): Likewise.
63         (getuid): Likewise.
64         (getresgid): Likewise.
65         (getresuid): Likewise.
66         (getgroups): Likewise.
67         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
68         (geteuid): Likewise.
69         (getgid): Likewise.
70         (getuid): Likewise.
71         (getresgid): Likewise.
72         (getresuid): Likewise.
73         (getgroups): Likewise.
74         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
75         (geteuid): Likewise.
76         (getgid): Likewise.
77         (getuid): Likewise.
78         (getresgid): Likewise.
79         (getresuid): Likewise.
80         (getgroups): Likewise.
81         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
82         Likewise.
83         (geteuid): Likewise.
84         (getgid): Likewise.
85         (getuid): Likewise.
86         (getresgid): Likewise.
87         (getresuid): Likewise.
88         (getgroups): Likewise.
89         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
90         (geteuid): Likewise.
91         (getgid): Likewise.
92         (getuid): Likewise.
93         (getresgid): Likewise.
94         (getresuid): Likewise.
95         (getgroups): Likewise.
96         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
97         Likewise.
98         (geteuid): Likewise.
99         (getgid): Likewise.
100         (getuid): Likewise.
101         (getgroups): Likewise.
102
103         [BZ #14138]
104         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
105         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
106         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
107         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
108         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
109         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
110         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
111         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
112         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
113         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
114         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
115         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
116         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
117         __chown.
118         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
119         (lchown): Likewise.
120         (fchown): Likewise.
121         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
122         Likewise.
123         (lchown): Likewise.
124         (fchown): Likewise.
125         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
126         (lchown): Likewise.
127         (fchown): Likewise.
128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
129         Likewise.
130         (lchown): Likewise.
131         (fchown): Likewise.
132
133 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
134
135         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
136         Simplify logic.
137
138 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
139
140         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
141         Cleanup logic.
142
143 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
144
145         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
146         Remove unused include.
147
148 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
149
150         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
151         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
152         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
153         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
154
155 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
156             Helge Deller <deller@gmx.de>
157
158         [BZ #17508]
159         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
160         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
161         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
162
163 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
164
165         [BZ #14132]
166         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
167         Remove macro definition.
168         (__ashrdi3_v_glibc20): Likewise.
169         (__lshrdi3_v_glibc20): Likewise.
170         (__cmpdi2_v_glibc20): Likewise.
171         (__ucmpdi2_v_glibc20): Likewise.
172         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
173         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
174         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
175         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
176         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
177         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
178
179 2014-10-22  Roland McGrath  <roland@hack.frob.com>
180
181         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
182         old GNU extension [0] syntax.
183         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
184         alloca rather than an array member with variable length.
185         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
186         * nscd/nscd.c (invalidate_db): New function, broken out of ...
187         (parse_opt): ... here.  Likewise use alloca there.
188         Validate the -i argument before checking for rootness.
189         (send_shutdown): New function, broken out of ...
190         (parse_opt): ... here.
191
192 2014-10-22  Roland McGrath  <roland@hack.frob.com>
193
194         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
195         macro to get at the _rt_local_ro field.
196         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
197         ([PIC] case) or _dl_hwcap ([!PIC] case).
198         * sysdeps/arm/setjmp.S: Likewise.
199
200         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
201         * sysdeps/arm/configure.ac: New check to define it.
202         * sysdeps/arm/configure: Regenerated.
203         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
204         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
205         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
206         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
207         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
208         Use move/movt pair instead of a load.
209         (LDST_GLOBAL): Macro removed.
210         (LDR_GLOBAL): New macro replaces it.
211         (LDR_HIDDEN): New macro.
212         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
213         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
214
215         * setjmp/tst-setjmp-static.c: New file.
216         * setjmp/Makefile (tests): Add it.
217         (tests-static): New variable.
218
219 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
220
221         [BZ #17485]
222         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
223
224 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
225
226         [BZ #14132]
227         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
228
229 2014-10-21  Roland McGrath  <roland@hack.frob.com>
230
231         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
232
233 2014-10-20  Roland McGrath  <roland@hack.frob.com>
234
235         * io/fts.c (dirent_not_directory): New function.
236         (fts_build): Call it.
237
238 2014-10-20  Roland McGrath  <roland@hack.frob.com>
239
240         * nptl/version.c (__nptl_main): Use normal __write rather than
241         INTERNAL_SYSCALL.
242         (banner): Update copyright years.
243
244         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
245         gettimeofday.
246         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
247         * nptl/pthread_cond_timedwait.c: Likewise.
248         * nptl/pthread_mutex_timedlock.c: Likewise.
249         * nptl/sem_timedwait.c: Likewise.
250
251         * sysdeps/nptl/bits/libc-lock.h
252         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
253         (__libc_lock_init_recursive): Return void, not 0.
254         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
255         (__libc_rwlock_init): Likewise.
256         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
257
258 2014-10-20  Torvald Riegel  <triegel@redhat.com>
259
260         [BZ #15215]
261         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
262         (__pthread_once_slow): ... here.
263         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
264         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
265
266 2014-10-20  Torvald Riegel  <triegel@redhat.com>
267
268         [BZ #15215]
269         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
270         __PTHREAD_ONCE_FORK_GEN_INCR): New.
271         * sysdeps/nptl/fork.c (__libc_fork): Use them.
272         * nptl/pthread_once.c (__pthread_once): Likewise.
273         Update comments.
274
275 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
276
277         [BZ #14138]
278         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
279         name.
280         (writev): Use __libc_writev as strong name.
281         * sysdeps/unix/sysv/linux/readv.c: Remove file.
282         * sysdeps/unix/sysv/linux/writev.c: Likewise.
283
284 2014-10-17  Roland McGrath  <roland@hack.frob.com>
285
286         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
287
288         * sysdeps/i386/nptl/tls.h
289         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
290         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
291         New macros.
292         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
293         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
294         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
295         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
296         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
297         Call CHECK_THREAD_SYSINFO instead of doing an assert.
298
299         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
300         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
301         on [__NR_futex].
302         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
303         broken out of ...
304         (__pthread_mutex_init): ... here.  Call it.
305         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
306         Conditionalize PI cases on [__NR_futex].
307         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
308         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
309         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
310
311         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
312         conditional on [SIGSETXID].
313         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
314         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
315         is defined.  Likewise for SIGSETXID.
316         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
317         Conditionalize definitions on [SIGSETXID].
318         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
319         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
320         unblocking on [SIGCANCEL].
321
322         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
323         [__NR_set_robust_list].
324
325 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
326
327         * string/strcoll_l.c (get_next_seq): Fix up formatting.
328         (do_compare): Likewise.
329
330 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
331
332         [BZ #15884]
333         * string/strcoll_l.c: Don't include stdio.h.
334         (coll_seq): Remove members idxarr and rulearr.
335         (get_next_seq_cached): Remove function.
336         (get_next_seq): Likewise.
337         (get_next_seq_nocache): Rename to get_next_seq.
338         (do_compare): Remove function.
339         (do_compare_nocache): Rename to do_compare.
340         (STRCOLL): Remove weight and rules cache.
341
342 2014-10-16  Roland McGrath  <roland@hack.frob.com>
343
344         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
345         * sysdeps/arm/sfp-machine.h: ... to here.
346         * sysdeps/arm/Implies: Remove arm/soft-fp.
347
348 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
349
350         * conform/data/sys/utsname.h-data (*_t): Allow.
351         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
352         [POSIX] (WEXITED): Do not expect constant.
353         [POSIX] (WSTOPPED): Likewise.
354         [POSIX] (WNOHANG): Likewise.
355         [POSIX] (WNOWAIT): Likewise.
356         [POSIX] (siginfo_t): Do not expect type or elements.
357         [POSIX] (pid_t): Do not expect type.
358         [POSIX] (signal.h): Do not allow header.
359         [POSIX] (sys/resource.h): Likewise.
360         [POSIX] (si_*): Do not allow pattern.
361         [POSIX] (W*): Likewise.
362         [POSIX] (P_*): Likewise.
363         [POSIX] (BUS_*): Likewise.
364         [POSIX] (CLD_*): Likewise.
365         [POSIX] (FPE_*): Likewise.
366         [POSIX] (ILL_*): Likewise.
367         [POSIX] (POLL_*): Likewise.
368         [POSIX] (SEGV_*): Likewise.
369         [POSIX] (SI_*): Likewise.
370         [POSIX] (TRAP_*): Likewise.
371         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
372         variable.
373
374 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
375
376         [BZ #12926]
377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
378         infinite loop when __recvmsg returns 0.
379
380 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
381
382         * CANCEL-FCT-WAIVE: Remove file.
383         * CANCEL-FILE-WAIVE: Likewise.
384
385         [BZ #14132]
386         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
387         instead of INTVARDEF.
388         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
389         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
390         rtld_hidden_data_def instead of INTVARDEF.
391         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
392         * elf/dl-deps.c (expand_dst): Likewise.
393         * elf/dl-load.c (_dl_dst_count): Likewise.
394         (_dl_dst_substitute): Likewise.
395         (decompose_rpath): Likewise.
396         (_dl_init_paths): Likewise.
397         (open_path): Likewise.
398         (_dl_map_object): Likewise.
399         * elf/rtld.c (dl_main): Likewise.
400         (process_dl_audit): Likewise.
401         (process_envvars): Likewise.
402         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
403         Remove declaration.
404         (__libc_enable_secure): Use rtld_hidden_proto.
405
406 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
407
408         * elf/dl-load.c
409         (add_path): New function broken out of _dl_rtld_di_serinfo.
410         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
411
412 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
413
414         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
415         parentheses around macro arguments.
416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
427         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
431         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
432         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
445         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
446         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
449         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
450         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
451         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
452         Likewise.
453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
460         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
464         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
465         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
474         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
476         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
477         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
478         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
479         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
480         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
481         (_FP_FRAC_SRS_1): Likewise.
482         (_FP_FRAC_CLZ_1): Likewise.
483         (_FP_MUL_MEAT_1_imm): Likewise.
484         (_FP_MUL_MEAT_1_wide): Likewise.
485         (_FP_MUL_MEAT_1_hard): Likewise.
486         (_FP_SQRT_MEAT_1): Likewise.
487         (_FP_FRAC_ASSEMBLE_1): Likewise.
488         (_FP_FRAC_DISASSEMBLE_1): Likewise.
489         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
490         (__FP_CLZ_2): Likewise.
491         (_FP_MUL_MEAT_2_wide): Likewise.
492         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
493         (_FP_MUL_MEAT_2_gmp): Likewise.
494         (_FP_MUL_MEAT_2_120_240_double): Likewise.
495         (_FP_SQRT_MEAT_2): Likewise.
496         (_FP_FRAC_ASSEMBLE_2): Likewise.
497         (_FP_FRAC_DISASSEMBLE_2): Likewise.
498         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
499         (_FP_FRAC_CLZ_4): Likewise.
500         (_FP_MUL_MEAT_4_wide): Likewise.
501         (_FP_MUL_MEAT_4_gmp): Likewise.
502         (_FP_SQRT_MEAT_4): Likewise.
503         (_FP_FRAC_ASSEMBLE_4): Likewise.
504         (_FP_FRAC_DISASSEMBLE_4): Likewise.
505         * soft-fp/op-common.h (_FP_CMP): Likewise.
506         (_FP_CMP_EQ): Likewise.
507         (_FP_CMP_UNORD): Likewise.
508         (_FP_TO_INT): Likewise.
509         (_FP_FROM_INT): Likewise.
510         [!__FP_CLZ] (__FP_CLZ): Likewise.
511         (_FP_DIV_HELP_imm): Likewise.
512         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
513         Likewise.
514         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
515         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
517         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
518         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
525         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
526         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
527         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
528         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
529         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
530         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
531         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
541         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
543         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
544         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
545         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
546         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
547         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
548         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
549         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
550         (FP_UNPACK_RAW_SP): Likewise.
551         (FP_PACK_RAW_S): Likewise.
552         (FP_PACK_RAW_SP): Likewise.
553         (FP_UNPACK_S): Likewise.
554         (FP_UNPACK_SP): Likewise.
555         (FP_UNPACK_SEMIRAW_S): Likewise.
556         (FP_UNPACK_SEMIRAW_SP): Likewise.
557         (FP_PACK_S): Likewise.
558         (FP_PACK_SP): Likewise.
559         (FP_PACK_SEMIRAW_S): Likewise.
560         (FP_PACK_SEMIRAW_SP): Likewise.
561         (_FP_SQRT_MEAT_S): Likewise.
562         (FP_CMP_S): Likewise.
563         (FP_CMP_EQ_S): Likewise.
564         (FP_CMP_UNORD_S): Likewise.
565         (FP_TO_INT_S): Likewise.
566         (FP_FROM_INT_S): Likewise.
567
568         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
569
570         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
571         (FP_EX_INVALID_IMZ): Likewise.
572         (FP_EX_INVALID_IMZ_FMA): Likewise.
573         (FP_EX_INVALID_ISI): Likewise.
574         (FP_EX_INVALID_ZDZ): Likewise.
575         (FP_EX_INVALID_IDI): Likewise.
576         (FP_EX_INVALID_SQRT): Likewise.
577         (FP_EX_INVALID_CVI): Likewise.
578         (FP_EX_INVALID_VC): Likewise.
579         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
580         "invalid" exceptions.
581         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
582         (_FP_ADD_INTERNAL): Likewise.
583         (_FP_MUL): Likewise.
584         (_FP_FMA): Likewise.
585         (_FP_DIV): Likewise.
586         (_FP_CMP_CHECK_NAN): Likewise.
587         (_FP_SQRT): Likewise.
588         (_FP_TO_INT): Likewise.
589         (FP_EXTEND): Likewise.
590
591 2014-10-09  Allan McRae  <allan@archlinux.org>
592
593         * po/fr.po: Update French translation from translation project.
594
595 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
596
597         [BZ #14132]
598         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
599         of INTDEF.
600         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
601         (__cxa_atexit): Use libc_hidden_proto.
602         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
603
604         [BZ #14132]
605         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
606         declaration.
607         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
608         [!_ISOMAC] (__iswspace_l_internal): Likewise.
609         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
610         [!_ISOMAC] (__iswctype_internal): Likewise.
611         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
612         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
613         alias.
614         (fcntl): Remove __fcntl_internal alias.
615         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
616         __connect_internal alias.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
618         Likewise.
619
620         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
621         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
622         FP_DENORM_ZERO.
623         (_FP_CHECK_FLUSH_ZERO): New macro.
624         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
625         (_FP_CMP): Likewise.
626         (_FP_CMP_EQ): Likewise.
627         (_FP_TO_INT): Do not set inexact for subnormal arguments if
628         FP_DENORM_ZERO.
629         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
630         (FP_TRUNC): Likewise.
631
632         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
633         treated as invalid conversion, not as normal exponent.
634
635         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
636         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
637         (_FP_CMP_EQ): Likewise.
638         (_FP_CMP_UNORD): Likewise.
639         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
640         (FP_CMP_EQ_D): Likewise.
641         (FP_CMP_UNORD_D): Likewise.
642         * soft-fp/extended.h (FP_CMP_E): Likewise.
643         (FP_CMP_EQ_E): Likewise.
644         (FP_CMP_UNORD_E): Likewise.
645         * soft-fp/quad.h (FP_CMP_Q): Likewise.
646         (FP_CMP_EQ_Q): Likewise.
647         (FP_CMP_UNORD_Q): Likewise.
648         * soft-fp/single.h (FP_CMP_S): Likewise.
649         (FP_CMP_EQ_S): Likewise.
650         (FP_CMP_UNORD_S): Likewise.
651         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
652         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
653         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
654         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
655         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
656         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
657         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
658         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
659         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
660         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
661         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
662         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
663         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
664         to FP_CMP_Q.
665         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
666         FP_CMP_Q.
667         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
668         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
669         FP_CMP_EQ_Q.
670         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
671         FP_CMP_Q.
672         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
673         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
674         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
675         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
676         FP_CMP_EQ_Q.
677         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
678         FP_CMP_Q.
679         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
680         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
681         FP_CMP_EQ_Q.
682         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
683         FP_CMP_Q.
684         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
685         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
686         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
687         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
688         FP_CMP_EQ_Q.
689
690         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
691         a subnormal result, set the underflow exception if trapping on
692         underflow is enabled.
693         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
694         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
695         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
696         redefine to 0.
697         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
698         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
699         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
700         * soft-fp/extendxftf2.c (__extendxftf2): Use
701         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
702
703         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
704         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
705         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
706         FP_HANDLE_EXCEPTIONS.
707         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
708         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
709         FP_HANDLE_EXCEPTIONS.
710         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
711         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
712         FP_HANDLE_EXCEPTIONS.
713         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
714         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
715         FP_HANDLE_EXCEPTIONS.
716
717 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
718
719         [BZ #14132]
720         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
721         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
722         use INTUSE.
723         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
724         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
725         Remove alias.
726         (__adjtimex): Define using libc_hidden_ver.
727         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
728         Remove declaration.
729         (ntp_gettime): Call __adjtimex directly.
730         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
731         Remove declaration.
732         (ntp_gettimex): Call __adjtimex directly.
733         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
734         __adjtimex_internal alias.
735
736 2014-10-08  Roland McGrath  <roland@hack.frob.com>
737
738         [BZ #17460]
739         * nscd/nscd.c (more_help): Rewrite list of tables collection
740         using xstrdup and asprintf.
741
742         * nscd/nscd_conf.c: Remove local xstrdup declaration.
743
744 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
745             Roland McGrath  <roland@hack.frob.com>
746
747         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
748         (do_lookup_unique): ... local function 'enter' here; update callers.
749
750 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
751
752         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
753         compat_symbol calls on [SHARED].
754         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
755         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
756         Remove.
757         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
758         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
759         (oldsetrlimit): Remove.
760         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
762         (lchown): New syscall entry.
763         (oldsetrlimit): Remove.
764         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
766         (oldsetrlimit): Remove.
767         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
768
769         [BZ #14138]
770         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
771         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
772         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
773         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
775         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
776         (fchown): Likewise.
777         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
778         (fchown): Likewise.
779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
780         Likewise.
781
782 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
783
784         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
785         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
786         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
787         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
788         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
789         Likewise.
790         (__old_sem_post): Likewise.
791
792 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
793
794         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
795         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
796         HAVE_CLOCK_GETTIME_VSYSCALL macros.
797         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
798         Use INLINE_VSYSCALL macro.
799         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
800         __vdso_clock_gettime.
801         * sysdeps/unix/sysv/linux/tile/init-first.c
802         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
803         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
804         __vdso_clock_gettime.
805
806         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
807         to set up frame more cleanly.
808
809         * sysdeps/tile/memcmp.c: New file.
810
811         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
812
813         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
814         * sysdeps/tile/tilegx/strcasestr.c: New file.
815         * sysdeps/tile/tilegx/strnlen.c: New file.
816         * sysdeps/tile/tilegx/strstr.c: New file.
817
818         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
819
820 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
821
822         * nptl/tst-setuid3.c: Write errors to stdout.
823
824 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
825
826         * elf/dl-deps.c
827         (preload): New functions broken out of _dl_map_object_deps.
828         (_dl_map_object_deps):  Remove a nested function. Update call sites.
829
830 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
831
832         [BZ #14138]
833         * sysdeps/unix/sysv/linux/execve.c: Remove file.
834         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
835
836 2014-10-01  Steve Ellcey  <sellcey@mips.com>
837
838         * sysdeps/mips/strcmp.S: New.
839
840 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
841
842         [BZ #14138]
843         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
844         (linkat): Likewise.
845         (mkdirat): Likewise.
846         (readlinkat): Likewise.
847         (renameat): Likewise.
848         (symlinkat): Likewise.
849         (unlinkat): Likewise.
850         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
851         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
852         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
853         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
854         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
855         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
856         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
857
858 2014-09-30  Will Newton  <will.newton@linaro.org>
859
860         * math/math.h: Define long double math functions if
861         _LIBC_TEST is defined.
862         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
863
864         * localedata/Makefile: Move assignment to tests-special
865         into an ifdef testing run-built-tests.
866         * timezone/Makefile: Likewise.
867
868 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
869
870         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
871         with $(BASH) not $(SHELL).
872
873 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
874             Matthew LeGendre  <legendre1@llnl.gov>
875
876         [BZ #17411]
877         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
878         l_reloc_result.
879
880 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
881
882         * stdio-common/printf_fp.c
883         (hack_digit): New function, broken out of ...
884         (__printf_fp): ... local function here.  Update call sites.
885         hack_digit now takes an additional parameter that is a pointer
886         to a struct of the referenced locals.  Those locals moved inside
887         the struct and references updated.
888
889 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
890
891         * aclocal.m4: Require autoconf 2.69.
892         * configure: Regenerated.
893         * sysdeps/aarch64/configure: Likewise.
894         * sysdeps/alpha/configure: Likewise.
895         * sysdeps/arm/armv7/configure: Likewise.
896         * sysdeps/arm/configure: Likewise.
897         * sysdeps/ia64/configure: Likewise.
898         * sysdeps/mach/configure: Likewise.
899         * sysdeps/mips/configure: Likewise.
900         * sysdeps/s390/configure: Likewise.
901         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
903
904         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
905         file.
906         * sysdeps/ia64/configure.ac: Likewise.
907
908 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
909
910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
911         specify symbol version for ld.so.  Do not include entry for
912         libpthread.
913         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
915         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
916
917         [BZ #14171]
918         * Makeconfig [$(build-shared) = yes]
919         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
920         makefiles.
921         [$(build-shared) = yes && $(soversions.mk-done) = t]
922         ($(common-objpfx)gnu/lib-names.h): Remove rule.
923         [$(build-shared) = yes && $(soversions.mk-done) = t]
924         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
925         to Makerules.
926         [$(build-shared) = yes && $(soversions.mk-done) = t]
927         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
928         here.
929         [$(build-shared) = yes && $(soversions.mk-done) = t]
930         (common-generated): Don't append gnu/lib-names.h and
931         gnu/lib-names.stmp here.
932         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
933         (lib-names-h-abi): New variable.
934         [$(build-shared) = yes && $(soversions.mk-done) = t]
935         (lib-names-stmp-abi): Likewise.
936         [$(build-shared) = yes && $(soversions.mk-done) = t &&
937         abi-variants] (before-compile): Append
938         $(common-objpfx)$(lib-names-h-abi).
939         [$(build-shared) = yes && $(soversions.mk-done) = t &&
940         abi-variants] (common-generated): Append gnu/lib-names.h.
941         [$(build-shared) = yes && $(soversions.mk-done) = t &&
942         abi-variants] (install-others-nosubdir): Depend on
943         $(inst_includedir)/$(lib-names-h-abi).
944         [$(build-shared) = yes && $(soversions.mk-done) = t &&
945         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
946         [$(build-shared) = yes && $(soversions.mk-done) = t]
947         ($(common-objpfx)$(lib-names-h-abi)): New rule.
948         [$(build-shared) = yes && $(soversions.mk-done) = t]
949         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
950         [$(build-shared) = yes && $(soversions.mk-done) = t]
951         (common-generated): Append $(lib-names-h-abi) and
952         $(lib-names-stmp-abi).
953         * scripts/lib-names.awk: Do not handle multi being set.
954         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
955         Remove variable.
956         (abi-lp64_be-ld-soname): Likewise.
957         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
958         Likewise.
959         (abi-hard-ld-soname): Likewise.
960         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
961         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
962         Remove variable.
963         (abi-o32_hard-ld-soname): Likewise.
964         (abi-o32_soft_2008-ld-soname): Likewise.
965         (abi-o32_hard_2008-ld-soname): Likewise.
966         (abi-n32_soft-ld-soname): Likewise.
967         (abi-n32_hard-ld-soname): Likewise.
968         (abi-n32_soft_2008-ld-soname): Likewise.
969         (abi-n32_hard_2008-ld-soname): Likewise.
970         (abi-n64_soft-ld-soname): Likewise.
971         (abi-n64_hard-ld-soname): Likewise.
972         (abi-n64_soft_2008-ld-soname): Likewise.
973         (abi-n64_hard_2008-ld-soname): Likewise.
974         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
975         Likewise.
976         (abi-64-v2-ld-soname): Likewise.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
978         ld.so entries.
979         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
980         variable.
981         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
982         entry.
983         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
984         variable.
985         (abi-64-ld-soname): Likewise.
986         (abi-x32-ld-soname): Likewise.
987         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
988         entry.
989         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
990
991 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
992
993         [BZ #14138]
994         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
995         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
996         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
997         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
998         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
999         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1001         syscall entry for GLIBC_2.2 symbol version.
1002         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1003         Likewise.
1004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1005         (setrlimit): Likewise.
1006         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1007         Likewise.
1008
1009 2014-09-23  Will Newton  <will.newton@linaro.org>
1010
1011         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1012         _LINUX_ARM_SYSDEP_H include guard too.
1013         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1014         define.
1015
1016 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1017
1018         * sysdeps/unix/sysv/linux/eventfd.c:
1019         Make first argument unsigned.
1020         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1021         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1022
1023 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1024
1025         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1026         * socket/sys/socket.h: Likewise
1027         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1028
1029 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1030
1031         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1032
1033 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1034
1035         * time/tst-ftime.c: New test.
1036         * time/Makefile (tests): Add tst-ftime.
1037
1038 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1039
1040         * soft-fp/extended.h: Fix comment formatting.
1041         * soft-fp/op-1.h: Likewise.
1042         * soft-fp/op-2.h: Likewise.
1043         * soft-fp/op-4.h: Likewise.
1044         * soft-fp/op-8.h: Likewise.
1045         * soft-fp/op-common.h: Likewise.
1046         * soft-fp/soft-fp.h: Likewise.
1047
1048         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1049
1050 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1051
1052         [BZ #6652]
1053         * Makeconfig (soversions-default-setname): Remove variable.
1054         ($(common-objpfx)soversions.i): Don't pass default_setname to
1055         soversions.awk.
1056         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1057         oldest_abi to abi-versions.awk.
1058         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1059         * config.make.in (oldest-abi): Remove variable.
1060         * configure.ac (--enable-oldest-abi): Remove configure option.
1061         * configure: Regenerated.
1062         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1063         text.
1064         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1065         * scripts/soversions.awk: Do not handle default_setname variable.
1066         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1067         variable.
1068         * sysdeps/mach/hurd/configure: Regenerated.
1069         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1070         variable.
1071         * sysdeps/unix/sysv/linux/configure: Regenerated.
1072
1073 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074
1075         * elf/Makefile (CFLAGS-interp.c): Remove.
1076         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1077         path string.
1078         * elf/interp.c: Include generated runtime-linker.h
1079
1080         * Makerules (lib%.so): Don't include $(+interp) in
1081         prerequisites.
1082         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1083         * dlfcn/eval.c: Remove file.
1084
1085         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1086         macros.
1087
1088         [BZ #17266]
1089         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1090         4.2 and newer.
1091
1092         [BZ #17370]
1093         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1094
1095 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1096             Jakub Jelinek  <jakub@redhat.com>
1097
1098         [BZ #17266]
1099         * libio/stdio.h: Check definition of __fortify_function
1100         instead of __extern_always_inline to include bits/stdio2.h.
1101         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1102         check if __extern_always_inline is defined.
1103         [__USE_MISC || __USE_XOPEN]: Likewise.
1104         [__USE_ISOC99] Likewise.
1105         * misc/sys/cdefs.h (__fortify_function): Define only if
1106         __extern_always_inline is defined.
1107         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1108         __extern_always_inline and __extern_inline only for g++-4.3
1109         and newer or a compatible gcc.
1110
1111 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1112
1113         [BZ #17371]
1114         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1115         last change to handle zero prefix length.
1116
1117 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118
1119         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1120         _SC_REGEX_VERSION.
1121
1122         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1123         _POSIX_RAW_SOCKETS.
1124
1125 2014-09-13  Allan McRae  <allan@archlinux.org>
1126
1127         * po/ru.po: Update Russian translation from translation project.
1128
1129 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1130
1131         * locale/programs/locale.c (show_locale_vars): Inline local function
1132         into its sole call site.  Clean up some style nits.
1133         (print_item): New function, broken out of ...
1134         (show_info): ... local function here.  Clean up style nits.
1135
1136         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1137         out of ...
1138         (set_class_defaults): ... local function set_default here.
1139         Define set_default as a macro locally to pass constant parameters.
1140         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1141         rather than a shared local.
1142
1143         * stdlib/rpmatch.c (try): New function, broken out of ...
1144         (rpmatch): ... local function here.  Also, prototypify definition.
1145
1146 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1147
1148         * scripts/soversions.awk: Do not handle configuration names.
1149         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1150         vendor and os variables to soversions.awk.
1151         * configure.ac: Do not modify gnu-* host_os.
1152         * configure: Regenerated
1153         * shlib-versions: Remove first column with configuration names.
1154         * nptl/shlib-versions: Likewise.
1155         * nptl_db/shlib-versions: Likewise.
1156         * sysdeps/hppa/shlib-versions: Likewise.
1157         * sysdeps/m68k/shlib-versions: Likewise.
1158         * sysdeps/mach/hurd/shlib-versions: Likewise.
1159         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1160         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1161         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1162         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1163         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1164         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1165         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1166         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1168         Likewise.
1169         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1170         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1171         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1172         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1174         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1175         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1176         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1177
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1179         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1181         Regenerated.
1182         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1184         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1185
1186         * shlib-versions: Remove OS-specific entries.  Moved to files in
1187         sysdeps.
1188         * sysdeps/mach/hurd/shlib-versions: New file.
1189         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1190
1191         * nptl/shlib-versions: Remove architecture-specific entries.
1192         Moved to files in sysdeps.
1193         * shlib-versions: Likewise.
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1195         file.
1196         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1197         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1198         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1199         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1200
1201         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1202         (UDP_NO_CHECK6_RX): Likewise.
1203
1204 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1205
1206         * sysdeps/posix/sysconf.c (__sysconf): Spell
1207         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1208
1209 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1210
1211         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1212         loading.
1213         * iconv/Versions (__gconv_transliterate): Export for use from
1214         gconv modules.
1215         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1216         (struct __gconv_trans_data, __gconv_trans_fct,
1217         __gconv_trans_context_fct, __gconv_trans_query_fct,
1218         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1219         definitions.
1220         (struct __gconv_step_data): Remove __trans member.
1221         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1222         longer hidden.  Remove unused trans_data argument.
1223         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1224         (__gconv_translit_find): Remove declaration.
1225         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1226         prototype.
1227         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1228         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1229         trans_data argument.  Add hidden definition.
1230         (__gconv_translit_find): Remove.
1231         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1232         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1233         * iconv/skeleton.c: Remove transliteration initialization.
1234         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1235         __gconv_step_data initialization.
1236         * libio/iofwide.c (__libio_translit_): Remove.
1237         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1238         * wcsmbs/btowc.c (__btowc): Likewise.
1239         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1240         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1241         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1242         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1243         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1244         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1245         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1246         * wcsmbs/wctob.c (wctob): Likewise.
1247
1248 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249
1250         [BZ #16194]
1251         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1252         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1253         register usage.
1254         * sysdeps/x86/Makefile: Adjust.
1255
1256 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1257             Roland McGrath  <roland@hack.frob.com>
1258
1259         * locale/weight.h: Add include guard.
1260         (findidx): Make static rather than auto; take new parameters
1261         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1262         * locale/weightwc.h: Likewise.
1263         * posix/fnmatch_loop.c
1264         (FCT): Change type of EXTRA from int32_t to wint_t.
1265         Don't include either header inside the function.
1266         Call FINDIDX rather than findidx, and pass new arguments.
1267         #undef FINDIDX at the end of the file.
1268         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1269         FINDIDX before including fnmatch_loop.c for the non-wide version.
1270         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1271         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1272         for the wide version.
1273         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1274         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1275         Pass new arguments to findidx.
1276         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1277         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1278         Don't #include it inside the function.  Pass new arguments to findidx.
1279         * posix/regex_internal.h
1280         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1281         (re_string_elem_size_at): Don't #include it inside the function.
1282         Pass new arguments to findidx.
1283         * string/strcoll_l.c: #include WEIGHT_H at top level.
1284         (get_next_seq): Don't #include it inside the function.
1285         Pass new arguments to findidx.
1286         (get_next_seq_nocache): Likewise.
1287         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1288         (STRXFRM): Don't #include it inside the function.
1289         Pass new arguments to findidx.
1290
1291 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1292
1293         [BZ #17344]
1294         * malloc/malloc.c (unlink): Turn asserts into a call to
1295         malloc_printerr.
1296
1297 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1298
1299         [BZ #17370]
1300         * libio/wfileops (do_ftell_wide): Free OUT.
1301
1302 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1303
1304         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1305
1306 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1307
1308         [BZ #17363]
1309         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1310         group if the current group is empty.
1311
1312 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1313
1314         * benchtests/bench-memset.c (test_main): Add more test from size
1315         from 32 to 512 bytes.
1316         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1317         Add POWER8 memset object.
1318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1319         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1320         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1321         implementation.
1322         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1323         Likewise.
1324         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1325         multiarch POWER8 memset optimization.
1326         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1327         POWER8 memset optimization.
1328
1329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1330         Remove bzero multiarch objects.
1331         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1332         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1333         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1335         Remove define.
1336         [__bzero]: Redefine to specific name.
1337         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1339         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1340         define.
1341         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1342         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1343
1344 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1345
1346         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1347         warnings into errors.
1348
1349         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1350         __cxa_thread_atexit_impl prototype.
1351
1352 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1353
1354         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1355         Fix capitalization of error message.
1356
1357 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1358
1359         * sysdeps/mips/preconfigure: Modify ABI tests.
1360
1361 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1362
1363         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1364
1365 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1366             Carlos O'Donell  <carlos@systemhalted.org>
1367
1368         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1369         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1370         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1371         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1372         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1373         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1374         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1375         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1376         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1377         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1378         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1379         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1380         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1381         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1382         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1383         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1384         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1385         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1386         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1387         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1389         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1390         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1391         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1392         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1393         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1394         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1395         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1396         Deconditionalize the code that was previously under [RESET_PID].
1397         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1398         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1399         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1400         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1401         include sysdep.h.
1402
1403 2014-09-08  Allan McRae  <allan@archlinux.org>
1404
1405         * version.h (RELEASE): Set to "development".
1406         (VERSION): Set to "2.20.90"
1407
1408 2014-09-07  Allan McRae  <allan@archlinux.org
1409
1410         * version.h (RELEASE): Set to "stable".
1411         (VERSION): Set to "2.20"
1412         * include/features.h (__GLIBC_MINOR__): Set to 20.
1413
1414         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1415         Liebler.
1416
1417         * po/ko.po: Update Korean translation from translation project.
1418
1419 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1420
1421         [BZ #17354]
1422         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1423         macro for handling signed relocations.
1424
1425 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1426
1427         [BZ #17325]
1428         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1429         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1430         assert.
1431         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1432         * iconvdata/ibm935.c (BODY): Likewise.
1433         * iconvdata/ibm937.c (BODY): Likewise.
1434         * iconvdata/ibm939.c (BODY): Likewise.
1435         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1436         assert.
1437         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1438         script.
1439         * iconvdata/run-iconv-test.sh: New test loop for checking for
1440         decoder crashers.
1441
1442 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1443
1444         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1445         libm_hidden_ver.
1446
1447 2014-09-01  Allan McRae  <allan@archlinux.org>
1448
1449         * po/eo.po: Update Esperanto translation from translation project.
1450
1451         * po/ca.po: Update Catalan translation from translation project.
1452
1453 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1454
1455         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1456         __proc_dostop call.
1457
1458 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1459
1460         [BZ #17319]
1461         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1462         to call set_thread_area instead of hand written asm.
1463         (__NR_set_thread_area): Removed define.
1464         (TLS_FLAG_WRITABLE): Likewise.
1465         (__ASSUME_SET_THREAD_AREA): Remove check.
1466         (TLS_EBX_ARG): Remove define.
1467         (TLS_LOAD_EBX): Likewise.
1468
1469 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1470
1471         Simplify atomicity of socket creation in bind.
1472
1473         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1474         looking up the name after linking the file.
1475
1476 2014-08-27  Allan McRae  <allan@archlinux.org>
1477
1478         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1479
1480 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1481
1482         [BZ #17187]
1483         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1484         trans_compare, open_translit, __gconv_translit_find):
1485         Remove module loading code.
1486
1487 2014-08-26  Allan McRae  <allan@archlinux.org>
1488
1489         * po/vi.po: Update Vietnamese translation from translation project.
1490
1491         * po/uk.po: Update Ukrainian translation from translation project.
1492
1493         * po/fr.po: Update French translation from translation project.
1494
1495         * po/ru.po: Update Russian translation from translation project.
1496
1497         * po/pl.po: Update Polish translation from translation project.
1498
1499         * po/cs.po: Update Czech translation from translation project.
1500
1501         * po/de.po: Update German translation from translation project.
1502
1503         * po/bg.po: Update Bulgarian translation from translation project.
1504
1505         * po/sv.po: Update Sweedish translation from translation project.
1506
1507         * po/nl.po: Update Dutch translation from translation project.
1508
1509         * po/es.po: Update Spanish translation from translation project.
1510
1511 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1512
1513         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1514
1515         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1516         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1517         (CPPFLAGS-iconvconfig): Likewise.
1518         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1519
1520         * include/libc-symbols.h: Remove unnecessary check for
1521         NOT_IN_libc.
1522         * nptl/pthreadP.h: Likewise.
1523         * sysdeps/aarch64/setjmp.S: Likewise.
1524         * sysdeps/alpha/setjmp.S: Likewise.
1525         * sysdeps/arm/sysdep.h: Likewise.
1526         * sysdeps/i386/setjmp.S: Likewise.
1527         * sysdeps/m68k/setjmp.c: Likewise.
1528         * sysdeps/posix/getcwd.c: Likewise.
1529         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1530         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1531         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1532         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1533         * sysdeps/sh/sh3/setjmp.S: Likewise.
1534         * sysdeps/sh/sh4/setjmp.S: Likewise.
1535         * sysdeps/unix/alpha/sysdep.h: Likewise.
1536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1538         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1539         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1544         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1547         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1548         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1549         * sysdeps/x86_64/setjmp.S: Likewise.
1550
1551 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1552
1553         [BZ #17263]
1554         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1555         <stdint.h>.
1556         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1557         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1558
1559 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1560
1561         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1562
1563         [BZ #17262]
1564         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1565         and __x86_64__ when disabling x87 inline functions.
1566
1567 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1568
1569         [BZ #17259]
1570         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1571         asm statement with __cpuid_count.
1572
1573 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1574
1575         * configure.ac: Change __ehdr_start code to dereference the struct.
1576         Run readelf on the output to look for relocations.
1577         * configure: Regenerated.
1578
1579 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1580
1581         [BZ #17261]
1582         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1583         value to 0.
1584         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1585
1586 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1587
1588         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1589
1590 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1591
1592         [BZ #16892]
1593         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1594         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1595
1596 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1597
1598         * malloc/malloc.c: Fix typo in comment.
1599
1600 2014-08-09  Allan McRae  <allan@archlinux.org>
1601
1602         * Regenerate libc.po.
1603
1604 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1605
1606         * intl/tst-gettext2.sh: Check every lang file for creation.
1607
1608 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1609
1610         * sysdeps/aarch64/fpu/math_private.h
1611         (libc_feholdsetround_noex_aarch64_ctx): New function.
1612
1613 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1614
1615         * sysdeps/arm/armv6/strcpy.S (strcpy):
1616         Fix performance issue in misaligned cases.
1617
1618 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1619
1620         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1621         Move definition from termios.h.
1622         (struct termio): Likewise.
1623         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1624         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1625         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1626         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1627         Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1629         Move definition to ioctl-types.h
1630         (struct termio): Likewise.
1631         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1632         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1633         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1634         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1635         Likewise.
1636
1637 2014-08-05  Richard Henderson  <rth@redhat.com>
1638
1639         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1640         exceptions.
1641         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1642         Add fraiseexcpt.
1643         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1644         Use __feraiseexcept.
1645         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1646         Protect libm symbols with IS_IN_libm.
1647
1648         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1649
1650 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1651
1652         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1653
1654 2014-08-04  Will Newton  <will.newton@linaro.org>
1655
1656         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1657         file.
1658
1659 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1660
1661         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1662         variants for each function.
1663
1664 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1665
1666         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1667         appended ...
1668         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1669         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1670         appended ...
1671         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1672         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1673         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1674         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1675         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1676         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1677         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1678         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1679         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1680         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1685         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1686         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1687         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1688         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1689         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1690         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1691         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1693         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1695         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1696         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1697         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1699         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1700         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1701         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1702         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1703         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1704         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1705         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1707         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1708         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1709         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1710         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1711         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1712         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1713         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1714         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1715         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1716         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1717         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1719         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1721         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1722         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1723         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1724         Update #include.
1725         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1726         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1727
1728 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1729
1730         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1731         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1732         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1733         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1734         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1735         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1736
1737 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1738
1739         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1740         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1741         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1742         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1743
1744 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1745
1746         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1747         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1748         (__libc_vfork): Define function under this name.
1749         (__vfork): Define as an alias.
1750         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1751         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1752
1753 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1754
1755         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1756         that was previously under [RESET_PID].
1757         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1758
1759 2014-08-04  Andreas Schwab  <schwab@suse.de>
1760
1761         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1762
1763 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1764
1765         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1766         (main): Likewise.
1767
1768 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1769
1770         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1771
1772 2014-08-01  Richard Henderon  <rth@redhat.com>
1773
1774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1775         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1776         typo in exact zero test.
1777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1780
1781 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1782
1783         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1784         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1785         * sysdeps/arm/sysdep.h: ... here.
1786         [!__ASSEMBLER__]: Include <stdint.h>.
1787
1788 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789
1790         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1791         (HAVE_WCTYPE_H): Likewise.
1792         (HAVE_ISWCTYPE): Likewise.
1793         (ENABLE_NLS): Likewise.
1794         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1795         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1796
1797         * posix/regex_internal.c: Check if DEBUG is defined and is
1798         set.
1799
1800         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1801         (HAVE_MBSRTOWCS): Likewise.
1802         * posix/fnmatch.c: Include string.h unconditionally.
1803
1804 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1805
1806         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1807         reversal.
1808
1809 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1810
1811         * sysdeps/generic/safe-fatal.h: New file.
1812         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1813         * nptl/forward.c: Include it.
1814         (__pthread_unwind): Use __safe_fatal as default action, rather
1815         than a bogus use of INTERNAL_SYSCALL that could never work.
1816
1817         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1818         * configure.ac (libc_cv_builtin_trap): New test.
1819         * configure: Regenerated.
1820         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1821         (ABORT_INSTRUCTION): Define using __builtin_trap.
1822
1823         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1824         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1825         * sysdeps/nptl/nptl-signals.h: New file.
1826         * nptl/pthreadP.h: Include <nptl-signals.h>.
1827
1828 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1829
1830         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1831         (ONE_DIRECTION): Define.
1832         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1833         (ONE_DIRECTION): Define.
1834         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1835         (ONE_DIRECTION): Define.
1836
1837 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1838
1839         * sysdeps/s390/Makefile: Delete file.
1840         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1841         * sysdeps/s390/__longjmp.c: Delete file.
1842         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1843         Remove fields __flags and __reserved.
1844         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1845         and add versioning.
1846         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1847         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1848         * sysdeps/s390/rtld-setjmp.S: Likewise.
1849         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1850         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1851         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1852         * sysdeps/s390/s390-32/setjmp.S: ... here.
1853         Add versioning.
1854         (__sigsetjmp): Remove setting __flags field.
1855         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1856         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1857         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1858         * sysdeps/s390/s390-64/setjmp.S: ... here.
1859         Add versioning.
1860         (__sigsetjmp): Remove setting __flags field.
1861         * sysdeps/s390/setjmp.S: Delete file.
1862         * sysdeps/s390/sigjmp.c: Likewise.
1863         * sysdeps/s390/v1-longjmp.c: Likewise.
1864         * sysdeps/s390/v1-setjmp.h: Likewise.
1865         * sysdeps/s390/v1-sigjmp.c: Likewise.
1866         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1867         Remove v1-longjmp_chk.
1868         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1869         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1870         Include debug/longjmp_chk.c and add versioning.
1871         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1872         Include nptl/pt-longjmp.c and add versioning.
1873         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1874         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1875         Include __longjmp.c.
1876         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1877         Move to ...
1878         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1879         (__getcontext): Remove setting __flags field.
1880         Add versioning.
1881         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1882         Don't restore upper high grps.
1883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1884         Likewise.
1885         (__swapcontext): Remove setting uc_flags field.
1886         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1887         Delete file.
1888         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1889         Include __longjmp.c.
1890         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1891         Move to ...
1892         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1893         (__getcontext): Remove setting __flags field.
1894         Add versioning.
1895         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1896         (__swapcontext): Remove setting uc_flags field.
1897         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1898         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1899         Remove fields uc_high_gprs and __reserved.
1900         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1901         New file with reverted content.
1902         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1903         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1904         Regenerated.
1905         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1906         Regenerated.
1907
1908 2014-07-31  Andreas Schwab  <schwab@suse.de>
1909
1910         * config.h.in (HAVE_IFUNC): Define to 0.
1911         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1912         definedness.
1913
1914 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1915
1916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1917         memmove-avx-unaligned, memcpy-avx-unaligned and
1918         mempcpy-avx-unaligned.
1919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1920         Add tests for AVX memcpy functions.
1921         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1922         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1923         memcpy_chk.
1924         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1925         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1926         memmove_chk.
1927         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1928         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1929         mempcpy_chk.
1930         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1931         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1932         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1933
1934 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1935
1936         [BZ #17213]
1937         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1938         powerpc64le.
1939
1940 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1941
1942         [BZ #16839]
1943         * manual/llio.texi: Add section about open file description locks.
1944         * manual/examples/ofdlocks.c: Example of open file description
1945         lock usage.
1946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1947         F_OFD_SETLK, and F_OFD_SETLKW.
1948
1949 2014-07-23  Allan McRae  <allan@archlinux.org>
1950
1951         * po/es.po: Update Spanish translation from translation project.
1952
1953 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1954
1955         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1956
1957 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1958
1959         [BZ #17078]
1960         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1961         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1962         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1963
1964 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1965
1966         [BZ #17088]
1967         * math/fesetenv.c (__fesetenv)
1968         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1969         * math/feupdateenv.c (__feupdateenv)
1970         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1971
1972         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1973         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1974         (__ASSUME_SOCKETCALL): Do not define.
1975
1976         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1977         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1978         (__ASSUME_SOCKETCALL): Do not define.
1979         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1980         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1981         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1982         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1983         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1984         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1985         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1986         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1987
1988         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1989         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1990         (__ASSUME_SOCKETCALL): Do not define.
1991         (__ASSUME_IPC64): Define unconditionally.
1992         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1993         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1994         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1996         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1998         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1999         Likewise.
2000
2001         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2002         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2003         (__ASSUME_SOCKETCALL): Do not define.
2004         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2005         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2006         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2007         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2008         (__ASSUME_REQUEUE_PI): Define unconditionally.
2009         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2010         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2011         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2012         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2014         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2015
2016         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2017         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2018         (__ASSUME_SOCKETCALL): Do not define.
2019         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2020         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2021         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2022         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2023         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2024         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2025
2026         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2027         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2028         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2029         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2030         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2031         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2033         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2034         (__ASSUME_GETCPU_SYSCALL): Likewise.
2035
2036         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2037         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2038         cases for individual architectures.
2039         * sysdeps/gnu/configure: Regenerated.
2040         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2041         LIBC_SLIBDIR_RTLDDIR.
2042         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2043         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2044         LIBC_SLIBDIR_RTLDDIR.
2045         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2047         LIBC_SLIBDIR_RTLDDIR.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2049         Regenerated.
2050         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2051         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2052         file.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2054         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2055         file.
2056         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2057         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2058         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2059         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2060
2061         * sysdeps/aarch64/shlib-versions: Move to ...
2062         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2063         * sysdeps/alpha/shlib-versions: Move to ...
2064         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2065         * sysdeps/arm/shlib-versions: Move to ...
2066         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2067         * sysdeps/hppa/shlib-versions: Move all contents except for
2068         libgcc_s entry to ...
2069         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2070         entry from ...
2071         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2072         * sysdeps/ia64/shlib-versions: Move to ...
2073         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2074         entry from ...
2075         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2076         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2077         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2078         * sysdeps/microblaze/shlib-versions: Move to ...
2079         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2080         * sysdeps/mips/shlib-versions: Move to ...
2081         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2082         entry from ...
2083         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2084         * sysdeps/tile/shlib-versions: Move to ...
2085         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2086         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2087         from ...
2088         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2089         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2090         entry from ...
2091         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2092
2093 2014-07-17  Will Newton  <will.newton@linaro.org>
2094
2095         * sysdeps/arm/bits/atomic.h
2096         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2097         (__arch_compare_and_exchange_bool_16_int): Likewise.
2098         (__arch_compare_and_exchange_bool_64_int): Likewise.
2099
2100         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2101         into an #else block.
2102
2103 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2104
2105         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2106         just Linux configurations.  Test empirically that the compiler sets
2107         __ARM_EABI__, rather than using the tuple to decide.
2108         * sysdeps/arm/preconfigure: Regenerated.
2109         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2110         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2111         contents appended ...
2112         * sysdeps/arm/configure.ac: ... here.
2113         * sysdeps/arm/configure: Regenerated.
2114
2115 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2116
2117         * nptl/pthread_kill.c: New file.
2118         * nptl/pthread_sigmask.c: New file.
2119         * nptl/pthread_sigqueue.c: New file.
2120
2121         * sysdeps/nptl/lowlevellock.h: New file.
2122         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2123         * sysdeps/nptl/lowlevellock-futex.h: New file.
2124
2125         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2126         Remove dead declarations.
2127
2128 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2129
2130         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2131         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2132         config-cflags-avx2.
2133         * sysdeps/x86_64/configure.ac: Likewise.
2134         * sysdeps/i386/configure: Regenerated.
2135         * sysdeps/x86_64/configure: Likewise.
2136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2137         memset-avx2 only if config-cflags-avx2 is yes.
2138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2139         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2140         defined.
2141         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2142         only if HAVE_AVX2_SUPPORT is defined.
2143         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2144
2145 2014-07-14  Alan Modra  <amodra@gmail.com>
2146
2147         [BZ #17153]
2148         * elf/elf.h (DT_PPC64_NUM): Correct value.
2149         * NEWS: Add to fixed bug list.
2150
2151 2014-07-13  Jim Meyering  <meyering@fb.com>
2152
2153         [BZ 17150]
2154         regex: don't deref NULL upon heap allocation failure
2155         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2156         failure in one more place.
2157         To trigger the segfault, configure grep -with-included-regex,
2158         build it, and run these commands:
2159         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2160
2161 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2162
2163         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2164
2165 2014-07-11  Richard Henderson  <rth@redhat.com>
2166
2167         * sysdeps/aarch64/libm-test-ulps: Update.
2168
2169 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2170
2171         [BZ #17135]
2172         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2173         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2174         (__nptl_setxid): Initialize error member.  Call
2175         __nptl_setxid_error.
2176         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2177         * nptl/descr.h (struct xid_command): Add error member.
2178         * nptl/tst-setuid3.c: New file.
2179         * nptl/Makefile (tests): Add it.
2180
2181 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2182
2183         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2184         New define.
2185         (__lll_trylock): Use __lll_base_trylock.
2186         (__lll_cond_trylock): Likewise.
2187
2188 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2189
2190         * nptl/pthread_create.c (start_thread): Use atomic_or and
2191         lll_futex_wake directly rather than lll_robust_dead.
2192         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2193         (lll_robust_dead): Macro removed.
2194         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2195         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2196         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2197         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2198         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2199         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2200         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2201         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2202         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2203         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2204         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2205         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2206         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2207         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2208         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2209
2210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2211         Use atomic_compare_and_exchange_val_acq directly rather than
2212         lll_robust_trylock.
2213         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2214         (__lll_robust_trylock, lll_robust_trylock): Removed.
2215         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2216         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2217         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2218         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2219         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2220         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2221         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2222         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2224         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2225         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2226         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2227         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2229
2230 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2231
2232         * manual/locale.texi (Locale Names): New section documenting
2233         locale name syntax.  Adjust menu and node chaining accordingly.
2234         (Choosing Locale): Reference Locale Names, Locale Categories.
2235         Mention setting LC_ALL=C.  Reflect that name syntax is now
2236         documented.
2237         (Locale Categories): New section title.  Reference Locale Names.
2238         LC_ALL is an environment variable, but not a category.
2239         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2240         description, now in Locale Name.  Reference that section.  Locale
2241         name syntax is now documented.
2242
2243 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2244
2245         [BZ #17137]
2246         * locale/findlocale.c (name_present, valid_locale_name): New
2247         functions.
2248         (_nl_find_locale): Use the loc_name variable to store name
2249         candidates.  Call name_present and valid_locale_name to check and
2250         validate locale names.  Return an error if the locale is invalid.
2251
2252 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2253
2254         * locale/setlocale.c (setlocale): Use strdup for allocating
2255         composite name copy.
2256
2257 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2258
2259         Sync up with gnulib.
2260         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2261         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2262         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2263         and _GL_ARG_NONNULL.
2264         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2265         [!_LIBC]: Include code for Windows and Cygwin.
2266         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2267         Include prototype for int strerror_r.
2268         [!_LIBC] (is_open): New function.
2269         (flush_stdout): New function.
2270         (print_errno_message): Use it.
2271         (error): Likewise.
2272         (error_at_line): Likewise.
2273         (error_tail) Add function attribute macros.  Use
2274         __builtin_expect.
2275
2276         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2277
2278         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2279
2280         * io/ftw.c: Include sys/param.h unconditionally.
2281
2282         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2283
2284         [BZ #17125]
2285         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2286         libc_freeres_ptr.
2287         (freecache): New function to free CACHE on exit.
2288
2289         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2290         initialization.
2291
2292 2014-07-09  David S. Miller  <davem@davemloft.net>
2293
2294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2295
2296         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2297         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2298         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2299         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2300         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2301         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2302         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2303         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2304         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2305         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2306         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2307         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2308         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2309
2310 2014-07-09  Andreas Schwab  <schwab@suse.de>
2311
2312         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2313         output.
2314         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2315         (do_test): Likewise.
2316
2317         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2318
2319 2014-07-09  Will Newton  <will.newton@linaro.org>
2320
2321         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2322         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2323         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2324         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2325         * sysdeps/hppa/start.S (_start): Likewise.
2326
2327 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2328
2329         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2330
2331         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2332         defined.
2333
2334 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2335
2336         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2337         after checking that it is non-NULL.
2338
2339         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2340
2341 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2342
2343         * sysdeps/powerpc/memmove.c: Remove file.
2344         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2345         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2347         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2348         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2349         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2350         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2351         string memmove instead of removed powerpc one.
2352
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2354         [weak_alias]: Fix compiler warning due trailing data.
2355         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2356         [weak_alias]: Likewise.
2357         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2358         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2359
2360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2361         (__libc_ifunc_impl_list): Add memmove functions.
2362
2363 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2364
2365         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2366         Remove code.
2367         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2368         Likewise
2369         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2370         Likewise
2371         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2372         Likewise
2373         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2374         Likewise
2375         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2376         Likewise
2377         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2378         Likewise
2379         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2380         Likewise
2381         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2382         Likewise
2383         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2384         Likewise
2385         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2386         Likewise
2387         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2388         Likewise
2389         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2390         Likewise
2391         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2392         Likewise
2393         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2394         Likewise
2395         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2396         Likewise
2397         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2398         Likewise
2399
2400 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2401
2402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2403         to avoid alignment traps in non-cacheable memory.
2404         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2405
2406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2407         multiarch objects.
2408         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2409         file: multiarch power7 memmove.
2410         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2411         multiarch default memmove.
2412         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2413         multiarch memove for powerpc32/power4.
2414
2415         * string/bcopy.c: Use full path to include memmove.c.
2416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2417         multiarch objects.
2418         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2419         bcopy for powerpc64.
2420         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2421         bcopy for powerpc64.
2422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2423         and memmove implementations.
2424         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2425         optimized multiarch memmove for POWER7/powerpc64.
2426         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2427         default multiarch memmove for powerpc64.
2428         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2429         multiarch for powerpc64.
2430         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2431         for POWER7/powerpc64.
2432         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2433         memmove for POWER7/powerpc64.
2434
2435         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2436         glibc default one.
2437
2438         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2439         __ELF_NATIVE_CLASS equal to 64.
2440
2441 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2442
2443         * sysdeps/nptl/lowlevellock.h: File removed.
2444
2445         * NEWS: NPTL is no longer an add-on!
2446         * nptl/internaltypes.h: Moved ...
2447         * sysdeps/nptl/internaltypes.h: ... here.
2448         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2449         * sysdeps/nptl/fork.c: Likewise.
2450         * sysdeps/nptl/gai_misc.h: Likewise.
2451         * sysdeps/nptl/librt-cancellation.c: Likewise.
2452         * sysdeps/nptl/jmp-unwind.c: Likewise.
2453         * sysdeps/nptl/setxid.h: Likewise.
2454         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2455         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2456         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2457         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2458         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2459         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2460         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2461         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2462         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2463         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2464         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2465         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2466         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2467         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2468         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2469         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2470         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2471         * nptl/Makeconfig: Moved ...
2472         * sysdeps/nptl/Makeconfig: ... here.
2473         * nptl/configure: File removed.
2474         * nptl/ANNOUNCE: File removed.
2475         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2476         * sysdeps/unix/sysv/linux/configure: Regenerated.
2477
2478         * nptl/Makefile (routines): Add libc_pthread_init,
2479         libc_multiple_threads, register-atfork and unregister-atfork.
2480         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2481         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2482         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2483         pthread-pi-defines.sym, structsem.sym.
2484         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2485         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2486         [$(subdir) = nptl] (tests): Add tst-setgetname.
2487         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2488         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2489         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2490         [!LIBC_SIGACTION]: Remove aliases.
2491         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2492         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2494         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2495         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2496         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2497         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2499         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2500         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2501         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2502         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2503         __libc_allocate_rtsig_private.
2504         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2505         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2506         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2507         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2508         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2509         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2510         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2511         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2512         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2513         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2514         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2515         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2516         * nptl/internaltypes.h: ... here.
2517         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2518         * sysdeps/nptl/jmp-unwind.c: ... here.
2519         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2520         * nptl/libc-lowlevellock.c: ... here.
2521         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2522         * nptl/libc_multiple_threads.c: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2524         * nptl/libc_pthread_init.c: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2526         * nptl/lowlevelbarrier.sym: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2528         * nptl/lowlevelcond.sym: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2530         * nptl/lowlevellock.c: ... here.
2531         * nptl/lowlevellock.h: Moved ...
2532         * sysdeps/nptl/lowlevellock.h: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2534         * nptl/lowlevelrobustlock.c: ... here.
2535         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2536         * nptl/lowlevelrobustlock.sym: ... here.
2537         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2538         * nptl/lowlevelrwlock.sym: ... here.
2539         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2540         * nptl/pt-fork.c: ... here.
2541         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2542         * nptl/pthread-pi-defines.sym: ... here.
2543         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2544         * nptl/pthread_attr_getaffinity.c: ... here.
2545         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2546         * nptl/pthread_attr_setaffinity.c: ... here.
2547         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2548         * nptl/pthread_mutex_cond_lock.c: ... here.
2549         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2550         Update #include.
2551         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2552         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2553         * nptl/pthread_once.c: ... here, replacing old file.
2554         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2555         * nptl/pthread_yield.c: ... here.
2556         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2557         * nptl/register-atfork.c: ... here.
2558         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2559         * nptl/sem_post.c: ... here.
2560         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2561         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2562         * nptl/sem_timedwait.c: ... here.
2563         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2564         * nptl/sem_trywait.c: ... here.
2565         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2566         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2567         * nptl/sem_wait.c: ... here.
2568         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2569         * nptl/structsem.sym: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2571         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2572         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2573         * nptl/unregister-atfork.c: ... here.
2574         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2575         * nptl/unwindbuf.sym: ... here.
2576         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2577         * sysdeps/nptl/fork.c: ... here.
2578         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2579         * sysdeps/nptl/fork.h: ... here.
2580         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2581         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2582         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2583         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2584         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2585         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2586         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2587         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2588         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2589         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2590         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2591         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2592         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2593         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2594         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2595         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2596         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2597         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2598         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2599         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2600         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2601         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2602         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2603         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2604         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2605         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2606         * sysdeps/unix/sysv/linux/raise.c: ... here.
2607         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2608         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2609         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2610         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2611         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2612         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2613         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2614         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2615         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2616         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2617         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2618         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2619         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2620         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2621         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2622
2623 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2624
2625         * sysdeps/generic/memcopy.h: Add comment for
2626         MEMCPY_OK_FOR_FWD_MEMMOVE.
2627
2628 2014-07-04  Will Newton  <will.newton@linaro.org>
2629
2630         * string/memchr.c: Merge from gnulib.
2631         [_LIBC]: Remove conditionals.
2632         (__ptr_t): Remove define.
2633         (LONG_MAX_32_BITS): Likewise.
2634         (LONG_MAX): Likewise.
2635         (MEMCHR): Use ANSI prototype and optimize algorithm.
2636
2637         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2638
2639 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2640
2641         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2642         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2643
2644         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2645         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2646         in a bare environment with no <stdlib.h> installed.
2647         * sysdeps/nptl/configure: Regenerated.
2648
2649         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2650
2651         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2652         AC_EGREP_CPP for kernel header checks, so they only succeed if
2653         including <linux/version.h> actually works right.
2654         * sysdeps/unix/sysv/linux/configure: Regenerated.
2655
2656         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2657         value so it's not diagnosed as unused.
2658
2659         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2660         thing) with "ifeq ($(subdir),rt)".
2661
2662 2014-07-03  Richard Henderson  <rth@redhat.com>
2663
2664         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2665         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2666         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2667
2668         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2669         (math_force_eval): New.
2670
2671         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2672         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2673
2674         * sysdeps/alpha/fpu/s_round.c: Remove file.
2675         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2676
2677         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2678         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2679         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2680         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2681         (_dl_start, print_statistics): Likewise.
2682         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2683         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2684
2685         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2686         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2687         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2688         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2689         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2690         (HP_SMALL_TIMING_AVAIL): Define.
2691         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2692         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2693         (HP_SMALL_TIMING_AVAIL): Define.
2694         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2695         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2696
2697         * sysdeps/aarch64/hp-timing.h: New file.
2698
2699         * sysdeps/generic/hp-timing.h: Remove dead comment.
2700         * sysdeps/generic/hp-timing-common.h: New file.
2701         * sysdeps/alpha/hp-timing.h: Include it.
2702         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2703         * sysdeps/i386/i686/hp-timing.h: Likewise.
2704         * sysdeps/ia64/hp-timing.h: Likewise.
2705         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2706         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2707         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2708         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2709         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2710         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2711         (hp_timing_t): New.
2712
2713         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2714         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2715         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2716         * elf/rtld.c (_dl_start_final): Likewise.
2717         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2718         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2719         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2720         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2721         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2722         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2723         (HP_TIMING_DIFF_INIT): Remove.
2724         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2725         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2726         (HP_TIMING_DIFF_INIT): Remove.
2727         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2728         * sysdeps/i386/i686/hp-timing.c: Remove file.
2729         * sysdeps/x86_64/hp-timing.c: Remove file.
2730         * sysdeps/ia64/hp-timing.c: Remove file.
2731         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2732         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2733         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2734         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2735
2736         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2737         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2738         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2739         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2741         (HP_TIMING_ACCUM): Remove.
2742         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2744         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2745
2746         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2747         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2748         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2749         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2751         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2752         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2753         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2754
2755         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2756
2757 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2758
2759         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2760
2761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2762
2763         Sync up with gettext.
2764         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2765         [_MSC_VER]: Include malloc.h
2766         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2767         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2768         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2769         TEMP_FAILURE_RETRY.  Cast return of alloca.
2770         [!_LIBC] Call gl_rwlock_init.
2771         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2772
2773 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2774
2775         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2776         before checking its value.
2777
2778 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2779
2780         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2781
2782         * debug/memcpy_chk.c: Don't include pagecopy.h.
2783         * debug/mempcpy_chk.c: Likewise.
2784         * string/memcpy.c: Likewise.
2785         * string/memmove.c: Likewise.
2786         * sysdeps/powerpc/memmove.c: Likewise.
2787         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2788         definition of PAGE_COPY_FWD_MAYBE here...
2789         * sysdeps/generic/pagecopy.h: ... from here.
2790         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2791
2792 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2793             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2794
2795         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2797         optimizations.
2798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2799         (__libc_ifunc_impl_list): Likewise.
2800         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2801         multiarch strcat for PPC64.
2802         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2803         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2804
2805 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2806
2807         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2808
2809 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2810
2811         * intl/loadmsgcat.c: Remove declaration of
2812         get_sysdep_segment_value.
2813         (get_sysdep_segment_value): Use ISO C style.
2814         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2815         semicolon.  Fix typo and formatting in comment.
2816         (_nl_unload_domain): Use ISO C style.
2817
2818         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2819
2820 2014-07-02  Will Newton  <will.newton@linaro.org>
2821
2822         * malloc/obstack.c: Merge from gnulib master.
2823         [HAVE_CONFIG_H]: Remove conditional code.
2824         [!_LIBC]: Include config.h.
2825         [!ELIDE_CODE]: Don't include inttypes.h, include
2826         stdint.h unconditionally.
2827         (print_and_abort): Mark as _Noreturn.
2828         (_obstack_allocated_p): Mark as __attribute_pure__.
2829         (obstack_free): Rename to __obstack_free.
2830         [!__attribute__]: Remove conditional code.
2831         * malloc/obstack.h: Merge from gnulib master.
2832         [__cplusplus]: Move conditional down.
2833         [!__attribute_pure__]: Define __attribute_pure__ here
2834         if it is not already defined.
2835         (_obstack_memory_used): Mark as __attribute_pure__.
2836         [!__obstack_free]: Define as obstack_free.
2837         [__GNUC__]: Remove check for ancient NeXT gcc.
2838
2839 2014-07-02  Will Newton  <will.newton@linaro.org>
2840             Paul Eggert  <eggert@cs.ucla.edu>
2841
2842         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2843
2844 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2845
2846         * resolv/gethnamaddr.c: Add comment warning that the file is
2847         not maintained.
2848
2849 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2850
2851         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2852         entries.
2853
2854         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2855         entry for aio_cancel and aio_cancel64.
2856         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2857         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2858         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2859         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2860         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2861         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2863         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2864         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2865         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2866         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2867         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2868         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2869
2870 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2871
2872         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2873         * nptl/pthread_mutex_lock.c: Likewise.
2874         * nptl/pthread_mutex_timedlock.c: Likewise.
2875         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2876
2877 2014-07-01  Richard henderson  <rth@redhat.com>
2878
2879         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2880         (__isnan, __isnanl): Remove.
2881         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2882
2883         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2884
2885 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2886
2887         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2888
2889 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2890
2891         * resolv/nss_dns/dns-host.c (getanswer_r)
2892         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2893
2894 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2895
2896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2897         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2898         undefine.
2899         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2900         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2901
2902 2014-07-01  Roland McGrath <roland@hack.frob.com>
2903
2904         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2905         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2906
2907         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2908         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2909
2910         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2911         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2912         ... here.
2913         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2914         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2915
2916         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2917         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2918         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2919         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2920
2921         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2922         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2923         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2926         Moved ...
2927         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2928         ... here.
2929         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2930         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2931         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2932         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2934         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2936         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2949         ... here.
2950         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2951         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2952         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2953         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2954         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2955         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2956         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2957         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2958
2959 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2960
2961         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2962         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2963         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2964         Add sysdep.
2965
2966 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2967
2968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2969
2970 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2971
2972         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2974
2975         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2976
2977         * sysdeps/arm/libm-test-ulps: Regenerated.
2978
2979 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2980             Roland McGrath <roland@hack.frob.com>
2981
2982         * test-skeleton.c (signal_handler): Kill the whole process group
2983         before killing the child individually.
2984         (main): Report any failure on `setpgid'.
2985
2986 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2987
2988         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2989         from _TLS_H to _ARM_NPTL_TLS_H.
2990         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2991         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2992
2993 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2994
2995         [BZ #16539]
2996         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2997         (__expm1l): Return argument unchanged when small but not
2998         subnormal.
2999
3000         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3001         include macro name.
3002         (_FP_UNPACK_RAW_1_P): Likewise.
3003         (_FP_PACK_RAW_1): Likewise.
3004         (_FP_PACK_RAW_1_P): Likewise.
3005         (_FP_MUL_MEAT_1_wide): Likewise.
3006         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3007         (_FP_MUL_MEAT_1_hard): Likewise.
3008         (_FP_DIV_MEAT_1_imm): Likewise.
3009         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3010         (_FP_DIV_MEAT_1_udiv): Likewise.
3011         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3012         (_FP_UNPACK_RAW_2): Likewise.
3013         (_FP_UNPACK_RAW_2_P): Likewise.
3014         (_FP_PACK_RAW_2): Likewise.
3015         (_FP_PACK_RAW_2_P): Likewise.
3016         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3017         (_FP_MUL_MEAT_2_wide): Likewise.
3018         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3019         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3020         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3021         (_FP_MUL_MEAT_2_gmp): Likewise.
3022         (_FP_DIV_MEAT_2_udiv): Likewise.
3023         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3024         (_FP_FRAC_SRL_4): Likewise.
3025         (_FP_FRAC_SRST_4): Likewise.
3026         (_FP_FRAC_SRS_4): Likewise.
3027         (_FP_UNPACK_RAW_4): Likewise.
3028         (_FP_UNPACK_RAW_4_P): Likewise.
3029         (_FP_PACK_RAW_4): Likewise.
3030         (_FP_PACK_RAW_4_P): Likewise.
3031         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3032         (_FP_MUL_MEAT_4_wide): Likewise.
3033         (_FP_MUL_MEAT_4_gmp): Likewise.
3034         (umul_ppppmnnn): Likewise.
3035         (_FP_DIV_MEAT_4_udiv): Likewise.
3036         (__FP_FRAC_ADD_4): Likewise.
3037         (__FP_FRAC_SUB_3): Likewise.
3038         (__FP_FRAC_SUB_4): Likewise.
3039         (__FP_FRAC_DEC_3): Likewise.
3040         (__FP_FRAC_DEC_4): Likewise.
3041         (__FP_FRAC_ADDI_4): Likewise.
3042         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3043         (_FP_FRAC_SRL_8): Likewise.
3044         (_FP_FRAC_SRS_8): Likewise.
3045
3046         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3047         include macro name.
3048         (FP_UNPACK_RAW_EP): Likewise.
3049         (FP_PACK_RAW_E): Likewise.
3050         (FP_PACK_RAW_EP): Likewise.
3051         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3052         (_FP_ISSIGNAN): Likewise.
3053         (_FP_ADD_INTERNAL): Likewise.
3054         (_FP_FMA): Likewise.
3055         (_FP_CMP): Likewise.
3056         (_FP_SQRT): Likewise.
3057         (_FP_TO_INT): Likewise.
3058         (_FP_FROM_INT): Likewise.
3059         (FP_EXTEND): Likewise.
3060         (_FP_DIV_MEAT_N_loop): Likewise.
3061
3062 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3063
3064         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3065         throughout.
3066
3067 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3068
3069         [BZ #17097]
3070         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3071         result with correct sign in case of exponents that produce
3072         overflow except for X very close to 1.
3073
3074 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3075
3076         mktime: merge #if/#ifdef usage from glibc
3077         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3078         as that works with both Glibc's and Gnulib's style.
3079         See thread starting at Siddhesh Poyarekar's bug report at:
3080         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3081
3082 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3083
3084         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3085         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3086         * sysdeps/tile/tilegx/memmove.c: Remove file.
3087
3088 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3089
3090         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3091         abi-name definition.
3092         * scripts/soversions.awk: Do not handle or generate ABI lines.
3093         * shlib-versions: Remove ABI entries.
3094         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3095         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3096
3097 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3098
3099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3100         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3101         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3102         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3104         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3106         Moved ...
3107         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3108         ... here.
3109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3110         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3112         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3114         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3116         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3118         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3120         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3125         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3127         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3135         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3140         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3142         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3144         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3149         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3150         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3151         Moved ...
3152         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3154         Moved ...
3155         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3157         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3159         Moved ...
3160         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3161         ... here.
3162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3163         Identical file removed.
3164         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3168         Identical file removed.
3169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3175         Identical file removed.
3176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3177         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3179         Identical file removed.
3180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3181         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3182         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3183         Identical file removed.
3184         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3187         Identical file removed.
3188         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3189         Moved ...
3190         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3192         Identical file removed.
3193         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3194         Moved ...
3195         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3197         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3199         Identical file removed.
3200         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3201         Moved ...
3202         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3203         ... here.
3204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3205         Identical file removed.
3206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3207         Moved ...
3208         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3210         Identical file removed.
3211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3215         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3218         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3219         Moved ...
3220         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3221         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3222         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3223
3224         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3225         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3226         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3227         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3228         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3229
3230 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3231
3232         [BZ #17092]
3233         * nscd/nscd.c (monitor_child): Return exit status of child
3234         instead of return value from wait syscall.
3235
3236 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3237
3238         * configure.ac (libc_commonpagesize): Remove variable.
3239         (libc_relro_required): Likewise.
3240         (libc_cv_z_relro): Remove configure test.
3241         * configure: Regenerated.
3242         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3243         variable.
3244         (libc_relro_required): Likewise.
3245         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3246         (libc_relro_required): Likewise.
3247         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3248         (libc_relro_required): Likewise.
3249         * sysdeps/arm/preconfigure: Regenerated.
3250         * sysdeps/ia64/preconfigure: Remove file.
3251         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3252         variable.
3253         (libc_relro_required): Likewise.
3254
3255         [BZ #16561]
3256         [BZ #16562]
3257         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3258         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3259         recompute overflowing results in original rounding mode.
3260         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3261         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3262         recompute overflowing results in original rounding mode.
3263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3264         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3265         recompute overflowing results in original rounding mode.
3266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3267         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3268         recompute overflowing results in original rounding mode.
3269         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3270         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3271         recompute overflowing results in original rounding mode.
3272         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3273         (libc_feholdsetround_ctx): New macro.
3274         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3275         * sysdeps/i386/fpu/libm-test-ulps: Update.
3276         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3277
3278 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3279
3280         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3281         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3282         corresponding .cpsetup call.
3283
3284 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3285
3286         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3287         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3288         * sysdeps/arm/Makefile [$(subdir) = csu]
3289         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3290         (static-only-routines): Add aeabi_read_tp here.
3291         (shared-only-routines): Add libc-aeabi_read_tp here.
3292         (CFLAGS-libc-start.c): Add -fexceptions here.
3293         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3294         (sysdep_routines, static-only-routines, shared-only-routines):
3295         Don't add to these here.
3296         (CFLAGS-libc-start.c): Likewise.
3297
3298         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3299         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3300         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3301         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3302         * sysdeps/arm/Makefile [$(subdir) = rt]
3303         (librt-sysdep_routines, librt-shared-only-routines):
3304         Append rt-aeabi_unwind_cpp_pr1 here.
3305         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3306         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3307         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3308         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3309         Append nptl-aeabi_unwind_cpp_pr1 here.
3310         (tests): Filter out tst-cleanupx4 here.
3311         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3312         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3313         Don't do those here.
3314
3315 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3316
3317         * scripts/list-sources.sh: Do not handle ports specially.
3318
3319 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3320
3321         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3322         * sysdeps/arm/feupdateenv.c: Likewise.
3323
3324         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3325
3326 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3327
3328         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3329         trailing whitespace removed.
3330         * scripts/config.guess: Update to version 2014-03-23.
3331         * scripts/config.sub: Update to version 2014-05-01
3332         * scripts/install-sh: Update to version 2013-12-25.23.
3333         * scripts/move-if-change: Update from gnulib.
3334
3335 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3336
3337         * debug/memmove_chk.c: Remove pagecopy.h include.
3338
3339 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3340
3341         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3342         identical to gnulib mktime.
3343
3344 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3345
3346         * configure.ac: Do not test for machine being rs6000.  Do not test
3347         for powerpc*-*soft.
3348         * configure: Regenerated.
3349
3350         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3351         test.
3352         * configure: Regenerated.
3353         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3354         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3355         Remove configure test.
3356         * sysdeps/arm/configure: Regenerated.
3357         * sysdeps/nptl/configure.ac: Do not check
3358         libc_cv_asm_cfi_directives.
3359         * sysdeps/nptl/configure: Regenerated.
3360         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3361         * sysdeps/x86_64/nptl/configure: Remove generated file.
3362         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3363         unconditional.
3364         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3365
3366 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3367
3368         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3369         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3370         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3371         it is defined.
3372
3373         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3374         instead of whether it is defined.
3375         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3376         * sysdeps/hppa/dl-machine.h: Likewise.
3377         * sysdeps/ia64/dl-machine.h: Likewise.
3378         * sysdeps/m68k/dl-machine.h: Likewise.
3379         * sysdeps/microblaze/dl-machine.h: Likewise.
3380         * sysdeps/mips/dl-machine.: Likewise.
3381         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3382         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3383         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3384         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3385         * sysdeps/sh/dl-machine.h: Likewise.
3386         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3387         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3388         * sysdeps/tile/dl-machine.h: Likewise.
3389         * sysdeps/x86_64/dl-machine.h: Likewise.
3390
3391         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3392         code.
3393         (verify_persistent_db): Likewise.
3394
3395 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3396
3397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3398         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3400         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3402         Moved ...
3403         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3404         ... here.
3405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3406         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3408         Identical file removed.
3409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3410         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3412         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3414         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3418         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3420         Moved ...
3421         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3423         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3425         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3427         Moved ...
3428         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3430         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3432         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3434         Identical file removed.
3435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3436         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3438         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3440         Moved ...
3441         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3442         ... here.
3443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3446         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3448         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3450         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3452         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3454         Moved ...
3455         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3457         Moved ...
3458         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3460         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3462         Moved ...
3463         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3465         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3466
3467         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3468         folded into ...
3469         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3470         * sysdeps/unix/sysv/linux/s390/Versions
3471         (libpthread: GLIBC_2.19): New version set.
3472         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3473         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3474         (librt: GLIBC_2.3.3): New version set.
3475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3476         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3477         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3479         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3481         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3483         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3485         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3486         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3487         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3488         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3489         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3491         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3492         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3495         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3497         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3499         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3501         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3503         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3505         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3511         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3513         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3515         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3516         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3517         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3519         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3520
3521         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3522         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3523         (__libc_vfork): Define the function under this name.
3524         [!NOT_IN_libc] (__vfork): Make this an alias.
3525         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3527         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3528         (__libc_vfork): Define the function under this name.
3529         [!NOT_IN_libc] (__vfork): Make this an alias.
3530         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3531         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3532         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3535         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3536
3537         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3538         code that was previously under [RESET_PID].
3539         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3540         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3542
3543         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3544         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3545         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3546         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3547         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3548         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3549         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3550         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3551         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3552         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3554         Moved ...
3555         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3557         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3559         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3561         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3563         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3564         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3565         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3573         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3574         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3575         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3576         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3577         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3579         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3580         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3581         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3582         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3583         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3584
3585 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3586
3587         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3588         that was previously under [RESET_PID].
3589         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3590
3591 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3592
3593         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3594         not undefine and redefine.
3595         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3596         [O_CLOEXEC]: Make code unconditional.
3597         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3598         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3599         <kernel-features.h>.
3600         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3601         conditional variable definition.
3602         (shm_open) [O_CLOEXEC]: Make code unconditional.
3603         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3604         code.
3605
3606         * configure.ac (USE_REGPARMS): Don't define here.
3607         * configure: Regenerated.
3608         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3609         * sysdeps/i386/configure: Regenerated.
3610
3611         * nptl/createthread.c: Don't include kernel-features.h.
3612         * nptl/pthread_cancel.c: Likewise.
3613         * nptl/pthread_condattr_setclock.c: Likewise.
3614         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3615         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3616         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3617         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3618         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3619         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3623         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3624         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3625         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3626         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3627         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3628         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3629         * nscd/gai.c: Likewise.
3630         * nss/nss_db/db-open.c: Likewise.
3631         * sysdeps/generic/ldsodefs.h: Likewise.
3632         * sysdeps/sh/nptl/tls.h: Likewise.
3633         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3634         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3635         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3636         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3637         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3638         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3639         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3640         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3641         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3642         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3643         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3644         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3645         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3646         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3647         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3648         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3649         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3650         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3651         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3652         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3655         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3656         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3658         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3661         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3662         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3663         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3664         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3665         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3666         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3667         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3668         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3669         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3670         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3671         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3672         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3673         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3674         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3675         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3676         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3677         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3678         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3679         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3680         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3681         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3682         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3683         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3684         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3685         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3686         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3687         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3688         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3689         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3690         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3713         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3714         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3715         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3716         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3717         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3719         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3720         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3721         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3722         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3723         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3724         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3725         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3726         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3727         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3728         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3729         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3730         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3731         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3732         * sysdeps/unix/sysv/linux/system.c: Likewise.
3733         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3734         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3735         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3736         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3737         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3738         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3739         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3740
3741         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3742         * configure: Regenerated.
3743         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3744
3745         * configure.ac (base_machine): Do not set specially for particular
3746         machines here.
3747         * configure: Regenerated.
3748         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3749         settings from configure.ac.
3750         * sysdeps/i386/preconfigure: New file.
3751         * sysdeps/s390/preconfigure: Likewise.
3752         * sysdeps/sh/preconfigure: Likewise.
3753         * sysdeps/sparc/preconfigure: Likewise.
3754
3755 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3756
3757         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3758         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3759         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3760         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3761         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3762         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3763         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3764         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3765         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3766         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3767         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3768         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3769         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3770         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3771         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3772         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3773         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3774         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3775         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3776
3777         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3778         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3779         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3780         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3781         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3782         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3783         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3784         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3785         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3786         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3787         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3788         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3789         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3790         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3791         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3792         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3793         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3794         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3795         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3796         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3798         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3799         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3800         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3801         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3802         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3804         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3807         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3808         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3809         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3810         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3811         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3812         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3814         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3815
3816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3817         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3819         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3821         Moved ...
3822         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3823         ... here.
3824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3825         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3827         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3829         Moved ...
3830         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3832         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3834         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3836         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3838         Moved ...
3839         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3841         Moved ...
3842         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3844         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3846         Moved ...
3847         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3849         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3851         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3853         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3855         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3857         Moved ...
3858         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3859         ... here.
3860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3861         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3863         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3865         Moved ...
3866         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3874         Moved ...
3875         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3877         Moved ...
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3882         Moved ...
3883         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3885         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3887         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3888
3889 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3890
3891         * timezone/checktab.awk: Update from tzcode 2014e.
3892         * timezone/private.h: Likewise.
3893         * timezone/tzfile.h: Likewise.
3894         * timezone/zdump.c: Likewise.
3895         * timezone/zic.c: Likewise.
3896
3897         * sysdeps/unix/sysv/linux/kernel-features.h
3898         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3899         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3900         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3901         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3902         Remove conditional code.
3903
3904 2014-06-25  Will Newton  <will.newton@linaro.org>
3905
3906         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3907         (_dl_arm_cap_flags): Add HWCAP2 values.
3908         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3909         (_DL_HWCAP_COUNT): Increase to 37.
3910         (_DL_HWCAP_LAST): New define.
3911         (_DL_HWCAP2_LAST): New define.
3912         (_dl_procinfo): Add support for printing
3913         AT_HWCAP2 entries.
3914         (_dl_string_hwcap): Use _dl_hwcap_string.
3915
3916 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3917
3918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3919
3920 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3921
3922         * README: Do not mention ports directory.
3923
3924         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3925         Remove macro.
3926         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3927         <kernel-features.h>.
3928         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3929         conditional variable definition.
3930         (__futimes): Update comment.
3931         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3932         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3933
3934         [BZ #16560]
3935         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3936         arguments close to 0.
3937         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3938         Likewise.
3939         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3940         Likewise.
3941         * math/auto-libm-test-in: Add more tests of exp10.
3942         * math/auto-libm-test-out: Regenerated.
3943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3944
3945         * sysdeps/unix/sysv/linux/kernel-features.h
3946         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3947         * sysdeps/unix/sysv/linux/readv.c: Do not include
3948         <kernel-features.h>.
3949         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3950         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3951         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3952         unconditional.
3953         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3954         conditional code.
3955         * sysdeps/unix/sysv/linux/writev.c: Do not include
3956         <kernel-features.h>.
3957         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3958         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3959         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3960         unconditional.
3961         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3962         conditional code.
3963
3964 2014-06-25  Will Newton  <will.newton@linaro.org>
3965
3966         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3967         comment changes throughout the file.  Remove checks
3968         for HAVE_*_H definitions that are not required.
3969         (__gen_tempname): Call abort if an unknown kind value is
3970         passed.
3971
3972 2014-06-25  Andreas Schwab  <schwab@suse.de>
3973
3974         [BZ #17086]
3975         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3976         scalbln, scalblnf, scalblnl in libc.
3977
3978 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3979
3980         [BZ #17086]
3981         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3982         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3983         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3984
3985 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3986
3987         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3988         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3989         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3990         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3991         Update #include.
3992         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3993         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3994         Update #include.
3995         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3996         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3997         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3998         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3999         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4000         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4001         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4002         * sysdeps/x86/bits/semaphore.h: ... here.
4003         * sysdeps/x86/nptl/elide.h: Moved ...
4004         * sysdeps/x86/elide.h: ... here.
4005         * sysdeps/x86_64/nptl/Implies: File removed.
4006         * sysdeps/i386/nptl/Implies: File removed.
4007
4008 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4009
4010         [BZ #16539]
4011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4012         return the argument for normal arguments with exponent below -64.
4013         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4014         Likewise.
4015         * math/auto-libm-test-in: Add another test of expm1.
4016         * math/auto-libm-test-out: Regenerated.
4017
4018         [BZ #16287]
4019         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4020         calling __erfcl for arguments at least 16.
4021         * math/auto-libm-test-in: Add more tests of erf.
4022         * math/auto-libm-test-out: Regenerated.
4023
4024         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4025         individual architectures.
4026         * sysdeps/unix/sysv/linux/configure: Regenerated.
4027         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4028         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4029         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4030         (ldd_rewrite_script): Define variable.
4031         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4033         file.
4034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4035         generated file.
4036         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4037         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4038         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4039         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4040         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4041         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4042         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4043         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4044
4045 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046
4047         [BZ #17084]
4048         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4049         Rename member __data.d to __data.__elision_data.
4050
4051 2014-06-24  Wilco  <wdijkstr@arm.com>
4052
4053         * NEWS: Add 16918 to fixed bug list.
4054
4055 2014-06-24  Wilco  <wdijkstr@arm.com>
4056
4057         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4058
4059 2014-06-24  Wilco  <wdijkstr@arm.com>
4060
4061         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4062         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4063         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4064         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4065         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4066         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4067         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4068         Use _FPU_MASK_RM.
4069
4070 2014-06-24  Wilco  <wdijkstr@arm.com>
4071
4072         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4073
4074 2014-06-24  Wilco  <wdijkstr@arm.com>
4075
4076         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4077         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4078         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4079         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4080
4081 2014-06-24  Wilco  <wdijkstr@arm.com>
4082
4083         [BZ #16918]
4084         * sysdeps/arm/feupdateenv.c (feupdateenv):
4085         Rewrite to reduce FPSCR accesses and fix return value.
4086
4087 2014-06-24  Wilco  <wdijkstr@arm.com>
4088
4089         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4090         Optimize to avoid unnecessary FPSCR writes.
4091         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4092         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4093         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4094         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4095
4096 2014-06-24  Wilco  <wdijkstr@arm.com>
4097
4098         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4099         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4100         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4101         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4102         Call libc_fetestexcept_vfp.
4103         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4104         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4105         __SOFTFP__ ifdef so that they can be built for softfp.
4106
4107 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4108
4109         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4110         argument type signed char.
4111
4112         * Makerules (check-abi): Dump diff of symlist if the test
4113         fails.
4114
4115 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4116
4117         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4118         using abort.
4119
4120         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4121         Remove unused variable ST.
4122
4123 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4124
4125         [BZ #16354]
4126         [BZ #17061]
4127         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4128         small arguments before calling __expm1.
4129         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4130         small arguments before calling __expm1f.
4131         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4132         small arguments before calling __expm1l.
4133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4134         Likewise.
4135         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4136         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4137         spurious underflow for some cosh tests.
4138         * math/auto-libm-test-out: Regenerated.
4139         * sysdeps/i386/fpu/libm-test-ulps: Update.
4140
4141         [BZ #17050]
4142         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4143         (__ieee754_y1): Set errno if return value overflows.
4144         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4145         (__ieee754_y1f): Set errno if return value overflows.
4146         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4147         (__ieee754_y1l): Set errno if return value overflows.
4148         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4149         (__ieee754_y1l): Set errno if return value overflows.
4150         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4151         * math/auto-libm-test-out: Regenerated.
4152
4153         * math/gen-auto-libm-tests.c: Document use of
4154         ignore-zero-inf-sign.
4155         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4156         (input_flags): Add ignore-zero-inf-sign.
4157         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4158         * math/gen-libm-test.pl (generate_testfile): Handle
4159         ignore-zero-inf-sign.
4160         * math/auto-libm-test-in: Mark some cpow tests with
4161         ignore-zero-inf-sign and some with xfail-rounding.
4162         * math/auto-libm-test-out: Regenerated.
4163         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4164         * sysdeps/i386/fpu/libm-test-ulps: Update.
4165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4166
4167         [BZ #16315]
4168         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4169         overflowing or underflowing operations take place with sign of
4170         result.
4171         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4172         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4173         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4174         (__ieee754_pow): Recompute overflowing and underflowing results in
4175         original rounding mode.
4176         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4177         (__powl_helper): Allow negative argument X and scale negated value
4178         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4179         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4180         overflowing or underflowing operations take place with sign of
4181         result.
4182         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4183         Include <math.h>.
4184         * math/auto-libm-test-in: Add more tests of pow.
4185         * math/auto-libm-test-out: Regenerated.
4186         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4187         (pow_tonearest_test_data): Remove.
4188         (pow_test_tonearest): Likewise.
4189         (pow_towardzero_test_data): Likewise.
4190         (pow_test_towardzero): Likewise.
4191         (pow_downward_test_data): Likewise.
4192         (pow_test_downward): Likewise.
4193         (pow_upward_test_data): Likewise.
4194         (pow_test_upward): Likewise.
4195         (main): Don't call removed functions.
4196         * sysdeps/i386/fpu/libm-test-ulps: Update.
4197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4198
4199 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4200
4201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4202         Moved ...
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4205         Moved ...
4206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4208         Moved ...
4209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4211         Moved ...
4212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4214         File removed.
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4216         File removed.
4217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4218         File removed.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4220         File removed.
4221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4222         File removed.
4223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4224         File removed.
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4226         File removed.
4227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4228         File removed.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4230         File removed.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4232         File removed.
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4234         File removed.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4236         File removed.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4238         Moved ...
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4241         Moved ...
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4243         ... here.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4245         Moved ...
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4248         Moved ...
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4254         Moved ...
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4257         Moved ...
4258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4260         Moved ...
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4263         Moved ...
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4267         ... here.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4272         Moved ...
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4274         ... here.
4275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4276         Moved ...
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4278         ... here.
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4280         Moved ...
4281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4282         ... here.
4283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4284         Moved ...
4285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4287         Moved ...
4288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4292         Moved ...
4293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4294         ... here.
4295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4296         Moved ...
4297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4298         ... here.
4299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4300         Moved ...
4301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4303         Moved ...
4304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4306         Moved ...
4307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4309         Moved ...
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4312         Moved ...
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4314         ... here.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4316         Moved ...
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4319         Moved ...
4320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4322         Moved ...
4323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4325         Moved ...
4326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4330         Moved ...
4331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4333         Moved ...
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4336         Moved ...
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4338         ... here.
4339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4340         Moved ...
4341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4342         ... here.
4343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4344         Moved ...
4345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4346         ... here.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4348         Moved ...
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4351         Moved ...
4352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4357         Moved ...
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4359         ... here.
4360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4363         ... here.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4365         Moved ...
4366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4367         ... here.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4369         Moved ...
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4372         Moved ...
4373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4374
4375 2014-06-23  Will Newton  <will.newton@linaro.org>
4376             Wilco  <wdijkstr@arm.com>
4377
4378         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4379         implementation.  Include get-rounding-mode.h.
4380         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4381         [!libc_feholdsetround_noex_ctx]: Define
4382         libc_feholdsetround_noex_ctx.
4383         [!libc_feholdsetround_noexf_ctx]: Define
4384         libc_feholdsetround_noexf_ctx.
4385         [!libc_feholdsetround_noexl_ctx]: Define
4386         libc_feholdsetround_noexl_ctx.
4387         (libc_feholdsetround_ctx): New function.
4388         (libc_feresetround_ctx): New function.
4389         (libc_feholdsetround_noex_ctx): New function.
4390         (libc_feresetround_noex_ctx): New function.
4391
4392 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4393
4394         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4395         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4396         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4397         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4398         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4399         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4400
4401         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4402         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4403         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4404         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4405         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4406         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4408         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4409         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4410         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4411         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4412         Moved ...
4413         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4414         ... here.
4415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4416         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4417         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4418         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4420         Moved ...
4421         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4423         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4425         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4426         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4427         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4429         Moved ...
4430         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4432         Moved ...
4433         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4434         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4435         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4437         Moved ...
4438         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4439         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4440         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4441         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4442         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4443         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4444         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4446         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4448         Moved ...
4449         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4450         ... here.
4451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4452         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4453         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4454         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4455         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4456         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4458         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4459         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4460         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4462         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4464         Moved ...
4465         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4466         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4467         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4468         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4469         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4470         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4471         Moved ...
4472         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4474         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4475         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4476         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4477
4478         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4479         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4480         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4481         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4482         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4483         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4484         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4485         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4487         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4488         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4489         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4490         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4491         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4492         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4493         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4494         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4495         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4496         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4497         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4498         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4499         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4500         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4501         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4502         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4503         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4504         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4505         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4506
4507 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4508
4509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4510         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4511         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4512         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4513         (IPV6_PMTUDISC_INTERFACE): Likewise.
4514         (IPV6_PMTUDISC_OMIT): Likewise.
4515
4516 2014-06-23  Andreas Schwab  <schwab@suse.de>
4517
4518         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4519         Remove unused errout label.
4520
4521 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4522
4523         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4524         macro: hardware supports Vector Crypto instructions.
4525
4526 2014-06-23  Will Newton  <will.newton@linaro.org>
4527
4528         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4529         rather than __builtin_expect.
4530
4531         * elf/dl-lookup.c (undefined_msg): Remove variable.
4532         (_dl_lookup_symbol_x): Replace undefined_msg with string
4533         literal.
4534
4535         * elf/dl-lookup.c (do_lookup_unique): New function.
4536         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4537         to a separate function.
4538
4539 2014-06-23  Andreas Schwab  <schwab@suse.de>
4540
4541         [BZ #17079]
4542         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4543         before reading the next line.
4544
4545 2014-06-23  Will Newton  <will.newton@linaro.org>
4546
4547         * test-skeleton.c (signal_handler): Use printf and %m
4548         rather than perror.  Use printf rather than fprintf to
4549         stderr.  Use puts rather than fputs to stderr.
4550         (main): Likewise.
4551
4552 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4553
4554         * nscd/nscd.c (thread_info_t): Remove typedef.
4555         (thread_info): Remove variable.
4556
4557 2014-06-21  Allan McRae  <allan@archlinux.org>
4558
4559         * NEWS: Mention CVE-2014-4043.
4560
4561 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4562
4563         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4564         * nptl/smp.h: ... here.
4565
4566         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4567
4568         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4569         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4570         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4571         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4572
4573         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4574         * nptl/stack-aliasing.h: New file.
4575         * sysdeps/i386/i686/stack-aliasing.h: New file.
4576         * sysdeps/i386/i686/nptl/Makefile: File removed.
4577         * sysdeps/x86_64/stack-aliasing.h: New file.
4578         * sysdeps/x86_64/nptl/Makefile
4579         (CFLAGS-pthread_create.c): Variable removed.
4580
4581         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4582         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4583         old file.
4584         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4585         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4586         old file.
4587
4588 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4589
4590         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4591         (__ASSUME_SIGFRAME_V2): Remove macro.
4592         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4593         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4594         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4595         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4596         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4597         Declare as function.  Remove conditional macro definitions.
4598         (__default_rt_sa_restorer): Likewise.
4599         (__default_sa_restorer_v1): Remove declaration.
4600         (__default_sa_restorer_v2): Likewise.
4601         (__default_rt_sa_restorer_v1): Likewise.
4602         (__default_rt_sa_restorer_v2): Likewise.
4603         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4604         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4605         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4606
4607 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4608
4609         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4610         (libpthread-routines): Add sysdep.
4611         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4612         * sysdeps/unix/sysv/linux/sparc/Versions
4613         (libpthread: GLIBC_2.3.3): New version set.
4614         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4615         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4616         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4617         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4618         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4619         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4620         Moved ...
4621         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4622         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4623         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4624         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4625         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4626         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4627         * sysdeps/sparc/nptl/sem_init.c: ... here.
4628         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4629         * sysdeps/sparc/nptl/sem_post.c: ... here.
4630         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4631         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4632         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4633         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4634         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4635         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4636         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4637         (libpthread-routines): Add cpu_relax.
4638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4639         File removed.
4640         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4641         (librt: GLIBC_2.3.3): New version set.
4642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4643         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4644         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4645         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4648         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4650         Moved ...
4651         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4653         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4655         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4657         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4659         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4661         Moved ...
4662         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4663         Update #include.
4664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4665         Moved ...
4666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4667         Update #include.
4668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4669         Moved ...
4670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4671         Update #include.
4672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4673         Moved ...
4674         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4675         Update #include.
4676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4677         Moved ...
4678         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4679         Update #include.
4680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4681         Moved ...
4682         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4683         Update #include.
4684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4685         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4691         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4693         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4695         Moved ...
4696         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4698         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4700         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4701
4702 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4703
4704         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4705         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4706         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4707         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4708         * nscd/nscd.c: Likewise.
4709         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4710         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4711         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4712         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4713
4714         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4715         <kernel-features.h>.
4716         (init_mq_netlink): Remove conditional have_sock_cloexec
4717         definitions.  Remove code conditional on have_sock_cloexec < 0.
4718         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4719         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4720         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4721         <kernel-features.h>.
4722         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4723         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4724
4725 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4726
4727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4728         Add tests for memset_chk and memset.
4729
4730         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4731         with AVX2_Usable.
4732
4733 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4734
4735         [BZ #16046]
4736         * elf/tst-dl-iter-static.c: New file.
4737         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4738
4739         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4740         error.
4741
4742 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4743
4744         * sysdeps/unix/sysv/linux/kernel-features.h
4745         (__ASSUME_F_GETOWN_EX): Remove macro.
4746         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4747         <kernel-features.h>.
4748         (miss_F_GETOWN_EX): Remove variable or macro.
4749         (do_fcntl): Do not check miss_F_GETOWN_EX.
4750         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4751
4752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4753         Remove macro.
4754         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4755         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4756         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4757
4758         * sysdeps/unix/sysv/linux/kernel-features.h
4759         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4760         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4761         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4762         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4763
4764 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4765
4766         [BZ #17075]
4767         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4768         Fix calculation of the symbol's value.
4769         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4770         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4771         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4772         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4773         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4774         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4775         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4776         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4777         (modules-names): Add `tst-armtlsdescmod',
4778         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4779         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4780         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4781         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4782         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4783         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4784         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4785         ($(objpfx)tst-armtlsdescloc): New dependency.
4786         ($(objpfx)tst-armtlsdescextnow): Likewise.
4787         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4788         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4789         TLS scheme support.
4790         * sysdeps/arm/configure: Regenerate.
4791
4792 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4793
4794         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4795         (__atfct_seterrno_2): Likewise.
4796         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4797         <kernel-features.h>.
4798         (__ASSUME_ATFCTS): Do not undefine and redefine.
4799         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4800         (__have_atfcts): Remove conditional definition.
4801         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4802         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4803         unreachable if [__ASSUME_ATFCTS].
4804         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4805         not undefine and redefine.
4806         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4807         <kernel-features.h>.
4808         (faccessat) [__NR_faccessat]: Make code unconditional.
4809         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4810         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4811         <kernel-features.h>.
4812         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4813         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4814         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4815         <kernel-features.h>.
4816         (fchownat) [__NR_fchownat]: Make code unconditional.
4817         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4818         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4819         <kernel-features.h>.
4820         (futimesat) [__NR_futimesat]: Make code unconditional.
4821         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4822         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4823         <kernel-features.h>.
4824         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4825         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4826         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4827         <kernel-features.h>.
4828         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4829         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4830         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4831         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4832         <kernel-features.h>.
4833         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4834         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4835         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4836         <kernel-features.h>.
4837         (linkat) [__NR_linkat]: Make code unconditional.
4838         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4839         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4840         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4841         <kernel-features.h>.
4842         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4843         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4844         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4845         <kernel-features.h>.
4846         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4847         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4848         * sysdeps/unix/sysv/linux/openat.c: Do not include
4849         <kernel-features.h>.
4850         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4851         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4852         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4853         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4854         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4855         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4856         <kernel-features.h>.
4857         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4858         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4859         result of INLINE_SYSCALL directly, not via int variable.
4860         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4861         <kernel-features.h>.
4862         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4863         (renameat) [__NR_renameat]: Make code unconditional.
4864         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4865         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4866         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4869         (__ASSUME_ATFCTS): Do not undefine and redefine.
4870         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4871         <kernel-features.h>.
4872         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4873         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4874         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4875         <kernel-features.h>.
4876         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4877         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4878         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4879         (__ASSUME_ATFCTS): Do not undefine and redefine.
4880         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4881         <kernel-features.h>.
4882         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4883         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4884         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4885         <kernel-features.h>.
4886         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4887         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4888
4889 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4890
4891         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4892
4893 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4894
4895         [BZ #17069]
4896         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4897         constructed tree before returning error.
4898         * posix/bug-regexp36.c: Expand test case.
4899
4900 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4901
4902         [BZ #6803]
4903         * math/libm-test.inc (scalbln_test_date):
4904         Add errno expectations.
4905         * math/w_scalblnf.c: New File.
4906         Add wrapper which checks for setting errno to ERANGE.
4907         Add weak_alias for corresponding scalbln function.
4908         * math/w_scalbln.c: Likewise.
4909         * math/w_scalblnl.c: Likewise.
4910         * math/Makefile (libm-calls): Add w_scalbln.
4911         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4912         Remove weak_alias for corresponding scalbln function.
4913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4915         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4917         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4918         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4919         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4920         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4921         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4922         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4923         Remove long_double_symbol for scalblnl function in libm, libc.
4924         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4925         Add wrapper which checks for setting errno to ERANGE.
4926         Add long_double_symbol for scalblnl function in libm, libc.
4927         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4928         Remove long_double_symbol for scalblnl in libm.
4929         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4930         Add wrapper which checks for setting errno to ERANGE.
4931         Add long_double_symbol for scalblnl function in libm.
4932         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4933         Do not use wrapper because of own implementation.
4934
4935 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4936
4937         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4938         3 bytes for __pad1 for x32.
4939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4940
4941 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4942             H.J. Lu  <hongjiu.lu@intel.com>
4943
4944         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4945         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4946         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4947         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4948         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4949
4950 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4951
4952         [BZ #17069]
4953         * posix/regcomp.c (parse_expression): Deallocate partially
4954         constructed tree before returning error.
4955         * posix/Makefile.c (tests): Add bug-regex36.
4956         (generated): Add bug-regex36.mtrace.
4957         (tests-special): Add $(objpfx)bug-regex36-mem.out
4958         (bug-regex36-ENV): New variable.
4959         ($(objpfx)bug-regex36-mem.out): New rule.
4960         * posix/bug-regex36.c: New file.
4961
4962 2014-06-19  Will Newton  <will.newton@linaro.org>
4963
4964         * malloc/malloc.c (systrim): If extra is zero then return
4965         early.
4966
4967 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4968
4969         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4970
4971 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4972
4973         * sysdeps/aarch64/strchr.S: New file.
4974
4975 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4976
4977         [BZ #17022]
4978         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4979         from arguments -2 or below.
4980         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4981         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4982
4983 2014-06-18  Andreas Schwab  <schwab@suse.de>
4984
4985         [BZ #17062]
4986         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4987         of a bracket expr not to run off the end of the string.
4988         * posix/Makefile (tests): Add tst-fnmatch3.
4989         * posix/tst-fnmatch3.c: New file.
4990
4991 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4992
4993         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4994         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4995         [$(cross-compiling) = no]: Likewise.
4996         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4997         [$(cross-compiling) = no]: Likewise.
4998
4999 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5000
5001         [BZ #17031]
5002         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5003         double, adjusted for any remainder from the high double.
5004         * math/libm-test.inc (nearbyint): Add tests.
5005         (rint): Likewise.
5006
5007 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5008
5009         * nptl/sysdeps/powerpc/Makefile: Moved ...
5010         * sysdeps/powerpc/nptl/Makefile: ... here.
5011         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5012         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5013         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5014         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5015         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5016         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5017         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5018         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5019         * nptl/sysdeps/powerpc/tls.h: Moved ...
5020         * sysdeps/powerpc/nptl/tls.h: ... here.
5021
5022 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5023
5024         [BZ #16681]
5025         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5026         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5027         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5028         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5029         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5030         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5031         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5032         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5033         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5034
5035 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5036
5037         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5038
5039 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5040
5041         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5042         defined operator.
5043
5044         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5045         $TIMEOUTFACTOR.
5046
5047 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5048
5049         [BZ #17058]
5050         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5051         non-executed part of the test.
5052
5053 2014-06-16  Andreas Schwab  <schwab@suse.de>
5054
5055         * string/bits/string2.h (strdup, strndup): Update feature guard.
5056
5057 2014-06-14  David S. Miller  <davem@davemloft.net>
5058
5059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5060
5061 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5062
5063         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5064         that was previously under [RESET_PID].
5065         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5066
5067         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5068         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5069         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5070         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5071         (__libc_vfork): New strong alias.
5072         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5073
5074 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5075
5076         * sysdeps/generic/elide.h: New file.
5077
5078 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5079
5080         * Makefile (installed-headers): Adjust path of pthread.h header.
5081
5082 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5083
5084         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5085         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5086         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5087         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5088
5089         * nptl/sysdeps/s390/Makefile: Moved ...
5090         * sysdeps/s390/nptl/Makefile: ... here.
5091         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5092         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5093         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5094         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5095         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5096         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5097         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5098         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5099         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5100         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5101         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5102         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5103         * nptl/sysdeps/s390/tls.h: Moved ...
5104         * sysdeps/s390/nptl/tls.h: ... here.
5105
5106         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5107         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5108
5109 2014-06-13  David S. Miller  <davem@davemloft.net>
5110
5111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5114         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5118         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5119         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5120         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5121         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5122         Remove RESET_PID cpp guards.
5123         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5124         Remove RESET_PID cpp guards.
5125         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5126
5127 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5128
5129         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5130         __sp to uintptr_t.
5131
5132 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5133
5134         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5135         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5136         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5137         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5138         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5141         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5142         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5143         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5146         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5147         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5149         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5150         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5151         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5152         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5153         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5154
5155         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5156         (pthread_rwlock_rdlock): Add elision.
5157         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5158         (pthread_rwlock_wrlock): Add elision.
5159         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5160         (pthread_rwlock_trywrlock): Add elision.
5161         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5162         (pthread_rwlock_tryrdlock): Add elision.
5163         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5164         (pthread_rwlock_tryrdlock): Add elision unlock.
5165         * nptl/sysdeps/pthread/pthread.h:
5166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5167         (PTHREAD_RWLOCK_INITIALIZER,
5168         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5169         Handle new elision field.
5170         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5171         * sysdeps/arm/nptl/bits/pthreadtypes.h
5172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5173         * sysdeps/sh/nptl/bits/pthreadtypes.h
5174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5175         * sysdeps/tile/nptl/bits/pthreadtypes.h
5176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5177         * sysdeps/a/nptl/bits/pthreadtypes.h
5178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5179         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5181         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5183         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5185         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5187         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5189         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5191         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5193         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5195         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5196         (elision_init): Set try_xbegin to zero when no RTM.
5197         * sysdeps/x86/nptl/bits/pthreadtypes.h
5198         (pthread_rwlock_t): Change __pad1 to __rwelision.
5199         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5200
5201 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5202
5203         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5204         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5205         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5206         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5207
5208 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5209
5210         [BZ #16996]
5211         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5212         that the cached result has been set before returning it.
5213
5214 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5215
5216         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5217         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5218         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5219         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5220         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5221         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5222
5223         * nptl/sysdeps/sparc/Makefile: Moved ...
5224         * sysdeps/sparc/nptl/Makefile: ... here.
5225         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5226         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5227         * nptl/sysdeps/sparc/tls.h: Moved ...
5228         * sysdeps/sparc/nptl/tls.h: ... here.
5229         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5230         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5231         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5232         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5233         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5234         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5235         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5236         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5237         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5238         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5239         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5240         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5241         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5242         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5243         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5244         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5245         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5247         Update #include.
5248         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5250         Update #include.
5251         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5253         Update #include.
5254         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5256         Update #include.
5257
5258         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5259
5260         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5261         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5262
5263         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5264         (struct list_links): Type removed.
5265         (struct thread_node, struct timer_node): Replace struct list_links
5266         with struct list_head.
5267         (list_unlink_ip): Likewise.
5268         * sysdeps/pthread/timer_routines.c
5269         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5270         (list_append, list_insbefore): Likewise.
5271         (list_init): Function removed.
5272         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5273         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5274         * sysdeps/pthread/Makefile: ... here, new file.
5275
5276         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5277         * sysdeps/nptl/Implies: ... here.
5278         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5279         * nptl/sysdeps/pthread/list.h: Moved ...
5280         * include/list.h: ... here.
5281         * nptl/sysdeps/pthread/createthread.c: Moved ...
5282         * nptl/createthread.c: ... here.
5283         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5284         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5285         * nptl/pt-longjmp.c: ... here.
5286         * nptl/sysdeps/pthread/Makefile: Moved ...
5287         * sysdeps/nptl/Makefile: ... here.
5288         * nptl/sysdeps/pthread/Subdirs: Moved ...
5289         * sysdeps/nptl/Subdirs: ... here.
5290         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5291         * sysdeps/nptl/aio_misc.h: ... here.
5292         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5293         * sysdeps/nptl/bits/libc-lock.h: ... here.
5294         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5295         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5296         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5297         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5298         * nptl/sysdeps/pthread/configure: Moved ...
5299         * sysdeps/nptl/configure: ... here.
5300         * nptl/sysdeps/pthread/configure.ac: Moved ...
5301         * sysdeps/nptl/configure.ac: ... here.
5302         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5303         * sysdeps/nptl/gai_misc.h: ... here.
5304         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5305         * sysdeps/nptl/librt-cancellation.c: ... here.
5306         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5307         * sysdeps/nptl/malloc-machine.h: ... here.
5308         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5309         * sysdeps/nptl/pthread-functions.h: ... here.
5310         * nptl/sysdeps/pthread/pthread.h: Moved ...
5311         * sysdeps/nptl/pthread.h: ... here.
5312         * nptl/sysdeps/pthread/setxid.h: Moved ...
5313         * sysdeps/nptl/setxid.h: ... here.
5314         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5315         * sysdeps/nptl/sigfillset.c: ... here.
5316         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5317         * sysdeps/nptl/tcb-offsets.h: ... here.
5318         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5319         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5320         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5321         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5322         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5323         * sysdeps/pthread/allocalim.h: ... here.
5324         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5325         * sysdeps/pthread/bits/sigthread.h: ... here.
5326         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5327         * sysdeps/pthread/flockfile.c: ... here.
5328         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5329         * sysdeps/pthread/ftrylockfile.c: ... here.
5330         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5331         * sysdeps/pthread/funlockfile.c: ... here.
5332         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5333         * sysdeps/pthread/posix-timer.h: ... here.
5334         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5335         * sysdeps/pthread/timer_create.c: ... here.
5336         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5337         * sysdeps/pthread/timer_delete.c: ... here.
5338         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5339         * sysdeps/pthread/timer_getoverr.c: ... here.
5340         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5341         * sysdeps/pthread/timer_gettime.c: ... here.
5342         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5343         * sysdeps/pthread/timer_routines.c: ... here.
5344         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5345         * sysdeps/pthread/timer_settime.c: ... here.
5346         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5347         * sysdeps/pthread/tst-timer.c: ... here.
5348         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5349         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5350
5351         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5352         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5353
5354         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5355         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5356         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5357         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5358         Update #include target.
5359         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5360         * sysdeps/i386/i686/nptl/Makefile: ... here.
5361         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5362         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5363         Update #include target.
5364         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5365         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5366         * nptl/sysdeps/i386/Makefile: Moved ...
5367         * sysdeps/i386/nptl/Makefile: ... here.
5368         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5369         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5370         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5371         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5372         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5373         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5374         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5375         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5376         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5377         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5378         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5379         * nptl/sysdeps/i386/tls.h: Moved ...
5380         * sysdeps/i386/nptl/tls.h: ... here.
5381
5382         * sysdeps/sh/Makefile [$(subdir) = csu]
5383         (gen-as-const-headers): Add tcb-offsets.sym.
5384         * nptl/sysdeps/sh/Makefile: File removed.
5385         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5386         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5387         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5388         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5389         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5390         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5391         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5392         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5393         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5394         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5395         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5396         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5397         * nptl/sysdeps/sh/tls.h: Moved ...
5398         * sysdeps/sh/nptl/tls.h: ... here.
5399         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5400         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5402         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5403         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5404         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5405         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5406         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5407         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5408         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5409         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5410         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5411         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5412         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5413         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5414         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5415         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5416         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5418         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5420         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5421         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5422         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5424         Moved ...
5425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5427         Moved ...
5428         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5430         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5433         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5434         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5435         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5436         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5437         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5438         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5439         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5440         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5441         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5442         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5444         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5446         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5447
5448 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5449
5450         * posix/spawn_faction_addopen.c: Include string.h.
5451
5452 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5453
5454         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5455         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5456         * nptl/sysdeps/x86_64/Makefile: Moved ...
5457         * sysdeps/x86_64/nptl/Makefile: ... here.
5458         * nptl/sysdeps/x86_64/configure: Moved ...
5459         * sysdeps/x86_64/nptl/configure: ... here.
5460         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5461         * sysdeps/x86_64/nptl/configure.ac: ... here.
5462         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5463         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5464         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5465         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5466         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5467         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5468         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5469         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5470         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5471         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5472         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5473         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5474         * nptl/sysdeps/x86_64/tls.h: Moved ...
5475         * sysdeps/x86_64/nptl/tls.h: ... here.
5476         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5477         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5478         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5479         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5480
5481         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5482
5483 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5484
5485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5486
5487 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5488
5489         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5490         type.
5491         [POSIX] (off_t): Likewise.
5492         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5493         [POSIX] (S_ISBLK): Require macro.
5494         [POSIX] (S_ISCHR): Likewise.
5495         [POSIX] (S_ISDIR): Likewise.
5496         [POSIX] (S_ISFIFO): Likewise.
5497         [POSIX] (S_ISREG): Likewise.
5498         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5499         optional-macro.
5500         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5501         type.
5502         [POSIX] (time_t): Likewise.
5503         [POSIX] (timer_t): Likewise.
5504
5505 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5506
5507         [BZ #17048]
5508         * posix/spawn_int.h (struct __spawn_action): Make the path string
5509         non-const to support deallocation.
5510         * posix/spawn_faction_addopen.c
5511         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5512         * posix/spawn_faction_destroy.c
5513         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5514         path in all spawn_do_open actions.
5515         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5516         posix_spawn_file_actions_addopen.
5517
5518 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5519
5520         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5521         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5522         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5523         conditional code always true.
5524         (__libc_vfork): New alias.
5525
5526 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5527
5528         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5529         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5530
5531         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5532
5533         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5534         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5535
5536         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5537         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5538
5539         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5540         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5541
5542 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5543
5544         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5545         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5546         multiarch strcmp for PPC64.
5547         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5548         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5550         multiarch optimizations.
5551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5552         (__libc_ifunc_impl_list): Likewise.
5553
5554 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5555
5556         * benchtests/scripts/validate_benchout.py: New script.
5557         * benchtests/Makefile (bench-func): Call it.
5558         * benchtests/scripts/benchout.schema.json: New file.
5559
5560 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5561
5562         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5563         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5564         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5565         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5566         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5567         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5568         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5569         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5570         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5571         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5572         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5573         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5574         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5575         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5576         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5577         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5579         Moved ...
5580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5581         ... here.
5582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5583         Moved ...
5584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5586         Moved ...
5587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5588         ... here.
5589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5590         Moved ...
5591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5592         ... here.
5593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5594         Moved ...
5595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5597         Moved ...
5598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5599         ... here.
5600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5601         Moved ...
5602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5603         ... here.
5604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5608         Moved ...
5609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5610         ... here.
5611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5612         Moved ...
5613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5614         ... here.
5615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5616         Moved ...
5617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5618         ... here.
5619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5620         Moved ...
5621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5623         Moved ...
5624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5625         ... here.
5626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5627         Moved ...
5628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5629         ... here.
5630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5631         Moved ...
5632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5633         ... here.
5634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5635         Moved ...
5636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5638         Moved ...
5639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5640         ... here.
5641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5642         Moved ...
5643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5644         ... here.
5645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5646         Moved ...
5647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5649         Moved ...
5650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5651         ... here.
5652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5653         Moved ...
5654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5656         Moved ...
5657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5659         Moved ...
5660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5661         ... here.
5662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5663         Moved ...
5664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5665         ... here.
5666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5667         Moved ...
5668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5669         ... here.
5670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5671         Moved ...
5672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5674         Moved ...
5675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5676         ... here.
5677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5678         Moved ...
5679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5680         ... here.
5681         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5682         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5684         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5686         Moved ...
5687         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5688         ... here.
5689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5690         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5692         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5694         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5696         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5698         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5702         Moved ...
5703         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5705         Moved ...
5706         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5708         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5710         Moved ...
5711         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5712         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5713         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5715         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5716         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5717         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5718
5719 2014-06-10  Wilco  <wdijkstr@arm.com>
5720
5721         * math/test-fenv-return.c: New file.
5722         * math/Makefile: Add new test test-fenv-return.
5723
5724 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5725
5726         [BZ #17042]
5727         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5728         when x - 1 is zero.
5729         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5730         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5731         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5732         0.0L for an argument of 1.0L.
5733         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5734         Likewise.
5735         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5736         value when x - 1 is zero.
5737         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5738         * sysdeps/i386/fpu/libm-test-ulps: Update.
5739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5740
5741 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5742
5743         [BZ #15119]
5744         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5745
5746 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5747
5748         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5749         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5750
5751 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5752
5753         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5754         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5755
5756         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5757         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5758
5759         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5760         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5761
5762         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5763         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5764
5765         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5766         if not already defined.
5767         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5768         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5769         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5770         (TLS_INIT_TP): Use it.
5771         (TLS_DEFINE_INIT_TP): New macro.
5772         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5773
5774 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5775
5776         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5777         constant.
5778         [POSIX] (IXANY): Likewise.
5779         [POSIX] (OLCUC): Likewise.
5780         [POSIX || POSIX2008] (CBAUD): Do not allow.
5781         [POSIX || POSIX2008] (DEFECHO): Likewise.
5782         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5783         [POSIX || POSIX2008] (ECHOKE): Likewise.
5784         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5785         [POSIX || POSIX2008] (EXTA): Likewise.
5786         [POSIX || POSIX2008] (EXTB): Likewise.
5787         [POSIX || POSIX2008] (FLUSHO): Likewise.
5788         [POSIX || POSIX2008] (LOBLK): Likewise.
5789         [POSIX || POSIX2008] (PENDIN): Likewise.
5790         [POSIX || POSIX2008] (SWTCH): Likewise.
5791         [POSIX || POSIX2008] (VDISCARD): Likewise.
5792         [POSIX || POSIX2008] (VDSUSP): Likewise.
5793         [POSIX || POSIX2008] (VLNEXT): Likewise.
5794         [POSIX || POSIX2008] (VREPRINT): Likewise.
5795         [POSIX || POSIX2008] (VSTATUS): Likewise.
5796         [POSIX || POSIX2008] (VWERASE): Likewise.
5797         (B*): Change to B[0123456789]*.
5798         * conform/data/time.h-data [POSIX || UNIX98]
5799         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5800         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5801         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5802         [POSIX] (tm_*): Do not allow.
5803
5804 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5805
5806         * Makefile (install): Don't set LANGUAGE.
5807         * Makefile.in (install): Likewise.
5808         * assert/Makefile (test-assert-ENV): Remove variable.
5809         (test-assert-perr-ENV): Likewise.
5810         * elf/Makefile (neededtest4-ENV): Likewise.
5811         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5812         [$(cross-compiling) = no]: Don't set LANGUAGE.
5813         * io/ftwtest-sh (LANG): Remove variable.
5814         * libio/Makefile (tst-widetext-ENV): Likewise.
5815         * manual/install.texi (Running make install): Don't refer to
5816         environment settings for make install.
5817         * INSTALL: Regenerated.
5818         * nptl/tst-tls6.sh: Don't set LANG.
5819         * posix/globtest.sh (LANG): Remove variable.
5820         * string/Makefile (tester-ENV): Likewise.
5821         (inl-tester-ENV): Likewise.
5822         (noinl-tester-ENV): Likewise.
5823         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5824         [$(cross-compiling) = no]: Don't set LANGUAGE.
5825         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5826         without explicit environment settings.
5827
5828 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5829
5830         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5831         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5832         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5833         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5834
5835 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5836
5837         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5838         other files in the crypt directory.
5839         * crypt/crypt.c: Remove duplicate includes.
5840         * crypt/crypt-entry.c: Likewise.
5841         * crypt/crypt_util.c: Likewise.
5842
5843 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5844
5845         * Makeconfig (run-program-env): New variable.
5846         (run-program-prefix-before-env): Likewise.
5847         (run-program-prefix-after-env): Likewise.
5848         (run-program-prefix): Define in terms of new variables.
5849         (built-program-cmd-before-env): New variable.
5850         (built-program-cmd-after-env): Likewise.
5851         (built-program-cmd): Define in terms of new variables.
5852         (test-program-prefix-before-env): New variable.
5853         (test-program-prefix-after-env): Likewise.
5854         (test-program-prefix): Define in terms of new variables.
5855         (test-program-cmd-before-env): New variable.
5856         (test-program-cmd-after-env): Likewise.
5857         (test-program-cmd): Define in terms of new variables.
5858         * Rules (make-test-out): Use $(run-program-env).
5859         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5860         (help): Do not mention environment variables.  Mention
5861         --timeoutfactor option.
5862         (timeoutfactor): New variable.
5863         (blacklist_exports): Remove function.
5864         (exports): Remove variable.
5865         (command): Do not include ${exports}.
5866         * manual/install.texi (Configuring and compiling): Do not mention
5867         test wrappers preserving environment variables.  Mention that last
5868         assignment to a variable must take precedence.
5869         * INSTALL: Regenerated.
5870         * benchtests/Makefile (run-bench): Use $(run-program-env).
5871         * catgets/Makefile ($(objpfx)test1.cat): Use
5872         $(built-program-cmd-before-env), $(run-program-env) and
5873         $(built-program-cmd-after-env).
5874         ($(objpfx)test2.cat): Do not specify environment variables
5875         explicitly.
5876         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5877         $(run-program-env) and $(built-program-cmd-after-env).
5878         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5879         $(run-program-env) and $(test-program-cmd-after-env).
5880         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5881         explicitly.
5882         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5883         run_program_env and test_program_cmd_after_env arguments.
5884         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5885         * elf/tst-pathopt.sh: Use run_program_env argument.
5886         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5887         $(test-wrapper-env) and $(run-program-env).
5888         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5889         run_program_env arguments.
5890         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5891         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5892         $(test-program-prefix-before-env), $(run-program-env) and
5893         $(test-program-prefix-after-env).
5894         ($(objpfx)tst-gettext2.out): Likewise.
5895         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5896         run_program_env and test_program_prefix_after_env arguments.
5897         * intl/tst-gettext2.sh: Likewise.
5898         * intl/tst-gettext4.sh: Do not set environment variables
5899         explicitly.
5900         * intl/tst-gettext6.sh: Likewise.
5901         * intl/tst-translit.sh: Likewise.
5902         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5903         $(test-program-prefix-before-env), $(run-program-env) and
5904         $(test-program-prefix-after-env).
5905         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5906         run_program_env and test_program_prefix_after_env arguments.
5907         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5908         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5909         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5910         explicitly with each use of ${test_wrapper_env}.
5911         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5912         $(test-program-prefix-before-env), $(run-program-env) and
5913         $(test-program-prefix-after-env).
5914         * posix/tst-getconf.sh: Do not set environment variables
5915         explicitly.
5916         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5917         run_program_env and test_program_prefix_after_env arguments.
5918         * stdio-common/tst-printf.sh: Do not set environment variables
5919         explicitly.
5920         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5921         $(test-program-prefix-before-env), $(run-program-env) and
5922         $(test-program-prefix-after-env).
5923         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5924         run_program_env and test_program_prefix_after_env arguments.
5925         Split $test calls into $test_pre and $test.
5926         * timezone/Makefile (build-testdata): Use
5927         $(built-program-cmd-before-env), $(run-program-env) and
5928         $(built-program-cmd-after-env).
5929
5930 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5931
5932         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5933         strlen for non SHARED builds.
5934
5935 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5936
5937         * nptl/allocatestack.c (check_list): Inlined function...
5938         (__reclaim_stacks): ... here.
5939
5940 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5941
5942         [BZ #15698]
5943         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5944         memory overrun.
5945
5946 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5947
5948         * Rules (make-test-out): Include
5949         LOCPATH=$(common-objpfx)localedata in default environment.
5950         * debug/Makefile (tst-chk1-ENV): Remove variable.
5951         (tst-chk2-ENV): Likewise.
5952         (tst-chk3-ENV): Likewise.
5953         (tst-chk4-ENV): Likewise.
5954         (tst-chk5-ENV): Likewise.
5955         (tst-chk6-ENV): Likewise.
5956         (tst-lfschk1-ENV): Likewise.
5957         (tst-lfschk2-ENV): Likewise.
5958         (tst-lfschk3-ENV): Likewise.
5959         (tst-lfschk4-ENV): Likewise.
5960         (tst-lfschk5-ENV): Likewise.
5961         (tst-lfschk6-ENV): Likewise.
5962         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5963         (tst-iconv7-ENV): Likewise.
5964         * intl/Makefile (LOCPATH-ENV): Likewise.
5965         (tst-codeset-ENV): Likewise.
5966         (tst-gettext3-ENV): Likewise.
5967         (tst-gettext5-ENV): Likewise.
5968         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5969         (tst-fopenloc-ENV): Likewise.
5970         (tst-fgetws-ENV): Remove variable.
5971         (tst-ungetwc1-ENV): Likewise.
5972         (tst-ungetwc2-ENV): Likewise.
5973         (bug-ungetwc2-ENV): Likewise.
5974         (tst-swscanf-ENV): Likewise.
5975         (bug-ftell-ENV): Likewise.
5976         (tst-fgetwc-ENV): Likewise.
5977         (tst-fseek-ENV): Likewise.
5978         (tst-ftell-partial-wide-ENV): Likewise.
5979         (tst-ftell-active-handler-ENV): Likewise.
5980         (tst-ftell-append-ENV): Likewise.
5981         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5982         (tst-regexloc-ENV): Likewise.
5983         (bug-regex1-ENV): Likewise.
5984         (tst-regex-ENV): Likewise.
5985         (tst-regex2-ENV): Likewise.
5986         (bug-regex5-ENV): Likewise.
5987         (bug-regex6-ENV): Likewise.
5988         (bug-regex17-ENV): Likewise.
5989         (bug-regex18-ENV): Likewise.
5990         (bug-regex19-ENV): Likewise.
5991         (bug-regex20-ENV): Likewise.
5992         (bug-regex22-ENV): Likewise.
5993         (bug-regex23-ENV): Likewise.
5994         (bug-regex25-ENV): Likewise.
5995         (bug-regex26-ENV): Likewise.
5996         (bug-regex30-ENV): Likewise.
5997         (bug-regex32-ENV): Likewise.
5998         (bug-regex33-ENV): Likewise.
5999         (bug-regex34-ENV): Likewise.
6000         (bug-regex35-ENV): Likewise.
6001         (tst-rxspencer-ENV): Likewise.
6002         (tst-rxspencer-no-utf8-ENV): Likewise.
6003         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6004         (tst-sscanf-ENV): Likewise.
6005         (tst-swprintf-ENV): Likewise.
6006         (tst-swscanf-ENV): Likewise.
6007         (test-vfprintf-ENV): Likewise.
6008         (scanf13-ENV): Likewise.
6009         (bug14-ENV): Likewise.
6010         (tst-grouping-ENV): Likewise.
6011         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6012         (tst-strtod3-ENV): Likewise.
6013         (tst-strtod4-ENV): Likewise.
6014         (tst-strtod5-ENV): Likewise.
6015         (testmb2-ENV): Likewise./
6016         * string/Makefile (tst-strxfrm-ENV): Likewise.
6017         (tst-strxfrm2-ENV): Likewise.
6018         (bug-strcoll1-ENV): Likewise.
6019         (test-strcasecmp-ENV): Likewise.
6020         (test-strncasecmp-ENV): Likewise.
6021         * time/Makefile (tst-strptime-ENV): Likewise.
6022         (tst-ftime_l-ENV): Likewise.
6023         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6024         (tst-mbrtowc-ENV): Likewise.
6025         (tst-wcrtomb-ENV): Likewise.
6026         (tst-mbrtowc2-ENV): Likewise.
6027         (tst-c16c32-1-ENV): Likewise.
6028         (tst-mbsnrtowcs-ENV): Likewise.
6029
6030 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6031
6032         * manual/resource.texi (How to get information about the memory
6033         subsystem?): Fix typo.
6034         Reported by Peon de la Parra Ivan <peon@keba.com>
6035
6036 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6037
6038         [BZ #16882]
6039         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6040         (pthread_spin_lock): Branch out of spin loop to proper location.
6041         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6042         (pthread_spin_lock): Likewise.
6043
6044         * nptl/tst-spin4.c: New test.
6045         * nptl/Makefile (tests): Add tst-spin4.
6046
6047 2014-06-03  Andreas Schwab  <schwab@suse.de>
6048
6049         [BZ #15946]
6050         * resolv/res_send.c (send_dg): Reload file descriptor after
6051         calling reopen.
6052
6053 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6054
6055         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6056
6057 2014-06-03  Richard Henderson  <rth@redhat.com>
6058
6059         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6060         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6061         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6062         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6063         in the SAVE_PID block.
6064         (__libc_vfork): New alias.
6065         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6066
6067         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6068         child in registers, not on the stack.  Remove RESET_PID conditionals.
6069         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6070
6071 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6072
6073         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6074
6075 2014-06-03  Wilco  <wdijkstr@arm.com>
6076
6077         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6078         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6079         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6080         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6081         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6082         Likewise.
6083
6084 2014-06-03  Wilco  <wdijkstr@arm.com>
6085
6086         * sysdeps/aarch64/fpu/math_private.h
6087         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6088         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6089         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6090         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6091         Fix declarations.
6092
6093 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6094
6095         * crypt/crypt-private.h: Include ufc-crypt.h.
6096         (__b64_from_24bit): Declare extern.
6097         * crypt/crypt_util.c(__b64_from_24bit): New function.
6098         (b64t): New static const variable.
6099         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6100         (b64t): Remove variable.
6101         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6102         * crypt/sha256-crypt.c: Include crypt-private.h.
6103         (b64t): Remove variable.
6104         (__sha256_crypt_r): Remove b64_from_24bit and replace
6105         with __b64_from_24bit.
6106         * crypt/sha512-crypt.c: Likewise.
6107
6108 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6109
6110         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6111         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6112         Label the code __libc_vfork rather than __vfork.
6113         [!NOT_IN_libc] (vfork): Define as weak alias.
6114         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6115         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6116         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6117
6118 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6119
6120         * malloc/malloc.c (malloc_info): Fix format specifier for
6121         n_mmaps.
6122
6123 2014-06-02  Wilco  <wdijkstr@arm.com>
6124
6125         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6126         FPCR write.
6127
6128 2014-06-02  Wilco  <wdijkstr@arm.com>
6129
6130         [BZ #17009]
6131         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6132         Rewrite to reduce FPCR/FPSR accesses.
6133
6134 2014-06-01  David S. Miller  <davem@davemloft.net>
6135
6136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6137
6138 2014-05-31  David S. Miller  <davem@davemloft.net>
6139
6140         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6141         to occur in round to nearest mode when |x| >= 2.0
6142
6143 2014-05-30  Richard Henderson  <rth@twiddle.net>
6144
6145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6146         (PSEUDO_RET_NOERRNO): Remove.
6147         (ret): Don't redefine.
6148         (ret_NOERRNO): Define in terms of ret.
6149         (ret_ERRVAL): Likewise.
6150
6151         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6152         use of PSEUDO_RET; perform the error check directly.
6153
6154 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6155
6156         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6157         with __int128_t.
6158
6159 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6160
6161         * malloc/malloc (malloc_info): Fix formatting.
6162
6163 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6164             Roland McGrath  <roland@hack.frob.com>
6165
6166         * malloc/malloc (malloc_info): Also print mmapped statistics.
6167
6168 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6169
6170         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6171         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6172
6173 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6174
6175         * malloc/malloc.c (malloc_info): Inline mi_arena.
6176
6177 2014-05-29  Richard Henderson  <rth@twiddle.net>
6178
6179         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6180         Remove comma before expanding ASM_ARGS_##nr.
6181         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6182         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6183         of ASM_ARGS_##nr.
6184         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6185         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6186         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6187         (ASM_ARGS_1): Add leading comma.
6188
6189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6190         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6191         to __errno_location.
6192         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6193         Remove the expected plt for __errno_location.
6194
6195         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6196         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6197         call to __read_tp.
6198
6199         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6200         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6201         it and break it down.
6202         (DOCARGS_0, DOCARGS_1): Do nothing.
6203         (DOCARGS_2): Update to store into the new stack frame.
6204         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6205         (UNDOCARGS_1): Update to restore from the new stack frame.
6206         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6207         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6208
6209         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6210         (SINGLE_THREAD_P): New parameter for result regno.
6211         (PSEUDO): Update to match; use cbz instead of beq.
6212
6213         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6214         Use ENTRY to define the _nocancel entry point.  Share the syscall
6215         and syscall error check paths with the cancel path.
6216         (PSEUDO_END): New.
6217
6218         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6219         whitespace; tabs before and after asm mnemonics.
6220
6221 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6222
6223         [BZ #15132]
6224         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6225         Call fstat64 or stat64 internally, depending on arguments passed.
6226         Replace stat buffer argument with file descriptor argument.
6227         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6228         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6229         Pass fd to __internal_statvfs instead of calling fstat64.
6230         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6231         Pass fd to __internal_statvfs64 instead of calling fstat64.
6232         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6233         Pass -1 to __internal_statvfs instead of calling stat64.
6234         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6235         Pass -1 to __internal_statvfs64 instead of calling stat64.
6236
6237 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6238
6239         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6240         that was previously under [RESET_PID].
6241         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6242
6243         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6244         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6245
6246 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6247
6248         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6249
6250         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6251         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6252
6253 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6254
6255         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6256
6257 2014-05-27  Andreas Schwab  <schwab@suse.de>
6258
6259         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6260         TLS_INIT_TP macro.
6261         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6262         * elf/rtld.c (init_tls, dl_main): Likewise.
6263         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6264         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6265         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6266         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6267         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6268         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6269         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6270         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6271         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6272         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6273         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6274         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6275         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6276         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6277         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6278         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6279         * sysdeps/generic/tls.h: Update description.
6280
6281 2014-05-27  Will Newton  <will.newton@linaro.org>
6282
6283         [BZ #16990]
6284         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6285         and restore r2 rather than just restoring.
6286
6287 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6288
6289         [BZ #16724]
6290         * libio/tst-ftell-append.c: New test case.
6291         * libio/Makefile (tests): Add test case.
6292         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6293         append mode.
6294         * libio/wfileops.c (do_ftell_wide): Likewise.
6295
6296 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6297
6298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6299
6300         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6301         ...
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6304         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6305         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6307         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6309         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6311         Moved ...
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6314         Moved ...
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6317         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6319         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6321         ...
6322         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6323         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6324         Moved ...
6325         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6326         here.
6327         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6328         ...
6329         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6330         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6331         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6332
6333         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6334         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6335         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6336         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6337
6338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6339         merge into ...
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6342         ...
6343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6345         ...
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6348         Moved ...
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6350         here.
6351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6352         Moved ...
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6355         Moved ...
6356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6357
6358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6359         conditional [RESET_PID].
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6362         removed.
6363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6364         removed.
6365
6366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6367         <tcb-offsets.h>.
6368         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6369         (__libc_vfork): New strong alias.
6370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6371         removed.
6372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6373         Removed.
6374
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6376         <tcb-offsets.h>.
6377         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6378         (__libc_vfork): New strong alias.
6379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6380         removed.
6381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6382         removed.
6383
6384 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6385
6386         * malloc/malloc.c (mi_arena): New function.
6387         (malloc_info): Remove nested function mi_arena. Call non-nosted
6388         function mi_arena.
6389
6390 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6391
6392         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6393         by insrwi.
6394         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6395         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6396         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6397         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6398         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6399         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6400         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6401
6402 2014-05-26  Andreas Schwab  <schwab@suse.de>
6403
6404         [BZ #16984]
6405         * locale/programs/repertoire.c (repertoire_read): Add slash
6406         between I18NPATH element and file name.
6407         * locale/programs/locfile.c (locfile_read): Likewise.
6408
6409 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6410
6411         * nptl/pthread_mutexattr_settype.c
6412         (__pthread_mutexattr_settype):
6413         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6414
6415 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6416
6417         * nptl/tst-mutex5 (do_test):
6418         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6419
6420 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6421
6422         * benchtests/README: Document 'init' directive.
6423         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6424         BENCH_INIT.
6425         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6426         (parse_file): Recognize 'init' directive.
6427
6428 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6429
6430         [BZ #16796]
6431         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6432         alignment of struct pthread.
6433
6434 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6435
6436         [BZ #16878]
6437         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6438         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6439         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6440         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6441
6442 2014-05-25  Richard Henderson  <rth@twiddle.net>
6443
6444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6445         (SINGLE_THREAD_P_PIC): Remove.
6446         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6447         (SINGLE_THREAD_P_PIC): Remove.
6448
6449         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6450         branch to syscall error ...
6451         (PSEUDO): ... here.
6452         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6453         from __local_syscall_error to .Lsyscall_error.
6454         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6455         (SYSCALL_ERROR): Update label name.
6456
6457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6458         Do not use DOARGS/UNDOARGS.
6459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6460         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6461         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6462         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6463         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6464
6465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6466         block comment.
6467
6468         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6469         define if !NOT_IN_libc.
6470         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6471         define with non-default symbol versions.
6472
6473 2014-05-23  Richard Henderson  <rth@twiddle.net>
6474
6475         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6476         (vfork, __vfork): Define via compat_symbol.
6477
6478         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6479         [!HAVE_IFUNC] (vfork_compat): Remove.
6480         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6481
6482 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6483
6484         [BZ #16978]
6485         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6486         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6487         variable.
6488
6489 2014-05-23  Richard Henderson  <rth@twiddle.net>
6490
6491         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6492         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6493         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6494         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6495
6496         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6497         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6498         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6499         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6500         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6501         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6502         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6503         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6504         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6505         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6506         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6507         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6508         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6509         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6511         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6515         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6517         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6518         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6519         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6525         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6526         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6527         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6528         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6529         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6530         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6531         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6532         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6533         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6535         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6536         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6537         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6538         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6539         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6540         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6541         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6542         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6543         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6544         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6545         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6547         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6549         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6551         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6552
6553         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6554         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6555         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6556         before exiting on error.
6557         (__libc_vfork): New strong alias.
6558         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6559         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6560
6561         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6562         that was previously under [RESET_PID].
6563         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6564
6565         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6566
6567 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6568
6569         [BZ #16977]
6570         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6571         value when x - 1 is zero.
6572         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6573         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6574         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6575         0.0L for an argument of 1.0L.
6576         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6577         Likewise.
6578         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6579         value when x - 1 is zero.
6580         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6581         * sysdeps/i386/fpu/libm-test-ulps: Update.
6582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6583
6584 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6585
6586         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6587         alphasort and versionsort.
6588
6589 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6590
6591         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6592         macro.
6593         [copysignf]: Likewise.
6594
6595 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6596
6597         * crypt/md5-crypt.c: Fix formatting.
6598
6599 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6600
6601         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6602         (b64_from_24bit): New function.
6603
6604 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6605
6606         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6607         libc_hidden_builtin_def to ifunc.
6608         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6609         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6610
6611 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6612
6613         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6614         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6615
6616 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6617
6618         * nscd/Depend (linuxthreads): Remove.
6619         (nptl): Add.
6620         * resolv/Depend (linuxthreads): Remove.
6621         * rt/Depend (linuxthreads): Remove.
6622
6623         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6624         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6625         $(common-objpfx)elf/.
6626         (link-libc-before-gnulib): Likewise.
6627         (elfobjdir): Remove variable.
6628         * Makefile (install): Use $(elf-objpfx) instead of
6629         $(common-objpfx)elf/.
6630         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6631         $(elfobjdir)/.
6632         (link-libc-deps): Likewise.
6633         ($(common-objpfx)libc.so): Likewise.
6634         ($(common-objpfx)linkobj/libc.so): Likewise.
6635         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6636         instead of $(common-objpfx)elf/.
6637         (symbolic-link-list): Likewise.
6638         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6639         [$(cross-compiling) = no]: Likewise.
6640         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6641         $(elfobjdir)/.
6642         (static-gnulib-arch): Likewise.
6643         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6644         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6645         $(common-objpfx)elf/.
6646
6647 2014-05-21  Richard Henderson  <rth@redhat.com>
6648
6649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6650         (SINGLE_THREAD_P): Use the correct width load.  Fold
6651         into the ldr offset.
6652
6653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6654         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6655
6656 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6657
6658         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6659         (libgcc_s_resume): Use __attribute_used__.
6660         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6661         Likewise.
6662
6663 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6664
6665         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6666         optimization when used with float constants.
6667
6668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6669
6670 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6671
6672         [BZ #16915]
6673         * locale/nl_langinfo_l.c: Make direct reference to every
6674         _nl_current_CATEGORY symbol.
6675         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6676         (tests-static): Add tst-langinfo-static.
6677         (tests-special): Add tst-langinfo-static.out.
6678         ($(objpfx)tst-langinfo.out): Redirect output.
6679         ($(objpfx)tst-langinfo-static.out): New.
6680         * localedata/tst-langinfo.sh: Send output to stdout.
6681         * localedata/tst-langinfo-static.c: New file.
6682
6683         [BZ #16965]
6684         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6685         when the shift amount is modulo the limb size.
6686
6687 2014-05-20  Richard Henderson  <rth@redhat.com>
6688
6689         [BZ #16967]
6690         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6691         Change type of sa_flags from unsigned int to int.
6692
6693         [BZ #16966]
6694         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6695
6696         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6697
6698 2014-05-20  Will Newton  <will.newton@linaro.org>
6699
6700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6701         Test the return value of the system call in the nocancel case.
6702
6703 2014-05-20  Will Newton  <will.newton@linaro.org>
6704             Yvan Roux  <yvan.roux@linaro.org>
6705
6706         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6707         #include of asm/ptrace.h.
6708         (PTRACE_GET_THREAD_AREA): Remove #undef.
6709         (PTRACE_GETHBPREGS): Likewise.
6710         (PTRACE_SETHBPREGS): Likewise.
6711         (struct user_regs_struct): New structure.
6712         (struct user_fpsimd_struct): New structure.
6713         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6714         #include of asm/ptrace.h and second #include of sys/user.h.
6715         (PTRACE_GET_THREAD_AREA): Remove #undef.
6716         (PTRACE_GETHBPREGS): Likewise.
6717         (PTRACE_SETHBPREGS): Likewise.
6718         (ELF_NGREG): Use new struct user_regs_struct.
6719         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6720
6721 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6722
6723         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6725
6726 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6727
6728         [BZ #16958]
6729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6730         membar to avoid block loads/stores to overlap previous stores.
6731
6732 2014-05-17  Richard Henderson  <rth@redhat.com>
6733
6734         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6735         Create the __##syscall_name##_nocancel entry point.
6736         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6737         Remove; let the sysdep-cancel.h code create it.
6738
6739 2014-05-17  David S. Miller  <davem@davemloft.net>
6740
6741         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6742         Protect with __USE_GNU.
6743         (TIOCSET_TEMPT): Likewise.
6744         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6745         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6746         these are already provided in bits/ioctl-types.h
6747
6748 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6749
6750         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6751         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6752
6753         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6754         Use wait4 regardless of [__NR_waitpid].
6755
6756 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6757
6758         PR libgcc/60166
6759         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6760         (_FP_NANSIGN_Q): Set the quiet bit.
6761
6762 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6763
6764         * benchtests/Makefile
6765         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6766         not $(common-objpfx)math/libm.so.
6767         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6768         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6769         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6770         $(common-objpfx)dlfcn/libdl.so.
6771         ($(objpfx)tst-audit8): Depend on $(libm), not
6772         $(common-objpfx)math/libm.so.
6773         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6774         not $(common-objpfx)dlfcn/libdl.so.
6775         * math/Makefile
6776         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6777         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6778         [$(build-shared) = yes].
6779         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6780         $(common-objpfx)nptl/libpthread.so.
6781         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6782         $(common-objpfx)math/libm.so$(libm.so-version) or
6783         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6784         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6785         $(common-objpfx)dlfcn/libdl.so.
6786         * setjmp/Makefile (link-libm): Remove variable.
6787         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6788         * stdio-common/Makefile (link-libm): Remove variable.
6789         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6790         * stdlib/Makefile (link-libm): Remove variable.
6791         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6792         ($(objpfx)tst-strtod-round): Likewise.
6793         ($(objpfx)tst-tininess): Likewise.
6794         ($(objpfx)tst-strtod-underflow): Likewise.
6795         ($(objpfx)tst-strtod6): Likewise.
6796         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6797         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6798         $(common-objpfx)dlfcn/libdl.so.
6799
6800 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6801
6802         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6803         BSD terminal modes definitions.
6804
6805 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6806
6807         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6808         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6809
6810         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6811         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6812         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6813         Don't do #include_next.
6814         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6815         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6816         Don't do #include_next.
6817         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6818         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6819         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6820         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6821
6822 2014-05-16  Allan McRae  <allan@archlinux.org>
6823
6824         * po/sv.po: Update Swedish translation from translation project.
6825
6826         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6827         in sed expression.
6828
6829 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6830
6831         [BZ #16917]
6832         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6833         errno if the TIOCGPTN ioctl fails with an error different than
6834         EINVAL.
6835         * login/tst-ptsname.c: New file.
6836         * login/Makefile (tests): Add tst-ptsname.
6837
6838         [BZ #16943]
6839         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6840         and prlimit64.
6841
6842 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6843
6844         [BZ #16849]
6845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6846         herrno to return EAI_AGAIN.
6847
6848 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6849
6850         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6851         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6852         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6853         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6854         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6855         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6856         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6857         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6859         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6860         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6861         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6862         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6867         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6869         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6875         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6876         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6877         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6878         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6879         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6881         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6883         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6885         Moved ...
6886         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6888         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6890         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6892         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6894         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6896         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6898         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6900         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6902         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6904         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6906         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6908         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6910         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6912         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6914         Moved ...
6915         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6917         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6919         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6921         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6923         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6925         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6927         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6929         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6931         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6933         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6935         Moved ...
6936         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6938         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6939
6940         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6941         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6942         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6943         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6944         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6945         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6946         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6947         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6948         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6949         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6950         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6951         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6952         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6953         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6954         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6955         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6956         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6957         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6958         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6959         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6960         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6961         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6962         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6963         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6964         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6965         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6966         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6967         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6968         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6969         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6970         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6971
6972         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6973         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6974
6975         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6976         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6977         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6978         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6979         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6980         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6981         Moved ...
6982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6984         Moved ...
6985         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6987         Moved ...
6988         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6989         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6990         Moved ...
6991         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6992         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6993         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6995         Moved ...
6996         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6997         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6998         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6999         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7000         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7001         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7002         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7003         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7004         Moved ...
7005         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7007         Moved ...
7008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7009         ... here.
7010         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7011         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7012         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7013         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7014         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7015         Moved ...
7016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7017         ... here.
7018         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7019         Moved ...
7020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7021         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7022         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7023         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7024         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7025         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7026         Moved ...
7027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7029         Moved ...
7030         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7032         Moved ...
7033         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7034         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7035         Moved ...
7036         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7037         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7038         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7040         Moved ...
7041         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7042         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7043         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7044         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7045         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7046         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7047         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7048         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7049         Moved ...
7050         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7052         Moved ...
7053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7054         ... here.
7055         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7056         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7057         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7058         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7059         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7060         Moved ...
7061         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7062         ... here.
7063         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7064         Moved ...
7065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7066         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7067         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7068         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7069         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7070         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7071         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7072         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7073         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7075         Moved ...
7076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7078         Moved ...
7079         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7081         Moved ...
7082         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7084         Moved ...
7085         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7086         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7087         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7088         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7089         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7091         Moved ...
7092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7093         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7094         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7095         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7096         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7097         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7098         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7099         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7100         Moved ...
7101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7103         Moved ...
7104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7105         ... here.
7106         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7107         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7108         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7109         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7110         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7111         Moved ...
7112         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7113         ... here.
7114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7115         Moved ...
7116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7117         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7118         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7119         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7120         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7121         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7122         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7123         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7124         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7125         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7126         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7127
7128         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7129         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7130
7131         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7132         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7133
7134         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7135         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7136         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7137         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7138         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7139         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7140         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7141         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7142         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7143         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7144         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7145         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7147         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7148         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7149         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7150         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7152         Moved ...
7153         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7154         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7155         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7157         Moved ...
7158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7160         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7162         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7164         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7166         Moved ...
7167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7169         Moved ...
7170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7172         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7173         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7174         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7176         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7177         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7178         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7179         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7180         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7181         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7182         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7183         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7184         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7185         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7186         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7187
7188         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7189         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7190         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7191         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7192         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7193
7194         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7195         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7196         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7197         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7198         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7199         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7200         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7201         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7202         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7203         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7204
7205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7207
7208         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7209         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7210         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7211         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7212         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7213         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7214         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7215         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7216         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7217         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7218         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7219         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7220         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7221         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7223         Update #include.
7224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7225         Likewise.
7226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7227         Likewise.
7228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7229         Likewise.
7230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7231         Likewise.
7232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7233         Likewise.
7234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7235         Likewise.
7236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7237         Likewise.
7238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7239         Likewise.
7240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7241         Likewise.
7242         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7244         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7249         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7250         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7252         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7254         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7256         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7257
7258         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7259         that was previously under [RESET_PID].
7260         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7261         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7262         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7263
7264         * sysdeps/i386/nptl/Implies: New file.
7265         * sysdeps/x86_64/nptl/Implies: New file.
7266         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7267         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7268         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7269         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7270
7271         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7273         (__libc_vfork): New strong alias.
7274         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7275         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7276
7277         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7278         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7279         (__libc_vfork): New strong alias.
7280         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7281         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7282
7283         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7284         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7285         (__libc_vfork): New strong alias.
7286         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7287         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7288         * nptl/pt-vfork.c: New file.
7289         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7290         (libpthread: GLIBC_2.20): New version set (empty).
7291
7292 2014-05-14  Will Newton  <will.newton@linaro.org>
7293
7294         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7295         rather than #if.
7296
7297 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7298
7299         [BZ #16564]
7300         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7301         arguments with exponent 65 or above.
7302         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7303         arguments 0x1p113L or above.
7304         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7305         to arguments 0x1p107L or above.
7306         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7307         positive arguments with exponent 65 or above.
7308         * math/auto-libm-test-in: Add more tests of log1p.
7309         * math/auto-libm-test-out: Regenerated.
7310
7311         [BZ #16928]
7312         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7313         non-finite arguments is +0.
7314         * math/s_cacosf.c (__cacosf): Likewise.
7315         * math/s_cacosl.c (__cacosl): Likewise.
7316         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7317         * sysdeps/i386/fpu/libm-test-ulps: Update.
7318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319
7320         [BZ #16927]
7321         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7322         value.
7323         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7324         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7325         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7326         for explicit high bit of mantissa when testing for argument equal
7327         to 1.
7328         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7329         * sysdeps/i386/fpu/libm-test-ulps: Update.
7330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7331
7332         [BZ #16516]
7333         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7334         (__erf): Scale by 16 instead of 8 in potentially underflowing
7335         case.  Ensure exception if result actually underflows.
7336         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7337         (__erff): Scale by 16 instead of 8 in potentially underflowing
7338         case.  Ensure exception if result actually underflows.
7339         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7340         (efx8): Remove variable.
7341         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7342         case.  Ensure exception if result actually underflows.
7343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7344         (efx8): Remove variable.
7345         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7346         case.  Ensure exception if result actually underflows.
7347         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7348         (efx8): Remove variable.
7349         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7350         case.  Ensure exception if result actually underflows.
7351         * math/auto-libm-test-in: Add more tests of erf.
7352         * math/auto-libm-test-out: Regenerated.
7353
7354 2014-05-14  Andreas Schwab  <schwab@suse.de>
7355
7356         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7357         Remove code conditionalized on USE___THREAD.
7358
7359         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7360         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7361         not definedness.
7362
7363 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7364
7365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7366         Define unconditionally.
7367         (__ASSUME_O_CLOEXEC): Likewise.
7368         (__ASSUME_SOCK_CLOEXEC): Likewise.
7369         (__ASSUME_IN_NONBLOCK): Likewise.
7370         (__ASSUME_PIPE2): Likewise.
7371         (__ASSUME_EVENTFD2): Likewise.
7372         (__ASSUME_SIGNALFD4): Likewise.
7373         (__ASSUME_DUP3): Likewise.
7374         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7375         (__ASSUME_DUP3): Do not define.
7376         (__ASSUME_EVENTFD2): Likewise.
7377         (__ASSUME_IN_NONBLOCK): Likewise.
7378         (__ASSUME_O_CLOEXEC): Likewise.
7379         (__ASSUME_PIPE2): Likewise.
7380         (__ASSUME_SIGNALFD4): Likewise.
7381         (__ASSUME_SOCK_CLOEXEC): Likewise.
7382         (__ASSUME_UTIMES): Undefine.
7383         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7384         (__ASSUME_UTIMES): Do not define.
7385         (__ASSUME_O_CLOEXEC): Likewise.
7386         (__ASSUME_SOCK_CLOEXEC): Likewise.
7387         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7388         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7389         0x020621].
7390         (__ASSUME_PIPE2): Likewise.
7391         (__ASSUME_EVENTFD2): Likewise.
7392         (__ASSUME_SIGNALFD4): Likewise.
7393         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7394         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7395         Do not define.
7396         (__ASSUME_EVENTFD2): Likewise.
7397         (__ASSUME_SIGNALFD4): Likewise.
7398         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7399         (__ASSUME_32BITUIDS): Likewise.
7400         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7401         (__ASSUME_IPC64): Likewise.
7402         (__ASSUME_ST_INO_64_BIT): Likewise.
7403         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7404         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7405         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7406         (__ASSUME_UTIMES): Do not define.
7407         (__ASSUME_PSELECT): Likewise.
7408         (__ASSUME_PPOLL): Likewise.
7409         (__ASSUME_O_CLOEXEC): Likewise.
7410         (__ASSUME_SOCK_CLOEXEC): Likewise.
7411         (__ASSUME_IN_NONBLOCK): Likewise.
7412         (__ASSUME_PIPE2): Likewise.
7413         (__ASSUME_EVENTFD2): Likewise.
7414         (__ASSUME_SIGNALFD4): Likewise.
7415         (__ASSUME_DUP3): Likewise.
7416         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7417         (__ASSUME_UTIMES): Likewise.
7418         (__ASSUME_O_CLOEXEC): Likewise.
7419         (__ASSUME_SOCK_CLOEXEC): Likewise.
7420         (__ASSUME_IN_NONBLOCK): Likewise.
7421         (__ASSUME_PIPE2): Likewise.
7422         (__ASSUME_EVENTFD2): Likewise.
7423         (__ASSUME_SIGNALFD4): Likewise.
7424         (__ASSUME_DUP3): Likewise.
7425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7426         (__ASSUME_UTIMES): Likewise.
7427         (__ASSUME_O_CLOEXEC): Likewise.
7428         (__ASSUME_SOCK_CLOEXEC): Likewise.
7429         (__ASSUME_IN_NONBLOCK): Likewise.
7430         (__ASSUME_PIPE2): Likewise.
7431         (__ASSUME_EVENTFD2): Likewise.
7432         (__ASSUME_SIGNALFD4): Likewise.
7433         (__ASSUME_DUP3): Likewise.
7434         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7435         Likewise.
7436         (__ASSUME_UTIMES): Likewise.
7437         (__ASSUME_EVENTFD2): Likewise.
7438         (__ASSUME_SIGNALFD4): Likewise.
7439         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7440         (__ASSUME_O_CLOEXEC): Likewise.
7441         (__ASSUME_SOCK_CLOEXEC): Likewise.
7442         (__ASSUME_IN_NONBLOCK): Likewise.
7443         (__ASSUME_PIPE2): Likewise.
7444         (__ASSUME_EVENTFD2): Likewise.
7445         (__ASSUME_SIGNALFD4): Likewise.
7446         (__ASSUME_DUP3): Likewise.
7447         (__ASSUME_UTIMES): Undefine.
7448
7449         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7450         feclearexcept.  Remove symbol versioning code.
7451         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7452         symbol versioning code.
7453         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7454         symbol versioning code.
7455         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7456         feupdateenv.  Remove symbol versioning code.
7457         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7458         fegetexceptflag.  Remove symbol versioning code.
7459         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7460         fesetexceptflag.  Remove symbol versioning code.
7461         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7462         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7463         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7464         (__posix_fadvise64_l32): Remove prototype.
7465         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7466         code.
7467
7468 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7469
7470         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7471         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7472         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7473         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7474
7475 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7476
7477         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7478         current working directory
7479
7480 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7481
7482         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7483         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7484         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7485         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7486         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7487         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7488         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7489         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7490         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7491         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7492         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7493         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7494         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7495         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7496         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7497         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7498         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7499         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7500         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7501         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7502         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7503         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7504         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7505         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7506         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7507         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7508         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7509         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7510         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7511         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7512         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7513         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7514         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7515         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7516         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7517         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7518         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7519         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7520         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7522         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7523         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7524
7525         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7526         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7527
7528         * sysdeps/unix/sysv/linux/arm/Makefile
7529         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7530         Add rt-aeabi_unwind_cpp_pr1.
7531         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7532         Add nptl-aeabi_unwind_cpp_pr1.
7533         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7534         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7535         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7536         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7537         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7538         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7539
7540         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7541         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7542         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7543         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7544
7545         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7546         Deconditionalize the code that was previously under [RESET_PID].
7547         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7548
7549         * sysdeps/generic/exit-thread.h: New file.
7550         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7551         * include/unistd.h (__exit_thread): Remove declaration.
7552         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7553         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7554         * csu/libc-start.c: Include <exit-thread.h>.
7555         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7556         * nptl/pthread_create.c: Include <exit-thread.h>.
7557         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7558         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7559         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7560         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7561         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7562         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7563         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7564         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7565         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7566         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7567         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7568         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7569         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7570         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7571         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7572         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7573         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7574
7575 2014-05-13  Andreas Schwab  <schwab@suse.de>
7576
7577         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7578
7579 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7580
7581         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7582         (__ASSUME_UTIMES): Do not condition on kernel version.
7583         (__ASSUME_PSELECT): Define unconditionally.
7584         (__ASSUME_PPOLL): Likewise.
7585         (__ASSUME_ATFCTS): Likewise.
7586         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7587         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7588         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7589         (__ASSUME_UTIMENSAT): Define unconditionally.
7590         (__ASSUME_PRIVATE_FUTEX): Likewise.
7591         (__ASSUME_FALLOCATE): Likewise.
7592         (__ASSUME_O_CLOEXEC): Likewise.
7593         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7594         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7595         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7596         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7597         (__ASSUME_IN_NONBLOCK): Likewise.
7598         (__ASSUME_PIPE2): Likewise.
7599         (__ASSUME_EVENTFD2): Likewise.
7600         (__ASSUME_SIGNALFD4): Likewise.
7601         (__ASSUME_DUP3): Likewise.
7602         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7603         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7604         (__ASSUME_AT_RANDOM): Likewise.
7605         (__ASSUME_PREADV): Likewise.
7606         (__ASSUME_PWRITEV): Likewise.
7607         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7608         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7609         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7610         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7611         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7613         (__ASSUME_O_CLOEXEC): Define unconditionally.
7614         (__ASSUME_PSELECT): Do not undefine conditionally.
7615         (__ASSUME_PPOLL): Likewise.
7616         (__ASSUME_ATFCTS): Likewise.
7617         (__ASSUME_SET_ROBUST_LIST): Likewise.
7618         (__ASSUME_UTIMENSAT): Likewise.
7619         (__ASSUME_FDATASYNC): Define unconditionally.
7620         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7621         (__ASSUME_SIGFRAME_V2): Likewise.
7622         )__ASSUME_EVENTFD2): Likewise.
7623         (__ASSUME_SIGNALFD4): Likewise.
7624         (__ASSUME_PSELECT): Do not undefine conditionally.
7625         (__ASSUME_PPOLL): Likewise.
7626         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7627         (__ASSUME_PSELECT): Define unconditionally.
7628         (__ASSUME_PPOLL): Likewise.
7629         (__ASSUME_O_CLOEXEC): Likewise.
7630         (__ASSUME_SOCK_CLOEXEC): Likewise.
7631         (__ASSUME_IN_NONBLOCK): Likewise.
7632         (__ASSUME_PIPE2): Likewise.
7633         (__ASSUME_EVENTFD2): Likewise.
7634         (__ASSUME_SIGNALFD4): Likewise.
7635         (__ASSUME_DUP3): Likewise.
7636         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7637         (__ASSUME_O_CLOEXEC): Likewise.
7638         (__ASSUME_SOCK_CLOEXEC): Likewise.
7639         (__ASSUME_IN_NONBLOCK): Likewise.
7640         (__ASSUME_PIPE2): Likewise.
7641         (__ASSUME_EVENTFD2): Likewise.
7642         (__ASSUME_SIGNALFD4): Likewise.
7643         (__ASSUME_DUP3): Likewise.
7644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7645         (__ASSUME_EVENTFD2): Likewise.
7646         (__ASSUME_SIGNALFD4): Likewise.
7647         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7648
7649 2014-05-12  Andreas Schwab  <schwab@suse.de>
7650
7651         [BZ #16932]
7652         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7653         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7654         than maximum RPC packet size.
7655         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7656         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7657         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7658         (_nss_nis_getservbyport_r): Likewise.
7659
7660 2014-05-12  Will Newton  <will.newton@linaro.org>
7661
7662         * malloc/Makefile (tests): Add tst-mallopt.
7663         * malloc/tst-mallopt.c: New file.
7664
7665 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7666
7667         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7668         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7669
7670 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7671
7672         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7673         (tst-tlsmod6.so): Likewise.
7674
7675 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7676
7677         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7678
7679 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7680
7681         [BZ #16064]
7682         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7683         and <dl-procinfo.h>.
7684         (__fegetenv): Save SSE state in envp->__eip if supported.
7685         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7686         envp->__eip if supported.
7687         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7688         and <dl-procinfo.h>.
7689         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7690         __data_offset and __data_selector in environment to 0.  Set SSE
7691         state if supported.
7692         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7693         test-fenv-sse.
7694         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7695         -mfpmath=sse.
7696         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7697
7698 2014-05-09  Will Newton  <will.newton@linaro.org>
7699
7700         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7701         and libc_relro_required for ARM.
7702         * sysdeps/arm/preconfigure: Regenerate.
7703
7704 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7705             Stefan Liebler  <stli@linux.vnet.ibm.com>
7706
7707         * config.make.in (enable-lock-elision): New Makefile variable.
7708         * configure.ac: Likewise.
7709         * configure: Regenerate.
7710         * sysdeps/s390/configure.ac:
7711         Add check for gcc transactions support.
7712         * sysdeps/s390/configure: Regenerate.
7713         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7714         Build elision files if enabled.
7715         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7716         Add lock elision support for s390.
7717         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7718         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7719         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7720         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7721         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7722         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7724         Likewise.
7725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7726         Likewise.
7727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7728         Likewise.
7729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7730         Likewise.
7731         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7732         (__lll_timedlock_elision, __lll_lock_elision)
7733         (__lll_unlock_elision, __lll_trylock_elision)
7734         (lll_timedlock_elision, lll_lock_elision)
7735         (lll_unlock_elision, lll_trylock_elision): Add.
7736         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7737         (pthread_mutex_t): Add lock elision support for s390.
7738
7739 2014-05-14  Wilco  <wdijkstr@arm.com>
7740
7741         * sysdeps/arm/fclrexcpt.c: Cleanup.
7742         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7743         * sysdeps/arm/feenablxcpt.c: Cleanup.
7744         * sysdeps/arm/fegetenv.c: Cleanup.
7745         * sysdeps/arm/fegetexcept.c: Cleanup.
7746         * sysdeps/arm/fegetround.c: Cleanup.
7747         * sysdeps/arm/feholdexcpt.c: Cleanup.
7748         * sysdeps/arm/fesetenv.c: Cleanup.
7749         * sysdeps/arm/fesetround.c: Cleanup.
7750         * sysdeps/arm/feupdateenv.c: Cleanup.
7751         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7752         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7753         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7754         * sysdeps/arm/ftestexcept.c: Cleanup.
7755         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7756         * sysdeps/arm/setfpucw.c: Cleanup.
7757
7758 2014-05-09  Will Newton  <will.newton@linaro.org>
7759
7760         * sysdeps/arm/armv7/strcmp.S: New file.
7761         * NEWS: Mention addition of ARMv7 optimized strcmp.
7762
7763 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7764
7765         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7766         look for %.ac rather than %.in.
7767
7768         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7769         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7770         * sysdeps/mach/hurd/configure: Regenerated.
7771         * sysdeps/unix/sysv/linux/configure: Regenerated.
7772
7773         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7774
7775 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7776
7777         [BZ# 16922]
7778         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7779         (LONG_SUB): Ditto.
7780         (PTR_SUB): Ditto.
7781
7782 2014-05-07  Andreas Schwab  <schwab@suse.de>
7783
7784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7785         when skipping over non-matching result from nscd.
7786
7787 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7788
7789         [BZ #16876]
7790         * nptl/sockperf.c (client): Check socket return value.
7791
7792         [BZ #16877]
7793         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7794         nscd security class.
7795
7796 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7797
7798         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7799         * sysdeps/arm/unwind.h: ... here.
7800
7801 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7802
7803         [BZ# 16916]
7804         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7805         Define.
7806
7807 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7808
7809         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7810         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7811         multiarch strncpy for PPC64.
7812         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7813         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7815         multiarch optimizations.
7816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7817         (__libc_ifunc_impl_list): Likewise.
7818         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7819         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7820         multiarch stpncpy for PPC64.
7821         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7822         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7823
7824 2014-05-06  Andreas Schwab  <schwab@suse.de>
7825
7826         [BZ #16912]
7827         * gmon/mcount.c (_MCOUNT_DECL): Use
7828         atomic_compare_and_exchange_bool_acq instead of
7829         catomic_compare_and_exchange_bool_acq.
7830
7831 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7832
7833         * elf/Makefile (others, install-bin): Remove pldd.
7834         (pldd-modules): Variable removed.
7835         ($(objpfx)pldd): Target removed.
7836         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7837         (others, install-bin): Append pldd here.
7838         ($(objpfx)pldd): New target.
7839
7840         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7841         to 0, so the first #if test emitted later doesn't see it undefined.
7842         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7843         * sysdeps/gnu/errlist.c: Regenerated.
7844
7845 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7846
7847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7848         [libc_hidden_builtin_def]: Define to empty value.
7849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7850         [libc_hidden_builtin_def]: Likewise.
7851         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7852         [libc_hidden_builtin_def]: Likewise.
7853         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7854         [libc_hidden_builtin_def]: Likewise.
7855         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7856         __redirect_memcpy and define ifunc as default hidden symbol.
7857         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7858         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7859
7860 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7861
7862         * locale/iso-4217.def: Reintroduce XDR currency.
7863
7864 2014-05-04  Allan McRae  <allan@archlinux.org>
7865
7866         * po/eo.po: Update Esperanto translation from translation project.
7867
7868 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7869
7870         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7871         and FEATURE_INDEX_MAX to 1.
7872         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7873
7874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7875
7876         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7877         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7878         * iconvdata/big5.c (ONE_DIRECTION): Define.
7879         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7880         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7881         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7882         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7883         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7884         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7885         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7886         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7887         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7888         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7889         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7890         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7891         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7892         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7893         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7894         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7895         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7896         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7897         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7898         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7899         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7900         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7901         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7902         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7903         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7904         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7905         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7906         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7907         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7908         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7909         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7910         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7911         * iconvdata/johab.c (ONE_DIRECTION): Define.
7912         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7913         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7914         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7915         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7916         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7917         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7918         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7919         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7920         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7921         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7922
7923 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7924
7925         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7926         (_IO_JUMPS_OFFSET): Define to 0.
7927
7928         * nptl/sysdeps/pthread/bits/libc-lock.h
7929         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7930         (__libc_lock_define_initialized_recursive): Always define using
7931         initializer.  Modern compilers treat uninitialized (implicit zero) and
7932         explicit zero initializers the same (i.e. put the datum in bss).
7933
7934 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7935
7936         * nscd/nscd-client.h: Include <string.h>.
7937
7938 2014-05-01  David S. Miller  <davem@davemloft.net>
7939
7940         [BZ #16885]
7941         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7942         multiple zero bytes exist at the end of a string.
7943         Reported by Aurelien Jarno <aurelien@aurel32.net>
7944
7945         * string/test-strcmp.c (check): Add explicit test for situations where
7946         there are multiple zero bytes after the first.
7947
7948 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7949
7950         [BZ #16890]
7951         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7952         when compiling wprintf.
7953         * stdio-common/tstdiomisc.c (t3): New function.
7954         (main): Call it.
7955
7956 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7957
7958         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7959         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7960         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7961         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7962
7963 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7964
7965         * stdlib/longlong.h: Updated from GCC.
7966
7967 2014-05-01  Will Newton  <will.newton@linaro.org>
7968             Bernard Ogden  <bernie.ogden@linaro.org>
7969
7970         * NEWS: Update fixed bug list.
7971
7972         [BZ #15119]
7973         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7974
7975 2014-04-30  David S. Miller  <davem@davemloft.net>
7976
7977         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7978         (libc_feholdexcept_setround_sparc_ctx): New function.
7979         (libc_fesetenv_sparc_ctx): Likewise.
7980         (libc_feupdateenv_sparc_ctx): Likewise.
7981         (libc_feholdsetround_sparc_ctx): Likewise.
7982         (libc_feholdexcept_setround_ctx): Define.
7983         (libc_feholdexcept_setroundf_ctx): Likewise.
7984         (libc_feholdexcept_setroundl_ctx): Likewise.
7985         (libc_fesetenv_ctx): Likewise.
7986         (libc_fesetenvf_ctx): Likewise.
7987         (libc_fesetenvl_ctx): Likewise.
7988         (libc_feupdateenv_ctx): Likewise.
7989         (libc_feupdateenvf_ctx): Likewise.
7990         (libc_feupdateenvl_ctx): Likewise.
7991         (libc_feresetround_ctx): Likewise.
7992         (libc_feresetroundf_ctx): Likewise.
7993         (libc_feresetroundl_ctx): Likewise.
7994         (libc_feholdsetround_ctx): Likewise.
7995         (libc_feholdsetroundf_ctx): Likewise.
7996         (libc_feholdsetroundl_ctx): Likewise.
7997
7998         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7999         with __USE_GNU instead of XOPEN cpp guards.
8000
8001         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8002         0.
8003
8004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8005         with XOPEN cpp guards.
8006
8007 2014-04-30  Julian Brown  <julian@codesourcery.com>
8008
8009         [BZ #16888]
8010         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8011         handling.
8012
8013 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8014
8015         [BZ #9894]
8016         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8017         Change to 2.6.32.
8018         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8019         * sysdeps/unix/sysv/linux/configure: Regenerated.
8020         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8021         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8022         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8023         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8024         * README: Update reference to required Linux kernel version.
8025         * manual/install.texi (Linux): Update reference to required Linux
8026         kernel headers version.
8027         * INSTALL: Regenerated.
8028
8029         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8030         header inclusion.
8031         [POSIX] (limits.h): Likewise.
8032         [POSIX] (math.h): Likewise.
8033         [POSIX] (sys/wait.h): Likewise.
8034         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8035         function.
8036         [POSIX] (stddef.h): Do not allow header inclusion.
8037
8038 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8039
8040         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8041
8042 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8043
8044         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8045         Return immediately after lll_futex_wake.
8046
8047 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8048
8049         [BZ #16791]
8050         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8051         structure.
8052         (datahead_init_pos): Call datahead_init_common early.
8053         (datahead_init_neg): Likewise.
8054
8055         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8056         datahead_init_neg): New functions.
8057         * nscd/aicache.c (addhstaiX): Use them.
8058         * nscd/grpcache.c (cache_addgr): Likewise.
8059         * nscd/hstcache.c (cache_addhst): Likewise.
8060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8061         * nscd/netgroupcache.c (do_notfound): Likewise.
8062         (addgetnetgrentX): Likewise.
8063         (addinnetgrX): Likewise.
8064         * nscd/pwdcache.c (cache_addpw): Likewise.
8065         * nscd/servicescache.c (cache_addserv): Likewise.
8066
8067 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8068             Atsushi Onoe  <atsushi@onoe.org>
8069
8070         [BZ #14308]
8071         [BZ #12994]
8072         [BZ #13651]
8073         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8074         one response is valid.
8075         * resolv/res_send.c (send_dg): Check for validity of other
8076         response if the current response is a referral.
8077
8078 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8079
8080         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8081
8082 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8083
8084         [BZ #16823]
8085         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8086         Always divide by positive zero when computing -Inf result.
8087         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8088         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8089
8090 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8091
8092         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8093         FPSCR if value do not change.
8094         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8095         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8096         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8097         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8098         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8099         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8100         function.
8101
8102 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8103
8104         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8105         * sysdeps/unix/sysv/linux/hppa: Move directory from
8106         ports/systeps/unix/sysv/linux/hppa.
8107         * README: Update listing for hppa-*-linux-gnu.
8108
8109 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8110
8111         [BZ #16754]
8112         * manual/stdio.texi (Hook functions): Fix types of stream hook
8113         functions.
8114         [BZ #16854]
8115         * socket/sys/socket.h: Fix typo in comment.
8116
8117 2014-04-28  Wilco  <wdijkstr@arm.com>
8118
8119         * sysdeps/arm/fenv_private.h: New file.
8120         * sysdeps/arm/math_private.h: New file.
8121         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8122
8123 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8124
8125         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8126         with __int128_t.
8127         (La_x86_64_retval): Likewise.
8128
8129 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8130
8131         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8132         fpsr if value didn't change.
8133         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8134         to fpcr if value didn't change.
8135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8136         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8137         fpsr or fpcr if value didn't change.
8138         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8139         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8140         fpcr if value didn't change.
8141         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8142         to fpsr if value didn't change.
8143
8144 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8145
8146         * nptl/tst-sem3.c: Use test-skeleton.c
8147         (main): Rename to do_test.  Use return instead of
8148         exit.
8149         * nptl/tst-sem4.c: Use test-skeleton.c
8150         (main): Rename to do_test.
8151
8152 2014-04-22  David S. Miller  <davem@davemloft.net>
8153
8154         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8155         (struct sigaction): New struct member __glibc_reserved0, change
8156         type of sa_flags to int.
8157
8158 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8159
8160         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8161         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8162
8163 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8164
8165         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8166         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8167
8168 2014-04-22  Will Newton  <will.newton@linaro.org>
8169             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8170
8171         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8172         (__longjmp): Add longjmp and longjmp_target SystemTap
8173         probes.
8174         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8175         (__sigsetjmp): Add setjmp SystemTap probe.
8176
8177 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8178
8179         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8180         match manual order.
8181
8182 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8183
8184         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8185
8186         * sysdeps/powerpc/fpu/fenv_private.h
8187         (libc_feholdexcept_setroundl_ctx): Define to
8188         libc_feholdexcept_setround_ppc_ctx.
8189         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8190         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8191         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8192         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8193
8194 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8195
8196         * sysdeps/aarch64/math-tests.h: New file.
8197
8198 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8199
8200         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8201         New.
8202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8203         Check and set bit_AVX2_Usable.
8204         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8205         macro.
8206         (bit_AVX2): Likewise.
8207         (index_AVX2_Usable): Likewise.
8208         (CPUID_AVX2): Likewise.
8209         (HAS_AVX2): Likewise.
8210
8211 2014-04-17  Will Newton  <will.newton@linaro.org>
8212
8213         * manual/setjmp.texi (System V contexts): Add note that
8214         calling setcontext on a context created by a call to a
8215         signal handler is undefined.  Update text to note that
8216         setcontext from a signal handler is possible but not
8217         recommended.
8218
8219         [BZ #16629]
8220         * stdlib/tst-setcontext.c: Include signal.h.
8221         (main): Check that the signal stack before and
8222         after swapcontext is the same.
8223
8224         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8225         Re-implement to restore registers in user code and avoid
8226         rt_sigreturn system call.
8227
8228 2014-04-17  Wilco  <wdijkstr@arm.com>
8229
8230         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8231         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8232         * math/test-fenv.c: Skip exception trap tests on targets which only
8233         support non-stop mode.
8234
8235 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8236             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8237
8238         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8239         (libc_feholdsetround_aarch64_ctx)
8240         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8241         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8242         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8243         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8244         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8245         (libc_feresetround_noexl_ctx): Define.
8246
8247 2014-04-16  Richard Henderson  <rth@redhat.com>
8248
8249         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8250
8251         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8252         unwind tables.
8253
8254         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8255         const from the non-libc, non-ldso copy.
8256
8257         * sysdeps/alpha/libm-test-ulps: Regenerate.
8258
8259 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8260             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8261
8262         * sysdeps/aarch64/fpu/math_private.h: New file.
8263
8264 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8265
8266         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8267
8268 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8269
8270         [BZ #16275]
8271         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8272         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8274         Intel MPX bound registers before _dl_profile_fixup.
8275         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8276         registers after _dl_profile_fixup.  Save and restore bound
8277         registers bnd0/bnd1 when calling _dl_call_pltexit.
8278         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8279         (LR_BND_OFFSET): Likewise.
8280         (LRV_BND0_OFFSET): Likewise.
8281         (LRV_BND1_OFFSET): Likewise.
8282
8283 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8284
8285         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8286         to...
8287         * sysdeps/mach/hurd/i386/tls.h: ... here.
8288         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8289         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8290         fields.
8291
8292 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8293
8294         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8295
8296 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8297
8298         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8299
8300 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8301
8302         [BZ #14770]
8303         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8304         * sysdeps/s390/configure: Regenerate.
8305
8306         [BZ #16824]
8307         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8308         Set round-to-nearest internally to reduce error accumulation.
8309
8310 2014-04-16  Alan Modra  <amodra@gmail.com>
8311
8312         [BZ #16740]
8313         [BZ #16619]
8314         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8315         * math/libm-test.inc (frexp_test_data): Add tests.
8316         * NEWS: Update fixed bug list.
8317
8318 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8319
8320         * benchtests/Makefile: Depend on libraries in build directory.
8321         (bench-math): Separate out math tests.
8322         (bench-pthread): Separate out pthread tests.
8323         (bench): Include math and pthread tests.
8324
8325 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8326
8327         [BZ #16831]
8328         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8329         _dl_debug_initialize.
8330
8331         * configure.ac: Remove SELinux header check.
8332         * configure: Regenerate.
8333         * nscd/selinux.c (perms): Array of const char* to permission names.
8334         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8335         default policy. Call string_to_security_class and string_to_av_perm to
8336         translate strings. Enforce default policy and call avs_has_perm with
8337         results of translated strings.
8338
8339 2014-04-13  David S. Miller  <davem@davemloft.net>
8340
8341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8342
8343 2014-04-12  Allan McRae  <allan@archlinux.org>
8344
8345         [BZ #16838]
8346         * manual/string.texi (Collation Functions): Fix qsort argument
8347         order in example.
8348         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8349
8350 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8351
8352         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8353         Make the test a no-op if there are no exceptions defined.
8354
8355 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8356
8357         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8358         enable-hardcoded-path-in-tests
8359
8360 2014-04-11  Will Newton  <will.newton@linaro.org>
8361
8362         * benchtests/Makefile (extra-objs): Add json-lib.o.
8363         (bench-func): Tidy up JSON output.
8364         * benchtests/bench-skeleton.c: Include json-lib.h.
8365         (main): Use JSON library functions to do output of
8366         benchmark results.
8367         * benchtests/bench-timing-type.c (main): Output the
8368         timing type simply, leaving formatting to the user.
8369         * benchtests/json-lib.c: New file.
8370         * benchtests/json-lib.h: Likewise.
8371
8372 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8373
8374         [BZ #15215]
8375         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8376         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8377         memory barriers.  Add comments.
8378         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8379         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8380         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8381         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8382         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8383         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8384
8385 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8386
8387         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8388         * sysdeps/s390/s390-64/configure.ac: ... this ...
8389         * sysdeps/s390/configure.ac: ... to here.
8390         * sysdeps/s390/s390-32/configure: Delete file.
8391         * sysdeps/s390/s390-64/configure: Delete file.
8392         * sysdeps/s390/configure: Regenerate.
8393
8394 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8395
8396         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8397
8398 2014-04-11  Will Newton  <will.newton@linaro.org>
8399
8400         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8401         to zero if it is not defined elsewhere.  (mtrim): Test
8402         the value of MALLOC_DEBUG with #if rather than #ifdef.
8403
8404 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8405
8406         * benchtests/pthread_once-inputs: New file.
8407         * benchtests/pthread_once-source.c: New file.
8408         * benchtests/README: Update documentation.
8409
8410 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8411             H.J. Lu  <hongjiu.lu@intel.com>
8412
8413         [BZ #16275]
8414         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8415         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8416         * sysdeps/x86_64/configure: Regenerated.
8417         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8418         macro.
8419         (REGISTER_SAVE_RAX): Likewise.
8420         (REGISTER_SAVE_RCX): Likewise.
8421         (REGISTER_SAVE_RDX): Likewise.
8422         (REGISTER_SAVE_RSI): Likewise.
8423         (REGISTER_SAVE_RDI): Likewise.
8424         (REGISTER_SAVE_R8): Likewise.
8425         (REGISTER_SAVE_R9): Likewise.
8426         (REGISTER_SAVE_BND0): Likewise.
8427         (REGISTER_SAVE_BND1): Likewise.
8428         (REGISTER_SAVE_BND2): Likewise.
8429         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8430         bound registers when calling _dl_fixup.
8431
8432 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8433
8434         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8435         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8436         of its definition.
8437         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8438         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8439         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8440         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8441         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8442         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8443         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8444
8445 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8446
8447         [BZ #15514]
8448         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8449         pathconf(_PC_NAME_MAX).
8450
8451 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8452
8453         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8454         Remove macro usage.
8455         (__PTHREAD_SPINS): Move definition to ...
8456         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8457         (__PTHREAD_SPINS): ... here.
8458         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8459         (__PTHREAD_SPIN): Likewise.
8460         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8461         (__PTHREAD_SPIN): Likewise.
8462         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8463         (__PTHREAD_SPIN): Likewise.
8464         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8465         (__PTHREAD_SPIN): Likewise.
8466         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8467         (__PTHREAD_SPIN): Likewise.
8468         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8469         (__PTHREAD_SPIN): Likewise.
8470         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8471         (__PTHREAD_SPIN): Likewise.
8472         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8473         (__PTHREAD_SPIN): Likewise.
8474         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8475         (__PTHREAD_SPIN): Likewise.
8476         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8477         (__PTHREAD_SPIN): Likewise.
8478         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8479         (__PTHREAD_SPIN): Likewise.
8480         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8481         (__PTHREAD_SPIN): Likewise.
8482
8483         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8484         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8485         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8486         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8487         imply folder.
8488         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8489         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8490         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8491         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8492         correct imply path.
8493         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8494         strlen symbol for non multi-arch builds.
8495         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8496         missing hidden_def and weak_alias.
8497
8498 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8499
8500         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8501
8502 2014-04-07  Will Newton  <will.newton@linaro.org>
8503
8504         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8505         and contents.  [!_LIBC] Remove #ifndef and contents.
8506         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8507         * string/memccpy.c (__memccpy): Use ANSI prototype.
8508         * string/memfrob.c (memfrob): Likewise.
8509         * string/strcoll.c (STRCOLL): Likewise.
8510         * string/strlen.c (strlen): Likewise.
8511         * string/strtok.c (STRTOK): Likewise.
8512         * string/strcat.c: Remove unused #include of memcopy.h.
8513         (strcat): Use ANSI prototype.
8514         * string/strchr.c: Remove unused #include of memcopy.h.
8515         (strchr): Use ANSI prototype.
8516         * string/strcmp.c: Remove unused #include of memcopy.h.
8517         (strcmp): Use ANSI prototype.
8518         * string/strcpy.c: Remove unused #include of memcopy.h.
8519         (strcpy): Use ANSI prototype.
8520
8521 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8522
8523         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8524         * config.make.in (config-extra-cppflags): Set it from
8525         libc_extra_cppflags.
8526         * configure.ac (libc_extra_cflags): Make it accumulate over
8527         configure fragments.
8528         (libc_extra_cppflags): New flag.
8529         * configure. Regenerate.
8530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8531         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8532         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8534
8535         [BZ #16815]
8536         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8537         result for FE_DOWNWARD rounding mode.
8538         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8539         Likewise.
8540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8541
8542 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8543
8544         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8545         in function argument name.
8546
8547 2014-04-03  David Svoboda  <svoboda@cert.org>
8548
8549         [BZ #5666]
8550         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8551         explicitly.
8552
8553 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8554
8555         * elf/dl-unmap-segments.h: New file.
8556         * sysdeps/generic/ldsodefs.h
8557         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8558         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8559         * elf/dl-fptr.c: Likewise.
8560         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8561         * sysdeps/aarch64/tlsdesc.c: Likewise.
8562         * sysdeps/arm/tlsdesc.c: Likewise.
8563         * sysdeps/i386/tlsdesc.c: Likewise.
8564         * sysdeps/tile/dl-runtime.c: Likewise.
8565         * sysdeps/x86_64/tlsdesc.c: Likewise.
8566         * elf/dl-load.h: New file.
8567         * elf/dl-load.c: Include it.
8568         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8569         Macros moved to dl-load.h.
8570         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8571         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8572         Use _dl_unmap_segments in place of __munmap.
8573         Break out segment-mapping loop into ...
8574         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8575
8576 2014-04-03  Will Newton  <will.newton@linaro.org>
8577
8578         * elf/dl-lookup.c (do_lookup_x): Remove comment
8579         referring to nested function and move variable
8580         declarations down to before first use.
8581
8582 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8583
8584         [BZ #16799]
8585         [BZ #16800]
8586         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8587         with 0 numerator.
8588         * math/s_catanf.c (__catanf): Likewise.
8589         * math/s_catanh.c (__catanh): Likewise.
8590         * math/s_catanhf.c (__catanhf): Likewise.
8591         * math/s_catanhl.c (__catanhl): Likewise.
8592         * math/s_catanl.c (__catanl): Likewise.
8593         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8594         by positive zero when computing -Inf result.
8595         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8596         (catanh_test): Likewise.
8597         * sysdeps/i386/fpu/libm-test-ulps: Update.
8598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599
8600         [BZ #16789]
8601         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8602         instead of using underflowing value in computing result.
8603         * math/s_clog10.c (__clog10): Likewise.
8604         * math/s_clog10f.c (__clog10f): Likewise.
8605         * math/s_clog10l.c (__clog10l): Likewise.
8606         * math/s_clogf.c (__clogf): Likewise.
8607         * math/s_clogl.c (__clogl): Likewise.
8608         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8609         (clog10_test): Likewise.
8610         * sysdeps/i386/fpu/libm-test-ulps: Update.
8611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8612
8613 2014-04-02  Alan Modra  <amodra@gmail.com>
8614
8615         [BZ #16739]
8616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8617         output when value is near a power of two.  Use int64_t for lx and
8618         remove casts.  Use decimal rather than hex exponent constants.
8619         Don't use long double multiplication when double will suffice.
8620         * math/libm-test.inc (nextafter_test_data): Add tests.
8621         * NEWS: Add 16739 and 16786 to bug list.
8622
8623         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8624
8625         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8626
8627 2014-04-01  Will Newton  <will.newton@linaro.org>
8628
8629         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8630         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8631
8632 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8633
8634         [BZ #13347]
8635         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8636         * nptl/tst-setuid2.c: New file.
8637         * nptl/Makefile (xtests): Add tst-setuid2.
8638
8639 2014-04-01  Alan Modra  <amodra@gmail.com>
8640
8641         [BZ #16786]
8642         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8643
8644 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8645
8646         [BZ #6803]
8647         [BZ #6804]
8648         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8649         set errno as appropriate.
8650         * math/w_scalbf.c (__scalbf): Likewise.
8651         * math/w_scalbl.c (__scalbl): Likewise.
8652         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8653         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8654         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8655         Add more NaN tests.
8656
8657         [BZ #16349]
8658         * math/w_atan2.c: Include <errno.h>.
8659         (__atan2): Set errno for result underflowing to zero.
8660         * math/w_atan2f.c: Include <errno.h>.
8661         (__atan2f): Set errno for result underflowing to zero.
8662         * math/w_atan2l.c: Include <errno.h>.
8663         (__atan2l): Set errno for result underflowing to zero.
8664         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8665         tests.
8666         * math/auto-libm-test-out: Regenerated.
8667
8668 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8669
8670         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8671         Encode instruction correctly in little endian.
8672         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8673         Likewise.
8674         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8675         Likewise.
8676         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8677         Likewise.
8678         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8679         Likewise.
8680
8681 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8682
8683         [BZ #9894]
8684         * sysdeps/unix/sysv/linux/kernel-features.h
8685         [__sparc__ && !__arch64__ && !__sparc_v9__]
8686         (__ASSUME_SET_ROBUST_LIST): Do not define.
8687         [__sparc__ && !__arch64__ && !__sparc_v9__]
8688         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8689         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8690         Likewise.
8691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8692         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8693         (__ASSUME_REQUEUE_PI): Likewise.
8694         (__ASSUME_SET_ROBUST_LIST): Likewise.
8695         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8696         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8697         Undefine.
8698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8699         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8700         Likewise.
8701         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8702         Likewise.
8703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8704         Likewise.
8705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8706         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8707         Undefine.
8708         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8709         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8710         Likewise.
8711
8712         [BZ #16648]
8713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8714         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8715         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8716
8717 2014-03-31  Will Newton  <will.newton@linaro.org>
8718
8719         * benchtests/Makefile (bench): Add ffs and ffsll to list
8720         of tests.
8721         * benchtests/ffs-inputs: New file.
8722         * benchtests/ffsll-inputs: Likewise.
8723
8724 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8725
8726         [BZ #16770]
8727         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8728         too large before casting to int.
8729         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8730         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8731         * math/libm-test.inc (scalb_test_data): Add more tests.
8732
8733 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8734
8735         * benchtests/Makefile (DETAILED_OPT): New make option.
8736         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8737         set.
8738         * benchtests/bench-skeleton.c: Include stdbool.h.
8739         (main): Store and print timings per input.
8740         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8741         member to each argument value.
8742         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8743         (_print_arg_data): Initialize per-input timing to 0.
8744
8745         * benchtests/Makefile (timing-type): New binary.
8746         (bench-clean): Also remove bench-timing-type.
8747         (bench): New target for timing-type.
8748         (bench-func): Print output in JSON format.
8749         * benchtests/bench-skeleton.c (main): Print output in JSON
8750         format.
8751         * benchtests/bench-timing-type.c: New file.
8752         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8753         (TIMING_PRINT_STATS): Remove.
8754         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8755         name separately.
8756
8757         * benchtests/bench-modf.c: Remove.
8758         * benchtests/modf-inputs: New inputs file.
8759
8760 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8761
8762         [BZ #16362]
8763         * math/s_clog10.c (M_PI_LOG10E): New macro.
8764         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8765         imaginary parts are 0.
8766         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8767         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8768         imaginary parts are 0.
8769         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8770         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8771         imaginary parts are 0.
8772         * math/libm-test.inc (clog10_test_data): Update expected results
8773         for when real and imaginary parts are 0.
8774
8775 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8776
8777         * elf/dl-load.c: Finish conversion of __builtin_expect into
8778         __glibc_{un}likely.
8779
8780 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8781
8782         [BZ #16348]
8783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8784         1+x for argument with exponent below -67.
8785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8786         Likewise.
8787         * math/auto-libm-test-in: Add more tests of exp.
8788         * math/auto-libm-test-out: Regenerated.
8789
8790 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8791
8792         [BZ #16759]
8793         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8794         (nscd_getnetgrent): Use it.
8795
8796         [BZ #16760]
8797         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8798         of stpcpy.
8799
8800 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8801
8802         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8803         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8804         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8805         (lll_robust_unlock): Remove out of line section. Use cfi
8806         intrinsics.
8807         (LLL_STUB_UNWIND_INFO*): Remove.
8808         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8809         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8810         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8811         (lll_robust_unlock): Remove out of line section. Use cfi
8812         intrinsics.
8813         (LLL_STUB_UNWIND_INFO*): Remove.
8814
8815 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8816
8817         [BZ #16758]
8818         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8819         blank values.
8820
8821 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8822
8823         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8824
8825 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8826
8827         [BZ #16198]
8828         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8829         fnstenv.
8830         * math/test-fenv-preserve.c: New file.
8831         * math/Makefile (tests): Add test-fenv-preserve.
8832
8833 2014-03-26  Will Newton <will.newton@linaro.org>
8834
8835         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8836
8837 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8838
8839         * scripts/versionlist.awk: Partition the version sets and emit all
8840         GLIBC_* (sorted) before all others (sorted).
8841
8842 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8843
8844         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8845         GLIBC_2.2.5 version.
8846
8847 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8848
8849         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8850         calls.
8851
8852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8853         previous change.
8854
8855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8856
8857 2014-03-25  Andreas Schwab  <schwab@suse.de>
8858
8859         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8860         label to be used after in6ailist is initialized.
8861
8862 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863
8864         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8865         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8866
8867 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8868
8869         [BZ #16357]
8870         [BZ #16599]
8871         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8872         min_plus_half.
8873         (fp_formats): Update initializers.
8874         (init_fp_formats): Initialize new field.
8875         (output_for_one_input_case): Allow underflow for results up to
8876         min_plus_half.
8877         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8878         * math/auto-libm-test-in: Don't mark some underflows from asin and
8879         atanh as spurious.
8880         * math/auto-libm-test-out: Regenerated.
8881         * sysdeps/i386/fpu/libm-test-ulps: Update.
8882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883
8884 2014-03-25  Andreas Schwab  <schwab@suse.de>
8885
8886         * libio/Makefile (tst-ftell-partial-wide-ENV)
8887         (tst-ftell-active-handler-ENV): Define.
8888
8889 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8890
8891         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8892
8893 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8894
8895         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8896
8897 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8898
8899         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8900         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8901         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8902
8903 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8904
8905         [BZ #16634]
8906         * elf/dl-load.c (open_verify): Add mode parameter.
8907         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8908         (open_path): Change from boolean 'secure' to complete flag 'mode'
8909         (_dl_map_object): Adjust.
8910         * elf/Makefile (tests): Add tst-dlopen-aout.
8911         * elf/tst-dlopen-aout.c: New test.
8912
8913 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8914
8915         [BZ #16714]
8916         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8917         (struct stat): Rename member pad0 to __glibc_reserved0.
8918
8919         [BZ #16712]
8920         * sysdeps/s390/s390-32/bits/wordsize.h
8921         (__WORDSIZE32_SIZE_ULONG): New define.
8922         * sysdeps/s390/s390-64/bits/wordsize.h
8923         (__WORDSIZE32_SIZE_ULONG): Likewise.
8924         * sysdeps/generic/stdint.h (SIZE_MAX):
8925         Define as UL if __WORDSIZE32_SIZE_ULONG.
8926
8927         [BZ #16713]
8928         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8929         (__glibc_reserved0): New variable.
8930         (sa_flags): Change type to int.
8931
8932         * posix/Makefile (before-compile): Use += before-compile instead
8933         of a :=.
8934
8935         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8936         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8937
8938 2014-03-20  Andreas Schwab  <schwab@suse.de>
8939
8940         [BZ #16743]
8941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8942         non-matching result from nscd.
8943
8944 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8945
8946         * scripts/bench.py: Moved to ...
8947         * benchtests/scripts/bench.py: ... here.
8948         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8949
8950 2014-03-24  Andreas Schwab  <schwab@suse.de>
8951
8952         [BZ #16002]
8953         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8954         alloca_account and account alloca use for struct in6ailist.
8955
8956 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8957
8958         [BZ #16284]
8959         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8960         rounding mode to recompute results that overflow to infinity or
8961         underflow to zero.
8962         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8963         bug 16284.
8964         * math/auto-libm-test-out: Regenerated.
8965         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8966         (ccosh_test): Likewise.
8967         (csin_test_data): Use plus_oflow.
8968         (csin_test): Use ALL_RM_TEST.
8969         (csinh_test_data): Use plus_oflow.
8970         (csinh_test): Use ALL_RM_TEST.
8971         * sysdeps/i386/fpu/libm-test-ulps: Update.
8972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973
8974 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8975
8976         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8977         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8978         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8979
8980         [BZ #16731]
8981         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8982         when x - 1 is zero.
8983         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8984         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8985         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8986         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8987         argument is 1.
8988         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8989         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8990         zero.
8991         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8992         * sysdeps/i386/fpu/libm-test-ulps: Update.
8993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994
8995 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8996
8997         * scripts/bench.pl: Remove file.
8998         * scripts/bench.py: New benchmark script.
8999         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9000         * benchtests/README: Mention python dependency.
9001         * scripts/pylintrc: New file.
9002         * scripts/pylint: New file.
9003
9004         * bits/mathdef.h: Use #ifdef instead of #if.
9005         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9006         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9007         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9008         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9009         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9010         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9011
9012 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9013             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9014
9015         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9017         and strpbrk-ppc64 objects.
9018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9019         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9020         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9021         multiarch strpbrk for POWER7.
9022         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9023         multiarch strpbrk for PPC64.
9024         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9025         ifunc selector.
9026         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9027         strpbrk for POWER7.
9028
9029 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9030
9031         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9032         (atan_test): Likewise.
9033         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9034         (atanh_test): Use ALL_RM_TEST.
9035         (atan2_test_data): Likewise.
9036         (cabs_test): Likewise.
9037         (cacosh_test): Likewise.
9038         (carg_test): Likewise.
9039         (casin_test): Likewise.
9040         (casinh_test): Likewise.
9041         (cbrt_test): Likewise.
9042         (csqrt_test): Likewise.
9043         (erf_test): Likewise.
9044         (erfc_test): Likewise.
9045         (pow10_test): Likewise.
9046         (exp2_test): Likewise.
9047         (hypot_test): Likewise.
9048         (j0_test): Likewise.
9049         (j1_test): Likewise.
9050         (lgamma_test): Likewise.
9051         (gamma_test): Likewise.
9052         (sincos_test): Likewise.
9053         (tanh_test): Likewise.
9054         (y0_test): Likewise.
9055         (y1_test): Likewise.
9056         * sysdeps/i386/fpu/libm-test-ulps: Update.
9057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058
9059 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9060
9061         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9063         and strcspn-ppc64 objects.
9064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9065         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9066         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9067         multiarch strcspn for POWER7.
9068         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9069         multiarch strcspn for PPC64.
9070         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9071         ifunc selector.
9072         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9073         strcspn for POWER7.
9074
9075 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9076
9077         * math/gen-libm-test.pl (generate_testfile): Expect only function
9078         name as argument to AUTO_TESTS_* and pass results for all rounding
9079         modes to parse_args.
9080         (parse_auto_input): Separate inputs of automatic tests from
9081         outputs before storing in %auto_tests.
9082         * math/libm-test.inc (acos_test_data): Update call to
9083         AUTO_TESTS_f_f.
9084         (acos_test): Use ALL_RM_TEST.
9085         (acos_tonearest_test_data): Remove.
9086         (acos_test_tonearest): Likewise.
9087         (acos_towardzero_test_data): Likewise.
9088         (acos_test_towardzero): Likewise.
9089         (acos_downward_test_data): Likewise.
9090         (acos_test_downward): Likewise.
9091         (acos_upward_test_data): Likewise.
9092         (acos_test_upward): Likewise.
9093         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9094         (asin_test_data): Likewise.
9095         (asin_test): Use ALL_RM_TEST.
9096         (asin_tonearest_test_data): Remove.
9097         (asin_test_tonearest): Likewise.
9098         (asin_towardzero_test_data): Likewise.
9099         (asin_test_towardzero): Likewise.
9100         (asin_downward_test_data): Likewise.
9101         (asin_test_downward): Likewise.
9102         (asin_upward_test_data): Likewise.
9103         (asin_test_upward): Likewise.
9104         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9105         (atan_test_data): Likewise.
9106         (atanh_test_data): Likewise.
9107         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9108         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9109         (carg_test_data): Likewise.
9110         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9111         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9112         (ccosh_test_data): Likewise.
9113         (cexp_test_data): Likewise.
9114         (clog_test_data): Likewise.
9115         (clog10_test_data): Likewise.
9116         (cos_test_data): Update call to AUTO_TESTS_f_f.
9117         (cos_test): Use ALL_RM_TEST.
9118         (cos_tonearest_test_data): Remove.
9119         (cos_test_tonearest): Likewise.
9120         (cos_towardzero_test_data): Likewise.
9121         (cos_test_towardzero): Likewise.
9122         (cos_downward_test_data): Likewise.
9123         (cos_test_downward): Likewise.
9124         (cos_upward_test_data): Likewise.
9125         (cos_test_upward): Likewise.
9126         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9127         (cosh_test): Use ALL_RM_TEST.
9128         (cosh_tonearest_test_data): Remove.
9129         (cosh_test_tonearest): Likewise.
9130         (cosh_towardzero_test_data): Likewise.
9131         (cosh_test_towardzero): Likewise.
9132         (cosh_downward_test_data): Likewise.
9133         (cosh_test_downward): Likewise.
9134         (cosh_upward_test_data): Likewise.
9135         (cosh_test_upward): Likewise.
9136         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9137         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9138         (ctan_test_data): Likewise.
9139         (ctan_test): Use ALL_RM_TEST.
9140         (ctan_tonearest_test_data): Remove.
9141         (ctan_test_tonearest): Likewise.
9142         (ctan_towardzero_test_data): Likewise.
9143         (ctan_test_towardzero): Likewise.
9144         (ctan_downward_test_data): Likewise.
9145         (ctan_test_downward): Likewise.
9146         (ctan_upward_test_data): Likewise.
9147         (ctan_test_upward): Likewise.
9148         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9149         (ctanh_test): Use ALL_RM_TEST.
9150         (ctanh_tonearest_test_data): Remove.
9151         (ctanh_test_tonearest): Likewise.
9152         (ctanh_towardzero_test_data): Likewise.
9153         (ctanh_test_towardzero): Likewise.
9154         (ctanh_downward_test_data): Likewise.
9155         (ctanh_test_downward): Likewise.
9156         (ctanh_upward_test_data): Likewise.
9157         (ctanh_test_upward): Likewise.
9158         (erf_test_data): Update call to AUTO_TESTS_f_f.
9159         (erfc_test_data): Likewise.
9160         (exp_test_data): Likewise.
9161         (exp_test): Use ALL_RM_TEST.
9162         (exp_tonearest_test_data): Remove.
9163         (exp_test_tonearest): Likewise.
9164         (exp_towardzero_test_data): Likewise.
9165         (exp_test_towardzero): Likewise.
9166         (exp_downward_test_data): Likewise.
9167         (exp_test_downward): Likewise.
9168         (exp_upward_test_data): Likewise.
9169         (exp_test_upward): Likewise.
9170         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9171         (exp10_test): Use ALL_RM_TEST.
9172         (exp10_tonearest_test_data): Remove.
9173         (exp10_test_tonearest): Likewise.
9174         (exp10_towardzero_test_data): Likewise.
9175         (exp10_test_towardzero): Likewise.
9176         (exp10_downward_test_data): Likewise.
9177         (exp10_test_downward): Likewise.
9178         (exp10_upward_test_data): Likewise.
9179         (exp10_test_upward): Likewise.
9180         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9181         (expm1_test_data): Likewise.
9182         (expm1_test): Use ALL_RM_TEST.
9183         (expm1_tonearest_test_data): Remove.
9184         (expm1_test_tonearest): Likewise.
9185         (expm1_towardzero_test_data): Likewise.
9186         (expm1_test_towardzero): Likewise.
9187         (expm1_downward_test_data): Likewise.
9188         (expm1_test_downward): Likewise.
9189         (expm1_upward_test_data): Likewise.
9190         (expm1_test_upward): Likewise.
9191         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9192         (fma_test): Use ALL_RM_TEST.
9193         (fma_towardzero_test_data): Remove.
9194         (fma_test_towardzero): Likewise.
9195         (fma_downward_test_data): Likewise.
9196         (fma_test_downward): Likewise.
9197         (fma_upward_test_data): Likewise.
9198         (fma_test_upward): Likewise.
9199         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9200         (j0_test_data): Update call to AUTO_TESTS_f_f.
9201         (j1_test_data): Likewise.
9202         (jn_test_data): Update call to AUTO_TESTS_if_f.
9203         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9204         (log_test_data): Update call to AUTO_TESTS_f_f.
9205         (log10_test_data): Likewise.
9206         (log1p_test_data): Likewise.
9207         (log2_test_data): Likewise.
9208         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9209         (pow_tonearest_test_data): Likewise.
9210         (sin_test_data): Update call to AUTO_TESTS_f_f.
9211         (sin_test): Use ALL_RM_TEST.
9212         (sin_tonearest_test_data): Remove.
9213         (sin_test_tonearest): Likewise.
9214         (sin_towardzero_test_data): Likewise.
9215         (sin_test_towardzero): Likewise.
9216         (sin_downward_test_data): Likewise.
9217         (sin_test_downward): Likewise.
9218         (sin_upward_test_data): Likewise.
9219         (sin_test_upward): Likewise.
9220         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9221         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9222         (sinh_test): Use ALL_RM_TEST.
9223         (sinh_tonearest_test_data): Remove.
9224         (sinh_test_tonearest): Likewise.
9225         (sinh_towardzero_test_data): Likewise.
9226         (sinh_test_towardzero): Likewise.
9227         (sinh_downward_test_data): Likewise.
9228         (sinh_test_downward): Likewise.
9229         (sinh_upward_test_data): Likewise.
9230         (sinh_test_upward): Likewise.
9231         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9232         (sqrt_test): Use ALL_RM_TEST.
9233         (sqrt_tonearest_test_data): Remove.
9234         (sqrt_test_tonearest): Likewise.
9235         (sqrt_towardzero_test_data): Likewise.
9236         (sqrt_test_towardzero): Likewise.
9237         (sqrt_downward_test_data): Likewise.
9238         (sqrt_test_downward): Likewise.
9239         (sqrt_upward_test_data): Likewise.
9240         (sqrt_test_upward): Likewise.
9241         (tan_test_data): Update call to AUTO_TESTS_f_f.
9242         (tan_test): Use ALL_RM_TEST.
9243         (tan_tonearest_test_data): Remove.
9244         (tan_test_tonearest): Likewise.
9245         (tan_towardzero_test_data): Likewise.
9246         (tan_test_towardzero): Likewise.
9247         (tan_downward_test_data): Likewise.
9248         (tan_test_downward): Likewise.
9249         (tan_upward_test_data): Likewise.
9250         (tan_test_upward): Likewise.
9251         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9252         (tgamma_test_data): Likewise.
9253         (y0_test_data): Likewise.
9254         (y1_test_data): Likewise.
9255         (yn_test_data): Update call to AUTO_TESTS_if_f.
9256         (main): Do not call removed functions.
9257
9258 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9259
9260         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9261         (ldexp_test_data): Remove.
9262         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9263         scalbn_test_data.
9264         (scalb_test): Use ALL_RM_TEST.
9265
9266 2014-03-19  Andreas Schwab  <schwab@suse.de>
9267
9268         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9269
9270 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9271
9272         [BZ #16649]
9273         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9274         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9275         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9277         (__ASSUME_PREADV): Undefine.
9278         (__ASSUME_PWRITEV): Likewise.
9279
9280 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9281
9282         * bits/mman-linux.h: Add comment about non-Linux use.
9283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9284         bits/mman-linux.h resting place.
9285
9286         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9287         * bits/mman-linux.h: ... here.
9288
9289 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9290
9291         * conform/conformtest.pl: Add standard definition when calling C
9292         preprocessor on data files.
9293         (checknamespace): Remove unused variable.
9294
9295 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9296
9297         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9298         minus_oflow, plus_uflow and minus_uflow in expected results.
9299         * math/libm-test.inc (scalbn_test_data): Add more tests of
9300         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9301         minus_uflow.
9302         (scalbn_test): Use ALL_RM_TEST.
9303         (scalbln_test_data): Add more tests of negative arguments.  Use
9304         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9305         (scalbln_test): Use ALL_RM_TEST.
9306
9307 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9308
9309         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9310
9311 2014-03-18  Will Newton  <will.newton@linaro.org>
9312
9313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9314         inaccurate comment.
9315
9316 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9317
9318         * Makerules [!subdir] (check-abi): Exit with error status if a
9319         test failed.
9320
9321 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9322
9323         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9324         for rint.  Include results for all rounding modes.
9325         (nearbyint_test): Use ALL_RM_TEST.
9326         (rint_test_data): Include all tests used for nearbyint.
9327
9328 2014-03-17  Will Newton  <will.newton@linaro.org>
9329
9330         * nptl/sysdeps/pthread/pthread.h: Revert previous
9331         change.
9332
9333         * sysdeps/generic/ldsodefs.h: Revert previous
9334         change.
9335
9336         * libio/genops.c: Revert previous change.
9337         * libio/libioP.h: Likewise.
9338         * stdio-common/vfprintf.c: Likewise.
9339
9340         * sysdeps/generic/math_private.h: Revert previous
9341         change.
9342
9343         * sysdeps/generic/math_private.h: Check whether
9344         HAVE_RM_CTX is defined with #ifdef rather
9345         than #if.
9346
9347         * argp/argp-fmtstream.h: Check whether
9348         __STRICT_ANSI__ is defined with #ifdef rather
9349         than #if.
9350         * argp/argp.h: Likewise.
9351
9352         * libio/genops.c: Check whether
9353         _IO_JUMPS_OFFSET is defined with #ifdef rather
9354         than #if.
9355         * libio/libioP.h: Likewise.
9356         * stdio-common/vfprintf.c: Likewise.
9357
9358         * sysdeps/generic/ldsodefs.h: Check whether
9359         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9360         than #if.
9361
9362         * nptl/sysdeps/pthread/pthread.h: Check
9363         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9364         its value.
9365
9366 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9367
9368         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9369         setting O_APPEND.
9370         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9371         test case.
9372
9373         [BZ #16680]
9374         * libio/fileops.c (_IO_file_open): Seek to end of file but
9375         don't cache the offset.
9376         (get_file_offset): Remove function.
9377         (do_ftell): Use cached offset when available.
9378         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9379         don't cache the offset.
9380         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9381         case.
9382         (do_one_test): Call it.
9383         (do_ftell_test): Fix up expected old offset for a+ mode.
9384         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9385         available.
9386
9387         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9388         up test status with function return status.
9389         (do_write_test): Likewise.
9390         (do_append_test): Likewise.
9391
9392         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9393         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9394         Remove.
9395
9396 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9397
9398         * math/gen-libm-test.pl (parse_args): Handle results specified for
9399         each rounding mode separately.
9400         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9401         tests and results from lrint_tonearest_test_data,
9402         lrint_towardzero_test_data, lrint_downward_test_data and
9403         lrint_upward_test_data.
9404         (lrint_test): Use ALL_RM_TEST.
9405         (lrint_tonearest_test_data): Remove.
9406         (lrint_test_tonearest): Likewise.
9407         (lrint_towardzero_test_data): Likewise.
9408         (lrint_test_towardzero): Likewise.
9409         (lrint_downward_test_data): Likewise.
9410         (lrint_test_downward): Likewise.
9411         (lrint_upward_test_data): Likewise.
9412         (lrint_test_upward): Likewise.
9413         (llrint_test_data): Merge in per-rounding-mode tests and results
9414         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9415         llrint_downward_test_data and llrint_upward_test_data.
9416         (llrint_test): Use ALL_RM_TEST.
9417         (llrint_tonearest_test_data): Remove.
9418         (llrint_test_tonearest): Likewise.
9419         (llrint_towardzero_test_data): Likewise.
9420         (llrint_test_towardzero): Likewise.
9421         (llrint_downward_test_data): Likewise.
9422         (llrint_test_downward): Likewise.
9423         (llrint_upward_test_data): Likewise.
9424         (llrint_test_upward): Likewise.
9425         (rint_test_data): Merge in per-rounding-mode tests and results
9426         from rint_tonearest_test_data, rint_towardzero_test_data,
9427         rint_downward_test_data and rint_upward_test_data.  Add
9428         per-rounding-mode results for tests not in those arrays.
9429         (rint_test): Use ALL_RM_TEST.
9430         (rint_tonearest_test_data): Remove.
9431         (rint_test_tonearest): Likewise.
9432         (rint_towardzero_test_data): Likewise.
9433         (rint_test_towardzero): Likewise.
9434         (rint_downward_test_data): Likewise.
9435         (rint_test_downward): Likewise.
9436         (rint_upward_test_data): Likewise.
9437         (rint_test_upward): Likewise.
9438         (main): Don't call removed functions.
9439
9440 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9441
9442         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9443         "Compiled on ..." crapola.  It is anti-useful.
9444
9445 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9446
9447         * scripts/evaluate-test.sh: Handle fourth argument to determine
9448         whether test run should stop on failure.
9449         * Makeconfig (stop-on-test-failure): New variable.
9450         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9451         $(stop-on-test-failure).
9452         * Makefile (tests): Give a summary of results from testing and
9453         exit with failure status if they include an ERROR or FAIL.
9454         (xtests): Likewise.
9455         * manual/install.texi (Configuring and compiling): Mention
9456         stop-on-test-failure=y.
9457         * INSTALL: Regenerated.
9458
9459 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9460
9461         * scripts/versionlist.awk: New file.
9462         * Makerules [$(build-shared) = yes]
9463         (postclean-generated): Add Versions.def, not Versions.def.v and
9464         Versions.def.v.i.
9465         ($(common-objpfx)Versions.def.v.i): Target removed.
9466         ($(common-objpfx)Versions.def): New target.
9467         ($(common-objpfx)Versions.all): Depend on that rather that
9468         $(common-objpfx)Versions.def.v.
9469         * Versions.def: File removed.
9470
9471         * Makeconfig (+gccwarn): Add -Wundef.
9472         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9473         a dl-sysdep.h breaking its contract.
9474         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9475         * include/stackinfo.h: New file.
9476         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9477         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9478         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9479         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9480         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9481         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9482         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9483         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9484         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9485         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9486         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9487         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9488         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9489         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9490         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9491
9492 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9493
9494         [BZ #16707]
9495         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9496         implementation.
9497         * math/libm-test.inc (round_test_data): Add more tests.
9498
9499         [BZ #16706]
9500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9501         implementation.
9502         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9503
9504         [BZ #16701]
9505         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9506         implementation.
9507         * math/libm-test.inc (ceil_test_data): Add more tests.
9508
9509         * math/libm-test.inc (trunc_test_data): Add more tests related to
9510         BZ#16414.
9511
9512 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9513
9514         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9515         with #if rather than #ifdef.
9516         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9517
9518 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9519
9520         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9521         first.  Disable AVX-512 GCC support if assembler doesn't support
9522         it.
9523         * sysdeps/x86_64/configure: Regenerated.
9524
9525 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9526
9527         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9528         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9529         (__old_pthread_attr_setstack): Likewise.
9530         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9531         [!_STACK_GROWS_DOWN]: Likewise.
9532
9533 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9534
9535         * config.make.in (have-bash2): Delete.
9536         * configure.ac (libc_cv_have_bash2): Delete.
9537         * configure: Regenerate.
9538         * elf/Makefile (common-ldd-rewrite): Rename to ...
9539         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9540         (sh-ldd-rewrite): Delete.
9541         (bash-ldd-rewrite): Delete.
9542         (have-bash2): Delete checks.
9543         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9544         ldd-rewrite.
9545
9546         * config.make.in (have-ksh): Delete.
9547         (KSH): Delete.
9548         * configure.ac (libc_cv_have_ksh): Delete.
9549         * configure: Regenerate.
9550
9551         * elf/Makefile: Delete $(have-ksh) check.
9552         ($(objpfx)sotruss): Change KSH to BASH.
9553         * elf/sotruss.ksh: Rename to ...
9554         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9555         function style to match POSIX.  Drop ksh vim mode setting.
9556
9557         * manual/time.texi (Specifying the Time Zone with TZ): Change
9558         Tuesday to Thursday.
9559
9560         * debug/tst-longjmp_chk2.c: Update header comment.
9561         (stackoverflow_handler): Add comment.  Call assert on pass value.
9562
9563 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9564
9565         [BZ #16194]
9566         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9567         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9568         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9569         (La_x86_64_vector): Add zmm.
9570         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9571         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9572         ($(objpfx)tst-audit10): New target.
9573         ($(objpfx)tst-audit10.out): Likewise.
9574         (tst-audit10-ENV): New.
9575         (AVX512-CFLAGS): Likewise.
9576         (CFLAGS-tst-audit10.c): Likewise.
9577         (CFLAGS-tst-auditmod10a.c): Likewise.
9578         (CFLAGS-tst-auditmod10b.c): Likewise.
9579         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9580         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9581         * sysdeps/x86_64/configure: Regenerated.
9582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9583         AVX-512 zmm register support.
9584         (_dl_x86_64_save_sse): Likewise.
9585         (_dl_x86_64_restore_sse): Likewise.
9586         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9587         size vector registers.
9588         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9589         (ZMM_SIZE): Likewise.
9590         * sysdeps/x86_64/tst-audit10.c: New file.
9591         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9592         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9593
9594 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9595
9596         * configure.ac (HAVE_EHDR_START): New check.
9597         * configure: Regenerated.
9598         * config.h.in (HAVE_EHDR_START): New #undef.
9599         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9600         assuming the lowest-addressed segment maps the start of the file.
9601
9602 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9603
9604         * INSTALL: Regenerated.
9605
9606 2014-03-13  Will Newton  <will.newton@linaro.org>
9607
9608         * manual/setjmp.texi (System V contexts): Improve
9609         clarity and grammar of documentation.
9610
9611 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9612
9613         [BZ #16381]
9614         * elf/Makefile (tests): Add tst-pie2.
9615         (tests-pie): Add tst-pie2.
9616         * elf/tst-pie2.c: New file.
9617         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9618         for ET_EXEC.
9619         * elf/rtld.c (map_doit): Load executable as lt_executable.
9620         (dl_main): Likewise.
9621
9622 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9623
9624         [BZ #16642]
9625         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9626         (__ASSUME_PSELECT): Undefine.
9627
9628 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9629
9630         [BZ #16689]
9631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9632         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9633         static build.
9634         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9635         selector for static builds.
9636
9637 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9638
9639         [BZ #16695]
9640         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9641         key in the buffer.
9642
9643 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9644
9645         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9646         IFUNC selector for static builds.
9647
9648 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9649
9650         * sysdeps/mips/math_private.h [__mips_hard_float]
9651         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9652         libc_feresetround_mips_ctx.
9653         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9654         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9655         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9656
9657         [BZ #16677]
9658         * math/s_nextafter.c (__nextafter): Do not return value from
9659         overflowing computation.
9660         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9661         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9662         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9663         Likewise.
9664         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9665         Likewise.
9666         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9667         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9668
9669 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9670
9671         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9672         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9673         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9674         the new mov targetting sp.
9675
9676 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9677
9678         [BZ #16683]
9679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9680         Define it for static builds as well.
9681         (NO_BZERO_IMPL): Likewise.
9682
9683 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9684
9685         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9686         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9687         multiarch strspn for PPC64.
9688         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9689         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9691         (__libc_ifunc_impl_list): Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9693         multiarch optimizations
9694         * string/strspn.c (strspn): Using macro to redefine symbol name.
9695
9696 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9698
9699         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9700         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9701         multiarch strncat for PPC64.
9702         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9703         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9705         (__libc_ifunc_impl_list): Likewise.
9706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9707         multiarch optimizations
9708
9709 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710
9711         [BZ #16639]
9712         * nscd/nscd.service: Make service type forking.
9713
9714 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9715
9716         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9717         sign in non default rounding modes.
9718         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9719
9720 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9721
9722         * math/libm-test.inc (ALL_RM_TEST): New macro.
9723         (ceil_test): Use ALL_RM_TEST.
9724         (cimag_test): Likewise.
9725         (conj_test): Likewise.
9726         (copysign_test): Likewise.
9727         (cproj_test): Likewise.
9728         (creal_test): Likewise.
9729         (fabs_test): Likewise.
9730         (floor_test): Likewise.
9731         (fmax_test): Likewise.
9732         (fmin_test): Likewise.
9733         (fmod_test): Likewise.
9734         (fpclassify_test): Likewise.
9735         (frexp_test): Likewise.
9736         (ilogb_test): Likewise.
9737         (isfinite_test): Likewise.
9738         (finite_test): Likewise.
9739         (isgreater_test): Likewise.
9740         (isgreaterequal_test): Likewise.
9741         (isinf_test): Likewise.
9742         (isless_test): Likewise.
9743         (islessequal_test): Likewise.
9744         (islessgreater_test): Likewise.
9745         (isnan_test): Likewise.
9746         (isnormal_test): Likewise.
9747         (issignaling_test): Likewise.
9748         (isunordered_test): Likewise.
9749         (logb_test): Likewise.
9750         (logb_downward_test_data): Remove.
9751         (logb_test_downward): Likewise.
9752         (lround_test): Use ALL_RM_TEST.
9753         (llround_test): Likewise.
9754         (modf_test): Likewise.
9755         (nexttoward_test): Likewise.
9756         (remainder_test): Likewise.
9757         (drem_test): Likewise.
9758         (remainder_tonearest_test_data): Likewise.
9759         (remainder_test_tonearest): Likewise.
9760         (drem_test_tonearest): Likewise.
9761         (remainder_towardzero_test_data): Likewise.
9762         (remainder_test_towardzero): Likewise.
9763         (drem_test_towardzero): Likewise.
9764         (remainder_downward_test_data): Likewise.
9765         (remainder_test_downward): Likewise.
9766         (drem_test_downward): Likewise.
9767         (remainder_upward_test_data): Likewise.
9768         (remainder_test_upward): Likewise.
9769         (drem_test_upward): Likewise.
9770         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9771         (round_test): Use ALL_RM_TEST.
9772         (signbit_test): Likewise.
9773         (trunc_test): Likewise.
9774         (significand_test): Likewise.
9775         (main): Don't call removed functions.
9776
9777 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9778
9779         [BZ #16674]
9780         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9781         || __USE_XOPEN2K8].
9782         (ILL_ILLOPN): Likewise.
9783         (ILL_ILLADR): Likewise.
9784         (ILL_ILLTRP): Likewise.
9785         (ILL_PRVOPC): Likewise.
9786         (ILL_PRVREG): Likewise.
9787         (ILL_COPROC): Likewise.
9788         (ILL_BADSTK): Likewise.
9789         (FPE_INTDIV): Likewise.
9790         (FPE_INTOVF): Likewise.
9791         (FPE_FLTDIV): Likewise.
9792         (FPE_FLTOVF): Likewise.
9793         (FPE_FLTUND): Likewise.
9794         (FPE_FLTRES): Likewise.
9795         (FPE_FLTINV): Likewise.
9796         (FPE_FLTSUB): Likewise.
9797         (SEGV_MAPERR): Likewise.
9798         (SEGV_ACCERR): Likewise.
9799         (BUS_ADRALN): Likewise.
9800         (BUS_ADRERR): Likewise.
9801         (BUS_OBJERR): Likewise.
9802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9803         (TRAP_TRACE): Likewise.
9804         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9805         __USE_XOPEN2K8].
9806         (CLD_KILLED): Likewise.
9807         (CLD_DUMPED): Likewise.
9808         (CLD_TRAPPED): Likewise.
9809         (CLD_STOPPED): Likewise.
9810         (CLD_CONTINUED): Likewise.
9811         (POLL_IN): Likewise.
9812         (POLL_OUT): Likewise.
9813         (POLL_MSG): Likewise.
9814         (POLL_ERR): Likewise.
9815         (POLL_PRI): Likewise.
9816         (POLL_HUP): Likewise.
9817         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9818         Likewise.
9819         (ILL_ILLOPN): Likewise.
9820         (ILL_ILLADR): Likewise.
9821         (ILL_ILLTRP): Likewise.
9822         (ILL_PRVOPC): Likewise.
9823         (ILL_PRVREG): Likewise.
9824         (ILL_COPROC): Likewise.
9825         (ILL_BADSTK): Likewise.
9826         (FPE_INTDIV): Likewise.
9827         (FPE_INTOVF): Likewise.
9828         (FPE_FLTDIV): Likewise.
9829         (FPE_FLTOVF): Likewise.
9830         (FPE_FLTUND): Likewise.
9831         (FPE_FLTRES): Likewise.
9832         (FPE_FLTINV): Likewise.
9833         (FPE_FLTSUB): Likewise.
9834         (SEGV_MAPERR): Likewise.
9835         (SEGV_ACCERR): Likewise.
9836         (BUS_ADRALN): Likewise.
9837         (BUS_ADRERR): Likewise.
9838         (BUS_OBJERR): Likewise.
9839         (BUS_MCEERR_AR): Likewise.
9840         (BUS_MCEERR_AO): Likewise.
9841         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9842         (TRAP_TRACE): Likewise.
9843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9844         __USE_XOPEN2K8].
9845         (CLD_KILLED): Likewise.
9846         (CLD_DUMPED): Likewise.
9847         (CLD_TRAPPED): Likewise.
9848         (CLD_STOPPED): Likewise.
9849         (CLD_CONTINUED): Likewise.
9850         (POLL_IN): Likewise.
9851         (POLL_OUT): Likewise.
9852         (POLL_MSG): Likewise.
9853         (POLL_ERR): Likewise.
9854         (POLL_PRI): Likewise.
9855         (POLL_HUP): Likewise.
9856         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9857         (ILL_ILLOPN): Likewise.
9858         (ILL_ILLADR): Likewise.
9859         (ILL_ILLTRP): Likewise.
9860         (ILL_PRVOPC): Likewise.
9861         (ILL_PRVREG): Likewise.
9862         (ILL_COPROC): Likewise.
9863         (ILL_BADSTK): Likewise.
9864         (FPE_INTDIV): Likewise.
9865         (FPE_INTOVF): Likewise.
9866         (FPE_FLTDIV): Likewise.
9867         (FPE_FLTOVF): Likewise.
9868         (FPE_FLTUND): Likewise.
9869         (FPE_FLTRES): Likewise.
9870         (FPE_FLTINV): Likewise.
9871         (FPE_FLTSUB): Likewise.
9872         (SEGV_MAPERR): Likewise.
9873         (SEGV_ACCERR): Likewise.
9874         (BUS_ADRALN): Likewise.
9875         (BUS_ADRERR): Likewise.
9876         (BUS_OBJERR): Likewise.
9877         (BUS_MCEERR_AR): Likewise.
9878         (BUS_MCEERR_AO): Likewise.
9879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9880         (TRAP_TRACE): Likewise.
9881         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9882         __USE_XOPEN2K8].
9883         (CLD_KILLED): Likewise.
9884         (CLD_DUMPED): Likewise.
9885         (CLD_TRAPPED): Likewise.
9886         (CLD_STOPPED): Likewise.
9887         (CLD_CONTINUED): Likewise.
9888         (POLL_IN): Likewise.
9889         (POLL_OUT): Likewise.
9890         (POLL_MSG): Likewise.
9891         (POLL_ERR): Likewise.
9892         (POLL_PRI): Likewise.
9893         (POLL_HUP): Likewise.
9894         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9895         Likewise.
9896         (ILL_ILLOPN): Likewise.
9897         (ILL_ILLADR): Likewise.
9898         (ILL_ILLTRP): Likewise.
9899         (ILL_PRVOPC): Likewise.
9900         (ILL_PRVREG): Likewise.
9901         (ILL_COPROC): Likewise.
9902         (ILL_BADSTK): Likewise.
9903         (ILL_BADIADDR): Likewise.
9904         (ILL_BREAK): Likewise.
9905         (FPE_INTDIV): Likewise.
9906         (FPE_INTOVF): Likewise.
9907         (FPE_FLTDIV): Likewise.
9908         (FPE_FLTOVF): Likewise.
9909         (FPE_FLTUND): Likewise.
9910         (FPE_FLTRES): Likewise.
9911         (FPE_FLTINV): Likewise.
9912         (FPE_FLTSUB): Likewise.
9913         (FPE_DECOVF): Likewise.
9914         (FPE_DECDIV): Likewise.
9915         (FPE_DECERR): Likewise.
9916         (FPE_INVASC): Likewise.
9917         (FPE_INVDEC): Likewise.
9918         (SEGV_MAPERR): Likewise.
9919         (SEGV_ACCERR): Likewise.
9920         (SEGV_PSTKOVF): Likewise.
9921         (BUS_ADRALN): Likewise.
9922         (BUS_ADRERR): Likewise.
9923         (BUS_OBJERR): Likewise.
9924         (BUS_MCEERR_AR): Likewise.
9925         (BUS_MCEERR_AO): Likewise.
9926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9927         (TRAP_TRACE): Likewise.
9928         (TRAP_BRANCH): Likewise.
9929         (TRAP_HWBKPT): Likewise.
9930         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9931         __USE_XOPEN2K8].
9932         (CLD_KILLED): Likewise.
9933         (CLD_DUMPED): Likewise.
9934         (CLD_TRAPPED): Likewise.
9935         (CLD_STOPPED): Likewise.
9936         (CLD_CONTINUED): Likewise.
9937         (POLL_IN): Likewise.
9938         (POLL_OUT): Likewise.
9939         (POLL_MSG): Likewise.
9940         (POLL_ERR): Likewise.
9941         (POLL_PRI): Likewise.
9942         (POLL_HUP): Likewise.
9943         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9944         (ILL_ILLOPN): Likewise.
9945         (ILL_ILLADR): Likewise.
9946         (ILL_ILLTRP): Likewise.
9947         (ILL_PRVOPC): Likewise.
9948         (ILL_PRVREG): Likewise.
9949         (ILL_COPROC): Likewise.
9950         (ILL_BADSTK): Likewise.
9951         (FPE_INTDIV): Likewise.
9952         (FPE_INTOVF): Likewise.
9953         (FPE_FLTDIV): Likewise.
9954         (FPE_FLTOVF): Likewise.
9955         (FPE_FLTUND): Likewise.
9956         (FPE_FLTRES): Likewise.
9957         (FPE_FLTINV): Likewise.
9958         (FPE_FLTSUB): Likewise.
9959         (SEGV_MAPERR): Likewise.
9960         (SEGV_ACCERR): Likewise.
9961         (BUS_ADRALN): Likewise.
9962         (BUS_ADRERR): Likewise.
9963         (BUS_OBJERR): Likewise.
9964         (BUS_MCEERR_AR): Likewise.
9965         (BUS_MCEERR_AO): Likewise.
9966         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9967         (TRAP_TRACE): Likewise.
9968         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9969         __USE_XOPEN2K8].
9970         (CLD_KILLED): Likewise.
9971         (CLD_DUMPED): Likewise.
9972         (CLD_TRAPPED): Likewise.
9973         (CLD_STOPPED): Likewise.
9974         (CLD_CONTINUED): Likewise.
9975         (POLL_IN): Likewise.
9976         (POLL_OUT): Likewise.
9977         (POLL_MSG): Likewise.
9978         (POLL_ERR): Likewise.
9979         (POLL_PRI): Likewise.
9980         (POLL_HUP): Likewise.
9981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9982         (ILL_ILLOPN): Likewise.
9983         (ILL_ILLADR): Likewise.
9984         (ILL_ILLTRP): Likewise.
9985         (ILL_PRVOPC): Likewise.
9986         (ILL_PRVREG): Likewise.
9987         (ILL_COPROC): Likewise.
9988         (ILL_BADSTK): Likewise.
9989         (FPE_INTDIV): Likewise.
9990         (FPE_INTOVF): Likewise.
9991         (FPE_FLTDIV): Likewise.
9992         (FPE_FLTOVF): Likewise.
9993         (FPE_FLTUND): Likewise.
9994         (FPE_FLTRES): Likewise.
9995         (FPE_FLTINV): Likewise.
9996         (FPE_FLTSUB): Likewise.
9997         (SEGV_MAPERR): Likewise.
9998         (SEGV_ACCERR): Likewise.
9999         (BUS_ADRALN): Likewise.
10000         (BUS_ADRERR): Likewise.
10001         (BUS_OBJERR): Likewise.
10002         (BUS_MCEERR_AR): Likewise.
10003         (BUS_MCEERR_AO): Likewise.
10004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10005         (TRAP_TRACE): Likewise.
10006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10007         __USE_XOPEN2K8].
10008         (CLD_KILLED): Likewise.
10009         (CLD_DUMPED): Likewise.
10010         (CLD_TRAPPED): Likewise.
10011         (CLD_STOPPED): Likewise.
10012         (CLD_CONTINUED): Likewise.
10013         (POLL_IN): Likewise.
10014         (POLL_OUT): Likewise.
10015         (POLL_MSG): Likewise.
10016         (POLL_ERR): Likewise.
10017         (POLL_PRI): Likewise.
10018         (POLL_HUP): Likewise.
10019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10020         (ILL_ILLOPN): Likewise.
10021         (ILL_ILLADR): Likewise.
10022         (ILL_ILLTRP): Likewise.
10023         (ILL_PRVOPC): Likewise.
10024         (ILL_PRVREG): Likewise.
10025         (ILL_COPROC): Likewise.
10026         (ILL_BADSTK): Likewise.
10027         (FPE_INTDIV): Likewise.
10028         (FPE_INTOVF): Likewise.
10029         (FPE_FLTDIV): Likewise.
10030         (FPE_FLTOVF): Likewise.
10031         (FPE_FLTUND): Likewise.
10032         (FPE_FLTRES): Likewise.
10033         (FPE_FLTINV): Likewise.
10034         (FPE_FLTSUB): Likewise.
10035         (SEGV_MAPERR): Likewise.
10036         (SEGV_ACCERR): Likewise.
10037         (BUS_ADRALN): Likewise.
10038         (BUS_ADRERR): Likewise.
10039         (BUS_OBJERR): Likewise.
10040         (BUS_MCEERR_AR): Likewise.
10041         (BUS_MCEERR_AO): Likewise.
10042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10043         (TRAP_TRACE): Likewise.
10044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10045         __USE_XOPEN2K8].
10046         (CLD_KILLED): Likewise.
10047         (CLD_DUMPED): Likewise.
10048         (CLD_TRAPPED): Likewise.
10049         (CLD_STOPPED): Likewise.
10050         (CLD_CONTINUED): Likewise.
10051         (POLL_IN): Likewise.
10052         (POLL_OUT): Likewise.
10053         (POLL_MSG): Likewise.
10054         (POLL_ERR): Likewise.
10055         (POLL_PRI): Likewise.
10056         (POLL_HUP): Likewise.
10057         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10058         (ILL_ILLOPN): Likewise.
10059         (ILL_ILLADR): Likewise.
10060         (ILL_ILLTRP): Likewise.
10061         (ILL_PRVOPC): Likewise.
10062         (ILL_PRVREG): Likewise.
10063         (ILL_COPROC): Likewise.
10064         (ILL_BADSTK): Likewise.
10065         (ILL_DBLFLT): Likewise.
10066         (ILL_HARDWALL): Likewise.
10067         (FPE_INTDIV): Likewise.
10068         (FPE_INTOVF): Likewise.
10069         (FPE_FLTDIV): Likewise.
10070         (FPE_FLTOVF): Likewise.
10071         (FPE_FLTUND): Likewise.
10072         (FPE_FLTRES): Likewise.
10073         (FPE_FLTINV): Likewise.
10074         (FPE_FLTSUB): Likewise.
10075         (SEGV_MAPERR): Likewise.
10076         (SEGV_ACCERR): Likewise.
10077         (BUS_ADRALN): Likewise.
10078         (BUS_ADRERR): Likewise.
10079         (BUS_OBJERR): Likewise.
10080         (BUS_MCEERR_AR): Likewise.
10081         (BUS_MCEERR_AO): Likewise.
10082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10083         (TRAP_TRACE): Likewise.
10084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10085         __USE_XOPEN2K8].
10086         (CLD_KILLED): Likewise.
10087         (CLD_DUMPED): Likewise.
10088         (CLD_TRAPPED): Likewise.
10089         (CLD_STOPPED): Likewise.
10090         (CLD_CONTINUED): Likewise.
10091         (POLL_IN): Likewise.
10092         (POLL_OUT): Likewise.
10093         (POLL_MSG): Likewise.
10094         (POLL_ERR): Likewise.
10095         (POLL_PRI): Likewise.
10096         (POLL_HUP): Likewise.
10097         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10098         (ILL_ILLOPN): Likewise.
10099         (ILL_ILLADR): Likewise.
10100         (ILL_ILLTRP): Likewise.
10101         (ILL_PRVOPC): Likewise.
10102         (ILL_PRVREG): Likewise.
10103         (ILL_COPROC): Likewise.
10104         (ILL_BADSTK): Likewise.
10105         (FPE_INTDIV): Likewise.
10106         (FPE_INTOVF): Likewise.
10107         (FPE_FLTDIV): Likewise.
10108         (FPE_FLTOVF): Likewise.
10109         (FPE_FLTUND): Likewise.
10110         (FPE_FLTRES): Likewise.
10111         (FPE_FLTINV): Likewise.
10112         (FPE_FLTSUB): Likewise.
10113         (SEGV_MAPERR): Likewise.
10114         (SEGV_ACCERR): Likewise.
10115         (BUS_ADRALN): Likewise.
10116         (BUS_ADRERR): Likewise.
10117         (BUS_OBJERR): Likewise.
10118         (BUS_MCEERR_AR): Likewise.
10119         (BUS_MCEERR_AO): Likewise.
10120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10121         (TRAP_TRACE): Likewise.
10122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10123         __USE_XOPEN2K8].
10124         (CLD_KILLED): Likewise.
10125         (CLD_DUMPED): Likewise.
10126         (CLD_TRAPPED): Likewise.
10127         (CLD_STOPPED): Likewise.
10128         (CLD_CONTINUED): Likewise.
10129         (POLL_IN): Likewise.
10130         (POLL_OUT): Likewise.
10131         (POLL_MSG): Likewise.
10132         (POLL_ERR): Likewise.
10133         (POLL_PRI): Likewise.
10134         (POLL_HUP): Likewise.
10135         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10136         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10137
10138         [BZ #16670]
10139         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10140         before #include of <time.h>.
10141         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10142         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10143         (test-xfail-UNIX98/sched.h/conform): Likewise.
10144
10145 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10146
10147         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10148         error absence of trapping exception support.
10149         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10150
10151 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10152
10153         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10154         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10155         * timezone/Makefile (testdata): Move definition above include of
10156         Rules.
10157         (test-zones): New variable.
10158         (tests-special): Add zone files.
10159         (build-testdata): Use $(evaluate-test).
10160
10161         * elf/Makefile (tests-special): Rename tests to end with .out.
10162         ($(objpfx)noload-mem): Likewise.
10163         ($(objpfx)tst-leaks1-mem): Likewise.
10164         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10165         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10166         $(objpfx)test-iconvconfig.out.
10167         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10168         set -e inside subshell and redirect output to file.
10169         * iconvdata/Makefile (generated): Rename tests to end with .out.
10170         Correct type.
10171         (tests-special): Rename tests to end with .out.
10172         ($(objpfx)mtrace-tst-loading): Likewise.
10173         * intl/Makefile (generated): Likewise.
10174         (tests-special): Likewise.
10175         ($(objpfx)mtrace-tst-gettext): Likewise.
10176         * misc/Makefile (generated): Likewise.
10177         (tests-special): Likewise.
10178         ($(objpfx)tst-error1-mem): Likewise.
10179         * nptl/Makefile (tests-special): Likewise.
10180         ($(objpfx)tst-stack3-mem): Likewise.
10181         (generated): Likewise.
10182         * posix/Makefile (generated): Likewise.
10183         (tests-special): Likewise.
10184         (xtests-special): Likewise.
10185         ($(objpfx)tst-fnmatch-mem): Likewise.
10186         ($(objpfx)bug-regex2-mem): Likewise.
10187         ($(objpfx)bug-regex14-mem): Likewise.
10188         ($(objpfx)bug-regex21-mem): Likewise.
10189         ($(objpfx)bug-regex31-mem): Likewise.
10190         ($(objpfx)tst-vfork3-mem): Likewise.
10191         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10192         ($(objpfx)tst-pcre-mem): Likewise.
10193         ($(objpfx)tst-boost-mem): Likewise.
10194         ($(objpfx)bug-ga2-mem): Likewise.
10195         ($(objpfx)bug-glob2-mem): Likewise.
10196         * resolv/Makefile (generate): Likewise.
10197         (tests-special): Likewise.
10198         (xtests-special): Likewise.
10199         (generated): Likewise.
10200         ($(objpfx)mtrace-tst-leaks): Likewise.
10201         ($(objpfx)mtrace-tst-leaks2): Likewise.
10202
10203         * scripts/merge-test-results.sh: New file.
10204         * Makefile (tests-special-notdir): New variable.
10205         (tests): Run merge-test-results.sh.
10206         (xtests): Likewise.
10207         * Rules (tests-special-notdir): New variable.
10208         (xtests-special-notdir): Likewise.
10209         (tests): Run merge-test-results.sh
10210         (xtests): Likewise.
10211
10212         * Makeconfig (test-xfail-name): New variable.
10213         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10214         compute variable name for expected failures.
10215         * conform/Makefile (conformtest-headers-data): New variable.
10216         (conformtest-standards): Likewise.
10217         (conformtest-headers-ISO): Likewise.
10218         (conformtest-headers-ISO99): Likewise.
10219         (conformtest-headers-ISO11): Likewise.
10220         (conformtest-headers-POSIX): Likewise.
10221         (conformtest-headers-XPG3): Likewise.
10222         (conformtest-headers-XPG4): Likewise.
10223         (conformtest-headers-UNIX98): Likewise.
10224         (conformtest-headers-XOPEN2K): Likewise.
10225         (conformtest-headers-POSIX2008): Likewise.
10226         (conformtest-headers-XOPEN2K8): Likewise.
10227         (conformtest-header-list-base): Likewise.
10228         (conformtest-header-list-tests): Likewise.
10229         (conformtest-header-base): Likewise.
10230         (conformtest-header-tests): Likewise.
10231         (tests-special): Add $(conformtest-header-list-tests).  If
10232         [$(fast-check) && !$(cross-compiling)], add
10233         $(conformtest-header-tests) instead of
10234         $(objpfx)run-conformtest.out.
10235         (generated): Add $(conformtest-header-list-base).  If
10236         [$(fast-check) && !$(cross-compiling)], add
10237         $(conformtest-header-base).  Remove previous setting.
10238         ($(conformtest-header-list-tests)): New target.
10239         (test-xfail-run-conformtest): Remove variable.
10240         ($(objpfx)run-conformtest.out): Remove target.
10241         (test-xfail-ISO11/complex.h/conform): New variable.
10242         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10243         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10244         (test-xfail-XPG3/varargs.h/conform): Likewise.
10245         (test-xfail-XPG4/varargs.h/conform): Likewise.
10246         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10247         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10248         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10249         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10250         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10251         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10252         (test-xfail-XPG3/ftw.h/conform): Likewise.
10253         (test-xfail-XPG3/grp.h/conform): Likewise.
10254         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10255         (test-xfail-XPG3/limits.h/conform): Likewise.
10256         (test-xfail-XPG3/pwd.h/conform): Likewise.
10257         (test-xfail-XPG3/search.h/conform): Likewise.
10258         (test-xfail-XPG3/signal.h/conform): Likewise.
10259         (test-xfail-XPG3/stdio.h/conform): Likewise.
10260         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10261         (test-xfail-XPG3/string.h/conform): Likewise.
10262         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10263         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10264         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10265         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10266         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10267         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10268         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10269         (test-xfail-XPG3/termios.h/conform): Likewise.
10270         (test-xfail-XPG3/time.h/conform): Likewise.
10271         (test-xfail-XPG3/unistd.h/conform): Likewise.
10272         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10273         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10274         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10275         (test-xfail-XPG4/netdb.h/conform): Likewise.
10276         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10277         (test-xfail-XPG4/signal.h/conform): Likewise.
10278         (test-xfail-XPG4/stdio.h/conform): Likewise.
10279         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10280         (test-xfail-XPG4/stropts.h/conform): Likewise.
10281         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10282         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10283         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10284         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10285         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10286         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10287         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10288         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10289         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10290         (test-xfail-XPG4/termios.h/conform): Likewise.
10291         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10292         (test-xfail-XPG4/unistd.h/conform): Likewise.
10293         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10294         (test-xfail-POSIX/sched.h/conform): Likewise.
10295         (test-xfail-POSIX/signal.h/conform): Likewise.
10296         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10297         (test-xfail-POSIX/tar.h/conform): Likewise.
10298         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10299         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10300         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10301         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10302         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10303         (test-xfail-UNIX98/sched.h/conform): Likewise.
10304         (test-xfail-UNIX98/signal.h/conform): Likewise.
10305         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10306         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10307         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10308         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10309         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10310         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10311         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10312         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10313         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10314         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10315         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10316         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10317         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10318         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10319         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10320         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10321         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10322         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10323         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10324         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10325         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10326         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10327         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10328         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10329         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10330         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10331         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10332         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10333         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10334         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10335         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10336         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10337         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10338         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10339         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10340         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10341         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10342         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10343         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10344         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10345         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10346         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10347         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10348         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10349         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10350         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10351         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10352         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10353         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10354         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10355         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10356         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10357         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10358         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10359         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10360         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10361         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10362         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10363         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10364         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10365         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10366         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10367         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10368         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10369         (conformtest-cc-flags): Likewise.
10370         ($(conformtest-header-tests): New target.
10371         * conform/check-header-lists.sh: New file.
10372         * conform/run-conformtest.sh: Remove.
10373
10374         * conform/conformtest.pl: Allow ' and \ in values given for
10375         constants.
10376         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10377         inclusion.
10378         [POSIX] (sys/types.h): Likewise.
10379         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10380         inclusion.
10381         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10382         inclusion.
10383         * conform/data/signal.h-data (SIGIO): Remove expectation.
10384         [XPG3] (SIGBUS): Do not expect.
10385         [POSIX || XPG3] (SIGPOLL): Likewise.
10386         [POSIX || XPG3] (SIGPROF): Likewise.
10387         [POSIX || XPG3] (SIGSYS): Likewise.
10388         [XPG3] (SIGTRAP): Likewise.
10389         [POSIX || XPG3] (SIGURG): Likewise.
10390         [POSIX || XPG3] (SIGVTALRM): Likewise.
10391         [POSIX || XPG3] (SIGXCPU): Likewise.
10392         [POSIX || XPG3] (SIGXFSZ): Likewise.
10393         [POSIX] (SA_SIGINFO): Expect.
10394         [XPG3] (siginfo_t): Do not expect type or contents.
10395         [POSIX] (si_pid): Do not expect element.
10396         [POSIX] (si_uid): Likewise.
10397         [POSIX] (si_addr): Likewise.
10398         [POSIX] (si_status): Likewise.
10399         [POSIX] (si_band): Likewise.
10400         [XPG4] (si_value): Likewise.
10401         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10402         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10403         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10404         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10405         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10406         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10407         [POSIX || XPG3] (ILL_COPROC): Likewise.
10408         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10409         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10410         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10411         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10412         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10413         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10414         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10415         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10416         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10417         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10418         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10419         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10420         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10421         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10422         [POSIX || XPG3] (CLD_EXITED): Likewise.
10423         [POSIX || XPG3] (CLD_KILLED): Likewise.
10424         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10425         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10426         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10427         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10428         [POSIX || XPG3] (POLL_IN): Likewise.
10429         [POSIX || XPG3] (POLL_OUT): Likewise.
10430         [POSIX || XPG3] (POLL_MSG): Likewise.
10431         [POSIX || XPG3] (POLL_ERR): Likewise.
10432         [POSIX || XPG3] (POLL_PRI): Likewise.
10433         [POSIX || XPG3] (POLL_HUP): Likewise.
10434         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10435         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10436         (SIG*): Do not allow.
10437         [XPG3] (si_*): Likewise.
10438         [XPG3] (SI_*): Likewise.
10439         [XPG3 || XPG4] (sigev_*): Likewise.
10440         [XPG3 || XPG4] (SIGEV_*): Likewise.
10441         [XPG3 || XPG4] (sival_*): Likewise.
10442         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10443         [POSIX || XPG3] (BUS_*): Likewise.
10444         [POSIX || XPG3] (CLD_*): Likewise.
10445         [POSIX || XPG3] (FPE_*): Likewise.
10446         [POSIX || XPG3] (ILL_*): Likewise.
10447         [POSIX || XPG3] (POLL_*): Likewise.
10448         [POSIX || XPG3] (SEGV_*): Likewise.
10449         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10450         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10451         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10452         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10453         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10454         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10455         Specify type and value.
10456         (TVERSLEN): Likewise.
10457         (REGTYPE): Likewise.
10458         (AREGTYPE): Likewise.
10459         (LNKTYPE): Likewise.
10460         (SYMTYPE): Likewise.
10461         (CHRTYPE): Likewise.
10462         (BLKTYPE): Likewise.
10463         (DIRTYPE): Likewise.
10464         (FIFOTYPE): Likewise.
10465         (CONTTYPE): Likewise.
10466         (TSUID): Likewise.
10467         (TSGID): Likewise.
10468         (TSVTX): Likewise.
10469         (TUREAD): Likewise.
10470         (TUWRITE): Likewise.
10471         (TUEXEC): Likewise.
10472         (TGREAD): Likewise.
10473         (TGWRITE): Likewise.
10474         (TGEXEC): Likewise.
10475         (TOREAD): Likewise.
10476         (TOWRITE): Likewise.
10477         (TOEXEC): Likewise.
10478         [POSIX] (TSVTX): Expect constant.
10479
10480 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10481
10482         * Makefile (tests): Change dependencies to ....
10483         (tests-special): ... additions to this variable.
10484         (tests): Depend on $(tests-special).
10485         * Makerules (check-abi-list): New variable.
10486         (check-abi): Depend on $(check-abi-list).
10487         [$(subdir) = elf] (tests-special): Add
10488         $(objpfx)check-abi-libc.out.
10489         [$(build-shared) = yes && subdir] (tests-special): Add
10490         $(check-abi-list).
10491         [$(build-shared) = yes && subdir] (tests): Do not depend on
10492         check-abi.
10493         * Rules (tests): Depend on $(tests-special).
10494         (xtests): Depend on $(xtests-special).
10495         * catgets/Makefile (tests): Change dependencies to ....
10496         (tests-special): ... additions to this variable.
10497         * conform/Makefile (tests): Change dependencies to ....
10498         (tests-special): ... additions to this variable.
10499         * elf/Makefile (tests): Change dependencies to ....
10500         (tests-special): ... additions to this variable.
10501         * grp/Makefile (tests): Change dependencies to ....
10502         (tests-special): ... additions to this variable.
10503         * iconv/Makefile (xtests): Change dependencies to ....
10504         (xtests-special): ... additions to this variable.
10505         * iconvdata/Makefile (tests): Change dependencies to ....
10506         (tests-special): ... additions to this variable.
10507         * intl/Makefile (tests): Change dependencies to ....
10508         (tests-special): ... additions to this variable.  Also add
10509         $(objpfx)tst-gettext.out.
10510         * io/Makefile (tests): Change dependencies to ....
10511         (tests-special): ... additions to this variable.
10512         * libio/Makefile (tests): Change dependencies to ....
10513         (tests-special): ... additions to this variable.
10514         * malloc/Makefile (tests): Change dependencies to ....
10515         (tests-special): ... additions to this variable.
10516         * misc/Makefile (tests): Change dependencies to ....
10517         (tests-special): ... additions to this variable.
10518         * nptl/Makefile (tests): Change dependencies to ....
10519         (tests-special): ... additions to this variable.
10520         * nptl_db/Makefile (tests): Change dependencies to ....
10521         (tests-special): ... additions to this variable.
10522         * posix/Makefile (tests): Change dependencies to ....
10523         (tests-special): ... additions to this variable.
10524         (xtests): Change dependencies to ....
10525         (xtests-special): ... additions to this variable.
10526         * resolv/Makefile (tests): Change dependencies to ....
10527         (tests-special): ... additions to this variable.
10528         (xtests): Change dependencies to ....
10529         (xtests-special): ... additions to this variable.
10530         * stdio-common/Makefile (tests): Change dependencies to ....
10531         (tests-special): ... additions to this variable.
10532         (do-tst-unbputc): Remove target.
10533         (do-tst-printf): Likewise.
10534         * stdlib/Makefile (tests): Change dependencies to ....
10535         (tests-special): ... additions to this variable.
10536         * string/Makefile (tests): Change dependencies to ....
10537         (tests-special): ... additions to this variable.
10538         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10539         (tests-special): ... additions to this variable.
10540
10541         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10542         whole file.
10543         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10544         whole file.
10545         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10546         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10547
10548         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10549         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10550         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10551         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10552         * conform/data/libgen.h-data [XPG3]: Likewise.
10553         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10554         * conform/data/ndbm.h-data [XPG3]: Likewise.
10555         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10556         * conform/data/netdb.h-data [XPG3]: Likewise.
10557         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10558         * conform/data/poll.h-data [XPG3]: Likewise.
10559         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10560         * conform/data/strings.h-data [XPG3]: Likewise.
10561         * conform/data/stropts.h-data [XPG3]: Likewise.
10562         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10563         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10564         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10565         Likewise.
10566         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10567         * conform/data/sys/time.h-data [XPG3]: Likewise.
10568         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10569         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10570         * conform/data/sys/un.h-data [XPG3]: Likewise.
10571         * conform/data/syslog.h-data [XPG3]: Likewise.
10572         * conform/data/ucontext.h-data [XPG3]: Likewise.
10573         * conform/data/utmpx.h-data [XPG3]: Likewise.
10574         * conform/data/varargs.h-data [UNIX98]: Enable file.
10575
10576         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10577
10578         * math/libm-test.inc (struct test_f_f_data): Move expected results
10579         into structure for each rounding mode.
10580         (struct test_ff_f_data): Likewise.
10581         (struct test_ff_f_data_nexttoward): Likewise.
10582         (struct test_fi_f_data): Likewise.
10583         (struct test_fl_f_data): Likewise.
10584         (struct test_if_f_data): Likewise.
10585         (struct test_fff_f_data): Likewise.
10586         (struct test_c_f_data): Likewise.
10587         (struct test_f_f1_data): Likewise.
10588         (struct test_fF_f1_data): Likewise.
10589         (struct test_ffI_f1_data): Likewise.
10590         (struct test_c_c_data): Likewise.
10591         (struct test_cc_c_data): Likewise.
10592         (struct test_f_i_data): Likewise.
10593         (struct test_ff_i_data): Likewise.
10594         (struct test_f_l_data): Likewise.
10595         (struct test_f_L_data): Likewise.
10596         (struct test_fFF_11_data): Likewise.
10597         (RM_): New macro.
10598         (RM_FE_DOWNWARD): Likewise.
10599         (RM_FE_TONEAREST): Likewise.
10600         (RM_FE_TOWARDZERO): Likewise.
10601         (RM_FE_UPWARD): Likewise.
10602         (RUN_TEST_LOOP_f_f): Update references to expected results.
10603         (RUN_TEST_LOOP_2_f): Likewise.
10604         (RUN_TEST_LOOP_fff_f): Likewise.
10605         (RUN_TEST_LOOP_c_f): Likewise.
10606         (RUN_TEST_LOOP_f_f1): Likewise.
10607         (RUN_TEST_LOOP_fF_f1): Likewise.
10608         (RUN_TEST_LOOP_fI_f1): Likewise.
10609         (RUN_TEST_LOOP_ffI_f1): Likewise.
10610         (RUN_TEST_LOOP_c_c): Likewise.
10611         (RUN_TEST_LOOP_cc_c): Likewise.
10612         (RUN_TEST_LOOP_f_i): Likewise.
10613         (RUN_TEST_LOOP_f_i_tg): Likewise.
10614         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10615         (RUN_TEST_LOOP_f_b): Likewise.
10616         (RUN_TEST_LOOP_f_b_tg): Likewise.
10617         (RUN_TEST_LOOP_f_l): Likewise.
10618         (RUN_TEST_LOOP_f_L): Likewise.
10619         (RUN_TEST_LOOP_fFF_11): Likewise.
10620         * math/gen-libm-test.pl (parse_args): Output four copies of
10621         expected results for each test.
10622
10623         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10624         (__ASSUME_UTIMES): Remove.
10625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10626         (__ASSUME_UTIMES): Likewise.
10627
10628         * math/gen-auto-libm-tests.c: Update comment on output format.
10629         (output_for_one_input_case): Generate before-rounding and
10630         after-rounding information as conditions on output flags not
10631         floating-point format.
10632         * math/auto-libm-test-out: Regenerated.
10633         * math/gen-libm-test.pl (cond_value): New function.
10634         (or_cond_value): Use cond_value.
10635         (generate_testfile): Handle conditional exceptions.
10636
10637 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10638
10639         * math/libm-test.inc (max_valid_error): New variable.
10640         (init_max_error): Take new argument specifying whether function
10641         results are exactly determined.  Set max_valid_error and bound
10642         other variables for errors based on this argument.
10643         (set_max_error): Do not record results above max_valid_error.
10644         (check_float_internal): Only accept errors of up to 0.5ulps if
10645         also at most max_valid_error.
10646         (START): Take new argument EXACT and pass it to init_max_error.
10647         (acos_test): Update call to START.
10648         (acos_test_tonearest): Likewise.
10649         (acos_test_towardzero): Likewise.
10650         (acos_test_downward): Likewise.
10651         (acos_test_upward): Likewise.
10652         (acosh_test): Likewise.
10653         (asin_test): Likewise.
10654         (asin_test_tonearest): Likewise.
10655         (asin_test_towardzero): Likewise.
10656         (asin_test_downward): Likewise.
10657         (asin_test_upward): Likewise.
10658         (asinh_test): Likewise.
10659         (atan_test): Likewise.
10660         (atanh_test): Likewise.
10661         (atan2_test): Likewise.
10662         (cabs_test): Likewise.
10663         (cacos_test): Likewise.
10664         (cacosh_test): Likewise.
10665         (carg_test): Likewise.
10666         (casin_test): Likewise.
10667         (casinh_test): Likewise.
10668         (catan_test): Likewise.
10669         (catanh_test): Likewise.
10670         (cbrt_test): Likewise.
10671         (ccos_test): Likewise.
10672         (ccosh_test): Likewise.
10673         (ceil_test): Likewise.
10674         (cexp_test): Likewise.
10675         (cimag_test): Likewise.
10676         (clog_test): Likewise.
10677         (clog10_test): Likewise.
10678         (conj_test): Likewise.
10679         (copysign_test): Likewise.
10680         (cos_test): Likewise.
10681         (cos_test_tonearest): Likewise.
10682         (cos_test_towardzero): Likewise.
10683         (cos_test_downward): Likewise.
10684         (cos_test_upward): Likewise.
10685         (cosh_test): Likewise.
10686         (cosh_test_tonearest): Likewise.
10687         (cosh_test_towardzero): Likewise.
10688         (cosh_test_downward): Likewise.
10689         (cosh_test_upward): Likewise.
10690         (cpow_test): Likewise.
10691         (cproj_test): Likewise.
10692         (creal_test): Likewise.
10693         (csin_test): Likewise.
10694         (csinh_test): Likewise.
10695         (csqrt_test): Likewise.
10696         (ctan_test): Likewise.
10697         (ctan_test_tonearest): Likewise.
10698         (ctan_test_towardzero): Likewise.
10699         (ctan_test_downward): Likewise.
10700         (ctan_test_upward): Likewise.
10701         (ctanh_test): Likewise.
10702         (ctanh_test_tonearest): Likewise.
10703         (ctanh_test_towardzero): Likewise.
10704         (ctanh_test_downward): Likewise.
10705         (ctanh_test_upward): Likewise.
10706         (erf_test): Likewise.
10707         (erfc_test): Likewise.
10708         (exp_test): Likewise.
10709         (exp_test_tonearest): Likewise.
10710         (exp_test_towardzero): Likewise.
10711         (exp_test_downward): Likewise.
10712         (exp_test_upward): Likewise.
10713         (exp10_test): Likewise.
10714         (exp10_test_tonearest): Likewise.
10715         (exp10_test_towardzero): Likewise.
10716         (exp10_test_downward): Likewise.
10717         (exp10_test_upward): Likewise.
10718         (pow10_test): Likewise.
10719         (exp2_test): Likewise.
10720         (expm1_test): Likewise.
10721         (expm1_test_tonearest): Likewise.
10722         (expm1_test_towardzero): Likewise.
10723         (expm1_test_downward): Likewise.
10724         (expm1_test_upward): Likewise.
10725         (fabs_test): Likewise.
10726         (fdim_test): Likewise.
10727         (floor_test): Likewise.
10728         (fma_test): Likewise.
10729         (fma_test_towardzero): Likewise.
10730         (fma_test_downward): Likewise.
10731         (fma_test_upward): Likewise.
10732         (fmax_test): Likewise.
10733         (fmin_test): Likewise.
10734         (fmod_test): Likewise.
10735         (fpclassify_test): Likewise.
10736         (frexp_test): Likewise.
10737         (hypot_test): Likewise.
10738         (ilogb_test): Likewise.
10739         (isfinite_test): Likewise.
10740         (finite_test): Likewise.
10741         (isgreater_test): Likewise.
10742         (isgreaterequal_test): Likewise.
10743         (isinf_test): Likewise.
10744         (isless_test): Likewise.
10745         (islessequal_test): Likewise.
10746         (islessgreater_test): Likewise.
10747         (isnan_test): Likewise.
10748         (isnormal_test): Likewise.
10749         (issignaling_test): Likewise.
10750         (isunordered_test): Likewise.
10751         (j0_test): Likewise.
10752         (j1_test): Likewise.
10753         (jn_test): Likewise.
10754         (ldexp_test): Likewise.
10755         (lgamma_test): Likewise.
10756         (gamma_test): Likewise.
10757         (lrint_test): Likewise.
10758         (lrint_test_tonearest): Likewise.
10759         (lrint_test_towardzero): Likewise.
10760         (lrint_test_downward): Likewise.
10761         (lrint_test_upward): Likewise.
10762         (llrint_test): Likewise.
10763         (llrint_test_tonearest): Likewise.
10764         (llrint_test_towardzero): Likewise.
10765         (llrint_test_downward): Likewise.
10766         (llrint_test_upward): Likewise.
10767         (log_test): Likewise.
10768         (log10_test): Likewise.
10769         (log1p_test): Likewise.
10770         (log2_test): Likewise.
10771         (logb_test): Likewise.
10772         (logb_test_downward): Likewise.
10773         (lround_test): Likewise.
10774         (llround_test): Likewise.
10775         (modf_test): Likewise.
10776         (nearbyint_test): Likewise.
10777         (nextafter_test): Likewise.
10778         (nexttoward_test): Likewise.
10779         (pow_test): Likewise.
10780         (pow_test_tonearest): Likewise.
10781         (pow_test_towardzero): Likewise.
10782         (pow_test_downward): Likewise.
10783         (pow_test_upward): Likewise.
10784         (remainder_test): Likewise.
10785         (drem_test): Likewise.
10786         (remainder_test_tonearest): Likewise.
10787         (drem_test_tonearest): Likewise.
10788         (remainder_test_towardzero): Likewise.
10789         (drem_test_towardzero): Likewise.
10790         (remainder_test_downward): Likewise.
10791         (drem_test_downward): Likewise.
10792         (remainder_test_upward): Likewise.
10793         (drem_test_upward): Likewise.
10794         (remquo_test): Likewise.
10795         (rint_test): Likewise.
10796         (rint_test_tonearest): Likewise.
10797         (rint_test_towardzero): Likewise.
10798         (rint_test_downward): Likewise.
10799         (rint_test_upward): Likewise.
10800         (round_test): Likewise.
10801         (scalb_test): Likewise.
10802         (scalbn_test): Likewise.
10803         (scalbln_test): Likewise.
10804         (signbit_test): Likewise.
10805         (sin_test): Likewise.
10806         (sin_test_tonearest): Likewise.
10807         (sin_test_towardzero): Likewise.
10808         (sin_test_downward): Likewise.
10809         (sin_test_upward): Likewise.
10810         (sincos_test): Likewise.
10811         (sinh_test): Likewise.
10812         (sinh_test_tonearest): Likewise.
10813         (sinh_test_towardzero): Likewise.
10814         (sinh_test_downward): Likewise.
10815         (sinh_test_upward): Likewise.
10816         (sqrt_test): Likewise.
10817         (sqrt_test_tonearest): Likewise.
10818         (sqrt_test_towardzero): Likewise.
10819         (sqrt_test_downward): Likewise.
10820         (sqrt_test_upward): Likewise.
10821         (tan_test): Likewise.
10822         (tan_test_tonearest): Likewise.
10823         (tan_test_towardzero): Likewise.
10824         (tan_test_downward): Likewise.
10825         (tan_test_upward): Likewise.
10826         (tanh_test): Likewise.
10827         (tgamma_test): Likewise.
10828         (trunc_test): Likewise.
10829         (y0_test): Likewise.
10830         (y1_test): Likewise.
10831         (yn_test): Likewise.
10832         (significand_test): Likewise.
10833
10834         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10835         individual tests in comment.
10836         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10837         (prev_max_error): New variable.
10838         (prev_real_max_error): Likewise.
10839         (prev_imag_max_error): Likewise.
10840         (compare_ulp_data): Don't refer to test names in comment.
10841         (find_test_ulps): Remove function.
10842         (find_function_ulps): Likewise.
10843         (find_complex_function_ulps): Likewise.
10844         (init_max_error): Take function name as argument.  Look up ulps
10845         for that function.
10846         (print_ulps): Remove function.
10847         (print_max_error): Use prev_max_error instead of calling
10848         find_function_ulps.
10849         (print_complex_max_error): Use prev_real_max_error and
10850         prev_imag_max_error instead of calling find_complex_function_ulps.
10851         (check_float_internal): Take max_ulp parameter instead of calling
10852         find_test_ulps.  Don't call print_ulps.
10853         (check_float): Update call to check_float_internal.
10854         (check_complex): Update calls to check_float_internal.
10855         (START): Pass argument to init_max_error.
10856         * math/gen-libm-test.pl (%results): Don't include "kind"
10857         information.
10858         (parse_ulps): Don't handle ulps of individual tests.
10859         (print_ulps_file): Likewise.
10860         (output_ulps): Likewise.
10861         * math/README.libm-test: Update.
10862         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10863         individual tests.
10864         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10865         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10866         * sysdeps/arm/libm-test-ulps: Likewise.
10867         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10868         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10869         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10871         * sysdeps/microblaze/libm-test-ulps: Likewise.
10872         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10873         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10874         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10875         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10877         * sysdeps/sh/libm-test-ulps: Likewise.
10878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10879         * sysdeps/tile/libm-test-ulps: Likewise.
10880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881
10882 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10883
10884         * math/libm-test.inc (print_complex_max_error): Check separately
10885         whether real and imaginary errors are within allowed range and
10886         pass 0 to print_complex_function_ulps instead of value within
10887         allowed range.
10888
10889 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10890
10891         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10892         formatting.
10893         (get_handles_fopen): Likewise.
10894         (do_write_test): Likewise.
10895
10896         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10897
10898         * libio/fileops.c (do_ftell): Use cached offset when
10899         available.
10900         * libio/iofwide.c (do_ftell_wide): Likewise.
10901         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10902         _IO_file_attach.
10903         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10904
10905         [BZ #16532]
10906         * libio/libioP.h (get_file_offset): New function.
10907         * libio/fileops.c (get_file_offset): Likewise.
10908         (do_ftell): Likewise.
10909         (_IO_new_file_seekoff): Split out ftell logic.
10910         * libio/wfileops.c (do_ftell_wide): Likewise.
10911         (_IO_wfile_seekoff): Split out ftell logic.
10912         * libio/tst-ftell-active-handler.c: New test case.
10913         * libio/Makefile (tests): Add it.
10914
10915 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10916
10917         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10918         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10919
10920 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10921
10922         [BZ #16639]
10923         * nscd/connections.c (nscd_init): Call do_exit.
10924         (start_threads): Call do_exit and notify_parent.
10925         (begin_drop_privileges): Call do_exit.
10926         (finish_drop_privileges): Likewise.
10927         * nscd/selinux.c (preserve_capabilities): Likewise.
10928         (install_real_capabilities): Likewise.
10929         (nscd_selinux_enabled): Likewise.
10930         (avc_create_thread): Likewise.
10931         (avc_alloc_lock): Likewise.
10932         (nscd_avc_init): Likewise.
10933         * nscd/nscd.c (parent_fd): New static variable.
10934         (main): Create a pipe between parent and child processes.
10935         Skip closing parent_fd.
10936         (monitor_child): New function.
10937         (do_exit): Likewise.
10938         (notify_parent): Likewise.
10939         * nscd/nscd.h (notify_parent): Likewise.
10940         (do_exit): Likewise.
10941
10942 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10943
10944         * malloc/malloc.c (__libc_calloc): Revert last change.
10945
10946 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10947
10948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10949
10950 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10951
10952         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10954         implementation.
10955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10956         (__libc_ifunc_impl_list): Likewise.
10957         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10958         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10959         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10960         * string/strrchr.c: Define STRRCHR.
10961
10962 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10963
10964         * benchtest/bench-strtok.c (simple_strtok): Delete.
10965         (strtok_string): Use as benchmark.
10966         * string/strtok (STRTOK): New macro.
10967
10968 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10969
10970         * manual/threads.texi: Add header and standard comments to all
10971         functions.
10972
10973         * elf/dl-lookup.c (check_match): New function.
10974         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10975         (do_lookup_x): Remove nested function check_match. Use non-nested
10976         function check_match.
10977
10978 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10979
10980         * csu/Makefile (generated, before-compile): Use += rather than =.
10981         * catgets/Makefile (generated, generated-dirs): Likewise.
10982         * debug/Makefile (generated): Likewise.
10983         * dlfcn/Makefile (generated): Likewise.
10984         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10985         * iconvdata/Makefile (before-compile, generated): Likewise.
10986         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10987         * libio/Makefile (generated): Likewise.
10988         * malloc/Makefile (generated): Likewise.
10989         * manual/Makefile (generated, generated-dirs): Likewise.
10990         * misc/Makefile (generated): Likewise.
10991         * posix/Makefile (generated): Likewise.
10992         * resolv/Makefile (generated): Likewise.
10993         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10994         * timezone/Makefile (generated, generated-dirs): Likewise.
10995
10996         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10997
10998 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10999
11000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11001         power8 implementation.
11002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11003         file: POWER8 llround ifunc implementation.
11004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11005         (__lllround): Add POWER8 implementation.
11006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11007         POWER8 llround implementation.
11008
11009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11010         power8 implementation.
11011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11012         file: POWER8 llrint ifunc implementation.
11013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11014         Add POWER8 implementation.
11015         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11016         POWER8 llrint implementation.
11017
11018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11019         power8 implementation.
11020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11021         file: POWER8 finite ifunc implementation.
11022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11023         Add POWER8 implementation.
11024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11025         Likewise.
11026         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11027         POWER8 finite implementation.
11028         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11029
11030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11031         power8 implementation.
11032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11033         file: POWER8 isinf ifunc implementation.
11034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11035         POWER8 implementation.
11036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11037         Likewise.
11038         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11039         isinf implementation.
11040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11041
11042         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11043         (INIT_ARCH): Add hwcap2 initialization.
11044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11045         power8 implementation.
11046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11047         file: POWER8 isnan ifunc implementation.
11048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11049         POWER8 implementation.
11050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11051         Likewise.
11052         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11053         isnan implementation.
11054         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11055
11056 2014-02-27  Joey Ye  <joey.ye@arm.com>
11057
11058         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11059         (_FP_NANFRAC_Q): Set to zero.
11060
11061 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11062
11063         [BZ #16623]
11064         * math/auto-libm-test-in: New test inputs.
11065         * math/auto-libm-test-out: Regenerate.
11066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11067         and DA.
11068         (__cos): Likewise.
11069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11070
11071 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11072
11073         * scripts/evaluate-test.sh: Take new argument indicating whether
11074         failure is expected.
11075         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11076         indicating whether failure is expected.
11077         * conform/Makefile (test-xfail-run-conformtest): New variable.
11078         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11079         level.
11080         * posix/Makefile (test-xfail-annexc): New variable.
11081         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11082
11083 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11084
11085         * argp/Makefile: Include Makeconfig immediately after defining
11086         subdir.
11087         * assert/Makefile: Likewise.
11088         * benchtests/Makefile: Likewise.
11089         * catgets/Makefile: Likewise.
11090         * conform/Makefile: Likewise.
11091         * crypt/Makefile: Likewise.
11092         * csu/Makefile: Likewise.
11093         (all): Remove target.
11094         * ctype/Makefile: Include Makeconfig immediately after defining
11095         subdir.
11096         * debug/Makefile: Likewise.
11097         * dirent/Makefile: Likewise.
11098         * dlfcn/Makefile: Likewise.
11099         * gmon/Makefile: Likewise.
11100         * gnulib/Makefile: Likewise.
11101         * grp/Makefile: Likewise.
11102         * gshadow/Makefile: Likewise.
11103         * hesiod/Makefile: Likewise.
11104         * hurd/Makefile: Likewise.
11105         (all): Remove target.
11106         * iconvdata/Makefile: Include Makeconfig immediately after
11107         defining subdir.
11108         * inet/Makefile: Likewise.
11109         * intl/Makefile: Likewise.
11110         * io/Makefile: Likewise.
11111         * libio/Makefile: Likewise.
11112         (all): Remove target.
11113         * locale/Makefile: Include Makeconfig immediately after defining
11114         subdir.
11115         * login/Makefile: Likewise.
11116         * mach/Makefile: Likewise.
11117         (all): Remove target.
11118         * malloc/Makefile: Include Makeconfig immediately after defining
11119         subdir.
11120         (all): Remove target.
11121         * manual/Makefile: Include Makeconfig immediately after defining
11122         subdir.
11123         * math/Makefile: Likewise.
11124         * misc/Makefile: Likewise.
11125         * nis/Makefile: Likewise.
11126         * nss/Makefile: Likewise.
11127         * po/Makefile: Likewise.
11128         (all): Remove target.
11129         * posix/Makefile: Include Makeconfig immediately after defining
11130         subdir.
11131         * pwd/Makefile: Likewise.
11132         * resolv/Makefile: Likewise.
11133         * resource/Makefile: Likewise.
11134         * rt/Makefile: Likewise.
11135         * setjmp/Makefile: Likewise.
11136         * shadow/Makefile: Likewise.
11137         * signal/Makefile: Likewise.
11138         * socket/Makefile: Likewise.
11139         * soft-fp/Makefile: Likewise.
11140         * stdio-common/Makefile: Likewise.
11141         * stdlib/Makefile: Likewise.
11142         * streams/Makefile: Likewise.
11143         * string/Makefile: Likewise.
11144         * sunrpc/Makefile: Likewise.
11145         (all): Remove target.
11146         * sysvipc/Makefile: Include Makeconfig immediately after defining
11147         subdir.
11148         * termios/Makefile: Likewise.
11149         * time/Makefile: Likewise.
11150         * timezone/Makefile: Likewise.
11151         (all): Remove target.
11152         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11153         subdir.
11154         * wctype/Makefile: Likewise.
11155
11156 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11157
11158         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11159         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11160         (libc_feholdexcept_setround_mips): Ditto.
11161         (libc_feholdsetround): New.
11162         (libc_feholdsetroundf): New.
11163         (libc_feholdsetroundl): New.
11164         (libc_feupdateenv_test_mips): New.
11165         (libc_feupdateenv_test): New.
11166         (libc_feupdateenv_testf): New.
11167         (libc_feupdateenv_testl): New.
11168         (libc_feresetround): New.
11169         (libc_feresetroundf): New.
11170         (libc_feresetroundl): New.
11171         (libc_fetestexcept_mips): New.
11172         (libc_fetestexcept): New.
11173         (libc_fetestexceptf): New.
11174         (libc_fetestexceptl): New.
11175         (HAVE_RM_CTX): New.
11176         (libc_feholdexcept_setround_mips_ctx): New.
11177         (libc_feholdexcept_setround_ctx): New.
11178         (libc_feholdexcept_setroundf_ctx): New.
11179         (libc_feholdexcept_setroundl_ctx): New.
11180         (libc_fesetenv_mips_ctx): New.
11181         (libc_fesetenv_ctx): New.
11182         (libc_fesetenv_ctxf): New.
11183         (libc_fesetenv_ctxl): New.
11184         (libc_feupdateenv_mips_ctx): New.
11185         (libc_feupdateenv_ctx): New.
11186         (libc_feupdateenvf_ctx): New.
11187         (libc_feupdateenvl_ctx): New.
11188         (libc_feholdsetround_mips_ctx): New.
11189         (libc_feholdsetround_ctx): New.
11190         (libc_feholdsetroundf_ctx): New.
11191         (libc_feholdsetroundl_ctx): New.
11192         (libc_feresetround_mips_ctx): New.
11193         (libc_feresetround_ctx): New.
11194         (libc_feresetroundf_ctx): New.
11195         (libc_feresetroundl_ctx): New.
11196
11197 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11198
11199         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11200
11201         * manual/ipc.texi: New file.
11202         * manual/Makefile (chapters): Add ipc.
11203         * manual/job.texi: Add "Inter-Process Communication" to next.
11204         * manual/process.texi: Add "Inter-Process Communication" to prev.
11205
11206 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11207
11208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11209
11210 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11211
11212         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11213
11214         * manual/arith.texi: Fix spaces after sentences.
11215         * manual/charset.texi: Likewise.
11216         * manual/errno.texi: Likewise.
11217         * manual/install.texi: Likewise.
11218         * manual/llio.texi: Likewise.
11219         * manual/locale.texi: Likewise.
11220         * manual/maint.texi: Likewise.
11221         * manual/math.texi: Likewise.
11222         * manual/memory.texi: Likewise.
11223         * manual/message.texi: Likewise.
11224         * manual/probes.texi: Likewise.
11225         * manual/resource.texi: Likewise.
11226         * manual/signal.texi: Likewise.
11227         * manual/socket.texi: Likewise.
11228         * manual/stdio.texi: Likewise.
11229         * manual/string.texi: Likewise.
11230         * manual/time.texi: Likewise.
11231         * manual/users.texi: Likewise.
11232
11233 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11234
11235         [BZ #16632]
11236         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11237         _DEFAULT_SOURCE is defined.
11238
11239 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11240             Carlos O'Donell  <carlos@redhat.com>
11241
11242         [BZ #16613]
11243         * elf/dl-tls.c (_dl_count_modids): New function.
11244         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11245         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11246         audit library and increment generation counter.
11247         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11248         * elf/tst-audit9.c: New file.
11249         * elf/tst-auditmod9a.c: New file.
11250         * elf/tst-auditmod9b.c: New file.
11251         * elf/Makefile: Add rules to build and run tst-audit9.
11252
11253 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11254
11255         [BZ #15347]
11256         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11257
11258 2014-02-25  Will Newton  <will.newton@linaro.org>
11259
11260         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11261         (__longjmp): Restore sp and lr before restoring callee
11262         saved registers.  Add longjmp and longjmp_target
11263         SystemTap probe point.
11264         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11265         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11266         Define to zero to match jmpbuf layout.
11267         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11268         (__sigsetjmp): Save sp and lr before saving callee
11269         saved registers.  Add setjmp SystemTap probe point.
11270
11271 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11272
11273         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11274
11275 2014-02-24  Andreas Schwab  <schwab@suse.de>
11276
11277         [BZ #15804]
11278         * elf/pldd.c (wait_for_ptrace_stop): New function.
11279         (main): Call it after attaching.
11280
11281 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11282
11283         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11284         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11285         Versions files is now verboten.
11286         * hurd/Versions (libc: GLIBC_2.0):
11287         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11288         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11289         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11290         * mach/Versions: Likewise.
11291
11292         * csu/Versions: Remove unused %include.
11293         * resolv/Versions: Likewise.
11294
11295 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11296
11297         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11298         ($(objpfx)check-local-headers.out): Likewise.
11299         ($(objpfx)begin-end-check.out): Likewise.
11300         * Makerules (check-abi-%.out): Likewise.
11301         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11302         ($(objpfx)test2.cat): Likewise.
11303         ($(objpfx)de/libc.cat): Likewise.
11304         ($(objpfx)test-gencat.out): Likewise.
11305         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11306         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11307         ($(objpfx)noload-mem): Likewise.
11308         ($(objpfx)tst-pathopt.out): Likewise.
11309         ($(objpfx)tst-rtld-load-self.out): Likewise.
11310         ($(objpfx)tst-array1-cmp.out): Likewise.
11311         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11312         ($(objpfx)tst-array2-cmp.out): Likewise.
11313         ($(objpfx)tst-array3-cmp.out): Likewise.
11314         ($(objpfx)tst-array4-cmp.out): Likewise.
11315         ($(objpfx)tst-array5-cmp.out): Likewise.
11316         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11317         ($(objpfx)check-textrel.out): Likewise.
11318         ($(objpfx)check-execstack.out): Likewise.
11319         ($(objpfx)check-localplt.out): Likewise.
11320         ($(objpfx)order2-cmp.out): Likewise.
11321         ($(objpfx)tst-leaks1-mem): Likewise.
11322         ($(objpfx)tst-leaks1-static-mem): Likewise.
11323         ($(objpfx)tst-initorder-cmp.out): Likewise.
11324         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11325         ($(objpfx)tst-unused-dep.out): Likewise.
11326         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11327         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11328         * iconv/Makefile (test-iconvconfig): Likewise.
11329         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11330         ($(objpfx)iconv-test.out): Likewise.
11331         ($(objpfx)tst-tables.out): Likewise.
11332         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11333         ($(objpfx)tst-gettext.out): Likewise.
11334         ($(objpfx)tst-translit.out): Likewise.
11335         ($(objpfx)tst-gettext2.out): Likewise.
11336         ($(objpfx)tst-gettext4.out): Likewise.
11337         ($(objpfx)tst-gettext6.out): Likewise.
11338         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11339         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11340         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11341         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11343         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11344         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11345         ($(objpfx)wordexp-tst.out): Likewise.
11346         ($(objpfx)annexc.out): Likewise.
11347         ($(objpfx)tst-fnmatch-mem): Likewise.
11348         ($(objpfx)bug-regex2-mem): Likewise.
11349         ($(objpfx)bug-regex14-mem): Likewise.
11350         ($(objpfx)bug-regex21-mem): Likewise.
11351         ($(objpfx)bug-regex31-mem): Likewise.
11352         ($(objpfx)tst-vfork3-mem): Likewise.
11353         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11354         ($(objpfx)tst-pcre-mem): Likewise.
11355         ($(objpfx)tst-boost-mem): Likewise.
11356         ($(objpfx)tst-getconf.out): Likewise.
11357         ($(objpfx)bug-ga2-mem): Likewise.
11358         ($(objpfx)bug-glob2-mem): Likewise.
11359         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11360         ($(objpfx)mtrace-tst-leaks2): Likewise.
11361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11362         ($(objpfx)tst-printf.out): Likewise.
11363         ($(objpfx)tst-setvbuf1.out): Likewise.
11364         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11365         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11366         ($(objpfx)tst-fmtmsg.out): Likewise.
11367         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11368         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11369
11370         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11371         * bits/sigaction.h [__USE_MISC]: Likewise.
11372         * bits/waitstatus.h: Update #endif comments.
11373         * ctype/ctype.h: Likewise.
11374         * dirent/dirent.h: Likewise.
11375         [__USE_MISC]: Remove redundant conditionals.
11376         * grp/grp.h: Update #endif comments.
11377         [__USE_GNU]: Remove redundant conditionals.
11378         [__USE_MISC]: Likewise.
11379         * inet/netinet/in.h [__USE_GNU]: Likewise.
11380         * io/sys/stat.h [__USE_MISC]: Likewise.
11381         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11382         * libio/bits/stdio.h: Update #endif comments.
11383         [__USE_MISC]: Remove redundant conditionals.
11384         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11385         * libio/stdio.h: Update #endif comments.
11386         [__USE_MISC]: Remove redundant conditionals.
11387         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11388         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11389         * math/math.h: Update #else and #endif comments.
11390         [__USE_MISC]: Remove redundant conditionals.
11391         * misc/sys/uio.h: Update #endif comments.
11392         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11393         * posix/glob.h [__USE_MISC]: Likewise.
11394         * posix/sys/types.h: Update #endif comments.
11395         [__USE_MISC]: Remove redundant conditionals.
11396         * posix/sys/wait.h: Update #endif comments.
11397         [__USE_MISC]: Remove redundant conditionals.
11398         * posix/unistd.h: Update #endif comments.
11399         [__USE_MISC]: Remove redundant conditionals.
11400         * pwd/pwd.h [__USE_GNU]: Likewise.
11401         [__USE_MISC]: Likewise.
11402         * resolv/netdb.h [__USE_GNU]: Likewise.
11403         * signal/signal.h: Update #endif comments.
11404         [__USE_MISC]: Remove redundant conditionals.
11405         * stdlib/stdlib.h: Update #else and #endif comments.
11406         [__USE_MISC]: Remove redundant conditionals.
11407         [__USE_GNU]: Likewise.
11408         * string/bits/string2.h [__USE_MISC]: Likewise.
11409         * string/string.h: Update #endif comments.
11410         [__USE_MISC]: Remove redundant conditionals.
11411         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11412         Likewise.
11413         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11414         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11415         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11416         Likewise.
11417         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11418         Likewise.
11419         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11420         comments.
11421         [__USE_MISC]: Remove redundant conditionals.
11422         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11423         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11424         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11425         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11426         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11427         Likewise.
11428         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11429         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11430         Likewise.
11431         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11432         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11433         Likewise.
11434         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11435         Likewise.
11436         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11437         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11438         Likewise.
11439         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11440         Likewise.
11441         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11442         * sysdeps/x86/bits/string.h: Update #endif comments.
11443         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11444         conditionals.
11445         * time/sys/time.h: Update #endif comments.
11446         * time/time.h: Likewise.
11447         [__USE_MISC]: Remove redundant conditionals.
11448
11449 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11450
11451         [BZ #16600]
11452         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11453
11454 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11455
11456         * Versions.def (librt): Add GLIBC_2.17.
11457
11458 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11459
11460         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11461         synonym for _SYS_AUXV_H to allow direct inclusion.
11462         * sysdeps/sparc/bits/hwcap.h: Likewise.
11463         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11464         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11465         * sysdeps/sparc/sysdep.h: Likewise.
11466
11467 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11468
11469         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11470
11471 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11472
11473         * benchtests/bench-strrchr.c: Print length instead of position.
11474
11475 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11476
11477         [BZ #16611]
11478         * sysdeps/unix/sysv/linux/kernel-features.h
11479         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11480         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11481         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11482         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11483         Likewise.
11484         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11485         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11486         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11487         (__ASSUME_SENDMMSG): Define instead of using previous
11488         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11490         (__ASSUME_SENDMMSG_SYSCALL): Define.
11491         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11492         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11493         Likewise.
11494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11495         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11496         Likewise.
11497         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11498         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11499         Likewise.
11500         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11501         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11502         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11503         [__ASSUME_SENDMMSG]: Change conditionals to
11504         [__ASSUME_SENDMMSG_SOCKETCALL].
11505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11506         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11507         Define.
11508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11509         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11510         Likewise.
11511         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11512         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11513         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11514         [!__ASSUME_SENDMMSG]: Change conditional to
11515         [!__ASSUME_SENDMMSG_SOCKETCALL].
11516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11517         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11518         Define.
11519
11520         [BZ #16610]
11521         * sysdeps/unix/sysv/linux/kernel-features.h
11522         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11523         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11524         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11525         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11526         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11527         [__i386__ || __sparc__]
11528         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11529         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11530         (__ASSUME_RECVMMSG): Define instead of using previous
11531         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11532         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11533         (__ASSUME_RECVMMSG_SYSCALL): Define.
11534         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11536         Likewise.
11537         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11539         Likewise.
11540         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11544         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11545         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11546         [__ASSUME_RECVMMSG]: Change condition to
11547         [__ASSUME_RECVMMSG_SOCKETCALL].
11548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11550         Define.
11551         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11552         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11554         Likewise.
11555         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11556         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11557         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11558         [!__ASSUME_RECVMMSG]: Change condition to
11559         [!__ASSUME_RECVMMSG_SOCKETCALL].
11560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11561         (__ASSUME_RECVMMSG_SYSCALL): Define.
11562
11563         [BZ #16609]
11564         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11565         __powerpc__ || __s390__ || __sh__ || __sparc__]
11566         (__ASSUME_SOCKETCALL): Define.
11567         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11568         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11569         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11570         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11571         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11572         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11573         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11574         (__ASSUME_ACCEPT4): Define instead of using previous
11575         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11576         __powerpc__ || __sparc__ || __s390__)] condition.
11577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11578         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11579         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11580         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11581         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11582         [!__ASSUME_ACCEPT4]: Change condition to
11583         [!__ASSUME_ACCEPT4_SOCKETCALL].
11584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11585         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11586         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11588         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11589         __ASSUME_ACCEPT4_SYSCALL.
11590         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11591         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11592         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11593         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11594         __ASSUME_ACCEPT4_SYSCALL.
11595         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11596         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11597         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11598         [__ASSUME_ACCEPT4]: Change condition to
11599         [__ASSUME_ACCEPT4_SOCKETCALL].
11600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11601         (__ASSUME_SOCKETCALL): Define.
11602         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11604         (__ASSUME_SOCKETCALL): Define.
11605         (__ASSUME_ACCEPT4): Remove.
11606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11607         Define.
11608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11609         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11610         Likewise.
11611         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11612         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11613
11614         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11615         macro.
11616         (HWCAP_ARM_LPAE): Likewise.
11617         (HWCAP_ARM_EVTSTRM): Likewise.
11618         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11619         Add vpfd32, lpae and evtstrm.
11620         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11621         Increase to 22.
11622
11623 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11624
11625         * math/auto-libm-test-in: Add tests of clog10.
11626         * math/auto-libm-test-out: Regenerated.
11627         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11628         * sysdeps/i386/fpu/libm-test-ulps: Update.
11629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630
11631 2014-02-18  Andreas Schwab  <schwab@suse.de>
11632
11633         [BZ #16574]
11634         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11635         Store non-zero if the second buffer was newly allocated.
11636         (send_dg): Likewise.
11637         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11638         to send_vc and send_dg.
11639         (res_nsend): Pass NULL for ansp2_malloced.
11640         * resolv/res_query.c (__libc_res_nquery): Add parameter
11641         answerp2_malloced and pass it down to __libc_res_nsend.
11642         (res_nquery): Pass additional NULL to __libc_res_nquery.
11643         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11644         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11645         second answer buffer if answerp2_malloced was set.
11646         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11647         (__libc_res_nquerydomain): Add parameter
11648         answerp2_malloced and pass it down to __libc_res_nquery.
11649         (res_nquerydomain): Pass additional NULL to
11650         __libc_res_nquerydomain.
11651         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11652         additional NULL to __libc_res_nsend and __libc_res_nquery.
11653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11654         additional NULL to __libc_res_nsearch.
11655         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11656         parameter of __libc_res_nsearch to check for separately allocated
11657         second buffer.
11658         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11659         __libc_res_nquery.
11660         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11661         additional NULL to __libc_res_nquery.
11662         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11663         __libc_res_nsearch.
11664         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11665         * include/resolv.h: Update prototypes of __libc_res_nquery,
11666         __libc_res_nsearch, __libc_res_nsend.
11667
11668 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11669
11670         * math/auto-libm-test-in: Add tests of fma.
11671         * math/auto-libm-test-out: Regenerated.
11672         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11673         (fma_towardzero_test_data): Likewise.
11674         (fma_downward_test_data): Likewise.
11675         (fma_upward_test_data): Likewise.
11676         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11677         mpc_mode.
11678         (rounding_modes): Add values for new field.
11679         (func_calc_method): Add value mpfr_fff_f.
11680         (func_calc_desc): Add mpfr_fff_f union field.
11681         (test_function): Add field exact_args.
11682         (FUNC): Add macro argument EXACT_ARGS.
11683         (FUNC_mpfr_f_f): Update call to FUNC.
11684         (FUNC_mpfr_f_f): Likewise.
11685         (FUNC_mpfr_ff_f): Likewise.
11686         (FUNC_mpfr_if_f): Likewise.
11687         (FUNC_mpc_c_f): Likewise.
11688         (FUNC_mpc_c_c): Likewise.
11689         (test_functions): Add fma.  Update calls to FUNC.
11690         (handle_input_arg): Add argument exact_args.
11691         (add_test): Update call to handle_input_arg.
11692         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11693         (output_for_one_input_case): Update call to calc_generic_results.
11694         Recalculate exact zero results in each rounding mode.
11695
11696         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11697         non-negative before setting low bit.
11698         * math/auto-libm-test-in: Mark one asin test possibly having
11699         spurious underflow.
11700         * math/auto-libm-test-out: Regenerated.
11701         * sysdeps/i386/fpu/libm-test-ulps: Update.
11702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703
11704 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11705
11706         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11707         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11708         ports/sysdeps/unix/sysv/linux/microblaze.
11709         * README: Add missing listing for microblaze*-*-linux-gnu.
11710
11711 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11712
11713         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11714         duplicate code
11715
11716 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11717
11718         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11719         * sysdeps/unix/sysv/linux/ia64: Move directory from
11720         ports/sysdeps/unix/sysv/linux/ia64.
11721         * README: Update listing for ia64-*-linux-gnu.
11722
11723 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11724             Joseph Myers  <joseph@codesourcery.com>
11725
11726         * Makeconfig (test-name): New variable.
11727         (evaluate-test): Likewise.
11728         * Makerules (do-test-clean): Remove .test-result files.
11729         (common-mostlyclean): Likewise.
11730         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11731         * scripts/evaluate-test.sh: New file.
11732
11733 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11734
11735         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11736         separate $(objpfx)tst-fopenloc-cmp.out and
11737         $(objpfx)tst-fopenloc-mem.out targets.
11738         (tests): Update dependencies.
11739         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11740         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11741         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11742         (tst-rxspencer-no-utf8-ARGS): New variable.
11743         (tst-rxspencer-no-utf8-ENV): Likewise.
11744         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11745         instead of $(objpfx)tst-rxspencer-mem.
11746         ($(objpfx)tst-rxspencer-mem): Change target to
11747         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11748         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11749         * posix/tst-rxspencer-no-utf8.c: New file.
11750
11751         * elf/Makefile ($(objpfx)order.out): Remove rule.
11752         [$(run-built-tests) = yes] (tests): Depend on
11753         $(objpfx)order-cmp.out.
11754         ($(objpfx)order-cmp.out): New rule.
11755         [$(run-built-tests) = yes] (tests): Depend on
11756         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11757         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11758         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11759         $(objpfx)tst-array5-static-cmp.out.
11760         ($(objpfx)tst-array1.out): Remove rule.
11761         ($(objpfx)tst-array1-cmp.out): New rule.
11762         ($(objpfx)tst-array1-static.out): Remove rule.
11763         ($(objpfx)tst-array1-static-cmp.out): New rule.
11764         ($(objpfx)tst-array2.out): Remove rule.
11765         ($(objpfx)tst-array2-cmp.out): New rule.
11766         ($(objpfx)tst-array3.out): Remove rule.
11767         ($(objpfx)tst-array3-cmp.out): New rule.
11768         ($(objpfx)tst-array4.out): Remove rule.
11769         ($(objpfx)tst-array4-cmp.out): New rule.
11770         ($(objpfx)tst-array5.out): Remove rule.
11771         ($(objpfx)tst-array5-cmp.out): New rule.
11772         ($(objpfx)tst-array5-static.out): Remove rule.
11773         ($(objpfx)tst-array5-static-cmp.out): New rule.
11774         [$(run-built-tests) = yes] (tests): Depend on
11775         $(objpfx)order2-cmp.out.
11776         ($(objpfx)order2.out): Remove rule.
11777         ($(objpfx)order2-cmp.out): New rule.
11778         ($(objpfx)tst-initorder.out): Remove rule.
11779         [$(run-built-tests) = yes] (tests): Depend on
11780         $(objpfx)tst-initorder-cmp.out.
11781         ($(objpfx)tst-initorder-cmp.out): New rule.
11782         ($(objpfx)tst-initorder2.out): Remove rule.
11783         [$(run-built-tests) = yes] (tests): Depend on
11784         $(objpfx)tst-initorder2-cmp.out.
11785         ($(objpfx)tst-initorder2-cmp.out): New rule.
11786         [$(run-built-tests) = yes] (tests): Depend on
11787         $(objpfx)tst-unused-dep-cmp.out.
11788         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11789         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11790         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11791         on $(objpfx)tst-setvbuf1-cmp.out.
11792         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11793         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11794         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11795         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11796         ($(objpfx)tst-svc.out): Remove rule.
11797         ($(objpfx)tst-svc-cmp.out): New rule.
11798
11799 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11800
11801         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11802         * ctype/ctype.h [__USE_MISC]: Likewise.
11803         * dirent/dirent.h [__USE_MISC]: Likewise.
11804         * grp/grp.h [__USE_MISC]: Likewise.
11805         * io/fcntl.h [__USE_MISC]: Likewise.
11806         * io/sys/stat.h [__USE_MISC]: Likewise.
11807         * libio/stdio.h [__USE_MISC]: Likewise.
11808         * posix/unistd.h [__USE_MISC]: Likewise.
11809         * pwd/pwd.h [__USE_MISC]: Likewise.
11810         * stdlib.h [__USE_MISC]: Likewise.
11811         * string/bits/string2.h [__USE_MISC]: Likewise.
11812         * string/string.h [__USE_MISC]: Likewise.
11813         * time/time.h [__USE_MISC]: Likewise.
11814
11815 2014-02-13  Andreas Schwab  <schwab@suse.de>
11816
11817         [BZ #16574]
11818         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11819         second answer buffer if it was separately allocated.
11820
11821 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11822
11823         * sysdeps/mips/math-tests.h: Include <features.h>.
11824         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11825         (ROUNDING_TESTS_long_double): Do not define.
11826         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11827         (EXCEPTION_TESTS_long_double): Likewise.
11828         * sysdeps/mips/mips64/libm-test-ulps: Update.
11829
11830         * include/features.h (__USE_BSD): Remove macro definitions.
11831         (__USE_SVID): Likewise.
11832         (_BSD_SOURCE): Likewise.
11833         (_SVID_SOURCE): Likewise.
11834         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11835         from definition of _DEFAULT_SOURCE.
11836         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11837         [_DEFAULT_SOURCE].
11838         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11839         * bits/mman.h [__USE_BSD]: Likewise.
11840         * bits/termios.h [__USE_BSD]: Likewise.
11841         * bits/waitstatus.h [__USE_BSD]: Likewise.
11842         * ctype/ctype.h [__USE_SVID]: Likewise.
11843         * dirent/dirent.h [__USE_BSD]: Likewise.
11844         * grp/grp.h [__USE_SVID]: Likewise.
11845         [__USE_BSD]: Likewise.
11846         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11847         * io/fcntl.h [__USE_BSD]: Likewise.
11848         * io/ftw.h [__USE_BSD]: Likewise.
11849         * io/sys/stat.h [__USE_BSD]: Likewise.
11850         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11851         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11852         * libio/stdio.h [__USE_SVID]: Likewise.
11853         [__USE_BSD]: Likewise.
11854         * math/math.h [__USE_SVID]: Likewise.
11855         [__USE_BSD]: Likewise.
11856         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11857         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11858         * misc/search.h [__USE_SVID]: Likewise.
11859         * misc/sys/mman.h [__USE_BSD]: Likewise.
11860         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11861         * misc/sys/uio.h [__USE_BSD]: Likewise.
11862         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11863         * posix/glob.h [__USE_BSD]: Likewise.
11864         * posix/regex.h [__USE_BSD]: Likewise.
11865         * posix/sys/types.h [__USE_BSD]: Likewise.
11866         [__USE_SVID]: Likewise.
11867         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11868         * posix/sys/wait.h [__USE_BSD]: Likewise.
11869         [__USE_SVID]: Likewise.
11870         * posix/unistd.h [__USE_BSD]: Likewise.
11871         [__USE_SVID]: Likewise.
11872         * pwd/pwd.h [__USE_SVID]: Likewise.
11873         * resolv/netdb.h [__USE_BSD]: Likewise.
11874         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11875         * signal/signal.h [__USE_BSD]: Likewise.
11876         [__USE_SVID]: Likewise.
11877         * socket/sys/socket.h [__USE_BSD]: Likewise.
11878         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11879         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11880         [__USE_SVID]: Likewise.
11881         * string/bits/string2.h [__USE_BSD]: Likewise.
11882         [__USE_SVID]: Likewise.
11883         * string/bits/string3.h [__USE_BSD]: Likewise.
11884         * string/endian.h [__USE_BSD]: Likewise.
11885         * string/string.h [__USE_SVID]: Likewise.
11886         [__USE_BSD]: Likewise.
11887         * string/strings.h [__USE_BSD]: Likewise.
11888         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11889         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11890         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11891         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11892         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11893         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11894         Likewise.
11895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11896         Likewise.
11897         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11898         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11899         Likewise.
11900         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11901         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11902         Likewise.
11903         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11904         Likewise.
11905         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11906         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11907         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11908         Likewise.
11909         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11910         Likewise.
11911         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11912         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11913         * termios/termios.h [__USE_BSD]: Likewise.
11914         * time/sys/time.h [__USE_BSD]: Likewise.
11915         * time/time.h [__USE_BSD]: Likewise.
11916         [__USE_SVID]: Likewise.
11917
11918         * Makefile (subdir_targets): Remove subdir_lint.out.
11919
11920         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11921         (do-tst-printf): Likewise.
11922         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11923         $(objpfx)tst-printf.out.
11924
11925         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11926
11927         * Makerules (check-abi-%): Change target to
11928         $(objpfx)check-abi-%.out.
11929         (check-abi target): Update dependencies.
11930         (check-abi-pattern variable): Redirect output of diff to $@.
11931         (check-abi variable): Likewise.
11932         * elf/Makefile (check-abi): Update dependencies.
11933
11934         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11935         unused.
11936         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11937         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11938         subnormal range.
11939         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11940         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11941         value has largest subnormal exponent.
11942         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11943         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11944         * sysdeps/aarch64/soft-fp/sfp-machine.h
11945         (_FP_TININESS_AFTER_ROUNDING): New macro.
11946         * sysdeps/alpha/soft-fp/sfp-machine.h
11947         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11948         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11949         Likewise.
11950         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11951         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11952         * sysdeps/mips/soft-fp/sfp-machine.h
11953         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11954         * sysdeps/powerpc/soft-fp/sfp-machine.h
11955         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11956         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11957         Likewise.
11958         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11959         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11960         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11961         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11962         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11963         Likewise.
11964
11965 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11966
11967         [BZ #16545]
11968         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11969         model 1.
11970
11971 2014-02-12  Richard Henderson  <rth@redhat.com>
11972
11973         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11974         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11975         * sysdeps/unix/sysv/linux/alpha: Move directory from
11976         ports/sysdeps/unix/sysv/linux/alpha.
11977         * README: Update listing for alpha-*-linux-gnu.
11978
11979 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11980
11981         * include/features.h: Update comment documenting feature test
11982         macros.
11983         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11984         _DEFAULT_SOURCE.
11985         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11986         (_SVID_SOURCE): Likewise.
11987         (_DEFAULT_SOURCE): Update description of default features.
11988         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11989         with _GNU_SOURCE.
11990         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11991         (S_ISVTX): Likewise.
11992         * manual/math.texi (Mathematical Constants): Likewise.
11993         * manual/signal.texi (Interrupted Primitives): Likewise.
11994         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11995         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11996         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11997         Don't refer to _SVID_SOURCE in warning text.
11998
11999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12000
12001         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12002         already defined.
12003         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12004         * sysdeps/mips/dl-lookup.c: Remove.
12005         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12006
12007 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12008
12009         [BZ #16447]
12010         * math/auto-libm-test-in: Add testcase for expl.
12011         * math/auto-libm-test-out: Regenerate.
12012         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12013         calculation of unsafe.
12014         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12015
12016 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12017
12018         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12019         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12020         ports/sysdeps/unix/sysv/linux/aarch64.
12021         * README: Update listing for aarch64*-*-linux-gnu.
12022
12023 2014-02-11  Will Newton  <will.newton@linaro.org>
12024
12025         * manual/probes.texi (Mathematical Function Probes): Use
12026         "triggered" instead of "hit".
12027
12028         * manual/probes.texi (Internal Probes): Add documentation
12029         of setjmp, longjmp and longjmp_target probes.
12030
12031         * include/stap-probe.h: Add comment about probe argument
12032         format.
12033
12034         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12035         definition.  (tr_where, tr_freehook, tr_mallochook,
12036         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12037
12038 2014-02-11  David S. Miller  <davem@davemloft.net>
12039
12040         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12041         processing int_tests.
12042
12043 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12044
12045         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12046         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12047         * sysdeps/unix/sysv/linux/mips: Move directory from
12048         ports/sysdeps/unix/sysv/linux/mips.
12049         * README: Update listing for mips-*-linux-gnu and
12050         mips64-*-linux-gnu.
12051
12052 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12053
12054         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12055         * sysdeps/unix/sysv/linux/m68k: Move directory from
12056         ports/sysdeps/unix/sysv/linux/m68k.
12057         * README: Update listing for m68k-*-linux-gnu.
12058
12059 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12060
12061         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12062         * sysdeps/unix/sysv/linux/generic: Move directory from
12063         ports/sysdeps/unix/sysv/linux/generic.
12064         * sysdeps/unix/sysv/linux/tile: Move directory from
12065         ports/sysdeps/unix/sysv/linux/tile.
12066         * README: Update listing for tile*-*-linux-gnu.
12067
12068 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12069
12070         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12071         __builtin_expect.
12072         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12073         * catgets/open_catalog.c (__open_catalog): Likewise.
12074         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12075         * debug/confstr_chk.c: Likewise.
12076         * debug/fread_chk.c (__fread_chk): Likewise.
12077         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12078         * debug/getgroups_chk.c: Likewise.
12079         * debug/mbsnrtowcs_chk.c: Likewise.
12080         * debug/mbsrtowcs_chk.c: Likewise.
12081         * debug/mbstowcs_chk.c: Likewise.
12082         * debug/memcpy_chk.c: Likewise.
12083         * debug/memmove_chk.c: Likewise.
12084         * debug/mempcpy_chk.c: Likewise.
12085         * debug/memset_chk.c: Likewise.
12086         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12087         * debug/strcat_chk.c (__strcat_chk): Likewise.
12088         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12089         * debug/strncat_chk.c (__strncat_chk): Likewise.
12090         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12091         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12092         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12093         * debug/wcpncpy_chk.c: Likewise.
12094         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12095         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12096         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12097         * debug/wcsncpy_chk.c: Likewise.
12098         * debug/wcsnrtombs_chk.c: Likewise.
12099         * debug/wcsrtombs_chk.c: Likewise.
12100         * debug/wcstombs_chk.c: Likewise.
12101         * debug/wmemcpy_chk.c: Likewise.
12102         * debug/wmemmove_chk.c: Likewise.
12103         * debug/wmempcpy_chk.c: Likewise.
12104         * debug/wmemset_chk.c: Likewise.
12105         * dirent/scandirat.c (SCANDIRAT): Likewise.
12106         * dlfcn/dladdr1.c (dladdr1): Likewise.
12107         * dlfcn/dladdr.c (dladdr): Likewise.
12108         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12109         * dlfcn/dlerror.c (__dlerror): Likewise.
12110         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12111         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12112         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12113         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12114         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12115         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12116         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12117         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12118         Likewise.
12119         * elf/dl-conflict.c: Likewise.
12120         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12121         * elf/dl-dst.h: Likewise.
12122         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12123         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12125         * elf/dl-init.c (call_init, _dl_init): Likewise.
12126         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12127         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12128         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12129         Likewise.
12130         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12131         Likewise.
12132         * elf/dl-minimal.c (__libc_memalign): Likewise.
12133         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12134         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12135         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12136         * elf/dl-sym.c (do_sym): Likewise.
12137         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12138         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12139         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12140         * elf/dl-writev.h (_dl_writev): Likewise.
12141         * elf/ldconfig.c (search_dir): Likewise.
12142         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12143         (dl_main): Likewise.
12144         * elf/setup-vdso.h (setup_vdso): Likewise.
12145         * grp/compat-initgroups.c (compat_call): Likewise.
12146         * grp/fgetgrent.c (fgetgrent): Likewise.
12147         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12148         * grp/putgrent.c (putgrent): Likewise.
12149         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12150         Likewise.
12151         * hurd/hurdinit.c: Likewise.
12152         * iconvdata/8bit-gap.c (struct): Likewise.
12153         * iconvdata/ansi_x3.110.c : Likewise.
12154         * iconvdata/big5.c : Likewise.
12155         * iconvdata/big5hkscs.c : Likewise.
12156         * iconvdata/cp1255.c: Likewise.
12157         * iconvdata/cp1258.c : Likewise.
12158         * iconvdata/cp932.c : Likewise.
12159         * iconvdata/euc-cn.c: Likewise.
12160         * iconvdata/euc-jisx0213.c : Likewise.
12161         * iconvdata/euc-jp.c: Likewise.
12162         * iconvdata/euc-jp-ms.c : Likewise.
12163         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12164         * iconvdata/gb18030.c : Likewise.
12165         * iconvdata/gbbig5.c (const): Likewise.
12166         * iconvdata/gbgbk.c: Likewise.
12167         * iconvdata/gbk.c : Likewise.
12168         * iconvdata/ibm1364.c : Likewise.
12169         * iconvdata/ibm930.c : Likewise.
12170         * iconvdata/ibm932.c: Likewise.
12171         * iconvdata/ibm933.c : Likewise.
12172         * iconvdata/ibm935.c : Likewise.
12173         * iconvdata/ibm937.c : Likewise.
12174         * iconvdata/ibm939.c : Likewise.
12175         * iconvdata/ibm943.c: Likewise.
12176         * iconvdata/iso_11548-1.c: Likewise.
12177         * iconvdata/iso-2022-cn.c : Likewise.
12178         * iconvdata/iso-2022-cn-ext.c : Likewise.
12179         * iconvdata/iso-2022-jp-3.c: Likewise.
12180         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12181         * iconvdata/iso-2022-kr.c : Likewise.
12182         * iconvdata/iso646.c (gconv_end): Likewise.
12183         * iconvdata/iso_6937-2.c : Likewise.
12184         * iconvdata/iso_6937.c : Likewise.
12185         * iconvdata/iso8859-1.c: Likewise.
12186         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12187         * iconvdata/shift_jisx0213.c : Likewise.
12188         * iconvdata/sjis.c : Likewise.
12189         * iconvdata/t.61.c : Likewise.
12190         * iconvdata/tcvn5712-1.c : Likewise.
12191         * iconvdata/tscii.c: Likewise.
12192         * iconvdata/uhc.c : Likewise.
12193         * iconvdata/unicode.c (gconv_end): Likewise.
12194         * iconvdata/utf-16.c (gconv_end): Likewise.
12195         * iconvdata/utf-32.c (gconv_end): Likewise.
12196         * iconvdata/utf-7.c (base64): Likewise.
12197         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12198         * iconv/gconv_close.c (__gconv_close): Likewise.
12199         * iconv/gconv_open.c (__gconv_open): Likewise.
12200         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12201         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12202         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12203         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12204         (ucs4le_internal_loop_single): Likewise.
12205         * iconv/iconv.c (iconv): Likewise.
12206         * iconv/iconv_close.c: Likewise.
12207         * iconv/loop.c (SINGLE): Likewise.
12208         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12209         * include/atomic.h: Likewise.
12210         * inet/inet6_option.c (option_alloc): Likewise.
12211         * intl/bindtextdom.c (set_binding_values): Likewise.
12212         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12213         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12214         * intl/localealias.c (read_alias_file): Likewise.
12215         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12216         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12217         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12218         * libio/fmemopen.c (fmemopen): Likewise.
12219         * libio/iofgets.c (_IO_fgets): Likewise.
12220         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12221         * libio/iofgetws.c (fgetws): Likewise.
12222         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12223         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12224         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12225         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12226         * locale/findlocale.c (_nl_find_locale): Likewise.
12227         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12228         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12229         Likewise.
12230         * locale/setlocale.c (setlocale): Likewise.
12231         * login/programs/pt_chown.c (main): Likewise.
12232         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12233         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12234         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12235         (mmap, mmap64, mremap, munmap): Likewise.
12236         * math/e_exp2l.c: Likewise.
12237         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12238         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12239         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12240         * math/s_catan.c (__catan): Likewise.
12241         * math/s_catanf.c (__catanf): Likewise.
12242         * math/s_catanh.c (__catanh): Likewise.
12243         * math/s_catanhf.c (__catanhf): Likewise.
12244         * math/s_catanhl.c (__catanhl): Likewise.
12245         * math/s_catanl.c (__catanl): Likewise.
12246         * math/s_ccosh.c (__ccosh): Likewise.
12247         * math/s_ccoshf.c (__ccoshf): Likewise.
12248         * math/s_ccoshl.c (__ccoshl): Likewise.
12249         * math/s_cexp.c (__cexp): Likewise.
12250         * math/s_cexpf.c (__cexpf): Likewise.
12251         * math/s_cexpl.c (__cexpl): Likewise.
12252         * math/s_clog10.c (__clog10): Likewise.
12253         * math/s_clog10f.c (__clog10f): Likewise.
12254         * math/s_clog10l.c (__clog10l): Likewise.
12255         * math/s_clog.c (__clog): Likewise.
12256         * math/s_clogf.c (__clogf): Likewise.
12257         * math/s_clogl.c (__clogl): Likewise.
12258         * math/s_csin.c (__csin): Likewise.
12259         * math/s_csinf.c (__csinf): Likewise.
12260         * math/s_csinh.c (__csinh): Likewise.
12261         * math/s_csinhf.c (__csinhf): Likewise.
12262         * math/s_csinhl.c (__csinhl): Likewise.
12263         * math/s_csinl.c (__csinl): Likewise.
12264         * math/s_csqrt.c (__csqrt): Likewise.
12265         * math/s_csqrtf.c (__csqrtf): Likewise.
12266         * math/s_csqrtl.c (__csqrtl): Likewise.
12267         * math/s_ctan.c (__ctan): Likewise.
12268         * math/s_ctanf.c (__ctanf): Likewise.
12269         * math/s_ctanh.c (__ctanh): Likewise.
12270         * math/s_ctanhf.c (__ctanhf): Likewise.
12271         * math/s_ctanhl.c (__ctanhl): Likewise.
12272         * math/s_ctanl.c (__ctanl): Likewise.
12273         * math/w_pow.c: Likewise.
12274         * math/w_powf.c: Likewise.
12275         * math/w_powl.c: Likewise.
12276         * math/w_scalb.c (sysv_scalb): Likewise.
12277         * math/w_scalbf.c (sysv_scalbf): Likewise.
12278         * math/w_scalbl.c (sysv_scalbl): Likewise.
12279         * misc/error.c (error_tail): Likewise.
12280         * misc/pselect.c (__pselect): Likewise.
12281         * nis/nis_callback.c (__nis_create_callback): Likewise.
12282         * nis/nis_call.c (__nisfind_server): Likewise.
12283         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12284         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12285         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12286         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12287         * nis/nis_lookup.c (nis_lookup): Likewise.
12288         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12289         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12290         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12291         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12292         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12293         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12294         * nis/nss_compat/compat-initgroups.c (add_group)
12295         (internal_getgrent_r): Likewise.
12296         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12297         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12298         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12299         (internal_getspnam_r): Likewise.
12300         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12301         (_nss_nis_getaliasbyname_r): Likewise.
12302         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12303         (_nss_nis_getntohost_r): Likewise.
12304         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12305         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12306         (_nss_nis_getgrgid_r): Likewise.
12307         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12308         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12309         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12310         (_nss_nis_gethostbyname4_r): Likewise.
12311         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12312         (initgroups_netid): Likewise.
12313         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12314         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12315         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12316         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12317         (_nss_nis_getprotobynumber_r): Likewise.
12318         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12319         (_nss_nis_getsecretkey): Likewise.
12320         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12321         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12322         (_nss_nis_getpwuid_r): Likewise.
12323         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12324         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12325         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12326         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12327         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12328         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12329         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12330         Likewise.
12331         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12332         (_nss_nisplus_getntohost_r): Likewise.
12333         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12334         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12335         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12336         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12337         Likewise.
12338         * nis/nss_nisplus/nisplus-initgroups.c
12339         (_nss_nisplus_initgroups_dyn): Likewise.
12340         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12341         (_nss_nisplus_getnetbyaddr_r): Likewise.
12342         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12343         (_nss_nisplus_getprotobynumber_r): Likewise.
12344         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12345         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12346         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12347         Likewise.
12348         * nis/nss_nisplus/nisplus-service.c
12349         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12350         (_nss_nisplus_getservbyport_r): Likewise.
12351         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12352         (_nss_nisplus_getspnam_r): Likewise.
12353         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12354         Likewise.
12355         * nscd/aicache.c (addhstaiX): Likewise.
12356         * nscd/cache.c (cache_search, prune_cache): Likewise.
12357         * nscd/connections.c (register_traced_file, send_ro_fd)
12358         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12359         (main_loop_epoll): Likewise.
12360         * nscd/grpcache.c (addgrbyX): Likewise.
12361         * nscd/hstcache.c (addhstbyX): Likewise.
12362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12363         * nscd/mem.c (gc, mempool_alloc): Likewise.
12364         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12365         (addinnetgrX): Likewise.
12366         * nscd/nscd-client.h (__nscd_acquire_maplock)
12367         (__nscd_drop_map_ref): Likewise.
12368         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12369         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12370         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12371         Likewise.
12372         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12373         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12374         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12375         (__nscd_get_map_ref): Likewise.
12376         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12377         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12378         Likewise.
12379         * nscd/pwdcache.c (addpwbyX): Likewise.
12380         * nscd/selinux.c (preserve_capabilities): Likewise.
12381         * nscd/servicescache.c (addservbyX): Likewise.
12382         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12383         * posix/fnmatch.c (fnmatch): Likewise.
12384         * posix/getopt.c (_getopt_internal_r): Likewise.
12385         * posix/glob.c (glob, glob_in_dir): Likewise.
12386         * posix/wordexp.c (exec_comm_child): Likewise.
12387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12388         (getanswer_r, gaih_getanswer_slice): Likewise.
12389         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12390         * resolv/res_init.c: Likewise.
12391         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12392         * resolv/res_query.c (__libc_res_nquery): Likewise.
12393         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12394         Likewise.
12395         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12396         * stdio-common/perror.c (perror): Likewise.
12397         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12398         * stdio-common/tmpnam.c (tmpnam): Likewise.
12399         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12400         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12401         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12402         Likewise.
12403         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12404         * stdlib/putenv.c (putenv): Likewise.
12405         * stdlib/setenv.c (__add_to_environ): Likewise.
12406         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12407         * stdlib/strtol_l.c (INTERNAL): Likewise.
12408         * string/memmem.c (memmem): Likewise.
12409         * string/strerror.c (strerror): Likewise.
12410         * string/strnlen.c (__strnlen): Likewise.
12411         * string/test-memmem.c (simple_memmem): Likewise.
12412         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12413         * sunrpc/pm_getport.c (__get_socket): Likewise.
12414         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12415         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12416         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12417         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12418         Likewise.
12419         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12420         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12421         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12422         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12423         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12424         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12425         Likewise.
12426         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12427         Likewise.
12428         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12429         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12431         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12432         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12434         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12435         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12436         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12437         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12438         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12439         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12440         Likewise.
12441         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12442         Likewise.
12443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12444         Likewise.
12445         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12446         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12447         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12448         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12449         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12450         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12451         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12452         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12453         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12454         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12455         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12456         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12457         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12458         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12460         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12461         Likewise.
12462         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12463         Likewise.
12464         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12465         Likewise.
12466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12467         Likewise.
12468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12470         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12471         Likewise.
12472         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12473         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12474         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12475         * sysdeps/posix/sleep.c: Likewise.
12476         * sysdeps/posix/tempname.c: Likewise.
12477         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12478         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12479         Likewise.
12480         * sysdeps/powerpc/powerpc32/dl-machine.h
12481         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12482         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12484         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12485         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12486         Likewise.
12487         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12488         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12489         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12490         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12491         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12492         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12493         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12494         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12495         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12496         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12498         (elf_machine_lazy_rel): Likewise.
12499         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12501         (elf_machine_lazy_rel): Likewise.
12502         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12503         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12504         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12505         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12506         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12507         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12508         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12509         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12510         Likewise.
12511         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12512         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12513         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12514         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12515         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12516         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12517         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12518         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12519         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12520         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12521         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12522         Likewise.
12523         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12524         (__posix_fallocate64_l64): Likewise.
12525         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12526         (posix_fallocate): Likewise.
12527         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12530         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12531         (getifaddrs_internal): Likewise.
12532         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12533         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12534         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12535         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12536         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12537         (__posix_fallocate64_l64): Likewise.
12538         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12539         Likewise.
12540         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12542         (__get_clockfreq): Likewise.
12543         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12544         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12545         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12548         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12549         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12550         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12551         Likewise.
12552         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12553         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12554         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12555         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12556         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12557         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12558         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12559         Likewise.
12560         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12561         (posix_fallocate): Likewise.
12562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12563         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12564         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12565         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12566         (elf_machine_rela, elf_machine_rela_relative)
12567         (elf_machine_lazy_rel): Likewise.
12568         * time/asctime.c (asctime_internal): Likewise.
12569         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12570         * time/tzset.c (__tzset_parse_tz): Likewise.
12571         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12572         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12573         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12574         * wcsmbs/wcsmbsload.h: Likewise.
12575
12576         [BZ #15894]
12577         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12578
12579         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12580         (arena_get2): Remove THREAD_STATS conditionals.
12581         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12582         (__malloc_stats, int): Likewise.
12583
12584 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12585
12586         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12587         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12588
12589         * manual/setjmp.texi: Fix typos/grammar errors.
12590
12591         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12592         Only return early when n is <= 0.  Delete unused return statement.
12593
12594         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12595         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12596         * debug/tst-longjmp_chk3.c: New file.
12597
12598         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12599         (test_main): Replace code with set_fortify_handler call.
12600         * debug/test-strcpy_chk.c: Likewise.
12601         * debug/tst-chk1.c: Likewise.
12602         * debug/tst-longjmp_chk.c: Likewise.
12603         * test-skeleton.c: Include fcntl.h & paths.h
12604         (set_fortify_handler): Define.
12605
12606         * debug/tst-longjmp_chk.c: Add header comment and include
12607         ../test-skeleton.c.
12608         (do_test): Mark static.
12609         (TEST_FUNCTION): Define.
12610
12611         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12612         (IP_PMTUDISC_INTERFACE): Likewise.
12613         (IP_MULTICAST_IF): Likewise.
12614         (IP_MULTICAST_TTL): Likewise.
12615         (IP_MULTICAST_LOOP): Likewise.
12616         (IP_ADD_MEMBERSHIP): Likewise.
12617         (IP_DROP_MEMBERSHIP): Likewise.
12618         (IP_UNBLOCK_SOURCE): Likewise.
12619         (IP_BLOCK_SOURCE): Likewise.
12620         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12621         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12622         (IP_MSFILTER): Likewise.
12623         (MCAST_JOIN_GROUP): Likewise.
12624         (MCAST_BLOCK_SOURCE): Likewise.
12625         (MCAST_UNBLOCK_SOURCE): Likewise.
12626         (MCAST_LEAVE_GROUP): Likewise.
12627         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12628         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12629         (MCAST_MSFILTER): Likewise.
12630         (IP_MULTICAST_ALL): Likewise.
12631         (IP_UNICAST_IF): Likewise.
12632
12633         * timezone/Makefile: Delete $(have-ksh) check.
12634         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12635         * timezone/tzselect.ksh: Add +x mode bits.
12636
12637         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12638         (ANON_INODE_FS_MAGIC): Likewise.
12639         (BDEVFS_MAGIC): Likewise.
12640         (BINFMTFS_MAGIC): Likewise.
12641         (BTRFS_TEST_MAGIC): Likewise.
12642         (CRAMFS_MAGIC_WEND): Likewise.
12643         (DEBUGFS_MAGIC): Likewise.
12644         (ECRYPTFS_SUPER_MAGIC): Likewise.
12645         (EXT3_SUPER_MAGIC): Likewise.
12646         (EXT4_SUPER_MAGIC): Likewise.
12647         (FUTEXFS_SUPER_MAGIC): Likewise.
12648         (HOSTFS_SUPER_MAGIC): Likewise.
12649         (HUGETLBFS_MAGIC): Likewise.
12650         (MINIX3_SUPER_MAGIC): Likewise.
12651         (MTD_INODE_FS_MAGIC): Likewise.
12652         (NILFS_SUPER_MAGIC): Likewise.
12653         (OPENPROM_SUPER_MAGIC): Likewise.
12654         (PIPEFS_MAGIC): Likewise.
12655         (PSTOREFS_MAGIC): Likewise.
12656         (QNX6_SUPER_MAGIC): Likewise.
12657         (RAMFS_MAGIC): Likewise.
12658         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12659         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12660         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12661         (SECURITYFS_MAGIC): Likewise.
12662         (SELINUX_MAGIC): Likewise.
12663         (SMACK_MAGIC): Likewise.
12664         (SOCKFS_MAGIC): Likewise.
12665         (SQUASHFS_MAGIC): Likewise.
12666         (STACK_END_MAGIC): Likewise.
12667         (TMPFS_MAGIC): Likewise.
12668         (USBDEVICE_SUPER_MAGIC): Likewise.
12669         (V9FS_MAGIC): Likewise.
12670         (XENFS_SUPER_MAGIC): Likewise.
12671         (CRAMFS_MAGIC): Fix typo in comment.
12672         (EXT2_SUPER_MAGIC): Update comment.
12673         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12674
12675 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12676
12677         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12678         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12679         * sysdeps/unix/sysv/linux/arm: Move directory from
12680         ports/sysdeps/unix/sysv/linux/arm.
12681         * README: Update listing for arm-*-linux-gnueabi.
12682
12683         * README: Remove mention of am33.
12684
12685 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12686
12687         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12688         than the comma operator, to avoid "rhs of comma has no effect"
12689         compiler warnings.
12690         (__sigfillset, __sigandset, __sigorset): Likewise.
12691         * include/signal.h (__sigemptyset): Likewise.
12692         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12693
12694 2014-02-07  Allan McRae  <allan@archlinux.org>
12695
12696         * version.h (RELEASE): Set to "development".
12697         (VERSION): Set to "2.19.90"
12698         * NEWS: Add 2.20 section.
12699
12700 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12701
12702         [BZ #16529]
12703         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12704
12705 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12706
12707         * manual/contrib.texi: Update entry for Carlos O'Donell,
12708         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12709
12710 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12711
12712         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12713
12714         * sysdeps/unix/sysv/linux/kernel-features.h
12715         [__LINUX_KERNEL_VERSION >= 0x020621]
12716         (__ASSUME_PROC_PID_TASK_COMM): Define.
12717
12718 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12719
12720         [BZ #16398]
12721         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12722         conversion when destination buffer does not have enough space.
12723         * libio/tst-ftell-partial-wide.c: New test case.
12724         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12725
12726         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12727         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12728         Leonard and Allan McRae.
12729
12730 2014-02-04  David S. Miller  <davem@davemloft.net>
12731
12732         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12733         32-bit.
12734
12735 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12736
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12738         New file
12739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12740         New file
12741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12742         New file.
12743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12744         New file.
12745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12746         New file.
12747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12748         New file.
12749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12750         New file.
12751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12752         New file.
12753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12754         New file.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12756         New file.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12758         New file.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12760         New file.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12762         New file.
12763
12764 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12765
12766         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12767         * shlib-versions: Likewise.
12768
12769 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12770             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12771
12772         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12773         (abilist-pattern): New variable, set to %-le.abilist.
12774
12775         * Makerules (abilist-pattern): New variable.
12776         (vpath): Use $(abilist-pattern) in place of %.abilist.
12777         (check-abi-% pattern rule): Likewise.
12778         (check-abi, update-abi): Likewise.
12779
12780 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12781
12782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12783
12784 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12785
12786         * manual/startup.texi: Add next, previous, and top entries for
12787         the `Program Arguments' and `Environment Variables' nodes.
12788
12789 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12790
12791         * manual/macros.texi: Add comments before MTASC-safety macros.
12792
12793         * manual/users.texi: Document MTASC-safety properties.
12794
12795         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12796         (pthread_getspecific, pthread_setspecific): Format with
12797         @deftypefun, and add @safety note.
12798         * manual/signal.texi: Move comments that analyze the above
12799         functions to their home place.
12800
12801 2014-02-03  Allan McRae  <allan@archlinux.org>
12802
12803         * po/sl.po: Update Slovenian translation from translation project.
12804
12805 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12806
12807         * manual/time.texi (timegm): Add missing blank after @c.
12808         Reported by Joseph Myers <joseph@codesourcery.com>.
12809
12810 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12811
12812         * manual/check-safety.sh: New.
12813         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12814
12815         * manual/terminal.texi: Document MTASC-safety properties.
12816
12817         * manual/filesys.texi: Document MTASC-safety properties.
12818
12819         * manual/errno.texi: Document MTASC-safety properties.
12820
12821         * manual/intro.texi: Document safety identifiers and
12822         conditionals.
12823
12824         * manual/string.texi (wcstok): Fix prototype.
12825         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12826
12827         * manual/time.texi: Document MTASC-safety properties.
12828
12829         * manual/string.texi: Document MTASC-safety properties.
12830
12831         * manual/threads.texi: Document MTASC-safety properties.
12832
12833         * manual/stdio.texi: Document MTASC-safety properties.
12834
12835         * manual/syslog.texi: Document MTASC-safety properties.
12836
12837         * manual/sysinfo.texi: Document MTASC-safety properties.
12838
12839         * manual/startup.texi: Document MTASC-safety properties.
12840
12841         * manual/socket.texi: Document MTASC-safety properties.
12842
12843         * manual/signal.texi: Document MTASC-safety properties.
12844
12845 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12846
12847         * manual/setjmp.texi: Document MTASC-safety properties.
12848
12849         * manual/search.texi: Document MTASC-safety properties.
12850
12851         * manual/resource.texi: Document MTASC-safety properties.
12852
12853         * manual/process.texi: Document MTASC-safety properties.
12854
12855         * manual/platform.texi: Document MTASC-safety properties.
12856
12857         * manual/pipe.texi: Document MTASC-safety properties.
12858
12859         * manual/pattern.texi: Document MTASC-safety properties.
12860
12861         * manual/message.texi: Document MTASC-safety properties.
12862
12863         [BZ #12751]
12864         * manual/memory.texi: Document MTASC-safety properties.
12865
12866         * manual/math.texi: Document MTASC-safety properties.
12867
12868         * manual/locale.texi: Document MTASC-safety properties.
12869
12870         * manual/llio.texi: Document MTASC-safety properties.
12871
12872         * manual/libdl.texi: New.
12873
12874         * manual/lang.texi: Document MTASC-safety properties.
12875
12876         * manual/job.texi: Document MTASC-safety properties.
12877
12878         * manual/getopt.texi: Document MTASC-safety properties.
12879
12880         * manual/ctype.texi: Document MTASC-safety properties.
12881
12882 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12883
12884         [BZ #16046]
12885         * csu/libc-tls.c (static_map): Remove variable.
12886         (__libc_setup_tls): Use main executable's link map for TLS data.
12887         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12888         casing for LM_ID_BASE and GL(dl_nns).
12889         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12890         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12891         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12892         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12893         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12894         member.
12895         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12896         l_phnum members.
12897
12898 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12899
12900         * manual/debug.texi: Document MTASC-safety properties.
12901
12902 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12903
12904         [BZ #16510]
12905         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12906         of __x86_64__ when disabling x87 inline functions.
12907
12908 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12909
12910         * manual/charset.texi: Document MTASC-safety properties.
12911
12912         * manual/crypt.texi: Document MTASC-safety properties.
12913
12914         * manual/conf.texi: Document MTASC-safety properties.
12915
12916         * manual/arith.texi: Document MTASC-safety properties.
12917
12918         * manual/argp.texi: Document MTASC-safety properties.
12919
12920         * manual/macros.texi: Introduce macros to document multi
12921         thread, asynchronous signal and asynchronous cancellation
12922         safety properties.
12923         * manual/intro.texi: Introduce the properties themselves.
12924
12925 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12926
12927         * sysdeps/sh/sh4/Makefile: New file.
12928
12929 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12930
12931         * math/gen-libm-test.pl ($srcdir): New variable.
12932         ($auto_input): Use it.
12933
12934 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12935
12936         [BZ #16506]
12937         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12938         access beyond array bounds when parsing netgroups file.
12939
12940         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12941         the old buffer before realloc.
12942
12943 2014-01-27  Allan McRae  <allan@archlinux.org>
12944
12945         * po/fr.po: Update French translation from translation project.
12946
12947 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12948
12949         * sysdeps/sh/libm-test-ulps: Regenerate.
12950
12951 2014-01-24  David S. Miller  <davem@davemloft.net>
12952
12953         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12954
12955 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12956
12957         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12958         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12959
12960 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12961
12962         [BZ #16474]
12963         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12964         string pointers after reallocation.
12965
12966 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12967
12968         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12969         __SH4A__ instead of __SH_FPU_ANY__.
12970
12971 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12972
12973         * sysdeps/sh/fpu_control.h: New file.
12974         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12975         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12976         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12977         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12978         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12979         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12980         * sysdeps/sh/sys/ucontext.h: Remove.
12981         * sysdeps/sh/sys: Remove directory.
12982
12983 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12984
12985         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12986         s390/sys/ucontext.h.
12987         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12988         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12989
12990 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12991
12992         [BZ #15605]
12993         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12994
12995 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12996
12997         [BZ#16431]
12998         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12999         Adjust the vDSO correctly for internal calls.
13000         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13001
13002 2014-01-20  Allan McRae  <allan@archlinux.org>
13003
13004         * po/ca.po: Update Catalan translation from translation project.
13005
13006 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13007
13008         * sysdeps/s390/sotruss-lib.c: New file.
13009
13010 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13011
13012         [BZ#16430]
13013         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13014         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13015         local calls issues by not having a PLT stub required for IFUNC calls.
13016         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13017
13018 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13019
13020         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13021         * math/test-fpucw-static.c: Likewise.
13022
13023 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13024
13025         [BZ #16453]
13026         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13027
13028 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13029
13030         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13031         implementation for powerpc.
13032
13033 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13034
13035         [BZ #14782]
13036         * sysdeps/posix/system.c (__libc_system): Do not enable
13037         asynchronous cancellation.
13038
13039 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13040
13041         [BZ #16427]
13042         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13043         handling only for numbers special also in the IEEE case.
13044
13045 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13046
13047         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13048
13049 2014-01-11  Allan McRae  <allan@archlinux.org>
13050
13051         * po/bg.po: Update Bulgarian translation from translation project.
13052
13053         * po/de.po: Update German translation from translation project.
13054
13055 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13056
13057         * sysdeps/generic/gcc-compat.h: New file.
13058
13059 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13060
13061         * benchtests/asin-inputs: Correct slow inputs.
13062         * benchtests/acos-inputs: Likewise.
13063
13064 2014-01-10  Allan McRae  <allan@archlinux.org>
13065
13066         * po:sv.po: Update Swedish translation from translation project.
13067
13068         * po/vi.po: Update Vietnamese translation from translation project.
13069
13070         * po/eo.po: Update Esperanto translation from translation project.
13071
13072         * po/cs.po: Update Czech translation from translation project.
13073
13074         * po/nl.po: Update Dutch translation from translation project.
13075
13076         * po/pl.po: Update Polish translation from translation project.
13077
13078         * po/ru.po: Update Russian translation from translation project.
13079
13080         * po/uk.po: Update Ukrainian translation from translation project.
13081
13082 2014-01-08  Brooks Moses  <bmoses@google.com>
13083
13084         * elf/dl-load.c: Fix comment typo.
13085
13086 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13087
13088         * po/header.pot: Rename to...
13089         * po/pot.header: ... this.
13090         * po/Makefile: Use pot.header.
13091
13092 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13093             Maxim Kuvyrkov  <maxim@kugelworks.com>
13094
13095         [BZ #16394]
13096         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13097         SRC and DEST against LEN.
13098
13099 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13100
13101         [BZ #16414]
13102         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13103         implementation.
13104         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13105
13106 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13107
13108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13109
13110 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13111
13112         [BZ #16408]
13113         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13114         for large positive arguments.
13115
13116 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13117
13118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13119
13120         * math/auto-libm-test-in: Mark various tests with
13121         xfail-rounding:ldbl-128ibm.
13122         * math/auto-libm-test-out: Regenerated.
13123
13124         [BZ #16407]
13125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13126         Increase overflow threshold.
13127
13128 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13129
13130         [BZ #14286]
13131         * stdio-common/vfprintf.c: Check for integer overflow.
13132
13133 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13134
13135         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13136         the first argument and return value of __tls_get_addr_internal.
13137
13138 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13139
13140         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13141         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13142
13143 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13144
13145         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13146         * sysdeps/s390/rtld-global-offsets.sym: New file.
13147         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13148         GLIBC_2.19 symbol.
13149         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13150         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13151         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13152         ... this.
13153         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13154         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13155         ... this.
13156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13157         Regenerate.
13158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13159         Regenerate.
13160         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13161         halfs of GPRs for high_gprs contexts.
13162         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13163         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13164         field.
13165         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13166         uc_flags field.
13167         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13168         64 bit versions:
13169         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13170         for high GPRs (uc_high_gprs) and for future extensions
13171         (__reserved).
13172         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13173         for future extensions (__reserved).
13174         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13175         64 bit versions:
13176         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13177         SC_HIGHGPRS offset definition.
13178         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13179         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13180
13181         * Versions.def: Add GLIBC_2.19 for libpthread.
13182         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13183         siglongjmp for libpthread with GLIBC_2.19 symver.
13184         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13185         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13186         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13187         * sysdeps/s390/__longjmp.c: New file.
13188         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13189         * sysdeps/s390/longjmp.c: New file.
13190         * sysdeps/s390/setjmp.S: New file.
13191         * sysdeps/s390/sigjmp.S: New file.
13192         * sysdeps/s390/v1-longjmp.c: New file.
13193         * sysdeps/s390/v1-setjmp.h: New file.
13194         * sysdeps/s390/v1-sigjmp.c: New file.
13195         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13196         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13197         GLIBC_2.19 version.
13198         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13199         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13200         versioned symbols for ____longjmp_chk.
13201         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13204         Regenerate.
13205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13206         Regenerate.
13207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13208         Regenerate.
13209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13210         Regenerate.
13211         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13212         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13213         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13214         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13215         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13216         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13217         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13218         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13219         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13220         * sysdeps/s390/rtld-__longjmp.c: New file.
13221         * sysdeps/s390/rtld-setjmp.S: New file.
13222
13223 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13224
13225         [BZ #16400]
13226         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13227         Return -__logl (x) for small positive arguments without evaluating
13228         a polynomial.
13229
13230 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13231
13232         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13233         Rename to ...
13234         (__ptrace_peeksiginfo_args): ... this.
13235         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13236         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13237         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13238
13239 2014-01-06  Allan McRae  <allan@archlinux.org>
13240
13241         * inet/netinet/in.h: Fix typo in comment.
13242
13243 2014-01-05  Andreas Jaeger  <aj@suse.de>
13244
13245         * sysdeps/i386/fpu/libm-test-ulps: Update.
13246
13247 2014-01-05  Allan McRae  <allan@archlinux.org>
13248
13249         * po/libc.pot: Regenerated.
13250
13251         * malloc/memusagestat.c: Fix gettext call formatting.
13252
13253 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13254
13255         * nscd/nscd.c: Improve usage() output.
13256
13257 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13258
13259         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13260         * sysdeps/unix/sysv/linux/configure: Regenerated.
13261         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13262         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13263
13264 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13265
13266         [BZ #16390]
13267         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13268         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13269
13270 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13271
13272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13273         extra tokens at end of #undef directive.
13274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13275         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13276         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13277
13278 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13279
13280         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13281
13282         * math/auto-libm-test-in: Mark various tests with
13283         xfail-rounding:ldbl-128ibm.
13284         * math/auto-libm-test-out: Regenerated.
13285
13286 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13287
13288         [BZ #16386]
13289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13290         numbers with subnormal high part when calculating exponent.
13291
13292         [BZ #16385]
13293         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13294         fabs.
13295
13296         [BZ #16384]
13297         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13298         M_LN2l.
13299         (__ieee754_acoshl): Use __log1pl not __log1p.
13300
13301 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13302
13303         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13304         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13305         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13306         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13307         (reused_arena, arena_get2): Convert to GNU style.
13308         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13309         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13310         (memalign_check, __malloc_set_state): Likewise.
13311         * malloc/mallocbug.c (main): Likewise.
13312         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13313         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13314         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13315         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13316         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13317         (__posix_memalign, malloc_info): Likewise.
13318         * malloc/malloc.h: Likewise.
13319         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13320         (mallochook, memalignhook, reallochook, mabort): Likewise.
13321         * malloc/mcheck.h: Likewise.
13322         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13323         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13324         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13325         * malloc/morecore.c (__default_morecore): Likewise.
13326         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13327         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13328         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13329         (print_and_abort): Likewise.
13330         * malloc/obstack.h: Likewise.
13331         * malloc/set-freeres.c (__libc_freeres): Likewise.
13332         * malloc/tst-mallocstate.c (main): Likewise.
13333         * malloc/tst-mtrace.c (main): Likewise.
13334         * malloc/tst-realloc.c (do_test): Likewise.
13335
13336 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13337
13338         [BZ #16366]
13339         * nscd/netgroupcache.c (do_notfound): New function.
13340         (addgetnetgrentX): Use it.
13341
13342         [BZ # 16365]
13343         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13344         NSS_STATUS_NOTFOUND.
13345
13346 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13347
13348         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13350
13351 2014-01-01  Allan McRae  <allan@archlinux.org>
13352
13353         * scripts/update-copyrights: Update configure input file suffix.
13354
13355         * NEWS: Update copyright year.
13356         * catgets/gencat.c: Likewise.
13357         * csu/version.c: Likewise.
13358         * debug/catchsegv.sh: Likewise.
13359         * debug/pcprofiledump.c: Likewise.
13360         * debug/xtrace.sh: Likewise.
13361         * elf/ldconfig.c: Likewise.
13362         * elf/ldd.bash.in: Likewise.
13363         * elf/pldd.c: Likewise.
13364         * elf/sotruss.ksh: Likewise.
13365         * elf/sprof.c: Likewise.
13366         * iconv/iconv_prog.c: Likewise.
13367         * iconv/iconvconfig.c: Likewise.
13368         * locale/programs/locale.c: Likewise.
13369         * locale/programs/localedef.c: Likewise.
13370         * login/programs/pt_chown.c: Likewise.
13371         * malloc/memusage.sh: Likewise.
13372         * malloc/memusagestat.c: Likewise.
13373         * malloc/mtrace.pl: Likewise.
13374         * manual/libc.texinfo: Likewise.
13375         * nscd/nscd.c: Likewise.
13376         * nss/getent.c: Likewise.
13377         * nss/makedb.c: Likewise.
13378         * posix/getconf.c: Likewise.
13379         * scripts/test-installation.pl: Likewise.
13380
13381         * All files with FSF copyright notices: Update copyright dates
13382         using scripts/update-copyrights.
13383         * intl/plural.c: Regenerated.
13384         * locale/programs/charmap-kw.h: Likewise.
13385         * locale/programs/locfile-kw.h: Likewise.
13386
13387 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13388
13389         * sysdeps/unix/sysv/linux/configure: Regenerated.
13390         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13391         the linux/fanotify.h header.
13392         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13393         HAVE_LINUX_FANOTIFY_H is defined.
13394
13395 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13396
13397         * benchtests/cos-inputs: New inputs.
13398         * benchtests/sin-inputs: Likewise.
13399
13400         * benchtests/atan-inputs: New inputs. Fix name of multiple
13401         precision fallback inputs.
13402
13403         * benchtests/atanh-inputs: New inputs.
13404         * benchtests/tanh-inputs: Likewise.
13405
13406         * benchtests/acosh-inputs: New inputs.
13407         * benchtests/asinh-inputs: Likewise.
13408
13409         * benchtests/cosh-inputs: New inputs.
13410         * benchtests/sinh-inputs: Likewise.
13411
13412         * benchtests/acos-inputs: Add more inputs.
13413         * benchtests/asin-inputs: Likewise.
13414
13415 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13416
13417         [BZ #16375]
13418         * manual/arith.texi: Fix spelling.
13419         * manual/charset.texi: Likewise.
13420         * manual/errno.texi: Likewise.
13421         * manual/filesys.texi: Likewise.
13422         * manual/lang.texi: Likewise.
13423         * manual/llio.texi: Likewise.
13424         * manual/locale.texi: Likewise.
13425         * manual/message.texi: Likewise.
13426         * manual/resource.texi: Likewise.
13427         * manual/search.texi: Likewise.
13428         * manual/setjmp.texi: Likewise.
13429         * manual/stdio.texi: Likewise.
13430         * manual/string.texi: Likewise.
13431         * manual/sysinfo.texi: Likewise.
13432         * manual/time.texi: Likewise.
13433
13434 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13435
13436         * po/sl.po: New file.
13437
13438 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13439
13440         * .gitignore: Add core/.gdbinit/.gdb_history.
13441
13442 2013-12-27  Allan McRae  <allan@archlinux.org>
13443
13444         [BZ #16369]
13445         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13446         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13447
13448 2013-12-24  Brooks Moses  <bmoses@google.com>
13449
13450         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13451         all compilers that claim C++98 compliance, not just GCC.
13452         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13453         Likewise.
13454
13455 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13456
13457         * NEWS: Restore accidentally deleted bug-fix entries.
13458
13459 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13460             Ondřej Bílka  <neleai@seznam.cz>
13461
13462         [BZ #15073]
13463         * malloc/malloc.c (_int_free): Perform sanity check only if we
13464         have_lock.
13465
13466 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13467
13468         [BZ #12986]
13469         * manual/stdio.texi (String Input Conversions): Clarify that character
13470         classes are not supported.
13471
13472 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13473
13474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13475
13476 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13477
13478         [BZ #16337]
13479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13480         Calculate results for small negative arguments directly rather
13481         than using reflection formula with special underflow handling.
13482
13483         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13484         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13485         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13486         (fchflags): Likewise.
13487         (revoke): Likewise.
13488         (setlogin): Likewise.
13489         (sigaltstack): Likewise.
13490         (wait4): Likewise.
13491         (sigblock): Remove.
13492         (sigsetmask): Likewise.
13493         (wait3): Likewise.
13494         (waitpid): Likewise.
13495         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13496         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13497         file.
13498         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13499         * sysdeps/unix/bsd/Makefile: ... here.
13500         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13501         * sysdeps/unix/bsd/Versions: ... here.
13502         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13503         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13504         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13505         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13506         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13507         * sysdeps/unix/bsd/sigblock.c: ... here.
13508         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13509         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13510         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13511         * sysdeps/unix/bsd/sigvec.c: ... here.
13512         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13513         * sysdeps/unix/bsd/tcdrain.c: ... here.
13514         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13515         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13516         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13517         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13518         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13519         * sysdeps/unix/bsd/wait.c: ... here.
13520         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13521         * sysdeps/unix/bsd/wait3.c: ... here.
13522         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13523         * sysdeps/unix/bsd/waitpid.c: ... here.
13524
13525 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13526
13527         [BZ #16356]
13528         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13529         round-to-nearest for [!USE_AS_EXPM1L].
13530         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13531         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13532         more tests of exp and exp10.  Expect some exp10 tests to miss
13533         exceptions or fail in directed rounding modes.
13534         * math/auto-libm-test-out: Regenerated.
13535         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13536         (exp10_test_tonearest): New function.
13537         (exp10_towardzero_test_data): New array.
13538         (exp10_test_towardzero): New function.
13539         (exp10_downward_test_data): New array.
13540         (exp10_test_downward): New function.
13541         (exp10_upward_test_data): New array.
13542         (exp10_test_upward): New function.
13543         (main): Call the new functions.
13544         * sysdeps/i386/fpu/libm-test-ulps: Update.
13545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546
13547 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13548
13549         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13550         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13551         * math/auto-libm-test-out: Regenerated.
13552         * math/libm-test.inc (acosh_test_data): Add more tests.
13553         (atanh_test_data): Likewise.
13554         (ceil_test_data): Likewise.
13555         (copysign_test_data): Likewise.
13556         * sysdeps/i386/fpu/libm-test-ulps: Update.
13557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558
13559         * timezone/checktab.awk: Update from tzcode 2013i.
13560         * timezone/private.h: Likewise.
13561         * timezone/scheck.c: Likewise.
13562         * timezone/tzfile.h: Likewise.
13563         * timezone/tzselect.ksh: Likewise.
13564         * timezone/zdump.c: Likewise.
13565         * timezone/zic.c: Likewise.
13566
13567         * math/auto-libm-test-in: Add tests of cpow.
13568         * math/auto-libm-test-out: Regenerated.
13569         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13571         mpc_cc_c.
13572         (func_calc_desc): Add mpc_cc_c union field.
13573         (test_functions): Add cpow.
13574         (special_fill_2pi): New function.
13575         (special_real_inputs): Add 2pi.
13576         (calc_generic_results): Handle mpc_cc_c.
13577         * sysdeps/i386/fpu/libm-test-ulps: Update.
13578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13579
13580         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13581         csqrt, ctan and ctanh.
13582         * math/auto-libm-test-out: Regenerated.
13583         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13584         (TEST_COND_x86): Likewise.
13585         (ccos_test_data): Use AUTO_TESTS_c_c.
13586         (ccosh_test_data): Likewise.
13587         (cexp_test_data): Likewise.
13588         (clog_test_data): Likewise.
13589         (csqrt_test_data): Likewise.
13590         (ctan_test_data): Likewise.
13591         (ctan_tonearest_test_data): Likewise.
13592         (ctan_towardzero_test_data): Likewise.
13593         (ctan_downward_test_data): Likewise.
13594         (ctan_upward_test_data): Likewise.
13595         (ctanh_test_data): Likewise.
13596         (ctanh_tonearest_test_data): Likewise.
13597         (ctanh_towardzero_test_data): Likewise.
13598         (ctanh_downward_test_data): Likewise.
13599         (ctanh_upward_test_data): Likewise.
13600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13601         mpc_c_c.
13602         (func_calc_desc): Add mpc_c_c union field.
13603         (FUNC_mpc_c_c): New macro.
13604         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13605         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13606         ctanh.
13607         (special_fill_min_subnorm_p120): New function.
13608         (special_real_inputs): Add min_subnorm_p120.
13609         (calc_generic_results): Handle mpc_c_c.
13610         * sysdeps/i386/fpu/libm-test-ulps: Update.
13611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612
13613 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13614
13615         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13616         (do_sin_slow): New functions.
13617         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13618         (cslow2, csloww1, csloww2): Use the new functions.
13619
13620         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13621         Use M to change sign of result instead of X.  Assume X is
13622         positive.
13623         (csloww1): Likewise.
13624         (__sin): Adjust.
13625         (__cos): Adjust.
13626
13627         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13628         arguments A and DA.
13629         (__sin): Adjust.
13630         (__cos): Likewise.
13631
13632         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13633         (__cos): Likewise.
13634         (sloww1): Don't adjust sign of DX.
13635         (csloww1): Likewise.
13636         (sloww2): Use X directly and don't adjust sign of DX.
13637         (csloww2): Likewise.
13638
13639 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13640
13641         * math/auto-libm-test-in: Add tests of cabs and carg.
13642         * math/auto-libm-test-out: Regenerated.
13643         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13644         (carg_test_data): Likewise.
13645         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13646         mpc_c_f.
13647         (func_calc_desc): Add mpc_c_f union field.
13648         (test_functions): Add cabs and carg.
13649         (calc_generic_results): Handle mpc_c_f.
13650
13651         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13652         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13653         as a macro and a compat symbol.
13654         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13655         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13656         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13657         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13658         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13659         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13660         not use .hidden.
13661         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13662         Likewise.
13663         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13664         Likewise.
13665         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13666         Likewise.
13667         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13668         Likewise.
13669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13670         Likewise.
13671         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13672         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13673         from GLIBC_2.3.2.
13674
13675 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13676
13677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13678
13679 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13680
13681         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13682         trailing whitespace removed.
13683         * scripts/config.guess: Update to version 2013-11-29.
13684         * scripts/config.sub: Update to version 2013-10-01.
13685
13686         * math/auto-libm-test-in: Add tests of sincos.
13687         * math/auto-libm-test-out: Regenerated.
13688         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13690         mpfr_f_11.
13691         (func_calc_desc): Add mpfr_f_11 union field.
13692         (test_functions): Add sincos.
13693         (calc_generic_results): Handle mpfr_f_11.
13694         * sysdeps/i386/fpu/libm-test-ulps: Update.
13695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696
13697 2013-12-19  Andreas Schwab  <schwab@suse.de>
13698
13699         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13700         CALL_MCOUNT.
13701         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13702         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13703         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13704
13705 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13706
13707         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13708         * sysdeps/i386/fpu/libm-test-ulps: Update.
13709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710
13711         [BZ #16293]
13712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13713         round-to-nearest mode when using frndint.
13714         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13715         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13716         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13717         Likewise.
13718         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13719         sinh test to fail.
13720         * math/auto-libm-test-out: Regenerated.
13721         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13722         (TEST_COND_x86): Likewise.
13723         (expm1_tonearest_test_data): New array.
13724         (expm1_test_tonearest): New function.
13725         (expm1_towardzero_test_data): New array.
13726         (expm1_test_towardzero): New function.
13727         (expm1_downward_test_data): New array.
13728         (expm1_test_downward): New function.
13729         (expm1_upward_test_data): New array.
13730         (expm1_test_upward): New function.
13731         (main): Run the new test functions.
13732         * sysdeps/i386/fpu/libm-test-ulps: Update.
13733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13734
13735         * include/features.h: Update comment documenting feature test
13736         macros.  Mention _DEFAULT_SOURCE in comment.
13737         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13738         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13739         _BSD_SOURCE and _SVID_SOURCE.
13740         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13741         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13742         !_SVID_SOURCE]: Likewise.
13743         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13744         (__USE_POSIX_IMPLICITLY): Define.
13745         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13746         (_POSIX_SOURCE): Undefine and redefine.
13747         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13748         (_POSIX_C_SOURCE): Likewise.
13749         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13750         (Feature Test Macros): Update documentation of default features.
13751
13752 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13753
13754         * benchtests/Makefile: Add bench-strtok.
13755         * benchtests/bench-strtok.c: New file: strtok benchtest.
13756
13757 2013-12-19  Allan McRae  <allan@archlinux.org>
13758
13759         * manual/install.texi: Suppress menu for plain text output.
13760         * INSTALL: Regenerated.
13761
13762 2013-12-18  Brooks Moses  <bmoses@google.com>
13763
13764         [BZ #15846]
13765         * misc/getauxval.c: Include errno.h.
13766         (__getauxval): Set errno to ENOENT if the requested type is not
13767         found.
13768         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13769         don't declare with __attribute_const__.
13770         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13771         * manual/startup.texi: Document that getauxval sets errno.
13772
13773 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13774
13775         * math/auto-libm-test-in: Add tests of jn and yn.
13776         * math/auto-libm-test-out: Regenerated.
13777         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13778         (yn_test_data): Likewise.
13779         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13780         mpfr_if_f.
13781         (func_calc_desc): Add mpfr_if_f union field.
13782         (FUNC_mpfr_if_f): New macro.
13783         (test_functions): Add jn and yn.
13784         (calc_generic_results): Assert type of second input for
13785         mpfr_ff_f.  Handle mpfr_if_f.
13786         (output_for_one_input_case): Disable all checking for arguments
13787         fitting floating-point types in case of an integer argument.
13788         * sysdeps/i386/fpu/libm-test-ulps: Update.
13789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13790
13791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13792         Don't expect fegetround reference in libm.so.
13793
13794 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13795
13796         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13797         $(config-cflags-nofma).
13798
13799 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13800
13801         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13802         * math/auto-libm-test-out: Regenerated.
13803
13804         [BZ #16338]
13805         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13806         to determine exponent and adjust argument to have exponent of -1.
13807         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13808         log2.
13809         * math/auto-libm-test-out: Regenerated.
13810         * sysdeps/i386/fpu/libm-test-ulps: Update.
13811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812
13813 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13814
13815         * manual/probes.texi: Remove cases when per-thread arenas are
13816         disabled.
13817
13818 2013-12-18  Andreas Schwab  <schwab@suse.de>
13819
13820         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13821         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13822         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13823         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13824         * sysdeps/i386/i686/multiarch/Makefile: Update.
13825         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13826
13827 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13828
13829         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13830         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13831
13832 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13833
13834         [BZ #15968]
13835         Support TZ transition times < 00:00:00.
13836         This is needed for version-3 tz-format files; it supports time
13837         stamps past 2037 for America/Godthab (the only entry in the tz
13838         database for which this change is relevant).
13839         * manual/time.texi (TZ Variable): Document transition times
13840         from -167:59:59 through -00:00:01.
13841         * time/tzset.c (tz_rule): Time of day is now signed.
13842         (__tzset_parse_tz): Parse negative time of day.
13843
13844         Document TZ transition times >= 25:00:00.
13845         * manual/time.texi (TZ Variable): Document transition times from
13846         25:00:00 through 167:59:59.  These are already supported, and this
13847         support will help with version-3 tz-format files.
13848
13849         * manual/time.texi (TZ Variable): Modernize North America example
13850         to reflect current (i.e., 2007-and-later) daylight saving rules.
13851
13852         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13853
13854 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13855
13856         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13857         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13858         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13860         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13861         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13862         * sysdeps/unix/bsd/clock.c: Likewise.
13863         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13864         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13865         * sysdeps/unix/bsd/init-posix.c: Likewise.
13866         * sysdeps/unix/bsd/poll.c: Likewise.
13867         * sysdeps/unix/bsd/ptsname.c: Likewise.
13868         * sysdeps/unix/bsd/seekdir.c: Likewise.
13869         * sysdeps/unix/bsd/setegid.c: Likewise.
13870         * sysdeps/unix/bsd/seteuid.c: Likewise.
13871         * sysdeps/unix/bsd/setgid.c: Likewise.
13872         * sysdeps/unix/bsd/setrgid.c: Likewise.
13873         * sysdeps/unix/bsd/setruid.c: Likewise.
13874         * sysdeps/unix/bsd/setsid.c: Likewise.
13875         * sysdeps/unix/bsd/setuid.c: Likewise.
13876         * sysdeps/unix/bsd/sigaction.c: Likewise.
13877         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13878         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13879         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13880         * sysdeps/unix/bsd/telldir.c: Likewise.
13881         * sysdeps/unix/bsd/times.c: Likewise.
13882         * sysdeps/unix/bsd/usleep.c: Likewise.
13883
13884         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13885         ($(objpfx)libbsd-compat.a): Remove rule.
13886
13887         * include/features.h (__FAVOR_BSD): Do not define.
13888         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13889         features conflicting with POSIX.
13890         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13891         (_BSD_SOURCE): Remove description of not being a subset of other
13892         feature test macros.
13893         * manual/job.texi (getpgrp): Do not document BSD version.
13894         (getpgid): Do not document by reference to BSD getpgrp.
13895         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13896         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13897         * signal/signal.h [__FAVOR_BSD]: Likewise.
13898         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13899         instead of making contents conditional on [__FAVOR_BSD].
13900         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13901
13902 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13903
13904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13905
13906 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13907
13908         [BZ #16314]
13909         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13910         values below 2**-450, not 2**-500.
13911         * math/auto-libm-test-in: Don't allow spurious underflow from
13912         hypot.
13913         * math/auto-libm-test-out: Regenerated.
13914
13915         [BZ #16316]
13916         [BZ #16330]
13917         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13918         values of ha and hb and sort them after adjusting subnormal
13919         arguments.
13920         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13921         Likewise.
13922         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13923         values of ea and eb and sort them after adjusting subnormal
13924         arguments.
13925         * math/auto-libm-test-in: Do not expect some hypot tests of
13926         subnormals to fail.  Add more hypot tests.
13927         * math/auto-libm-test-out: Regenerated.
13928
13929 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13930
13931         [BZ #13304]
13932         * sysdeps/sh/s_fma.c: New file.
13933         * sysdeps/sh/s_fmaf.c: New file.
13934         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13935         version.
13936         * sysdeps/sh/Implies: Add sh/soft-fp.
13937
13938 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13939
13940         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13941         level of indirection to members `objname', `errstring', `malloced'.
13942         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13943         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13944         it as the __longjmp argument (just pass 1 instead).
13945         (_dl_catch_error): Initialize C with argument pointers and address of
13946         volatile local ERRCODE rather than copying values out of C at return.
13947
13948 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13949
13950         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13951         * math/auto-libm-test-out: Regenerated.
13952         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13953         (hypot_test_data): Likewise.
13954         (pow_test_data): Likewise.
13955         (pow_tonearest_test_data): Likewise.
13956         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13957         mpfr_ff_f.
13958         (func_calc_desc): Add mpfr_ff_f union field.
13959         (FUNC_mpfr_ff_f): New macro.
13960         (test_functions): Add atan2, hypot and pow.
13961         (special_fill_min): New function.
13962         (special_fill_minus_min): Likewise.
13963         (special_fill_min_subnorm): Likewise.
13964         (special_fill_minus_min_subnorm): Likewise.
13965         (special_real_inputs): Add min, -min, min_subnorm and
13966         -min_subnorm.
13967         (calc_generic_results): Handle mpfr_ff_f.
13968         * sysdeps/i386/fpu/libm-test-ulps: Update.
13969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13970
13971 2013-12-16  Will Newton  <will.newton@linaro.org>
13972
13973         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13974         (Aligned Memory Blocks): Add documentation for aligned_alloc
13975         and suggest it as an alternative to posix_memalign.
13976         (Hooks for Malloc): Document __memalign_hook is also called
13977         for aligned_alloc.  (Summary of Malloc): Add summary for
13978         aligned alloc.  Document __memalign_hook is also called
13979         for aligned_alloc.
13980
13981 2013-12-16  Will Newton  <will.newton@linaro.org>
13982
13983         * manual/memory.texi (Malloc Examples): Clarify default
13984         alignment documentation.  Suggest posix_memalign rather
13985         than memalign or valloc.
13986         (Aligned Memory Blocks): Remove suggestion to use memalign
13987         or valloc.  Remove obsolete comment about BSD.
13988         Document memalign errno values and mark the function obsolete.
13989         Document posix_memalign returned error codes.  Mark valloc
13990         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13991         called for posix_memalign and valloc.
13992         (Summary of Malloc): Add posix_memalign to function summary.
13993         __memalign_hook is also called for posix_memalign and valloc.
13994
13995 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996
13997         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13998         TAYLOR_SIN.
13999         (__sin): Adjust.
14000         (__cos): Likewise.
14001         (sloww): Use mynumber union.  Expand ternary operator into
14002         if-else statements.
14003         (cslow): use mynumber union.
14004
14005 2013-12-16  Allan McRae  <allan@archlinux.org>
14006
14007         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14008         * configure: Regenerated.
14009
14010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14011
14012         [BZ #14120]
14013         * configure.ac: Added --enable-maintainer-mode. Check for
14014         autoconf when enabled.
14015         * configure: Regenerated.
14016
14017         * nscd/nscd.service: New file.
14018         * nscd/nscd.tmpfiles: New file.
14019
14020 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14021
14022         [BZ #12100]
14023         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14024         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14025         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14026         (strstr): Add __strstr_sse2_unaligned ifunc.
14027         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14028         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14029         (strcasestr): Remove __strcasestr_sse42 ifunc.
14030         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14033
14034 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14035
14036         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14037         * sysdeps/sh/bits/fenv.h: ... here.
14038         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14039
14040 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14041
14042         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14043
14044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14045         hypotf multiarch implementations.
14046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14049         multiarch hypot for PPC64.
14050         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14051         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14052         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14053         multiarch hypotf for PPC64.
14054
14055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14056         modff multiarch implementations.
14057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14060         multiarch modf for PPC64.
14061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14064         multiarch modff for PPC64.
14065
14066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14067         and logl multiarch implementations.
14068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14071         multiarch logb for PPC64.
14072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14075         multiarch logb for PPC64.
14076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14079         multiarch logb for PPC64.
14080
14081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14082         isinff multiarch implementation.
14083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14084         file.
14085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14087         multiarch isinf for PPC64.
14088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14089         file.
14090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14091         multiarch isinff for PPC64.
14092
14093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14094         finitef multiarch implementation.
14095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14096         file.
14097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14099         multiarch finite for PPC64.
14100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14101         file.
14102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14103         multiarch finitef for PPC64.
14104
14105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14106         lrint multiarch implementation.
14107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14108         file.
14109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14111         multiarch llrint for PPC64.
14112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14113         multiarch lrint for PPC64.
14114
14115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14116         copysignf multiarch implementation.
14117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14118         file.
14119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14120         file.
14121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14122         multiarch copysign for PPC64.
14123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14124         multiarch copysignf for PPC64.
14125
14126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14127         multiarch implementation.
14128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14129         file.
14130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14131         file.
14132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14133         file.
14134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14135         file.
14136         multiarch llround for PPC64.
14137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14138         multiarch trunc for PPC64.
14139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14140         multiarch truncf for PPC64.
14141
14142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14143         multiarch implementation.
14144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14145         file.
14146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14147         file.
14148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14149         file.
14150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14151         file.
14152         multiarch llround for PPC64.
14153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14154         multiarch round for PPC64.
14155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14156         multiarch roundf for PPC64.
14157
14158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14159         multiarch implementation.
14160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14161         file.
14162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14163         file.
14164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14165         file.
14166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14167         file.
14168         multiarch llround for PPC64.
14169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14170         multiarch floor for PPC64.
14171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14172         multiarch floorf for PPC64.
14173
14174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14175         multiarch implementation.
14176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14177         file.
14178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14179         file.
14180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14181         file.
14182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14183         file.
14184         multiarch llround for PPC64.
14185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14186         multiarch ceil for PPC64.
14187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14188         multiarch ceilf for PPC64.
14189
14190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14191         multiarch implementation.
14192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14193         file.
14194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14195         file.
14196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14197         file.
14198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14199         multiarch llround for PPC64.
14200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14201         multiarch lround for PPC64.
14202
14203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14204         multiarch implementation.
14205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14208         file.
14209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14212         multiarch isnan for PPC64.
14213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14214         multiarch isnanf for PPC64.
14215
14216         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14217         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14218         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14219         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14220         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14222
14223         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14224         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14225         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14227
14228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14229         multiarch implementations.
14230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14231         (__libc_ifunc_impl_list): Likewise.
14232         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14233         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14234         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14235         multiarch stpcpy for PPC64.
14236
14237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14238         multiarch implementations.
14239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14240         (__libc_ifunc_impl_list): Likewise.
14241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14242         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14243         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14244         multiarch strcpy for PPC64.
14245
14246         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14247         redefine function name.
14248         (_wordcopy_fwd_dest_aligned): Likewise.
14249         (_wordcopy_bwd_aligned): Likewise.
14250         (_wordcopy_bwd_dest_aligned): Likewise.
14251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14252         multiarch implementations.
14253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14254         (__libc_ifunc_impl_list): Likewise.
14255         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14256         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14259         multiarch wcscpy for PPC64.
14260
14261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14262         multiarch implementations.
14263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14264         (__libc_ifunc_impl_list): Likewise.
14265         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14266         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14267         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14268         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14269         multiarch wcscpy for PPC64.
14270
14271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14272         multiarch implementations.
14273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14274         (__libc_ifunc_impl_list): Likewise.
14275         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14276         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14277         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14278         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14279         multiarch wcsrchr for PPC64.
14280
14281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14282         multiarch implementations.
14283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14284         (__libc_ifunc_impl_list): Likewise.
14285         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14286         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14287         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14288         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14289         multiarch wcschr for PPC64.
14290
14291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14292         multiarch implementations.
14293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14294         (__libc_ifunc_impl_list): Likewise.
14295         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14296         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14297         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14298         multiarch strchrnul for PPC64.
14299
14300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14301         implementations.
14302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14303         (__libc_ifunc_impl_list): Likewise.
14304         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14305         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14306         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14307         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14308         strchr for PPC64.
14309
14310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14311         implementations.
14312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14313         (__libc_ifunc_impl_list): Likewise.
14314         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14315         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14316         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14317         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14318         strncmp for PPC64.
14319
14320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14321         multiarch implementations.
14322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14323         (__libc_ifunc_impl_list): Likewise.
14324         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14325         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14326         strncasecmp for PPC64.
14327         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14328         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14329         multiarch strncasecmp_l for PPC64.
14330
14331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14332         multiarch implementations.
14333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14334         (__libc_ifunc_impl_list): Likewise.
14335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14336         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14337         multiarch strcasecmp for PPC64.
14338         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14339         file.
14340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14341         multiarch strcasecmp_l for PPC64.
14342
14343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14344         implementations.
14345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14346         (__libc_ifunc_impl_list): Likewise.
14347         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14348         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14349         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14350         strnlen for PPC64.
14351
14352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14353         implementations.
14354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14355         (__libc_ifunc_impl_list): Likewise.
14356         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14357         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14358         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14359         strlen for PPC64.
14360
14361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14362         implementations.
14363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14364         (__libc_ifunc_impl_list): Likewise.
14365         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14366         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14367         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14368         rawmemrchr for PPC64.
14369
14370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14371         implementation.
14372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14373         (__libc_ifunc_impl_list): Likewise.
14374         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14375         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14376         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14377         memrchr for PPC64.
14378
14379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14380         implementation.
14381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14382         (__libc_ifunc_impl_list): Likewise.
14383         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14384         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14385         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14386         memchr for PPC64.
14387
14388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14389         implementation.
14390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14391         (__libc_ifunc_impl_list): Likewise.
14392         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14393         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14394         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14395         mempcpy for PPC64.
14396
14397         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14398         avoid cretion of __bzero symbol.
14399         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14400         Likewise.
14401         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14402         Likewise.
14403         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14404         Likewise.
14405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14406         multiarch implementations.
14407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14408         (__libc_ifunc_impl_list): Likewise.
14409         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14411         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14412         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14413         bzero for PPC32.
14414         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14415         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14416         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14417         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14418         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14419         memset for PPC64.
14420         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14421
14422         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14424         implementations.
14425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14426         (__libc_ifunc_impl_list): Likewise.
14427         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14428         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14429         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14430         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14431         memcmp for PPC64.
14432
14433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14434         multiarch for POWER/PPC64.
14435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14436         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14437         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14438         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14440         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14441         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14442         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14443         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14444         memcpy for PPC64.
14445
14446         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14447         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14448         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14449         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14450         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14451         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14452         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14453         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14454         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14455         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14456         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14457         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14458         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14459         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14460         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14468
14469 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14470
14471         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14472
14473 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14474
14475         * benchtests/Makefile (bench): Add exp2 and log2.
14476         (LDLIBS-bench-exp2): Add -lm.
14477         (LDLIBS-bench-log2): Likewise.
14478         * benchtests/exp2-inputs: New inputs file.
14479         * benchtests/log2-inputs: New inputs file.
14480         * benchtests/log-inputs: Add new inputs.
14481         * benchtests/tan-inputs: Likewise.
14482
14483 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484
14485         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14486         definition...
14487         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14488         (csloww2): ... from here.
14489
14490         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14491         instead of structures.
14492         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14493         (POLYNOMIAL): Likewise.
14494         (TAYLOR_SLOW): Likewise.
14495         (__sin): Likewise.
14496         (__cos): Likewise.
14497         (slow1): Likewise.
14498         (slow2): Likewise.
14499         (sloww): Likewise.
14500         (sloww1); Likewise.
14501         (sloww2): Likewise.
14502         (bsloww1): Likewise.
14503         (bsloww2): Likewise.
14504         (cslow2): Likewise.
14505         (csloww): Likewise.
14506         (csloww1): Likewise.
14507         (csloww2): Likewise.
14508
14509 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14510
14511         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14512         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14513         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14514         * malloc/hooks.c (realloc_check): Likewise.
14515
14516         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14517         * malloc/arena.c: Remove PER_THREAD conditional.
14518         [!PER_THREAD]: Remove code.
14519         (ptmalloc_unlock_all2): Likewise.
14520         (ptmalloc_init): Likewise.
14521         (_int_new_arena): Likewise.
14522         (arena_get2): Likewise.
14523         * malloc/hooks.c (__malloc_get_state): Likewise.
14524         (__malloc_set_state): Likewise.
14525         * malloc/malloc.c: Likewise.
14526         (struct malloc_state): Likewise.
14527         (struct malloc_par): Likewise.
14528         (__libc_realloc): Likewise.
14529         (__libc_mallopt): Likewise.
14530
14531 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14532
14533         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14534
14535 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14536
14537         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14538         macro to a function.  Check for zero perturb_byte.
14539         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14540
14541         * malloc/malloc.c: (force_reg): Remove.
14542         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14543         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14544         force_reg by atomic_forced_read.
14545         * malloc/arena.c (ptmalloc_init): Likewise.
14546         * malloc/hooks.c (top_check): Likewise.
14547
14548 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14549
14550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14551
14552 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14553
14554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14555
14556 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14557
14558         * math/auto-libm-test-in: Add tests of lgamma.
14559         * math/auto-libm-test-out: Regenerated.
14560         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14561         (M_LOG_2_SQRT_PIl): Likewise.
14562         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14564         mpfr_f_f1.
14565         (func_calc_desc): Add mpfr_f_f1 union field.
14566         (ARGS1): New macro.
14567         (ARGS2): Likewise.
14568         (ARGS3): Likewise.
14569         (ARGS4): Likewise.
14570         (RET1): Likewise.
14571         (RET2): Likewise.
14572         (CALC): Likewise.
14573         (FUNC): Likewise.
14574         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14575         (test_functions): Add lgamma.
14576         (calc_generic_results): Handle mpfr_f_f1.
14577         * sysdeps/i386/fpu/libm-test-ulps: Update.
14578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14579
14580 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14581
14582         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14583         __mpn_add_n for PowerPC64/POWER7.
14584         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14585         __mpn_sub_n for PowerPC64/POWER7.
14586
14587         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14588         __mpn_addmul_1 for PowerPC64.
14589         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14590         __mpn_submul_1 for PowerPC64.
14591         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14592         for PowerPC64.
14593         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14594         for PowerPC64.
14595
14596 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14597
14598         [BZ #15089]
14599         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14600
14601 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14602
14603         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14604
14605         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14606         add multiarch folders.
14607         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14608         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14609         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14610         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14611         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14612         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14613         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14614         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14615         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14616         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14617         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14624
14625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14626         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14628         New file.
14629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14630         New file.
14631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14632         multiarch __ieee754_hypot for PowerPC32.
14633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14634         New file.
14635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14636         New file.
14637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14638         multiarch __ieee754_hypotf for PowerPC32.
14639
14640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14641         long_double_symbol only if __logbl is defined.
14642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14643         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14645         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14647         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14649         path for implementation.
14650         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14651         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14653         logb, and logbl multiarch implementations for PowerPC32.
14654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14655         file.
14656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14657         file.
14658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14659         multiarch logb for PowerPC32.
14660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14661         file.
14662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14663         file.
14664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14665         multiarch logbf for PowerPC32.
14666         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14668         file.
14669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14670         multiarch logbl implementation for PowerPC32.
14671
14672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14673         and modff multiarch implementations.
14674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14675         New file.
14676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14677         New file.
14678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14679         multiarch modf for PowerPC32.
14680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14681         New file.
14682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14683         New file.
14684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14685         multiarch modff for PowerPC32.
14686
14687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14688         and lrintf multiarch implementations.
14689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14690         New file.
14691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14692         New file.
14693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14694         multiarch lrint for PowerPC32.
14695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14696         file: multiarch lrintf for PowerPC32.
14697
14698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14699         and lroundf multiarch implementations.
14700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14701         New file.
14702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14703         New file.
14704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14705         New file.
14706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14707         multiarch lround for PowerPC32.
14708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14709         file: multiarch lroundf for PowerPC32.
14710
14711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14712         copysign and copysignf multiarch implementations.
14713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14714         New file.
14715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14716         New file.
14717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14718         file: multiarch copysign for PowerPC32.
14719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14720         file: multiarch copysignf for PowerPC32.
14721
14722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14723         and truncf multiarch implementations.
14724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14725         New file.
14726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14727         file.
14728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14729         multiarch trunc for PowerPC32.
14730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14731         New file.
14732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14733         New file.
14734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14735         multiarch truncf for PowerPC32.
14736
14737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14738         and roundf multiarch implementations.
14739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14740         New file.
14741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14742         file.
14743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14744         multiarch round for PowerPC32.
14745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14746         New file.
14747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14748         New file.
14749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14750         multiarch roundf for PowerPC32.
14751
14752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14753         and floorf multiarch implementations.
14754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14755         New file.
14756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14757         file.
14758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14759         multiarch floor for PowerPC32.
14760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14761         New file.
14762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14763         New file.
14764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14765         multiarch floorf for PowerPC32.
14766
14767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14768         and ceilf multiarch implementations.
14769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14770         New file.
14771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14772         file.
14773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14774         multiarch ceil for PowerPC32.
14775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14776         New file.
14777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14778         file.
14779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14780         multiarch ceilf for PowerPC32.
14781
14782         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14783         is defined.
14784         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14785         FINITEF is defined.
14786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14787         and finitef multiarch implementations.
14788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14789         New file.
14790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14791         file.
14792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14793         multiarch finite for PowerPC32.
14794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14795         New file.
14796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14797         file: multiarch finitef for PowerPC32.
14798
14799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14800         and isinff multiarch implementations.
14801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14802         file.
14803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14804         file.
14805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14806         multiarch isinf for PowerPC32.
14807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14808         New file.
14809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14810         multiarch isinff for PowerPC32.
14811
14812         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14813         alias when __isnan is defined.
14814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14815         and isnanf multiarch implementations.
14816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14817         file.
14818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14819         file.
14820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14821         file.
14822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14823         file.
14824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14825         multiarch isnan for PowerPC32.
14826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14827         New file.
14828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14829         New file.
14830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14831         multiarch isnanf for PowerPC32.
14832
14833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14834         and sqrtf multiarch implementations.
14835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14836         file.
14837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14838         file.
14839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14840         multiarch sqrt for PowerPC32.
14841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14842         file.
14843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14844         file.
14845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14846         multiarch sqrtf for PowerPC32.
14847
14848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14849         and llroundf multiarch implementations.
14850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14851         New file.
14852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14853         New file.
14854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14855         New file.
14856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14857         file: multiarch llround for PowerPC32.
14858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14859         file: multiarch llroundf for PowerPC32.
14860
14861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14862         multiarch PowerPC32 fpu implementations.
14863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14864         New file.
14865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14866         New file.
14867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14868         multiarch llrint for PowerPC32.
14869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14870         New file.
14871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14872         New file.
14873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14874         file.
14875
14876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14877
14878         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14879         file.
14880         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14881         file.
14882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14883         file.
14884         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14885         multiarch wordcopy for PPC32.
14886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14887         wordcopy objects.
14888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14889         (__libc_ifunc_impl_list): Likewise.
14890         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14891         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14892         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14893         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14894         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14895         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14896
14897         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14899         file.
14900         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14901         file.
14902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14903         file.
14904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14905         multiarch wcscpy for PPC32.
14906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14907         multiarch objects.
14908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14909         (__libc_ifunc_impl_list): Likewise.
14910         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14911         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14912         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14913         sysdeps/powerpc/power6/wcscpy.c.
14914
14915         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14917         file.
14918         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14919         file.
14920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14921         file.
14922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14923         multiarch wcsrchr for PPC32.
14924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14925         multiarch objects.
14926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14927         (__libc_ifunc_impl_list): Likewise.
14928         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14929         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14930         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14931         sysdeps/powerpc/power6/wcsrchr.c.
14932
14933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14934         file.
14935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14936         file.
14937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14939         multiarch wcschr for PPc32.
14940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14941         multiarch objects.
14942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14943         (__libc_ifunc_impl_list): Likewise.
14944         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14945         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14946         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14947         sysdeps/powerpc/power6/wcschr.c.
14948
14949         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14950         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14951         file.
14952         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14953         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14954         file: multiarch strchr for PPC32.
14955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14956         multiarch objects.
14957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14958         (__libc_ifunc_impl_list): Likewise.
14959
14960         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14961         name.
14962         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14963         file.
14964         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14965         file.
14966         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14967         multiarch strchrnul for PPC32.
14968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14969         multiarch objects.
14970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14971         (__libc_ifunc_impl_list): Likewise.
14972
14973         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14974         file.
14975         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14976         multiarch strncasecmp for PPC32.
14977         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14978         file.
14979         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14980         multiarch strncasecmp_l for PPC32.
14981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14982         strncasecmp multiarch objects.
14983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14984         (__libc_ifunc_impl_list): Likewise.
14985
14986         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14987         file.
14988         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14989         multiarch strncasecmp for PPC32.
14990         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14991         New file.
14992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14993         multiarch strcasecmp_l for PPC32.
14994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14995         multiarch objects.
14996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14997         (__libc_ifunc_impl_list): Likewise.
14998
14999         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15000         file.
15001         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15002         file.
15003         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15004         multiarch strncmp for PPC32.
15005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15006         multiarch objects.
15007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15008         (__libc_ifunc_impl_list): Likewise.
15009
15010         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15011         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15012         file.
15013         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15014         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15016         multiarch objects.
15017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15018         (__libc_ifunc_impl_list): Likewise.
15019
15020         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15021         file.
15022         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15023         file.
15024         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15026         multiarch objects.
15027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15028         (__libc_ifunc_impl_list): Likewise.
15029
15030         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15031         file.
15032         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15033         file.
15034         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15035         multiarch rawmemchr for PPC32.
15036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15037         multiarch objects.
15038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15039         (__libc_ifunc_impl_list): Likewise.
15040
15041         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15042         file.
15043         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15044         file.
15045         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15046         file: memrchr multiarch for PPC32.
15047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15048         multiarch objects.
15049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15050         (__libc_ifunc_impl_list): Likewise.
15051
15052         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15053         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15054         file.
15055         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15056         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15057         multiarch memchr for PPC32.
15058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15059         multiarch objects.
15060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15061         (__libc_ifunc_impl_list): Likewise.
15062
15063         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15064         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15065         file.
15066         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15067         file.
15068         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15069         file: multiarch mempcpy for PPC32.
15070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15071         multiarch objects.
15072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15073         (__libc_ifunc_impl_list): Likewise.
15074
15075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15076         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15077         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15078         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15079         multiarch bzero for PPC32.
15080         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15081         file.
15082         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15083         file.
15084         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15085         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15086         file: multiarch memset for PPC32.
15087         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15089         memset multiarch objects.
15090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15091         (__libc_ifunc_impl_list): Likewise.
15092
15093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15094         file.
15095         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15097         memcmp for PPC32.
15098         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15100         multiarch objects.
15101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15102         (__libc_ifunc_impl_list): Likewise.
15103
15104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15107         file.
15108         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15109         file.
15110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15111         file.
15112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15113         multiarch memcpy for PPC32.
15114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15115         multiarch objects.
15116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15117         (__libc_ifunc_impl_list): Likewise.
15118
15119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15120         support multiarch for POWER/PPC32.
15121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15122         Likewise.
15123         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15125         Implies file to make multiarch folder appers before the fpu and
15126         default folder for power4 configuration.
15127
15128 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15129
15130         * scripts/bench.pl: Append volatile keyword to type.
15131
15132 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15133
15134         * sysdeps/sh/sotruss-lib.c: New file.
15135         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15136
15137 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15138
15139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15140
15141 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15142
15143         [BZ #6810]
15144         * math/w_tgamma.c: Include <errno.h>.
15145         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15146         * math/w_tgammaf.c: Include <errno.h>.
15147         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15148         * math/w_tgammal.c: Include <errno.h>.
15149         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15150         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15151         underflow.  Add more tgamma tests.
15152         * math/auto-libm-test-out: Regenerated.
15153         * sysdeps/i386/fpu/libm-test-ulps: Update.
15154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15155
15156         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15157         sin, sinh, tan, tanh, tgamma, y0 and y1.
15158         * math/auto-libm-test-out: Regenerated.
15159         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15160         (TEST_COND_x86): Likewise.
15161         (M_E2l): Remove macro.
15162         (M_E3l): Likewise.
15163         (M_2_SQRT_PIl): Likewise.
15164         (M_SQRT_PIl): Likewise.
15165         (M_1_DIV_El): Likewise.
15166         (log_test_data): Use AUTO_TESTS_f_f.
15167         (log10_test_data): Likewise.
15168         (log1p_test_data): Likewise.
15169         (log2_test_data): Likewise.
15170         (sin_test_data): Likewise.
15171         (sin_tonearest_test_data): Likewise.
15172         (sin_towardzero_test_data): Likewise.
15173         (sin_downward_test_data): Likewise.
15174         (sin_upward_test_data): Likewise.
15175         (sinh_test_data): Likewise.
15176         (sinh_tonearest_test_data): Likewise.
15177         (sinh_towardzero_test_data): Likewise.
15178         (sinh_downward_test_data): Likewise.
15179         (sinh_upward_test_data): Likewise.
15180         (tan_test_data): Likewise.
15181         (tan_tonearest_test_data): Likewise.
15182         (tan_towardzero_test_data): Likewise.
15183         (tan_downward_test_data): Likewise.
15184         (tan_upward_test_data): Likewise.
15185         (tanh_test_data): Likewise.
15186         (tgamma_test_data): Likewise.
15187         (y0_test_data): Likewise.
15188         (y1_test_data): Likewise.
15189         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15190         (special_real_inputs): Add pi/4.
15191         * sysdeps/i386/fpu/libm-test-ulps: Update.
15192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15193
15194 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15195
15196         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15197         "longjmp_target" static probes.
15198         (__longjmp): Rename to __longjmp_symbol.
15199         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15200         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15201         on which longjmp to generate.
15202         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15203         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15204         probe.
15205         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15206         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15207         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15208         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15209         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15212         __longjmp_symbol based on which __longjmp to generate.
15213         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15214         probe.
15215         (setjmp): Rename to setjmp_symbol.
15216         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15217         (_setjmp): Rename to _setjmp_symbol.
15218         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15219         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15220         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15221         which setjmp to generate.
15222         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15223         "longjmp_target" static probes.
15224
15225 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226
15227         * benchtests/README: Add note about output arguments.
15228         * benchtests/bench-sincos.c: Remove file.
15229         * benchtests/sincos-inputs: New file.
15230         * scripts/bench.pl: Identify output arguments and define
15231         static variables for them.
15232
15233         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15234
15235         [BZ #15941]
15236         * Makefile (INSTALL): Add install-plain.texi as the primary
15237         dependency.
15238         * manual/install-plain.texi: New file.
15239         * manual/install.texi: Include node directive only for
15240         non-plaintext output.
15241
15242 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15243
15244         * stdlib/longlong.h: Update from GCC.
15245
15246         [BZ #6807]
15247         [BZ #15901]
15248         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15249         * math/w_j0f.c (y0f): Likewise.
15250         * math/w_j0l.c (__y0l): Likewise.
15251         * math/w_j1.c (y1): Likewise.
15252         * math/w_j1f.c (y1f): Likewise.
15253         * math/w_j1l.c (__y1l): Likewise
15254         * math/w_jn.c (yn): Likewise.
15255         * math/w_jnf.c (ynf): Likewise.
15256         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15257         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15258         value for Bessel function domain errors outside _SVID_ mode.
15259         Adjust sign of return value for yn (negative integer, 0).
15260         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15261         by zero in return for negative x and set sign appropriately for
15262         negative n.
15263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15265         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15266         expectations in error cases.
15267         (y1_test_data): Likewise.
15268         (yn_test_data): Likewise.
15269         * sysdeps/i386/fpu/libm-test-ulps: Update.
15270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15271
15272 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15273
15274         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15275         "64" to "64-v1".  Add "64-v2".
15276         (abi-64-options): Rename to ...
15277         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15278         (abi-64-condition): Rename to ...
15279         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15280         (abi-64-ld-soname): Rename to ...
15281         (abi-64-v1-ld-soname): ... this.
15282         (abi-64-v2-options): Define.
15283         (abi-64-v2-condition): Likewise.
15284         (abi-64-v2-ld-soname): Likewise.
15285         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15286         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15290
15291 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15292             Alan Modra  <amodra@gmail.com>
15293
15294         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15295         New versions for use with the ELFv2 ABI.
15296         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15297         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15298         declaration.
15299         (struct La_ppc64v2_retval): Likewise.
15300         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15301         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15302         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15303         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15304         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15306         Do not save or restore CR.
15307         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15308         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15309         return values for ELFv2 ABI.  Fix location of FPR return registers.
15310         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15311         updated values for _CALL_ELF == 2.
15312         (La_regs, La_retval, int_retval): Likewise.
15313
15314 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15315
15316         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15317         (FRAME_MIN_SIZE_PARM): Likewise.
15318         (FRAME_BACKCHAIN): Likewise.
15319         (FRAME_CR_SAVE): Likewise.
15320         (FRAME_LR_SAVE): Likewise.
15321         (FRAME_TOC_SAVE): Likewise.
15322         (FRAME_PARM_SAVE): Likewise.
15323         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15324         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15325         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15326         (call_mcount_parm_offset): New macro.
15327         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15328         (PROF): Use symbolic stack frame offsets.
15329         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15331         Redefine in terms of FRAME_MIN_SIZE.
15332         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15333         (_dl_profile_resolve): Likewise.  Update comment.
15334         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15335         symbols stack frame offsets.
15336         (__sigsetjmp): Likewise.
15337         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15338         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15339         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15340         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15341
15342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15343         (FRAME_BACKCHAIN): Remove.
15344         (FRAME_CR_SAVE): Likewise.
15345         (FRAME_LR_SAVE): Likewise.
15346         (FRAME_COMPILER_DW): Likewise.
15347         (FRAME_LINKER_DW): Likewise.
15348         (FRAME_TOC_SAVE): Likewise.
15349         (FRAME_PARM_SAVE): Likewise.
15350         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15351         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15352         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15354         (CHECK_SP): Use symbolic stack frame offsets.
15355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15356         zone" instead of caller's parameter save area for temp storage.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15358         Likewise.  Also, use symbolic stack frame offsets.
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15360         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15361         our own stack frame instead of the caller's.
15362         (__socket): Use symbolic stack frame offsets.
15363
15364 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15365             Alan Modra  <amodra@gmail.com>
15366
15367         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15368         Define.
15369         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15370         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15371         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15372         New function.
15373         (elf_machine_fixup_plt): Call it.
15374         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15375         reloc arguments.
15376         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15377         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15378         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15379         r2 before calling target.
15380
15381 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15382             Alan Modra  <amodra@gmail.com>
15383
15384         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15385         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15386         versions of macros to support ELFv2 ABI.
15387         (LOCALENTRY): New macro.
15388         (ENTRY, EALIGN): Use it.
15389         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15390         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15391         fall through into ENTRY entry point.
15392         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15393         Only define if _CALL_ELF != 2.
15394
15395         (elf_machine_matches_host): Verify ABI version matches.
15396         (RTLD_START): Use LOCALENTRY.
15397         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15398         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15399         (PLT_ENTRY_WORDS): New macro.
15400         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15401         (elf_machine_runtime_setup): Support ELFv2 ABI.
15402         (elf_machine_fixup_plt): Likewise.
15403         (elf_machine_plt_conflict): Likewise.
15404         (resolve_ifunc): Likewise.
15405         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15406         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15407         Likewise.
15408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15409         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15411         (makecontext): Support ELFv2 ABI.
15412         * elf/elf.h (EF_PPC64_ABI): Define.
15413
15414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15415
15416         * sysdeps/powerpc/powerpc64/sysdep.h
15417         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15418         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15419         (ENTRY) [ASSEMBLER]: ... but instead here ...
15420         (EALIGN) [ASSEMBLER]: ... and here.
15421         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15422         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15423         (ENTRY_2) [!ASSEMBLER]: Use it.
15424         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15425         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15426         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15427         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15428         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15430         Use PPC64_LOAD_FUNCPTR.
15431
15432         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15433
15434 2013-12-04  Alan Modra  <amodra@gmail.com>
15435
15436         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15437         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15438         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15439         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15440
15441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15442         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15443         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15444         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15445         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15446         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15447
15448 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15449
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15451         (__makecontext): Fix incorrect CFI when backtracing out of
15452         context created via makecontext.
15453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15454         (__setcontext): Fix incorrect CFI during switch to new context.
15455         (__novec_setcontext): Likewise.
15456
15457 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15458
15459         [BZ #4772]
15460         * time/strptime_l.c (__strptime_internal): Allow modifiers
15461         in strptime.
15462         * time/tst-strptime.c (day_tests): Add testcase.
15463
15464 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15465
15466         * scripts/bench.pl: Skip over blank lines.
15467
15468 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15469
15470         [BZ #926]
15471         * manual/time.texi (Calendar Time): Clarify what timezone functions
15472         use.
15473
15474 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15475
15476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15477
15478 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15479
15480         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15481         implementation.
15482         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15483         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15484         * debug/memset_chk.c (__memset_chk): Likewise.
15485         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15486         * debug/strncpy_chk.c: Likewise.
15487
15488 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15489
15490         [BZ #15268]
15491         [BZ #15425]
15492         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15493         (__ieee754_exp): For possibly underflowing results, check size of
15494         result and force underflow exception if required.
15495         * math/auto-libm-test-in: Add more tests of exp.
15496         * math/auto-libm-test-out: Regenerated.
15497         * sysdeps/i386/fpu/libm-test-ulps: Update.
15498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15499
15500         [BZ #16283]
15501         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15502         * math/w_exp2f.c (__exp2f): Likewise.
15503         * math/w_exp2l.c (__exp2l): Likewise.
15504         * math/auto-libm-test-in: Do not allow missing errno on exp2
15505         underflow.
15506         * math/auto-libm-test-out: Regenerated.
15507
15508 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15509
15510         [BZ #16274]
15511         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15512         handle filename validation.
15513         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15514         (do_open): Delete.
15515
15516 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15517
15518         [BZ #6786]
15519         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15520         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15521         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15522         <float.h>.
15523         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15525         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15527         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15528         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15529         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15530         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15531         Add more erfc tests.
15532         * math/auto-libm-test-out: Regenerated.
15533         * sysdeps/i386/fpu/libm-test-ulps: Update.
15534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15535
15536         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15537         exp2, expm1, j0 and j1.
15538         * math/auto-libm-test-out: Regenerated.
15539         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15540         (erfc_test_data): Likewise.
15541         (exp_test_data): Likewise.
15542         (exp_tonearest_test_data): Likewise.
15543         (exp_towardzero_test_data): Likewise.
15544         (exp_downward_test_data): Likewise.
15545         (exp_upward_test_data): Likewise.
15546         (exp10_test_data): Likewise.
15547         (exp2_test_data): Likewise.
15548         (expm1_test_data): Likewise.
15549         (j0_test_data): Likewise.
15550         (j1_test_data): Likewise.
15551         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15552         (input_flag_type): Add flag_xfail_rounding.
15553         (input_flags): Add xfail-rounding.
15554         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15555         (output_for_one_input_case): Handle flag_xfail_rounding.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15558
15559 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15560
15561         [BZ #16289]
15562         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15563         division by 0.
15564
15565 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15566
15567         [BZ #16195]
15568         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15569         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15570         (STAP_PROBE0): New macro.
15571         (STAP_PROBE1): Likewise.
15572         (STAP_PROBE2): Likewise.
15573         (STAP_PROBE3): Likewise.
15574         (STAP_PROBE4): Likewise.
15575
15576 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15577
15578         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15579
15580 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15581
15582         * benchtests/Makefile (bench): Add sqrt.
15583         (LDLIBS-bench-sqrt): New.
15584         * benchtests/sqrt-input: New.
15585
15586 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15587
15588         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15589         (GAIH_EAI): Likewise.
15590         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15591         (gaih_inet): Likewise.
15592         (getaddrinfo): Don't use GAIH_EAI.
15593
15594         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15595         (struct gaih): Remove definition.
15596
15597 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15598
15599         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15600         Use HERRNOP directly.
15601
15602 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15603
15604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15605
15606 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15607
15608         * math/gen-auto-libm-tests.c (test_functions): Add more
15609         single-argument functions.
15610         (special_fill_pi_2): New function.
15611         (special_fill_minus_pi_2): Likewise.
15612         (special_fill_pi_6): Likewise.
15613         (special_fill_minus_pi_6): Likewise.
15614         (special_fill_pi_3): Likewise.
15615         (special_fill_2pi_3): Likewise.
15616         (special_fill_e): Likewise.
15617         (special_fill_1_e): Likewise.
15618         (special_fill_e_minus_1): Likewise.
15619         (special_real_inputs): Add more special inputs.
15620         (output_for_one_input_case): Do not require ERANGE on underflow to
15621         zero if round-to-nearest result does not underflow to zero, unless
15622         exact results required.
15623         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15624         atan, atanh, cbrt, cos and cosh.
15625         * math/auto-libm-test-out: Regenerated.
15626         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15627         (acos_tonearest_test_data): Likewise.
15628         (acos_towardzero_test_data): Likewise.
15629         (acos_downward_test_data): Likewise.
15630         (acos_upward_test_data): Likewise.
15631         (acosh_test_data): Likewise.
15632         (asin_test_data): Likewise.
15633         (asin_tonearest_test_data): Likewise.
15634         (asin_towardzero_test_data): Likewise.
15635         (asin_upward_test_data): Likewise.
15636         (asinh_test_data): Likewise.
15637         (atan_test_data): Likewise.
15638         (atanh_test_data): Likewise.
15639         (cbrt_test_data): Likewise.
15640         (cos_test_data): Likewise.
15641         (cos_tonearest_test_data): Likewise.
15642         (cos_towardzero_test_data): Likewise.
15643         (cos_downward_test_data): Likewise.
15644         (cos_upward_test_data): Likewise.
15645         (cosh_test_data): Likewise.
15646         (cosh_tonearest_test_data): Likewise.
15647         (cosh_towardzero_test_data): Likewise.
15648         (cosh_downward_test_data): Likewise.
15649         (cosh_upward_test_data): Likewise.
15650         * sysdeps/i386/fpu/libm-test-ulps: Update.
15651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15652
15653 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15654
15655         [BZ #6787]
15656         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15657         * math/w_exp10f.c (__exp10f): Likewise.
15658         * math/w_exp10l.c (__exp10l): Likewise.
15659         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15660         errno settings in existing tests.
15661
15662         [BZ #14032]
15663         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15664         precision control set to double precision.
15665         * sysdeps/i386/fpu/w_sqrt.c: New file.
15666         * math/auto-libm-test-in: Add more tests.
15667         * math/auto-libm-test-out: Update.
15668
15669         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15670         (sqrt_test_tonearest): New function.
15671         (sqrt_towardzero_test_data): New variable.
15672         (sqrt_test_towardzero): New function.
15673         (sqrt_downward_test_data): New variable.
15674         (sqrt_test_downward): New function.
15675         (sqrt_upward_test_data): New variable.
15676         (sqrt_test_upward): New function.
15677         (main): Call the new functions.
15678
15679         * math/gen-auto-libm-tests.c: New file.
15680         * math/auto-libm-test-in: Likewise.
15681         * math/auto-libm-test-out: New generated file.
15682         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15683         variables.
15684         (%beautify): Add generated representations of zero.
15685         (top level): Set $auto_input and call parse_auto_input.
15686         (beautify): Remove trailing "f" from hex float constants.
15687         (parse_args): Handle XFAIL_TEST.
15688         (convert_condition): New function.
15689         (or_value): Likewise.
15690         (or_cond_value): Likewise.
15691         (generate_testfile): Handle AUTO_TESTS_* lines.
15692         (parse_auto_input): New function.
15693         * math/libm-test.inc (XFAIL_TEST): New macro.
15694         (ERRNO_UNCHANGED): Update value.
15695         (ERRNO_EDOM): Likewise.
15696         (ERRNO_ERANGE): Likewise.
15697         (IGNORE_RESULT): Likewise.
15698         (TEST_COND_flt_32): New macro.
15699         (TEST_COND_dbl_64): Likewise.
15700         (TEST_COND_ldbl_96_intel): Likewise.
15701         (TEST_COND_ldbl_96_m68k): Likewise.
15702         (TEST_COND_ldbl_128): Likewise.
15703         (TEST_COND_ldbl_128ibm): Likewise.
15704         (TEST_COND_long32): Likewise.
15705         (TEST_COND_long64): Likewise.
15706         (TEST_COND_before_rounding): Likewise.
15707         (TEST_COND_after_rounding): Likewise.
15708         (enable_test): Handle XFAIL_TEST flag.
15709         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15710         with finite results.
15711         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15712         auto-libm-test-out.
15713
15714 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15715             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15716
15717         [BZ #16214]
15718         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15719         __tls_get_addr_internal instead of __tls_get_offset in order to
15720         avoid GOT pointer dependency.  Make rtld export
15721         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15722         __tls_get_addr since we are a __tls_get_offset platform.
15723         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15724         GOT pointer being set up before.
15725         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15726
15727 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15728
15729         * manual/math.texi (Errors in Math Functions): Document accuracy
15730         goals.
15731
15732         [BZ #15004]
15733         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15734         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15735         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15736         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15737         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15738         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15739         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15740         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15741         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15742         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15743         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15744         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15745         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15746         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15748         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15749
15750         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15751         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15752         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15753         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15754         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15755         Likewise.
15756         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15757         Likewise.
15758         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15759         Likewise.
15760         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15761         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15762         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15763         atomic-feupdateenv and flt-rounds.
15764         * sysdeps/powerpc/nofpu/Versions (libc): Add
15765         __atomic_feholdexcept, __atomic_feclearexcept,
15766         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15767         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15768         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15769         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15770         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15771         here.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15773         Update.
15774
15775         * manual/arith.texi (FP Exceptions): Document that exceptions may
15776         not be raised when matherr is used.
15777         (Math Error Reporting): Document overflow in directed rounding
15778         modes.  Document that errno may not be set when finite values are
15779         returned on overflow.  Document intent to set errno on underflow
15780         only for underflow to zero.
15781
15782         [BZ #16271]
15783         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15784         round-to-nearest then adjust result for other rounding modes.
15785         * include/fenv.h (fegetround): Use libm_hidden_proto.
15786         * math/fegetround.c (fegetround): Use libm_hidden_def.
15787         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15788         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15789         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15791         Likewise.
15792         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15793         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15794         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15795         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15796
15797 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15798
15799         [BZ #16077]
15800         * nss/Versions (libnss_files): Add
15801         _nss_files_gethostbyname3_r.
15802         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15803         New function.
15804         (HOST_DB_LOOKUP): Remove macro.
15805         (_nss_files_gethostbyname_r): Implement function without the
15806         HOST_DB_LOOKUP macro.
15807         (_nss_files_gethostbyname2_r): Likewise.
15808
15809 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15810
15811         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15812
15813 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15814
15815         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15816         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15817         warning.
15818
15819 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15820
15821         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15822         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15823         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15824         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15825         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15826         __fe_nomask_env_priv and attribute_hidden.
15827         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15828         (libc_feupdateenv_test_ppc): Likewise.
15829         (libc_feresetround_ppc): Likewise.
15830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15831         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15832         compat_symbol macro.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15834         (__fe_nomask_env): Likewise.
15835         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15836
15837 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15838
15839         * string/Makefile: Remove ifunc tests.
15840         * string/test-string.h: Define TEST_IFUNC.
15841         * string/test-bcopy-ifunc.c: Remove.
15842         * string/test-bzero-ifunc.c: Likewise.
15843         * string/test-memccpy-ifunc.c: Likewise.
15844         * string/test-memchr-ifunc.c: Likewise.
15845         * string/test-memcmp-ifunc.c: Likewise.
15846         * string/test-memcpy-ifunc.c: Likewise.
15847         * string/test-memmem-ifunc.c: Likewise.
15848         * string/test-memmove-ifunc.c: Likewise.
15849         * string/test-mempcpy-ifunc.c: Likewise.
15850         * string/test-memrchr-ifunc.c: Likewise.
15851         * string/test-memset-ifunc.c: Likewise.
15852         * string/test-rawmemchr-ifunc.c: Likewise.
15853         * string/test-stpcpy-ifunc.c: Likewise.
15854         * string/test-stpncpy-ifunc.c: Likewise.
15855         * string/test-strcasecmp-ifunc.c: Likewise.
15856         * string/test-strcasestr-ifunc.c: Likewise.
15857         * string/test-strcat-ifunc.c: Likewise.
15858         * string/test-strchr-ifunc.c: Likewise.
15859         * string/test-strchrnul-ifunc.c: Likewise.
15860         * string/test-strcmp-ifunc.c: Likewise.
15861         * string/test-strcpy-ifunc.c: Likewise.
15862         * string/test-strcspn-ifunc.c: Likewise.
15863         * string/test-strlen-ifunc.c: Likewise.
15864         * string/test-strncasecmp-ifunc.c: Likewise.
15865         * string/test-strncat-ifunc.c: Likewise.
15866         * string/test-strncmp-ifunc.c: Likewise.
15867         * string/test-strncpy-ifunc.c: Likewise.
15868         * string/test-strnlen-ifunc.c: Likewise.
15869         * string/test-strpbrk-ifunc.c: Likewise.
15870         * string/test-strrchr-ifunc.c: Likewise.
15871         * string/test-strspn-ifunc.c: Likewise.
15872         * string/test-strstr-ifunc.c: Likewise.
15873
15874 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15875
15876         * benchtests/Makefile: Remove ifunc tests.
15877         * benchtests/bench-string.h: Define TEST_IFUNC.
15878         * benchtests/bench-bcopy-ifunc.c: Remove.
15879         * benchtests/bench-bzero-ifunc.c: Likewise.
15880         * benchtests/bench-memccpy-ifunc.c: Likewise.
15881         * benchtests/bench-memchr-ifunc.c: Likewise.
15882         * benchtests/bench-memcmp-ifunc.c: Likewise.
15883         * benchtests/bench-memcpy-ifunc.c: Likewise.
15884         * benchtests/bench-memmem-ifunc.c: Likewise.
15885         * benchtests/bench-memmove-ifunc.c: Likewise.
15886         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15887         * benchtests/bench-memrchr-ifunc.c: Likewise.
15888         * benchtests/bench-memset-ifunc.c: Likewise.
15889         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15890         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15891         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15892         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15893         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15894         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15895         * benchtests/bench-strcat-ifunc.c: Likewise.
15896         * benchtests/bench-strchr-ifunc.c: Likewise.
15897         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15898         * benchtests/bench-strcmp-ifunc.c: Likewise.
15899         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15900         * benchtests/bench-strcpy-ifunc.c: Likewise.
15901         * benchtests/bench-strcspn-ifunc.c: Likewise.
15902         * benchtests/bench-strlen-ifunc.c: Likewise.
15903         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15904         * benchtests/bench-strncat-ifunc.c: Likewise.
15905         * benchtests/bench-strncmp-ifunc.c: Likewise.
15906         * benchtests/bench-strncpy-ifunc.c: Likewise.
15907         * benchtests/bench-strnlen-ifunc.c: Likewise.
15908         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15909         * benchtests/bench-strrchr-ifunc.c: Likewise.
15910         * benchtests/bench-strsep-ifunc.c: Likewise.
15911         * benchtests/bench-strspn-ifunc.c: Likewise.
15912         * benchtests/bench-strstr-ifunc.c: Likewise.
15913
15914 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15915
15916         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15917
15918 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15919
15920         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15921         * rt/aio.h: Likewise.
15922         * sysdeps/gnu/bits/utmp.h: Likewise.
15923         * sysdeps/gnu/bits/utmpx.h: Likewise.
15924         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15925         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15926         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15927         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15928         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15929         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15930         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15931         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15932         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15933         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15934         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15935         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15936         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15938         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15939         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15940         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15941         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15942         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15943         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15944         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15945         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15946         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15947         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15948         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15949         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15950         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15951         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15952         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15953         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15954         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15955         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15956         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15957         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15958         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15959         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15960         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15961         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15962         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15963         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15964         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15965         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15966
15967 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15968
15969         [BZ #16245]
15970         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15971         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15972
15973 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15974
15975         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15976         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15977         Likewise.
15978
15979 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15980
15981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15982         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15983         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15984         (__fesetround): Remove define.
15985         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15986         rounding and exceptions handling.
15987         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15988         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15989         (__fe_nomask_env): Likewise.
15990         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15991         __fegetround instead of fegetround.
15992         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15993         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15994
15995 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15996
15997         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15998         it's there.
15999
16000         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16001
16002 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16003
16004         [BZ #11157]
16005         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16006         (encrypt_r): Likewise.
16007         * malloc/obstack.h (obstack_free): Likewise.
16008         * posix/unistd.h (encrypt): Likewise.
16009
16010 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16011
16012         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16013         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16014         DL_CALL_DT_FINI() that call the functions directly.
16015         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16016         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16017         * elf/dl-fini.c: Likewise.
16018
16019 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16020
16021         * malloc/hooks.c (memalign_check): Add alignment rounding.
16022         * malloc/malloc.c (_mid_memalign): New function.
16023         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16024         Implement by calling _mid_memalign.
16025         * manual/probes.texi (Memory Allocation Probes): Remove
16026         memory_valloc_retry and memory_pvalloc_retry.
16027
16028 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16029
16030         * locale/programs/locarchive.c (open_archive): Add const
16031         qualifier to ARCHIVEFNAME and copy default fname to
16032         DEFAULT_FNAME.
16033
16034         [BZ #15601]
16035         * libio/tst-widetext.input: Rename Oriya to Odia.
16036         * locale/iso-639.def: Likewise.
16037
16038         * manual/probes.texi (Mathematical Function Probes): Add
16039         documentation for sin, cos, asin and acos probes.
16040         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16041         (__sin32): Add slowasin probe.
16042         (__cos32): Add slowacos probe.
16043         (__mpsin): Add slowsin probe.
16044         (__mpcos): Add slowcos probe.
16045
16046 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16047
16048         [BZ #15483]
16049         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16050         thread-local __sim_exceptions_thread and global
16051         __sim_exceptions_global.
16052         (__sim_disabled_exceptions): Change to thread-local
16053         __sim_disabled_exceptions_thread and global
16054         __sim_disabled_exceptions_global.
16055         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16056         and global __sim_round_mode_global.
16057         (__simulate_exceptions): Use thread-local floating-point state and
16058         set global state from it as needed.
16059         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16060         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16061         __sim_round_mode_thread.
16062         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16063         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16064         and global __sim_exceptions_global.
16065         (__sim_disabled_exceptions): Change to thread-local
16066         __sim_disabled_exceptions_thread and global
16067         __sim_disabled_exceptions_global.
16068         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16069         and global __sim_round_mode_global.
16070         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16071         (SIM_SET_GLOBAL): Likewise.
16072         * sysdeps/powerpc/soft-fp/sfp-machine.h
16073         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16074         __sim_round_mode_thread.
16075         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16076         __sim_disabled_exceptions_thread.
16077         (__sim_exceptions): Change to __sim_exceptions_thread.
16078         (__sim_disabled_exceptions): Change to
16079         __sim_disabled_exceptions_thread.
16080         (__sim_round_mode): Change to __sim_round_mode_thread.
16081         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16082         thread-local floating-point state and set global state from it as
16083         needed.
16084         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16085         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16086         (__sim_disabled_exceptions): Remove extern declaration.
16087         (feenableexcept): Use thread-local floating-point state and set
16088         global state from it as needed.
16089         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16090         extern declaration.
16091         (__sim_disabled_exceptions): Likewise.
16092         (__sim_round_mode): Likewise.
16093         (__fegetenv): Use thread-local floating-point state.
16094         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16095         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16096         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16097         floating-point state and set global state from it as needed.
16098         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16099         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16100         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16101         Likewise.
16102         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16103         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16104         Likewise.
16105         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16106         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16107         Use __sim_round_mode_thread.
16108         * math/test-fenv-tls.c: New file.
16109         * math/Makefile (tests): Add test-fenv-tls.
16110         ($(objpfx)test-fenv-tls): Depend on
16111         $(common-objpfx)nptl/libpthread.so.
16112
16113 2013-11-19  Andreas Schwab  <schwab@suse.de>
16114
16115         * locale/programs/locale.c (show_info): Decode wordarray elements.
16116         * locale/categories.def (LC_MONETARY): Add element for
16117         _NL_MONETARY_CRNCYSTR.
16118         * locale/C-monetary.c (conversion_rate): New variable.
16119         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16120         element.
16121
16122 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16123
16124         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16125         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16126
16127 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16128
16129         * elf/Makefile (tst-auxv): New test.
16130         * elf/tst-auxv.c: New
16131         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16132
16133 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16134
16135         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16136         (hidden_proto): Caller changed.
16137         (hidden_tls_proto): New macro.
16138         (libc_hidden_tls_proto): Likewise.
16139         (rtld_hidden_tls_proto): Likewise.
16140         (libm_hidden_tls_proto): Likewise.
16141         (libresolv_hidden_tls_proto): Likewise.
16142         (librt_hidden_tls_proto): Likewise.
16143         (libdl_hidden_tls_proto): Likewise.
16144         (libnss_files_hidden_tls_proto): Likewise.
16145         (libnsl_hidden_tls_proto): Likewise.
16146         (libnss_nisplus_hidden_tls_proto): Likewise.
16147         (libutil_hidden_tls_proto): Likewise.
16148
16149 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16150
16151         [BZ #10253]
16152         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16153         (decompose_rpath): Defer expansion to fillin_rpath.
16154         (_dl_init_paths): Pass linkmap to fillin_rpath.
16155
16156 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16157
16158         * benchtests/Makefile: Add strsep.
16159         * benchtests/bench-strsep.c: New file: strsep benchtest.
16160         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16161
16162 2013-11-18  Andreas Schwab  <schwab@suse.de>
16163
16164         * locale/programs/locale.c (show_info) [case byte]: Check for
16165         '\377' instead of '\177'.
16166         * locale/C-monetary.c (not_available): Always use "\377".
16167         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16168         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16169         detect unavailable sign_posn locale elements.
16170         * locale/localeconv.c (__localeconv): For grouping and
16171         mon_grouping handle "\177" and "\377" like no grouping.
16172         (INT_ELEM): New macro.  Use it to set all numeric members.
16173         * locale/programs/ld-monetary.c (monetary_read)
16174         <tok_mon_grouping>: Normalize single -1 to the empty string.
16175         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16176         Likewise.
16177
16178 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16179
16180         [BZ #16055]
16181         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16182         when we match (nil).
16183         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16184
16185 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16186
16187         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16188         (NO_TEST_INLINE): Update value.
16189         (ERRNO_UNCHANGED): Likewise.
16190         (ERRNO_EDOM): Likewise.
16191         (ERRNO_ERANGE): Likewise.
16192         (IGNORE_RESULT): Likewise.
16193         (check_float_internal): Check signs of NaN results if
16194         TEST_NAN_SIGN used.
16195         (check_complex): Pass TEST_NAN_SIGN flag through to second
16196         check_float_internal call.
16197         (copysign_test_data): Add tests with quiet NaNs as second
16198         argument.  Use TEST_NAN_SIGN.
16199         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16200         TEST_NAN_SIGN.
16201         (signbit_test_data): Add tests of quiet NaN argument.
16202         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16203
16204         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16205         $ignore_result.
16206         (parse_args): Handle function results specified as IGNORE.
16207         * math/libm-test.inc (IGNORE_RESULT): New macro.
16208         (check_float_internal): Do not check numerical result if flag
16209         IGNORE_RESULT set.
16210         (check_complex): Pass through IGNORE_RESULT to second
16211         check_float_internal call.
16212         (check_int): Do not check numerical result if flag IGNORE_RESULT
16213         set.
16214         (check_long): Likewise.
16215         (check_bool): Likewise.
16216         (check_longlong): Likewise.
16217         (lrint_test_data): Add tests of infinite and NaN arguments.
16218         (lrint_tonearest_test_data): Likewise.
16219         (lrint_towardzero_test_data): Likewise.
16220         (lrint_downward_test_data): Likewise.
16221         (lrint_upward_test_data): Likewise.
16222         (llrint_test_data): Likewise.
16223         (llrint_tonearest_test_data): Likewise.
16224         (llrint_towardzero_test_data): Likewise.
16225         (llrint_downward_test_data): Likewise.
16226         (llrint_upward_test_data): Likewise.
16227         (lround_test_data): Likewise.
16228         (llround_test_data): Likewise.
16229
16230         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16231         (ERRNO_UNCHANGED): Update value.
16232         (ERRNO_EDOM): Likewise.
16233         (ERRNO_ERANGE): Likewise.
16234         (NO_TEST_INLINE_FLOAT): New macro.
16235         (NO_TEST_INLINE_DOUBLE): Likewise.
16236         (enable_test): New function.
16237         (RUN_TEST_f_f): Check enable_test before running test.
16238         (RUN_TEST_2_f): Likewise.
16239         (RUN_TEST_fff_f): Likewise.
16240         (RUN_TEST_c_f): Likewise.
16241         (RUN_TEST_f_f1): Likewise.
16242         (RUN_TEST_fF_f1): Likewise.
16243         (RUN_TEST_fI_f1): Likewise.
16244         (RUN_TEST_ffI_f1): Likewise.
16245         (RUN_TEST_c_c): Likewise.
16246         (RUN_TEST_cc_c): Likewise.
16247         (RUN_TEST_f_i): Likewise.
16248         (RUN_TEST_f_i_tg): Likewise.
16249         (RUN_TEST_ff_i_tg): Likewise.
16250         (RUN_TEST_f_b): Likewise.
16251         (RUN_TEST_f_b_tg): Likewise.
16252         (RUN_TEST_f_l): Likewise.
16253         (RUN_TEST_f_L): Likewise.
16254         (RUN_TEST_fFF_11): Likewise.
16255         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16256         conditionals.
16257         (cosh_test_data): Likewise.
16258         (exp_test_data): Likewise.
16259         (expm1_test_data): Likewise.
16260         (hypot_test_data): Likewise.
16261         (pow_test_data): Likewise.
16262         (sinh_test_data): Likewise.
16263         (tanh_test_data): Likewise.
16264         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16265         flags argument.
16266
16267         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16268         tests with quiet NaN input and output.
16269         (acosh_test_data): Likewise.
16270         (asin_test_data): Likewise.
16271         (asinh_test_data): Likewise.
16272         (atan_test_data): Likewise.
16273         (atanh_test_data): Likewise.
16274         (atan2_test_data): Likewise.
16275         (cbrt_test_data): Likewise.
16276         (cos_test_data): Likewise.
16277         (cosh_test_data): Likewise.
16278         (erf_test_data): Likewise.
16279         (erfc_test_data): Likewise.
16280         (exp_test_data): Likewise.
16281         (exp10_test_data): Likewise.
16282         (exp2_test_data): Likewise.
16283         (expm1_test_data): Likewise.
16284         (hypot_test_data): Likewise.
16285         (j0_test_data): Likewise.
16286         (j1_test_data): Likewise.
16287         (jn_test_data): Likewise.
16288         (lgamma_test_data): Likewise.
16289         (log_test_data): Likewise.
16290         (log10_test_data): Likewise.
16291         (log1p_test_data): Likewise.
16292         (log2_test_data): Likewise.
16293         (pow_test_data): Likewise.
16294         (scalb_test_data): Likewise.
16295         (sin_test_data): Likewise.
16296         (sincos_test_data): Likewise.
16297         (sinh_test_data): Likewise.
16298         (tan_test_data): Likewise.
16299         (tanh_test_data): Likewise.
16300         (tgamma_test_data): Likewise.
16301         (y0_test_data): Likewise.
16302         (y1_test_data): Likewise.
16303         (yn_test_data): Likewise.
16304
16305         [BZ #16167]
16306         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16307         argument being NaN and avoid computations with second argument in
16308         that case.
16309         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16310         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16311         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16312
16313 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16314
16315         * locale/iso-639.def: Add Chitwani Tharu (the).
16316
16317 2013-11-14  Andreas Schwab  <schwab@suse.de>
16318
16319         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16320         word instead of empty string.
16321
16322 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16323
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16325         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16327         (__fe_nomask_env): Likewise.
16328
16329 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16330
16331         * benchtests/bench-timing.h: Include time.h.
16332
16333 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16334
16335         [BZ #15997]
16336         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16337         to 3.4.0 for x32.
16338         * sysdeps/unix/sysv/linux/configure: Regenerated.
16339
16340 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16341
16342         [BZ #16151]
16343         * stdlib/strtod_l.c (round_and_return): Do not consider
16344         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16345         exponent one less than half the least subnormal exponent.
16346         * stdlib/test-strtod-round-data: Add more tests.
16347         * stdlib/tst-strtod-round.c (tests): Regenerated.
16348
16349 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16350
16351         [BZ #14143]
16352         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16353         (__fe_mask_env): Likewise.
16354         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16355         libm_hidden_proto and add function prototype.
16356         (__fe_mask_env): Add function prototype.
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16358         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16360         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16362         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16363
16364 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16365
16366         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16367         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16368
16369 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16370
16371         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16372         of htab_find_slot().
16373
16374 2013-11-11  David S. Miller  <davem@davemloft.net>
16375
16376         [BZ #16150]
16377         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16378         symbol in the non-vis3 case in static builds.
16379         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16380         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16381         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16382         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16383
16384 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16385
16386         [BZ #387]
16387         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16388         it is empty.
16389
16390 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16391
16392         * benchtests/Makefile: Add bench-strtod.
16393         * benchtests/bench-strtod.c: New file: strtod benchtest
16394
16395 2013-11-11  Andreas Schwab  <schwab@suse.de>
16396
16397         [BZ #16153]
16398         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16399         terminating NUL in key length.
16400
16401 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16402
16403         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16404         Add artificial ODP entry for vDSO symbol for PPC64.
16405         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16406         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16407
16408 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16409
16410         [BZ #15374]
16411         * nss/getent.c (services_keys): Recognize services starting with digit.
16412
16413 2013-11-06  David S. Miller  <davem@davemloft.net>
16414
16415         [BZ #15985]
16416         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16417         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16418
16419 2013-11-06  Will Newton  <will.newton@linaro.org>
16420
16421         * manual/memory.texi (Malloc Examples): Remove register
16422         keyword from examples.
16423
16424 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16425
16426         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16427
16428 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16429
16430         [BZ #6981]
16431         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16432         depending on [__GCC_IEC_559 > 0].
16433         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16434         depending on [__GCC_IEC_559_COMPLEX > 0].
16435
16436 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16437
16438         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16439         to iso-639.def.
16440
16441 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16442
16443         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16444
16445 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16446
16447         [BZ #16112]
16448         * malloc/malloc (malloc_info): Do not handle first bin as
16449         special case.
16450
16451 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16452
16453         * locale/iso-639.def: Add Central Nahuatl (nhn).
16454
16455 2013-11-01  Bruno Haible  <bruno@clisp.org>
16456
16457         [BZ #7003]
16458         * manual/math.texi (BSD Random): Specify range upper bound as
16459         in POSIX.
16460
16461 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16462
16463         * locale/iso-639.def: Add Meadow Mari (mhr).
16464
16465 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16466
16467         [BZ #14752], [BZ #15763]
16468         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16469         Validate name.
16470         * rt/tst_shm.c: Add test for escaping directory.
16471
16472 2013-10-31  Andreas Schwab  <schwab@suse.de>
16473
16474         [BZ #15917]
16475         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16476         followed by 'x' as part of digit sequence.
16477         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16478
16479 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16480
16481         [BZ #16037]
16482         * configure.ac: allow GNU Make 4.0 and greater.
16483         * configure: Regenerated.
16484
16485 2013-10-30  Will Newton  <will.newton@linaro.org>
16486
16487         [BZ #16038]
16488         * malloc/hooks.c (memalign_check): Limit alignment to the
16489         maximum representable power of two.
16490         * malloc/malloc.c (__libc_memalign): Likewise.
16491         * malloc/tst-memalign.c (do_test): Add test for very
16492         large alignment values.
16493         * malloc/tst-posix_memalign.c (do_test): Likewise.
16494
16495 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16496
16497         [BZ #11087]
16498         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16499         (munmap_chunk): Likewise.
16500         (mremap_chunk): Likewise.
16501
16502 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16503
16504         [BZ #15799]
16505         * stdlib/div.c (div): Remove obsolete code.
16506         * stdlib/ldiv.c (ldiv): Likewise.
16507         * stdlib/lldiv.c (lldiv): Likewise.
16508
16509 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16510
16511         [BZ #16071]
16512         * nss/nss_files/files-XXX.c (get_contents_ret): New
16513         enumerator.
16514         (get_contents): New function.
16515         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16516
16517 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16518
16519         * configure.in: Moved to ...
16520         * configure.ac: ... here. Change reference to configure.in
16521         to configure.ac.
16522         * sysdeps/arm/preconfigure.ac: ... here.
16523         configure.in to configure.ac.
16524         * sysdeps/gnu/configure.in: Moved to ...
16525         * sysdeps/gnu/configure.ac: ... here.
16526         * sysdeps/i386/configure.in: Moved to ...
16527         * sysdeps/i386/configure.ac: ... here.
16528         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16529         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16530         * sysdeps/mach/configure.in: Moved to ...
16531         * sysdeps/mach/configure.ac: ... here.
16532         * sysdeps/mach/hurd/configure.in: Moved to ...
16533         * sysdeps/mach/hurd/configure.ac: ... here.
16534         * sysdeps/powerpc/configure.in: Moved to ...
16535         * sysdeps/powerpc/configure.ac: ... here.
16536         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16537         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16538         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16539         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16540         * sysdeps/s390/s390-32/configure.in: Moved to ...
16541         * sysdeps/s390/s390-32/configure.ac: ... here.
16542         * sysdeps/s390/s390-64/configure.in: Moved to ...
16543         * sysdeps/s390/s390-64/configure.ac: ... here.
16544         * sysdeps/sh/configure.in: Moved to ...
16545         * sysdeps/sh/configure.ac: ... here.
16546         * sysdeps/sparc/configure.in: Moved to ...
16547         * sysdeps/sparc/configure.ac: ... here.
16548         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16549         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16550         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16551         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16552         * sysdeps/x86_64/configure.in: Moved to ...
16553         * sysdeps/x86_64/configure.ac: ... here.
16554         * sysdeps/x86_64/preconfigure.in: Moved to ...
16555         * sysdeps/x86_64/preconfigure.ac: ... here.
16556         * aclocal.m4: Change reference to configure.in to configure.ac.
16557         * config.h.in: Likewise.
16558         * manual/install.texi: Likewise.
16559         * manual/maint.texi: Likewise.
16560         * Makefile: Likewise.
16561         * malloc/Makefile: Likewise.
16562         * nscd/Makefile: Likewise.
16563         * Makeconfig: Change reference to configure.in and
16564         preconfigure.in to configure.ac and preconfigure.ac
16565         respectively.
16566         * INSTALL: Regenerated.
16567         * configure: Likewise.
16568         * sysdeps/gnu/configure: Likewise.
16569         * sysdeps/i386/configure: Likewise.
16570         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16571         * sysdeps/mach/configure: Likewise.
16572         * sysdeps/mach/hurd/configure: Likewise.
16573         * sysdeps/powerpc/configure: Likewise.
16574         * sysdeps/powerpc/powerpc32/configure: Likewise.
16575         * sysdeps/powerpc/powerpc64/configure: Likewise.
16576         * sysdeps/s390/s390-32/configure: Likewise.
16577         * sysdeps/s390/s390-64/configure: Likewise.
16578         * sysdeps/sh/configure: Likewise.
16579         * sysdeps/sparc/configure: Likewise.
16580         * sysdeps/unix/sysv/linux/configure: Likewise.
16581         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16582         * sysdeps/x86_64/configure: Likewise.
16583         * sysdeps/x86_64/preconfigure: Likewise.
16584
16585 2013-10-29  Andreas Schwab  <schwab@suse.de>
16586
16587         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16588
16589 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16590
16591         * benchtests/pow-inputs: Add new inputs.
16592
16593         * benchtests/exp-inputs: Add new inputs.
16594
16595         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16596         conditional check for return value.
16597         (__cos32): Likewise.
16598
16599 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16600
16601         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16602         to provide a boost for large inputs with word alignment.
16603         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16604         implementation based on optimized PPC64 strcpy.
16605         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16606         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16607         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16608         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16609
16610 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16611
16612         [BZ #2801]
16613         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16614
16615 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16616
16617         [BZ #14876]
16618         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16619         * time/tst-strptime.c (day_tests): Add testcase.
16620
16621 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16622
16623         [BZ #14029]
16624         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16625
16626 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16627
16628         [BZ #16074]
16629         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16630         MAP_FAILED on error.
16631
16632 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16633
16634         [BZ #16072]
16635         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16636         heap for large requests.
16637
16638 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16639
16640         [BZ #9954]
16641         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16642         result if the result has no associated interface.
16643         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16644         interface for all 127.X.Y.Z addresses.
16645
16646 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16647
16648         * locale/iso-639.def: Add Ligurian (lij)
16649
16650 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16651
16652         [BZ #15825]
16653         * sunrpc/rpc_main.c: Document rpcgen -5.
16654
16655 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16656
16657         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16658
16659 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16660
16661         [BZ #10278]
16662         * posix/glob.c: Match only directories when trailing slash is present.
16663         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16664         (main): Add testcase.
16665
16666 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16667
16668         [BZ #15670]
16669         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16670
16671 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16672
16673         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16674         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16675         AUTH_DES and cindex for FIPS 140-2.
16676         (DES Encryption): Add cindex FIPS 46-3.
16677
16678         * locale/locarchive.h (struct locarhandle): Add fname.
16679         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16680         if an optional argument was specified to --list-archive,
16681         otherwise NULL.
16682         * locale/programs/locarchive.c (show_archive_content): Take new
16683         argument fname and pass it via ah.fname to open_archive.
16684         * locale/programs/localedef.h: Update decl.
16685         (open_archive): If AH->fname is non-null, open that file
16686         rather than the default file name, and don't ignore ENOENT.
16687         (create_archive): Set AH.fname to NULL.
16688         (delete_locales_from_archive): Likewise.
16689         (add_locales_to_archive): Likewise.
16690         * locale/programs/locfile.c (write_all_categories): Likewise.
16691
16692 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16693             Aldy Hernandez  <aldyh@redhat.com>
16694
16695         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16696         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16697         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16698         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16699         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16700         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16702         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16703         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16704         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16705         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16706         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16707         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16708         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16709         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16710         Likewise.
16711         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16712         Likewise.
16713         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16714         Likewise.
16715         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16716         Likewise.
16717         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16718         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16719         Likewise.
16720         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16721         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16722         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16723         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16724         Likewise.
16725         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16726         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16727         * sysdeps/powerpc/preconfigure: Likewise.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16729         Likewise.
16730         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16731         Replace contents of file by #include of <fenv_libc.h>.
16732         * sysdeps/powerpc/soft-fp/sfp-machine.h
16733         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16734         and <sys/prctl.h>.
16735         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16738         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16739         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16745         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16748         Allow copysignl PLT reference to be missing.
16749
16750 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16751             Joseph Myers  <joseph@codesourcery.com
16752
16753         [BZ #15948]
16754         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16755         single character.
16756         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16757
16758 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16759
16760         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16761         * elf/tst-tls1.c: Likewise.
16762         * elf/tst-tls10.h: Likewise.
16763         * elf/tst-tls14.c: Likewise.
16764         * elf/tst-tls2.c: Likewise.
16765         * elf/tst-tls3.c: Likewise.
16766         * elf/tst-tls4.c: Likewise.
16767         * elf/tst-tls5.c: Likewise.
16768         * elf/tst-tls6.c: Likewise.
16769         * elf/tst-tls7.c: Likewise.
16770         * elf/tst-tls8.c: Likewise.
16771         * elf/tst-tls9.c: Likewise.
16772         * elf/tst-tlsmod1.c: Likewise.
16773         * elf/tst-tlsmod13.c: Likewise.
16774         * elf/tst-tlsmod13a.c: Likewise.
16775         * elf/tst-tlsmod14a.c: Likewise.
16776         * elf/tst-tlsmod16a.c: Likewise.
16777         * elf/tst-tlsmod16b.c: Likewise.
16778         * elf/tst-tlsmod2.c: Likewise.
16779         * elf/tst-tlsmod3.c: Likewise.
16780         * elf/tst-tlsmod4.c: Likewise.
16781         * elf/tst-tlsmod5.c: Likewise.
16782         * elf/tst-tlsmod6.c: Likewise.
16783
16784 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16785
16786         [BZ #12486]
16787         * malloc/malloc.c: remove checks for statistics.
16788
16789 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16790
16791         [BZ #15277]
16792         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16793         * inet/tst-network.c: Add testcase.
16794
16795 2013-10-17  Andreas Schwab  <schwab@suse.de>
16796
16797         [BZ #15218]
16798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16799         to determine canonical name.
16800
16801 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16802
16803         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16804         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16805         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16806         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16807         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16808         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16809         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16810         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16811         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16812         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16813         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16814         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16815         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16816         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16817         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16818         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16820         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16821         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16822         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16823         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16824         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16825         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16826         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16827         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16828         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16829         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16830         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16831         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16832         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16833         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16835         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16836         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16837         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16838         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16839         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16840         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16841         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16842         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16843         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16844         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16845         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16846         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16847         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16848         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16849         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16850         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16851         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16852         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16853         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16854         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16855         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16856         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16857         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16858         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16859         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16860         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16861
16862 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16863
16864         [BZ #16041]
16865         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16866         make result into a quiet NaN.
16867
16868 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16869
16870         * soft-fp/adddf3.c: Fix horizontal whitespace.
16871         * soft-fp/addsf3.c: Likewise.
16872         * soft-fp/addtf3.c: Likewise.
16873         * soft-fp/divdf3.c: Likewise.
16874         * soft-fp/divsf3.c: Likewise.
16875         * soft-fp/divtf3.c: Likewise.
16876         * soft-fp/double.h: Likewise.
16877         * soft-fp/eqdf2.c: Likewise.
16878         * soft-fp/eqsf2.c: Likewise.
16879         * soft-fp/eqtf2.c: Likewise.
16880         * soft-fp/extenddftf2.c: Likewise.
16881         * soft-fp/extended.h: Likewise.
16882         * soft-fp/extendsfdf2.c: Likewise.
16883         * soft-fp/extendsftf2.c: Likewise.
16884         * soft-fp/extendxftf2.c: Likewise.
16885         * soft-fp/fixdfdi.c: Likewise.
16886         * soft-fp/fixdfsi.c: Likewise.
16887         * soft-fp/fixdfti.c: Likewise.
16888         * soft-fp/fixsfdi.c: Likewise.
16889         * soft-fp/fixsfsi.c: Likewise.
16890         * soft-fp/fixsfti.c: Likewise.
16891         * soft-fp/fixtfdi.c: Likewise.
16892         * soft-fp/fixtfsi.c: Likewise.
16893         * soft-fp/fixtfti.c: Likewise.
16894         * soft-fp/fixunsdfdi.c: Likewise.
16895         * soft-fp/fixunsdfsi.c: Likewise.
16896         * soft-fp/fixunsdfti.c: Likewise.
16897         * soft-fp/fixunssfdi.c: Likewise.
16898         * soft-fp/fixunssfsi.c: Likewise.
16899         * soft-fp/fixunssfti.c: Likewise.
16900         * soft-fp/fixunstfdi.c: Likewise.
16901         * soft-fp/fixunstfsi.c: Likewise.
16902         * soft-fp/fixunstfti.c: Likewise.
16903         * soft-fp/floatdidf.c: Likewise.
16904         * soft-fp/floatdisf.c: Likewise.
16905         * soft-fp/floatditf.c: Likewise.
16906         * soft-fp/floatsidf.c: Likewise.
16907         * soft-fp/floatsisf.c: Likewise.
16908         * soft-fp/floatsitf.c: Likewise.
16909         * soft-fp/floattidf.c: Likewise.
16910         * soft-fp/floattisf.c: Likewise.
16911         * soft-fp/floattitf.c: Likewise.
16912         * soft-fp/floatundidf.c: Likewise.
16913         * soft-fp/floatundisf.c: Likewise.
16914         * soft-fp/floatunditf.c: Likewise.
16915         * soft-fp/floatunsidf.c: Likewise.
16916         * soft-fp/floatunsisf.c: Likewise.
16917         * soft-fp/floatunsitf.c: Likewise.
16918         * soft-fp/floatuntidf.c: Likewise.
16919         * soft-fp/floatuntisf.c: Likewise.
16920         * soft-fp/floatuntitf.c: Likewise.
16921         * soft-fp/fmadf4.c: Likewise.
16922         * soft-fp/fmasf4.c: Likewise.
16923         * soft-fp/fmatf4.c: Likewise.
16924         * soft-fp/gedf2.c: Likewise.
16925         * soft-fp/gesf2.c: Likewise.
16926         * soft-fp/getf2.c: Likewise.
16927         * soft-fp/ledf2.c: Likewise.
16928         * soft-fp/lesf2.c: Likewise.
16929         * soft-fp/letf2.c: Likewise.
16930         * soft-fp/muldf3.c: Likewise.
16931         * soft-fp/mulsf3.c: Likewise.
16932         * soft-fp/multf3.c: Likewise.
16933         * soft-fp/negdf2.c: Likewise.
16934         * soft-fp/negsf2.c: Likewise.
16935         * soft-fp/negtf2.c: Likewise.
16936         * soft-fp/op-1.h: Likewise.
16937         * soft-fp/op-2.h: Likewise.
16938         * soft-fp/op-4.h: Likewise.
16939         * soft-fp/op-8.h: Likewise.
16940         * soft-fp/op-common.h: Likewise.
16941         * soft-fp/quad.h: Likewise.
16942         * soft-fp/single.h: Likewise.
16943         * soft-fp/soft-fp.h: Likewise.
16944         * soft-fp/sqrtdf2.c: Likewise.
16945         * soft-fp/sqrtsf2.c: Likewise.
16946         * soft-fp/sqrttf2.c: Likewise.
16947         * soft-fp/subdf3.c: Likewise.
16948         * soft-fp/subsf3.c: Likewise.
16949         * soft-fp/subtf3.c: Likewise.
16950         * soft-fp/truncdfsf2.c: Likewise.
16951         * soft-fp/trunctfdf2.c: Likewise.
16952         * soft-fp/trunctfsf2.c: Likewise.
16953         * soft-fp/trunctfxf2.c: Likewise.
16954         * soft-fp/unorddf2.c: Likewise.
16955         * soft-fp/unordsf2.c: Likewise.
16956         * soft-fp/unordtf2.c: Likewise.
16957
16958 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16959
16960         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16961         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16962
16963 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16964
16965         * elf/dl-libc.c: Clear initfini list after freeing.
16966
16967 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16968
16969         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16970         * soft-fp/addsf3.c: Likewise.
16971         * soft-fp/addtf3.c: Likewise.
16972         * soft-fp/divdf3.c: Likewise.
16973         * soft-fp/divsf3.c: Likewise.
16974         * soft-fp/divtf3.c: Likewise.
16975         * soft-fp/double.h: Likewise.
16976         * soft-fp/eqdf2.c: Likewise.
16977         * soft-fp/eqsf2.c: Likewise.
16978         * soft-fp/eqtf2.c: Likewise.
16979         * soft-fp/extenddftf2.c: Likewise.
16980         * soft-fp/extended.h: Likewise.
16981         * soft-fp/extendsfdf2.c: Likewise.
16982         * soft-fp/extendsftf2.c: Likewise.
16983         * soft-fp/extendxftf2.c: Likewise.
16984         * soft-fp/fixdfdi.c: Likewise.
16985         * soft-fp/fixdfsi.c: Likewise.
16986         * soft-fp/fixdfti.c: Likewise.
16987         * soft-fp/fixsfdi.c: Likewise.
16988         * soft-fp/fixsfsi.c: Likewise.
16989         * soft-fp/fixsfti.c: Likewise.
16990         * soft-fp/fixtfdi.c: Likewise.
16991         * soft-fp/fixtfsi.c: Likewise.
16992         * soft-fp/fixtfti.c: Likewise.
16993         * soft-fp/fixunsdfdi.c: Likewise.
16994         * soft-fp/fixunsdfsi.c: Likewise.
16995         * soft-fp/fixunsdfti.c: Likewise.
16996         * soft-fp/fixunssfdi.c: Likewise.
16997         * soft-fp/fixunssfsi.c: Likewise.
16998         * soft-fp/fixunssfti.c: Likewise.
16999         * soft-fp/fixunstfdi.c: Likewise.
17000         * soft-fp/fixunstfsi.c: Likewise.
17001         * soft-fp/fixunstfti.c: Likewise.
17002         * soft-fp/floatdidf.c: Likewise.
17003         * soft-fp/floatdisf.c: Likewise.
17004         * soft-fp/floatditf.c: Likewise.
17005         * soft-fp/floatsidf.c: Likewise.
17006         * soft-fp/floatsisf.c: Likewise.
17007         * soft-fp/floatsitf.c: Likewise.
17008         * soft-fp/floattidf.c: Likewise.
17009         * soft-fp/floattisf.c: Likewise.
17010         * soft-fp/floattitf.c: Likewise.
17011         * soft-fp/floatundidf.c: Likewise.
17012         * soft-fp/floatundisf.c: Likewise.
17013         * soft-fp/floatunsidf.c: Likewise.
17014         * soft-fp/floatunsisf.c: Likewise.
17015         * soft-fp/floatuntidf.c: Likewise.
17016         * soft-fp/floatuntisf.c: Likewise.
17017         * soft-fp/floatuntitf.c: Likewise.
17018         * soft-fp/fmadf4.c: Likewise.
17019         * soft-fp/fmasf4.c: Likewise.
17020         * soft-fp/fmatf4.c: Likewise.
17021         * soft-fp/gedf2.c: Likewise.
17022         * soft-fp/gesf2.c: Likewise.
17023         * soft-fp/getf2.c: Likewise.
17024         * soft-fp/ledf2.c: Likewise.
17025         * soft-fp/lesf2.c: Likewise.
17026         * soft-fp/letf2.c: Likewise.
17027         * soft-fp/muldf3.c: Likewise.
17028         * soft-fp/mulsf3.c: Likewise.
17029         * soft-fp/multf3.c: Likewise.
17030         * soft-fp/negdf2.c: Likewise.
17031         * soft-fp/negsf2.c: Likewise.
17032         * soft-fp/negtf2.c: Likewise.
17033         * soft-fp/op-1.h: Likewise.
17034         * soft-fp/op-2.h: Likewise.
17035         * soft-fp/op-4.h: Likewise.
17036         * soft-fp/op-8.h: Likewise.
17037         * soft-fp/op-common.h: Likewise.
17038         * soft-fp/quad.h: Likewise.
17039         * soft-fp/single.h: Likewise.
17040         * soft-fp/soft-fp.h: Likewise.
17041         * soft-fp/sqrtdf2.c: Likewise.
17042         * soft-fp/sqrtsf2.c: Likewise.
17043         * soft-fp/sqrttf2.c: Likewise.
17044         * soft-fp/subdf3.c: Likewise.
17045         * soft-fp/subsf3.c: Likewise.
17046         * soft-fp/subtf3.c: Likewise.
17047         * soft-fp/truncdfsf2.c: Likewise.
17048         * soft-fp/trunctfdf2.c: Likewise.
17049         * soft-fp/trunctfsf2.c: Likewise.
17050         * soft-fp/trunctfxf2.c: Likewise.
17051         * soft-fp/unorddf2.c: Likewise.
17052         * soft-fp/unordsf2.c: Likewise.
17053         * soft-fp/unordtf2.c: Likewise.
17054
17055 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17056
17057         [BZ #15672]
17058         * misc/error.c (error_tail): Fix possible buffer overflow.
17059
17060 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17061
17062         [BZ #13028]
17063         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17064         address.
17065
17066 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17067
17068         [BZ #832]
17069         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17070         testing pipefail option.
17071
17072 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17073
17074         * soft-fp/double.h: Indent preprocessor directives inside #if.
17075         * soft-fp/extended.h: Likewise.
17076         * soft-fp/op-2.h: Likewise.
17077         * soft-fp/op-4.h: Likewise.
17078         * soft-fp/op-common.h: Likewise.
17079         * soft-fp/quad.h: Likewise.
17080         * soft-fp/single.h: Likewise.
17081         * soft-fp/soft-fp.h: Likewise.
17082
17083 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17084
17085         * iconv/iconv_prog.c: Fix typos.
17086         * stdio-common/psiginfo-data.h: Likewise.
17087
17088 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17089
17090         [BZ #15764]
17091         * locale/setlocale.c: Fix typo.
17092
17093 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17094
17095         [BZ #16036]
17096         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17097         signaling NaN arguments.
17098         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17099         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17100
17101         [BZ #14910]
17102         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17103         unordered operands.
17104         * soft-fp/gesf2.c (__gesf2): Likewise.
17105         * soft-fp/getf2.c (__getf2): Likewise.
17106         * soft-fp/ledf2.c (__ledf2): Likewise.
17107         * soft-fp/lesf2.c (__lesf2): Likewise.
17108         * soft-fp/letf2.c (__letf2): Likewise.
17109
17110         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17111         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17112         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17113         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17114         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17115         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17116         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17117         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17118         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17119         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17120         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17121         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17122         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17123         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17124         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17125         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17126         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17127         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17128         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17129         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17130         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17131         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17132         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17133         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17134         * soft-fp/floattidf.c (__floattidf): Likewise.
17135         * soft-fp/floattisf.c (__floattisf): Likewise.
17136         * soft-fp/floattitf.c (__floattitf): Likewise.
17137         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17138         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17139         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17140         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17141         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17142         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17143         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17144         * soft-fp/gesf2.c (__gesf2): Likewise.
17145         * soft-fp/getf2.c (__getf2): Likewise.
17146         * soft-fp/ledf2.c (__ledf2): Likewise.
17147         * soft-fp/lesf2.c (__lesf2): Likewise.
17148         * soft-fp/letf2.c (__letf2): Likewise.
17149
17150         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17151         Undefine and redefine.
17152         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17153         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17154         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17155         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17156         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17157         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17158         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17159         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17160         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17161         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17162         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17163         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17164         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17165         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17166         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17167
17168         [BZ #16032]
17169         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17170         without decrementing exponent if mantissa >= that for the
17171         denominator, not >.
17172         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17173         denominator, not >.  Decrement exponent in < case instead of
17174         incrementing in >= case.
17175         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17176         without decrementing exponent if mantissa >= that for the
17177         denominator, not >.
17178
17179         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17180         computing saturated result for unsigned overflow.
17181
17182 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17183             Jeff Law  <law@redhat.com>
17184
17185         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17186         (atan2Mp): Add systemtap probe marker.
17187         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17188         (__ieee754_log): Add systemtap probe marker.
17189         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17190         (atanMp): Add systemtap probe marker.
17191         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17192         (tanMp): Add systemtap probe marker.
17193         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17194         (__slowexp): Add systemtap probe marker.
17195         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17196         (__slowpow): Add systemtap probe marker.
17197         * manual/probes.texi: Document probes.
17198
17199 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17200
17201         [BZ #15362]
17202         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17203         written.
17204         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17205         written.
17206         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17207         written to buffer but not flushed.
17208         * libio/iofwrite_u.c:  Likewise.
17209         * libio/iopadn.c:  Return bytes returned even if EOF was
17210         encountered.
17211         * libio/iowpadn.c:  Likewise.
17212         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17213         if _IO_padn does not write the whole buffer.
17214         [!COMPILE_WPRINTF] (PAD): Likewise.
17215
17216 2013-10-10  David S. Miller  <davem@davemloft.net>
17217
17218         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17219         directory block.
17220
17221 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17222
17223         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17224         instead of FSF address.
17225         * soft-fp/fixdfti.c: Likewise.
17226         * soft-fp/fixsfti.c: Likewise.
17227         * soft-fp/fixtfti.c: Likewise.
17228         * soft-fp/fixunsdfti.c: Likewise.
17229         * soft-fp/fixunssfti.c: Likewise.
17230         * soft-fp/fixunstfti.c: Likewise.
17231         * soft-fp/floattidf.c: Likewise.
17232         * soft-fp/floattisf.c: Likewise.
17233         * soft-fp/floattitf.c: Likewise.
17234         * soft-fp/floatuntidf.c: Likewise.
17235         * soft-fp/floatuntisf.c: Likewise.
17236         * soft-fp/floatuntitf.c: Likewise.
17237         * soft-fp/trunctfxf2.c: Likewise.
17238
17239         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17240         * soft-fp/fixdfti.c: Likewise.
17241         * soft-fp/fixsfti.c: Likewise.
17242         * soft-fp/fixtfti.c: Likewise.
17243         * soft-fp/fixunsdfti.c: Likewise.
17244         * soft-fp/fixunssfti.c: Likewise.
17245         * soft-fp/fixunstfti.c: Likewise.
17246         * soft-fp/floattidf.c: Likewise.
17247         * soft-fp/floattisf.c: Likewise.
17248         * soft-fp/floattitf.c: Likewise.
17249         * soft-fp/floatuntidf.c: Likewise.
17250         * soft-fp/floatuntisf.c: Likewise.
17251         * soft-fp/floatuntitf.c: Likewise.
17252         * soft-fp/trunctfxf2.c: Likewise.
17253
17254 2013-10-10  David S. Miller  <davem@davemloft.net>
17255
17256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17257
17258 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17259
17260         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17261         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17262         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17263         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17264         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17265         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17266         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17267
17268         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17269         for NaNs before doing comparisons on argument.
17270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17271         Likewise.
17272
17273 2013-10-10  Will Newton  <will.newton@linaro.org>
17274
17275         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17276         passed to _int_memalign does not overflow.
17277
17278 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17279
17280         * scripts/bench.pl: Add include-sources directive.
17281         * benchtests/README: Update documentation.
17282
17283 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17284
17285         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17286         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17287         instead of FP_INIT_ROUNDMODE.
17288         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17289         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17290
17291         [BZ #16034]
17292         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17293         copy class of input value.
17294         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17295         not handle exceptions.
17296         * soft-fp/negsf2.c (__negsf2): Likewise.
17297         * soft-fp/negtf2.c (__negtf2): Likewise.
17298         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17299
17300 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17301
17302         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17303         semicolon.  From Linux kernel.
17304
17305 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17306
17307         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17308
17309 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17310
17311         [BZ #156]
17312         * manual/socket.texi: Added statement about buffer
17313         for gethostbyname2_r.
17314
17315 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17316
17317         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17318         Use .p2align directive instead, throughout.
17319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17320         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17321         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17322         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17323         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17324         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17325         * sysdeps/x86_64/strchr.S: Likewise.
17326         * sysdeps/x86_64/strrchr.S: Likewise.
17327
17328 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17329
17330         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17331
17332         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17333
17334         * sysdeps/generic/math_private.h (__mpsin1): Remove
17335         declaration.
17336         (__mpcos1): Likewise.
17337         (__mpsin): New argument __range_reduce.
17338         (__mpcos): Likewise.
17339         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17340         (slow): Use __mpsin and __mpcos.
17341         (slow1): Likewise.
17342         (slow2): Likewise.
17343         (sloww): Likewise.
17344         (sloww1): Likewise.
17345         (sloww2): Likewise.
17346         (bsloww): Likewise.
17347         (bsloww1): Likewise.
17348         (bsloww2): Likewise.
17349         (cslow2): Likewise.
17350         (csloww): Likewise.
17351         (csloww1): Likewise.
17352         (csloww2): Likewise.
17353         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17354         range_reduce.  Merge in __mpsin1.
17355         (__mpcos): Likewise.
17356         (__mpsin1): Remove.
17357         (__mpcos1): Likewise.
17358
17359 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17360
17361         * locale/loadlocale.c (_nl_intern_locale_data): Use
17362         LOCFILE_ALIGNED_P.
17363         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17364         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17365         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17366         obstack data is appropriately aligned.
17367         (obstack_int32_grow_fast): Likewise.
17368         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17369         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17370         (add_locale_uint32_array): Likewise.
17371
17372 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17373
17374         * benchtests/Makefile: Remove ARGLIST and RET variables.
17375         ($(objpfx)bench-%.c): Pass only function name to the script.
17376         * benchtests/README: Update documentation.
17377         * benchtests/acos-inputs: Add new directives.
17378         * benchtests/acosh-inputs: Likewise.
17379         * benchtests/asin-inputs: Likewise.
17380         * benchtests/asinh-inputs: Likewise.
17381         * benchtests/atan-inputs: Likewise.
17382         * benchtests/atanh-inputs: Likewise.
17383         * benchtests/cos-inputs: Likewise.
17384         * benchtests/cosh-inputs: Likewise.
17385         * benchtests/exp-inputs: Likewise.
17386         * benchtests/log-inputs: Likewise.
17387         * benchtests/pow-inputs: Likewise.
17388         * benchtests/rint-inputs: Likewise.
17389         * benchtests/sin-inputs: Likewise.
17390         * benchtests/sinh-inputs: Likewise.
17391         * benchtests/tan-inputs: Likewise.
17392         * benchtests/tanh-inputs: Likewise.
17393         * scripts/bench.pl: Add support for new directives.
17394
17395 2013-10-07  Alan Modra  <amodra@gmail.com>
17396
17397         * README: Fix careless merge.
17398
17399 2013-10-05  Alan Modra  <amodra@gmail.com>
17400
17401         * NEWS: Mention powerpc64le support and bugs fixed.
17402         * README: Both big-endian and little-endian powerpc64 supported.
17403
17404 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17405
17406         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17407         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17408         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17409         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17410
17411 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17412
17413         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17414         match prototype.
17415
17416 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17417
17418         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17419         Move -mhard-float appending from
17420         ports/sysdeps/powerpc/powerpc32/Makefile.
17421         [$(with-fp) = yes] (ASFLAGS): Likewise.
17422         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17423         * sysdeps/powerpc/nofpu: Move directory from
17424         ports/sysdeps/powerpc/nofpu.
17425         * sysdeps/powerpc/soft-fp: Move directory from
17426         ports/sysdeps/powerpc/soft-fp.
17427         * sysdeps/powerpc/powerpc32/405: Move directory from
17428         ports/sysdeps/powerpc/powerpc32/405.
17429         * sysdeps/powerpc/powerpc32/440: Move directory from
17430         ports/sysdeps/powerpc/powerpc32/440.
17431         * sysdeps/powerpc/powerpc32/464: Move directory from
17432         ports/sysdeps/powerpc/powerpc32/464.
17433         * sysdeps/powerpc/powerpc32/476: Move directory from
17434         ports/sysdeps/powerpc/powerpc32/476.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17436         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17438         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17440         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17442         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17444         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17445         * README: Update for powerpc-*-linux-gnu software floating point
17446         support in libc.
17447
17448         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17449         case to powerpc/powerpc32*.
17450         * sysdeps/unix/sysv/linux/configure: Regenerated.
17451
17452         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17453         (_FPU_MASK_OM): Define as 0x04.
17454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17456         0x00c10080.
17457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17458         0x0000003c.
17459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17460
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17462         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17463         getcontext_e500.
17464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17465         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17466         setcontext_e500.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17468         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17469         and setcontext_e500.
17470
17471 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17472
17473         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17474
17475 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17476
17477         * manual/threads.texi (Default Thread Attributes): Fix typo.
17478
17479 2013-10-04  Will Newton  <will.newton@linaro.org>
17480
17481         * malloc/Makefile: Add tst-memalign.
17482         * malloc/tst-memalign.c: New file.
17483
17484         * malloc/tst-posix_memalign.c: Add comments.
17485         (do_test): Add comments and call free on all potentially
17486         allocated pointers. Add space after cast.
17487
17488         * malloc/tst-pvalloc.c: Add comments.
17489         (do_test): Add comments and call free on all potentially
17490         allocated pointers. Remove duplicate check for NULL pointer.
17491         Add space after cast.
17492
17493         * malloc/tst-valloc.c: Add comments.
17494         (do_test): Add comments and call free on all potentially
17495         allocated pointers. Remove duplicate check for NULL pointer.
17496         Add space after cast.
17497
17498 2013-10-04  Alan Modra  <amodra@gmail.com>
17499
17500         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17501         Use stdint types in rather than __attribute__((mode())).
17502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17503
17504 2013-10-04  Alan Modra  <amodra@gmail.com>
17505
17506         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17507         Correct handling of unaligned relocs for little-endian.
17508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17509
17510 2013-10-04  Alan Modra  <amodra@gmail.com>
17511
17512         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17513         * configure: Regenerate.
17514         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17515         * shlib-versions: Likewise.
17516
17517 2013-10-04  Alan Modra  <amodra@gmail.com>
17518
17519         * string/tester.c (test_memrchr): Increment reported test cycle.
17520
17521 2013-10-04  Alan Modra  <amodra@gmail.com>
17522
17523         * string/test-memcpy.c (do_one_test): When reporting errors, print
17524         string address and don't overrun end of string.
17525
17526 2013-10-04  Alan Modra  <amodra@gmail.com>
17527
17528         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17529         insrdi.  Make better use of reg selection to speed exit slightly.
17530         Schedule entry path a little better.  Remove useless "are we done"
17531         checks on entry to main loop.  Handle wrapping around zero address.
17532         Correct main loop count.  Handle single left-over word from main
17533         loop inline rather than by using loop_small.  Remove extra word
17534         case in loop_small caused by wrong loop count.  Add little-endian
17535         support.
17536         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17537         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17538         cache hint.
17539         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17540         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17541         support.  Avoid rlwimi.
17542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17543
17544 2013-10-04  Alan Modra  <amodra@gmail.com>
17545
17546         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17547         insrdi.  Formatting.
17548         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17549         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17550         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17551         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17552         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17553         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17554
17555 2013-10-04  Alan Modra  <amodra@gmail.com>
17556
17557         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17558         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17559         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17560         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17561         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17562         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17563         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17564         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17565         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17566         use of regs.  Use power7 mtocrf.  Tidy function tails.
17567
17568 2013-10-04  Alan Modra  <amodra@gmail.com>
17569
17570         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17571         Formatting.  Consistently use rXXX register defines or rN defines.
17572         Use early exit labels that avoid restoring unused non-volatile regs.
17573         Make cr field use more consistent with rWORDn compares.  Rename
17574         regs used as shift registers for unaligned loop, using rN defines
17575         for short lifetime/multiple use regs.
17576         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17577         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17578         addi 1,1,64 to pop stack frame.  Simplify return value code.
17579         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17580
17581 2013-10-04  Alan Modra  <amodra@gmail.com>
17582
17583         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17584         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17585         rather than rlwimi.
17586         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17587         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17588         little-endian support.  Correct typos.
17589         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17590         rather than rlwimi.
17591         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17592         in loop and entry code to keep "and." results.
17593         (strchr): Add little-endian support.  Comment.  Move cntlzd
17594         earlier in tail.
17595         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17596
17597 2013-10-04  Alan Modra  <amodra@gmail.com>
17598
17599         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17600         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17601         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17602         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17603
17604 2013-10-04  Alan Modra  <amodra@gmail.com>
17605
17606         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17607         (rTMP): Define as r11.
17608         (strcmp): Add little-endian support.  Optimise tail.
17609         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17610         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17611         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17612         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17613         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17614         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17616
17617 2013-10-04  Alan Modra  <amodra@gmail.com>
17618
17619         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17620         little-endian support.  Remove unnecessary "are we done" tests.
17621         Handle "s" wrapping around zero and extremely large "size".
17622         Correct main loop count.  Handle single left-over word from main
17623         loop inline rather than by using small_loop.  Correct comments.
17624         Delete "zero" tail, use "end_max" instead.
17625         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17626
17627 2013-10-04  Alan Modra  <amodra@gmail.com>
17628
17629         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17630         support.  Don't branch over align.
17631         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17632         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17633         support.  Rearrange tmp reg use to suit.  Comment.
17634         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17635
17636 2013-10-04  Alan Modra  <amodra@gmail.com>
17637
17638         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17639
17640 2013-10-04  Alan Modra  <amodra@gmail.com>
17641
17642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17643         conditional form of branch and link when obtaining pc.
17644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17645
17646 2013-10-04  Alan Modra  <amodra@gmail.com>
17647
17648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17649         HIWORD/LOWORD.
17650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17652
17653 2013-10-04  Alan Modra  <amodra@gmail.com>
17654
17655         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17656         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17657         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17658         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17659         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17660         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17661         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17662         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17663         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17664         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17665
17666 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17667             Alistair Popple <alistair@ozlabs.au.ibm.com>
17668             Alan Modra <amodra@gmail.com>
17669
17670         [BZ #15723]
17671         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17672         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17673         _dl_hwcap access for little-endian.
17674         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17675         destroy vmx regs when saving unaligned.
17676         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17677         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17678         destroy vmx regs when saving unaligned.
17679
17680 2013-10-04  Alan Modra  <amodra@gmail.com>
17681
17682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17683         Don't use a union to pack hi/low value.
17684
17685 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17686
17687         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17688         for little-endian.
17689         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17691         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17692         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17693         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17694
17695 2013-10-04  Alan Modra  <amodra@gmail.com>
17696
17697         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17698         constants to usual value for .cst8 section, and remove redundant
17699         high address load.
17700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17701         constant for 0x1p52.  Load little-endian words of double from
17702         correct stack offsets.
17703
17704 2013-10-04  Alan Modra  <amodra@gmail.com>
17705
17706         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17707         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17708         words of double from correct stack offsets.
17709         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17710         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17711         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17712         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17713         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17714         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17715         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17716         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17717         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17718         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17719         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17720         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17721         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17722         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17723         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17724         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17725         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17726
17727 2013-10-04  Alan Modra  <amodra@gmail.com>
17728
17729         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17730         64-bit int/double union.
17731         (_FPU_SETCW): Likewise.
17732         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17733         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17734
17735 2013-10-04  Alan Modra  <amodra@gmail.com>
17736
17737         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17738         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17739
17740 2013-10-04  Alan Modra  <amodra@gmail.com>
17741
17742         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17743         use vector int constants.
17744         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17745
17746 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17747
17748         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17749         array with long long.
17750         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17751         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17752         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17753         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17754         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17755         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17756         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17757         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17758         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17759         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17760         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17761         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17762         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17763
17764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17765
17766         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17767         (__signbit): Likewise.  Correct for little-endian.
17768         (__signbitl): Call __signbit.
17769         (lrint): Correct for little-endian.
17770         (lrintf): Call lrint.
17771
17772 2013-10-04  Alan Modra  <amodra@gmail.com>
17773
17774         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17775         union 32-bit int array member with 64-bit int array.
17776         (t515, tm256): Double rather than long double.
17777         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17778
17779 2013-10-04  Alan Modra  <amodra@gmail.com>
17780
17781         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17782         Delete.
17783         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17784         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17785         version of math_ldbl.h.
17786
17787 2013-10-04  Alan Modra  <amodra@gmail.com>
17788
17789         [BZ #15734], [BZ #15735]
17790         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17791         all uses of ieee875 long double macros and unions.  Simplify test
17792         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17793         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17794         normalize after ldbl_extract_mantissa, and don't add hidden bit
17795         already handled.  Don't treat low word of ieee854 mantissa like
17796         low word of IBM long double and mask off bit when testing for
17797         zero.
17798         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17799         all uses of ieee875 long double macros and unions.  Simplify tests
17800         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17801         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17802         two1022, instead use their values.  Recognise that tests for large
17803         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17804         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17805         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17806         test for 0.0L and nan.  Correct negation.
17807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17808         ieee875 long double macros and unions.  Correct output for large
17809         magnitude x.  Correct absolute value calculation.
17810         (__erfcl): Likewise.
17811         * math/libm-test.inc: Add tests for errors discovered in IBM long
17812         double versions of fmodl, remainderl, erfl and erfcl.
17813
17814 2013-10-04  Alan Modra  <amodra@gmail.com>
17815
17816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17817         all uses of ieee854 long double macros and unions.  Simplify tests
17818         for long doubles that are fully specified by the high double.
17819         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17820         Likewise.
17821         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17822         Remove dead code too.
17823         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17824         (__ieee754_ynl): Likewise.
17825         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17826         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17827         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17828         Remove dead code too.
17829         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17830         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17832         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17833         Simplify.
17834         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17835         Simplify.
17836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17837         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17838         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17839         Comment on variable precision.
17840         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17841         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17842         Likewise.
17843         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17844         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17845         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17846         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17847         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17848
17849 2013-10-04  Alan Modra  <amodra@gmail.com>
17850
17851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17852         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17853         all uses of ieee854 long double macros and unions.
17854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17856         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17857         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17858         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17859         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17860         Likewise.
17861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17862         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17863         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17864         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17866         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17867         Simplify sign and nan test too.
17868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17869         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17870         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17871         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17872         Likewise.
17873         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17874         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17875         Likewise.
17876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17877         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17878         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17879         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17880         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17882
17883 2013-10-04  Alan Modra  <amodra@gmail.com>
17884
17885         * stdio-common/printf_size.c (__printf_size): Don't use
17886         union ieee854_long_double in fpnum union.
17887         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17888         signbit macro to retrieve sign from long double.
17889         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17890         retrieve sign from long double.
17891         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17892         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17893         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17894         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17895         * math/test-misc.c (main): Don't use union ieee854_long_double.
17896
17897 2013-10-04  Alan Modra  <amodra@gmail.com>
17898
17899         [BZ #15680]
17900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17901         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17902         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17903         calculation.  Remove unnecessary test for denormal exponent.
17904         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17905         Correct handling of denormals.  Avoid undefined shift behaviour.
17906         Correct normalisation of low mantissa when low double is denormal.
17907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17908         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17909         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17910         Correct normalisation of low mantissa.  Test for overflow of high
17911         mantissa and normalise.
17912         (ldbl_nearbyint): Use more readable constant for two52.
17913         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17914         (__mpn_construct_long_double): Fix test for overflow of high
17915         mantissa and correct normalisation.  Avoid undefined shift.
17916
17917 2013-10-04  Alan Modra  <amodra@gmail.com>
17918
17919         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17920         (union ibm_extended_long_double): Define as an array of ieee754_double.
17921         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17922         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17923         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17924         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17925         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17926         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17928         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17929         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17930         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17931         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17932
17933 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17934
17935         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17936         page size instead of calling getpagesize.
17937
17938         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17939         (LOCFILE_ALIGN_MASK): Likewise.
17940         (LOCFILE_ALIGN_UP): Likewise.
17941         (LOCFILE_ALIGNED_P): Likewise.
17942         * locale/programs/ld-collate.c (collate_output): Use the new
17943         macros instead of __alignof__ (int32_t).
17944         * locale/weight.h (findidx): Likewise.
17945
17946 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17947
17948         [BZ #431]
17949         * manual/string.texi: Fix strncat and wcsncat.
17950
17951 2013-10-03  Brooks Moses  <bmoses@google.com>
17952
17953         [BZ #15915]
17954         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17955         * Makerules: ...here, and adjust associated comments.
17956
17957 2013-10-02  Will Newton  <will.newton@linaro.org>
17958
17959         * malloc/Makefile: Add tst-pvalloc.
17960         * malloc/tst-pvalloc.c: New file.
17961
17962 2013-10-02  Will Newton  <will.newton@linaro.org>
17963
17964         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17965         improve test coverage.
17966
17967 2013-10-02  Will Newton  <will.newton@linaro.org>
17968
17969         * malloc/Makefile: Add tst-posix_memalign.
17970         * malloc/tst-posix_memalign.c: New file.
17971
17972 2013-10-01  Eric Blake  <eblake@redhat.com>
17973
17974         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17975         Use __THROWNL rather than __THROW on static functions.
17976
17977 2013-09-30  Petr Machata  <pmachata@redhat.com>
17978
17979         * elf/elf.h (R_AARCH64_ABS16): New macro.
17980         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17981         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17982         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17983         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17984         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17985         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17986         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17987         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17988         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17989         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17990         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17991         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17992         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17993         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17994         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17995         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17996         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17997         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17998         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17999         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18000         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18001         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18002         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18003         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18004         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18005         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18006         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18007         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18008         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18009         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18010         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18011         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18012         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18013         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18014         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18015         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18016         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18017         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18018         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18019         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18020         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18021         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18022         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18023         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18024         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18025         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18026         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18027         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18028         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18029         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18030         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18031         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18032         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18033         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18034         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18035         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18036         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18037         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18038         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18039         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18040         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18041         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18042         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18043         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18044         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18045         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18046         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18047         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18048         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18049         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18050         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18051         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18052         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18053         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18054         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18055         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18056         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18057         (R_AARCH64_TLSDESC_LDR): Likewise.
18058         (R_AARCH64_TLSDESC_ADD): Likewise.
18059         (R_AARCH64_TLSDESC_CALL): Likewise.
18060
18061 2013-09-30  Andreas Schwab  <schwab@suse.de>
18062
18063         [BZ #15048]
18064         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18065         the nss database lookup.
18066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18068
18069 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18070
18071         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18072
18073 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18074
18075         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18076         ${Bash-specific parameter/pattern/string} parameter expansion.
18077         * sysdeps/unix/make-syscalls.sh: Likewise.
18078
18079 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18080
18081         * sysdeps/sh/stackguard-macros.h: New file.
18082
18083 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18084
18085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18087         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18088         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18089         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18090         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18091
18092 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18093
18094         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18095         Fix thread ID register.
18096
18097 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18098
18099         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18100         [POSIX || UNIX98]: Require rather than permitting all symbols from
18101         <time.h>.
18102         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18103         element of struct sched_param.
18104         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18105         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18106         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18107         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18108         constant.
18109
18110 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18111
18112         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18113         argument calculation.
18114
18115 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18116
18117         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18118         Expect macro.
18119         [POSIX] (pthread_attr_t): Do not require type.
18120         [POSIX] (pthread_cond_t): Likewise.
18121         [POSIX] (pthread_condattr_t): Likewise.
18122         [POSIX] (pthread_key_t): Likewise.
18123         [POSIX] (pthread_mutex_t): Likewise.
18124         [POSIX] (pthread_mutexattr_t): Likewise.
18125         [POSIX] (pthread_once_t): Likewise.
18126         [POSIX] (pthread_t): Likewise.
18127         [POSIX-based standards] (pthread_atfork): Expect function.
18128
18129 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18130             Richard Sandiford  <richard@codesourcery.com>
18131
18132         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18133         (swap_endianness_p): New extern variable.
18134         (set_big_endian): New inline function.
18135         (maybe_swap_uint32): Likewise.
18136         (maybe_swap_uint32_array): Likewise.
18137         (maybe_swap_uint32_obstack): Likewise.
18138         * locale/programs/locfile.c: Include <stdbool.h>.
18139         (swap_endianness_p): New variable.
18140         (add_locale_uint32): Call maybe_swap_uint32.
18141         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18142         (write_locale_data): Call maybe_swap_uint32_array.
18143         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18144         maybe_swap_uint32.
18145         (obstack_int32_grow_fast): Likewise.
18146         (output_weightwc): Call maybe_swap_uint32_obstack.
18147         (collate_output): Likewise.
18148         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18149         (OPT_LITTLE_ENDIAN): Likewise.
18150         (options): Add --little-endian and --big-endian options.
18151         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18152         * locale/programs/locarchive.c: Include "locfile.h".
18153         (GET): New macro.
18154         (SET): Likewise.
18155         (INC): Likewise.
18156         (create_archive): Use the new macros to access fields of
18157         structures directly mapped from or written to locale archives.
18158         (oldlocrecentcmp): Likewise.
18159         (enlarge_archive): Likewise.
18160         (insert_name): Likewise.
18161         (add_alias): Likewise.
18162         (add_locale): Likewise.
18163         (delete_locales_from_archive): Likewise.
18164         (show_archive_content): Likewise.
18165         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18166         locale data.
18167
18168 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18169
18170         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18171         http://www.gnu.org/doc/freemanuals.texi.
18172         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18173
18174 2013-09-24  Will Newton  <will.newton@linaro.org>
18175
18176         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18177         macro.
18178
18179 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18180
18181         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18182         unsigned char.
18183
18184 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18185
18186         * manual/threads.texi (POSIX Threads): Fix a typo.
18187
18188 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18189
18190         [BZ #14547]
18191         * string/tst-strcoll-overflow.c: New test case.
18192         * string/Makefile (xtests): Add tst-strcoll-overflow.
18193         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18194         cache if string sizes may cause integer overflow.
18195
18196         [BZ #14547]
18197         * string/strcoll_l.c (coll_seq): New members rule, idx,
18198         save_idx and back_us.
18199         (get_next_seq_nocache): New function.
18200         (do_compare_nocache): New function.
18201         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18202         when malloc fails.
18203
18204 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18205
18206         [BZ #15754]
18207         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18208         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18209         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18210
18211         [BZ #15754]
18212         * elf/Makefile (tests): Add tst-ptrguard1.
18213         (tests-static): Add tst-ptrguard1-static.
18214         (tst-ptrguard1-ARGS): Define.
18215         (tst-ptrguard1-static-ARGS): Define.
18216         * elf/tst-ptrguard1.c: New file.
18217         * elf/tst-ptrguard1-static.c: New file.
18218         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18219         * sysdeps/i386/stackguard-macros.h: Likewise.
18220         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18221         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18222         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18223         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18224         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18225         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18226
18227 2013-09-23  Hector Marco  <hecmargi@upv.es>
18228             Ismael Ripoll  <iripoll@disca.upv.es>
18229             Carlos O'Donell  <carlos@redhat.com>
18230
18231         [BZ #15754]
18232         * sysdeps/generic/stackguard-macros.h: Define
18233         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18234         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18235         Define __pointer_chk_guard_local.
18236         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18237         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18238
18239 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18240
18241         [BZ #15859]
18242         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18243
18244 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18245
18246         * include/string.h (__ffs): Declare as hidden.
18247         * string/ffs.c (__ffs): Define as hidden.
18248         * sysdeps/i386/ffs.c (__ffs): Likewise.
18249         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18250         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18251         * sysdeps/s390/ffs.c (__ffs): Likewise.
18252         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18253
18254 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18255
18256         * NEWS: Mention malloc probes.
18257
18258         * malloc/arena.c (new_heap): New memory_heap_new probe.
18259         (grow_heap): New memory_heap_more probe.
18260         (shrink_heap): New memory_heap_less probe.
18261         (heap_trim): New memory_heap_free probe.
18262         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18263         (systrim): New memory_sbrk_less probe.
18264         * manual/probes.texi: Document them.
18265
18266         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18267         * manual/probes.texi: Document it.
18268
18269         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18270         (__libc_realloc): Add memory_realloc_retry probe.
18271         (__libc_memalign): Add memory_memalign_retry probe.
18272         (__libc_valloc): Add memory_valloc_retry probe.
18273         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18274         (__libc_calloc): Add memory_calloc_retry probe.
18275         * manual/probes.texi: Document them.
18276
18277         * malloc/arena.c (get_free_list): Add probe
18278         memory_arena_reuse_free_list.
18279         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18280         and memory_arena_reuse.
18281         (arena_get2) [!PER_THREAD]: Likewise.
18282         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18283         memory_arena_reuse_realloc.
18284         * manual/probes.texi: Document them.
18285
18286         * malloc/malloc.c (__libc_free): Add
18287         memory_mallopt_free_dyn_thresholds probe.
18288         (__libc_mallopt): Add multiple memory_mallopt probes.
18289         * manual/probes.texi: Document them.
18290
18291         * malloc/malloc.c: Include stap-probe.h.
18292         (__libc_mallopt): Add memory_mallopt probe.
18293         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18294         * manual/probes.texi: New.
18295         * manual/Makefile (chapters): Add probes.
18296         * manual/threads.texi: Set next node.
18297
18298 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18299
18300         [BZ #15963, #13985]
18301         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18302         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18303         Add `Chinese' to `nan' entry name.
18304
18305 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18306
18307         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18308         (POLYNOMIAL): Likewise.
18309         (TAYLOR_SINCOS): Likewise.
18310         (TAYLOR_SLOW): Likewise.
18311         (__sin): Use TAYLOR_SINCOS.
18312         (__cos): Likewise.
18313         (slow): Use TAYLOR_SLOW.
18314         (sloww): Likewise.
18315         (bsloww): Likewise.
18316         (csloww): Likewise.
18317
18318 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18319
18320         * stdlib/strtod_l.c: Fix buffer overrun.
18321
18322 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18323
18324         * benchtests/Makefile (bench): Add sincos.
18325         * benchtests/bench-sincos.c: New file.
18326
18327         * math/libm-test.inc (cos_test_data): New test inputs.
18328         (sin_test_data): Likewise.
18329
18330         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18331         macro.
18332         (__sin): Use it.
18333         (__cos): Likewise.
18334         (slow1): Likewise.
18335         (slow2): Likewise.
18336         (sloww1): Likewise.
18337         (sloww2): Likewise.
18338         (bsloww1): Likewise.
18339         (bsloww2): Likewise.
18340         (cslow2): Likewise.
18341         (csloww1): Likewise.
18342         (csloww2): Likewise.
18343
18344         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18345         function.
18346         (__sin): Use it.
18347         (__cos): Likewise.
18348
18349         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18350         gotos.
18351         (__cos): Likewise.
18352
18353 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18354
18355         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18356         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18357         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18358         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18359         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18360         * elf/cache.c (print_entry): Handle the new cache flags.
18361
18362 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18363             Aldy Hernandez  <aldyh@redhat.com>
18364
18365         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18366         Change condition to [_SOFT_FLOAT].
18367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18379         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18382         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18383         declaration.
18384
18385 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18386
18387         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18388         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18389         (__longjmp): Use LOAD_GP to load saved GPRs.
18390         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18391         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18392         (__sigsetjmp): Use SAVE_GP to save GPRs.
18393
18394         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18395         Do not append -msoft-float.
18396         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18397
18398 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18399
18400         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18401
18402 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18403
18404         [BZ #15966]
18405         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18406         (_FPU_GETCW): Use initial "__" on variable and field names but not
18407         on macro parameter name.
18408         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18409         parentheses around reference to macro parameter.
18410
18411 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18412
18413         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18414         prototype.
18415         (ctype_startup): Use uint32_t in cast and sizeof for
18416         ctype->charnames.
18417
18418 2013-09-11  Jia Liu  <proljc@gmail.com>
18419
18420         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18421         __daddr_t_defined.
18422         [__FreeBSD__]: Likewise.
18423
18424 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18425
18426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18427         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18428         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18429         (strchr): Remove __strchr_sse42 ifunc selection.
18430         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18431         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18432
18433 2013-09-11  Will Newton  <will.newton@linaro.org>
18434
18435         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18436         parameter to RES. Remove hardcoded 1000 value.
18437         * benchtests/bench-skeleton.c (main): Pass RES parameter
18438         to TIMING_INIT and multiply result by 1000.
18439
18440 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18441
18442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18443
18444 2013-09-11  Andreas Schwab  <schwab@suse.de>
18445
18446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18447         if not defined.
18448         (O_TMPFILE) [__USE_GNU]: Define.
18449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18450         Define.
18451
18452 2013-09-11  Will Newton  <will.newton@linaro.org>
18453
18454         [BZ #15857]
18455         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18456         does not overflow.
18457
18458 2013-09-11  Will Newton  <will.newton@linaro.org>
18459
18460         [BZ #15856]
18461         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18462         does not overflow.
18463
18464 2013-09-11  Will Newton  <will.newton@linaro.org>
18465
18466         [BZ #15855]
18467         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18468         does not overflow.
18469
18470 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18471
18472         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18474         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18475         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18476         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18477
18478 2013-09-10  Allan McRae  <allan@archlinux.org>
18479
18480         [BZ #15748]
18481         * manual/arith.texi (Parsing of Floats): Clarify
18482         cross-reference.
18483
18484         [BZ #15849]
18485         * manual/install.texi (Running make install): Mention
18486         --enable-pt-chown.
18487         * INSTALL: Regenerated.
18488
18489 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18490
18491         * csu/init-first.c (_init): Remove the !SHARED condition around
18492         FPU control word initialization.
18493         * elf/dl-support.c (_dl_fpu_control): New variable.
18494         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18495         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18496         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18497         * math/test-fpucw-static.c: New file.
18498         * math/test-fpucw-ieee.c: New file.
18499         * math/test-fpucw-ieee-static.c: New file.
18500         * math/Makefile (tests): Add `test-fpucw-ieee' and
18501         `$(tests-static)'.
18502         (tests-static): New variable.
18503         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18504         dependency to...
18505         [($(build-shared),yes)]
18506         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18507         ... this.
18508         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18509         New dependency.
18510
18511 2013-09-09  Allan McRae  <allan@archlinux.org>
18512
18513         [BZ #15939]
18514         * manual/string.texi (Collation Functions): Fix typo in
18515         strcoll example.
18516         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18517
18518         [BZ #15893]
18519         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18520
18521         [BZ #15892]
18522         * libio/memstream.c (open_memstream): Fix memory leak.
18523         * libio/wmemstream.c (open_wmemstream): Likewise.
18524
18525         [BZ #15895]
18526         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18527
18528 2013-09-09  Will Newton  <will.newton@linaro.org>
18529
18530         * malloc/Makefile: Add tst-realloc to tests.
18531         * malloc/tst-realloc.c: New file.
18532
18533 2013-09-09  Allan McRae  <allan@archlinux.org>
18534
18535         [BZ #15844]
18536         * COPYING: Update from GNU website to fix FSF address.
18537         * COPYING.LIB: Likewise.
18538
18539 2013-09-06  David S. Miller  <davem@davemloft.net>
18540
18541         * po/zh_TW.po: Update Chinese (traditional) translation from
18542         translation project.
18543
18544 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18545             Joseph Myers  <joseph@codesourcery.com>
18546
18547         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18548         "localeinfo.h".
18549         (obstack_chunk_alloc): New macro.
18550         (obstack_chunk_free): Likewise.
18551         (record_offset): New function.
18552         (init_locale_data): Likewise.
18553         (align_locale_data): Likewise.
18554         (add_locale_empty): Likewise.
18555         (add_locale_raw_data): Likewise.
18556         (add_locale_raw_obstack): Likewise.
18557         (add_locale_string): Likewise.
18558         (add_locale_wstring): Likewise.
18559         (add_locale_uint32): Likewise.
18560         (add_locale_uint32_array): Likewise.
18561         (add_locale_char): Likewise.
18562         (start_locale_structure): Likewise.
18563         (end_locale_structure): Likewise.
18564         (start_locale_prelude): Likewise.
18565         (end_locale_prelude): Likewise.
18566         (write_locale_data): Take locale_file structure rather than an
18567         iovec.
18568         * locale/programs/locfile.h: Include "obstack.h".
18569         (struct locale_file): Change to store locale file contents instead
18570         of header.
18571         (init_locale_data): New prototype.
18572         (align_locale_data): Likewise.
18573         (add_locale_empty): Likewise.
18574         (add_locale_raw_data): Likewise.
18575         (add_locale_raw_obstack): Likewise.
18576         (add_locale_string): Likewise.
18577         (add_locale_wstring): Likewise.
18578         (add_locale_uint32): Likewise.
18579         (add_locale_uint32_array): Likewise.
18580         (add_locale_char): Likewise.
18581         (start_locale_structure): Likewise.
18582         (end_locale_structure): Likewise.
18583         (start_locale_prelude): Likewise.
18584         (end_locale_prelude): Likewise.
18585         (write_locale_data): Update prototype.
18586         * locale/programs/3level.h (struct TABLE): Remove result field.
18587         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18588         Use new locale_file interface.
18589         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18590         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18591         * locale/programs/ld-address.c (address_output): Use new
18592         locale_file interface.
18593         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18594         NO_ADD_LOCALE.
18595         (collate_finish): Don't call collseq_table_finalize.
18596         (collate_output): Use new locale_file interface.
18597         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18598         in file.
18599         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18600         (TABLE): Move defines earlier in file.
18601         (ELEMENT): Likewise.
18602         (DEFAULT): Likewise.
18603         (wctrans_table_add): Move macro and inline function earlier in
18604         file.
18605         (struct wctype_table): Move type earlier in file.
18606         (add_locale_wctype_table): New static prototype.
18607         (struct locale_ctype_t): Use logical types instead of struct iovec
18608         pointers for members.
18609         (ctype_output): Use new locale_file interface.
18610         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18611         new locale_file interface.
18612         (allocate_arrays): Update for use of new locale_file interface.
18613         * locale/programs/ld-identification.c (identification_output): Use
18614         new locale_file interface.
18615         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18616         * locale/programs/ld-messages.c (messages_output): Likewise.
18617         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18618         * locale/programs/ld-name.c (name_output): Likewise.
18619         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18620         * locale/programs/ld-paper.c (paper_output): Likewise.
18621         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18622         * locale/programs/ld-time.c (time_output): Likewise.
18623
18624 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18625
18626         * benchtests/Makefile: Add memrchr benchmark.
18627         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18628         benchmark as memrchr.
18629         * benchtests/bench-memrchr-ifunc.c: New file.
18630         * benchtests/bench-memrchr.c: New file.
18631
18632 2013-09-06   Will Newton  <will.newton@linaro.org>
18633
18634         * benchtests/Makefile (string-bench): Add memcpy.
18635
18636 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18637             Cong Wang  <amwang@redhat.com>
18638
18639         [BZ #15850]
18640         * sysdeps/unix/sysv/linux/bits/in.h
18641         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18642         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18643         before __USE_KERNEL_IPV6_DEFS uses.
18644         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18645         IPPROTO_BEETPH.
18646         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18647         sockaddr_in6, or ipv6_mreq.
18648
18649 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18650
18651         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18652         memory access for final bytes in some large inputs.
18653         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18654
18655 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18656
18657         * string/test-memrchr.c: New file.
18658         * string/test-memrchr-ifunc.c: New file.
18659         * string/Makefile: Add new memrchr testcase.
18660
18661 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18662
18663         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18664         fanotify_init returns EPERM.
18665
18666 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18667
18668         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18669         errors.
18670         (top level): Treat second token from macro or constant entries for
18671         allowed headers as allowed.
18672         * include/complex.h: Condition internal declarations on
18673         [!_ISOMAC].
18674         * include/fenv.h: Condition include of <stdbool.h> and internal
18675         declarations on [!_ISOMAC].
18676
18677 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18678
18679         [BZ #15923]
18680         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18681
18682 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18683
18684         * configure.in (--enable-versioning): Remove configure option.
18685         (libc_cv_asm_symver_directive): Remove configure test.
18686         (libc_cv_ld_version_script_option): Likewise.
18687         (VERSIONING): Remove variable and AC_SUBST.
18688         (DO_VERSIONING): Remove AC_DEFINE.
18689         * configure: Regenerated.
18690         * config.h.in (DO_VERSIONING): Remove macro.
18691         * Makerules [$(versioning) = yes]: Change conditionals to
18692         [$(build-shared) = yes].
18693         * config.make.in (versioning): Remove variable.
18694         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18695         [$(build-shared) = yes].
18696         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18697         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18698         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18699         [$(build-shared) = yes].
18700         * extra-lib.mk [$(versioning) = yes]: Likewise.
18701         * hurd/Makefile [$(versioning) = yes]: Likewise.
18702         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18703         [SHARED].
18704         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18705         [SHARED].
18706         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18707         [SHARED && !NO_HIDDEN].
18708         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18709         [SHARED].
18710         [SHARED && DO_VERSIONING]: Likewise..
18711         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18712         [$(build-shared) = yes].
18713         * manual/install.texi (--disable-versioning): Remove
18714         documentation.
18715         * INSTALL: Regenerated.
18716         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18717         to [SHARED].
18718         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18719         [$(build-shared) = yes].
18720         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18721         * sysdeps/i386/i686/multiarch/strstr-c.c
18722         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18723         [SHARED && !NO_HIDDEN].
18724         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18725         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18726         * sysdeps/powerpc/powerpc32/dl-machine.c
18727         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18728         * sysdeps/powerpc/powerpc32/sysdep.h
18729         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18730         to [SHARED && PIC && !NO_HIDDEN].
18731         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18732         conditional to [SHARED].
18733
18734 2013-09-04   Will Newton  <will.newton@linaro.org>
18735
18736         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18737         * benchtests/bench-string.h: Include bench-timing.h instead
18738         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18739         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18740         call to HP_TIMING_DIFF_INIT.
18741         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18742         instead of hp-timing.h macros.
18743         * benchtests/bench-memchr.c: Likewise.
18744         * benchtests/bench-memcmp.c: Likewise.
18745         * benchtests/bench-memcpy.c: Likewise.
18746         * benchtests/bench-memmem.c: Likewise.
18747         * benchtests/bench-memmove.c: Likewise.
18748         * benchtests/bench-memset.c: Likewise.
18749         * benchtests/bench-rawmemchr.c: Likewise.
18750         * benchtests/bench-strcasecmp.c: Likewise.
18751         * benchtests/bench-strcasestr.c: Likewise.
18752         * benchtests/bench-strcat.c: Likewise.
18753         * benchtests/bench-strchr.c: Likewise.
18754         * benchtests/bench-strcmp.c: Likewise.
18755         * benchtests/bench-strcpy.c: Likewise.
18756         * benchtests/bench-strcpy_chk.c: Likewise.
18757         * benchtests/bench-strlen.c: Likewise.
18758         * benchtests/bench-strncasecmp.c: Likewise.
18759         * benchtests/bench-strncat.c: Likewise.
18760         * benchtests/bench-strncmp.c: Likewise.
18761         * benchtests/bench-strncpy.c: Likewise.
18762         * benchtests/bench-strnlen.c: Likewise.
18763         * benchtests/bench-strpbrk.c: Likewise.
18764         * benchtests/bench-strrchr.c: Likewise.
18765         * benchtests/bench-strspn.c: Likewise.
18766         * benchtests/bench-strstr.c: Likewise.
18767
18768 2013-09-04  Will Newton  <will.newton@linaro.org>
18769
18770         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18771
18772 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18773
18774         [BZ #15427]
18775         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18776         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18777         * math/libm-test.inc (lgamma_test_data): Add more tests.
18778         * sysdeps/i386/fpu/libm-test-ulps: Update.
18779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18780
18781 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18782
18783         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18785         Add ifunc.
18786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18787         Add strcmp-sse2-unaligned
18788         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18789
18790 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18791
18792         * Versions.def (libc): Add GLIBC_2.19.
18793
18794 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18795
18796         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18797         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18798
18799 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18800
18801         [BZ #14155]
18802         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18803         intermediate calculations in recurrence.
18804         (__ieee754_ynf): Likewise.
18805         * math/libm-test.inc (jn_test_data): Do not allow spurious
18806         underflow exception.  Add more tests.
18807         (yn_test_data): Add more tests.
18808         * sysdeps/i386/fpu/libm-test-ulps: Update.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18810
18811 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18812
18813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18814
18815 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18816
18817         * csu/init-first.c: Fix then/than typos.
18818         * locale/programs/ld-collate.c: Likewise.
18819         * locale/programs/linereader.h: Likewise.
18820         * manual/charset.texi: Likewise.
18821         * manual/filesys.texi: Likewise.
18822         * manual/stdio.texi: Likewise.
18823         * manual/string.texi: Likewise.
18824         * stdlib/fmtmsg.c: Likewise.
18825         * sysdeps/i386/stpncpy.S: Likewise.
18826         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18827         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18828         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18829         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18830
18831 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18832
18833         * elf/dl-open.c: Fix typos.
18834         * iconvdata/gbbig5.c: Likewise.
18835         * iconvdata/iso-2022-jp.c: Likewise.
18836         * iconv/gconv_int.h: Likewise.
18837         * iconv/loop.c: Likewise.
18838         * nis/rpcsvc/nis.h: Likewise.
18839         * resolv/ns_name.c: Likewise.
18840         * stdio-common/vfscanf.c: Likewise.
18841         * streams/stropts.h: Likewise.
18842         * sunrpc/rpc_thread.c: Likewise.
18843         * sysdeps/i386/strpbrk.S: Likewise.
18844         * sysdeps/ieee754/k_standard.c: Likewise.
18845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18847         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18848         * sysdeps/mach/hurd/profil.c: Likewise.
18849         * sysdeps/s390/dl-procinfo.h: Likewise.
18850         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18851         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18852         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18853         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18854         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18855
18856 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18857
18858         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18860
18861 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18862
18863         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18864         aix specific files.
18865         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18866         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18867         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18868         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18869         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18870         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18871         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18872         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18873
18874 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18875             Roland McGrath  <roland@hack.frob.com>
18876
18877         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18878         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18879
18880 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18881
18882         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18883         __executable_start symbol instead of _start.
18884
18885 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18886
18887         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18888         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18889         Move macros to...
18890         * sysdeps/gnu/ldsodefs.h: ... this new file.
18891
18892         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18893         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18894         instead of ELFOSABI_LINUX.
18895
18896         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18897         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18898         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18899         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18900         Likewise.
18901         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18902         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18903         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18904         Likewise.
18905         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18906         (ibm_extended_long_double): Add ieee_nan member.
18907         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18908         (do_test): New function.
18909
18910         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18911         TEST_TRUNC.
18912         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18913         functions, renamed from truncdfsf_test, trunctfsf_test,
18914         trunctfdf_test.
18915         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18916         functions.
18917         (do_test): Run all these.
18918
18919 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18920
18921         * argp/argp-help.c: Fix typos.
18922         * argp/argp-parse.c: Likewise.
18923         * debug/backtracesyms.c: Likewise.
18924         * elf/elf.h: Likewise.
18925         * malloc/malloc.c: Likewise.
18926         * nis/nis_print.c: Likewise.
18927         * resolv/res_comp.c: Likewise.
18928         * stdlib/stdlib.h: Likewise.
18929         * sunrpc/clnt_tcp.c: Likewise.
18930         * sunrpc/clnt_udp.c: Likewise.
18931         * sunrpc/clnt_unix.c: Likewise.
18932         * sysdeps/unix/bsd/ptsname.c: Likewise.
18933         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18934         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18936         Likewise.
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18938         Likewise.
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18940         Likewise.
18941         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18942
18943 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944
18945         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18947
18948 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18949
18950         [BZ #15897]
18951         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18952         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18953         ($(objpfx)bug-dl-leaf): New rule.
18954         ($(objpfx)bug-dl-leaf.so): Likewise.
18955         ($(objpfx)bug-dl-leaf.out): Likewise.
18956         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18957         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18958         * dlfcn/bug-dl-leaf.c: New test.
18959         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18960         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18961         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18962         (dlclose): Likewise.
18963         (dlmopen): Likewise.
18964
18965 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18966
18967         * include/netdb.h [!_ISOMAC]:
18968         Don't include <tls.h>.
18969         (h_errno, __libc_h_errno): Move declaration and macros out of
18970         [_LIBC_REENTRANT].
18971
18972         * include/resolv.h [_RESOLV_H_]:
18973         Don't include <tls.h>.
18974         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18975         * resolv/res_libc.c: Don't include <tls.h>.
18976         (_res): Use __attribute__ ((nocommon)) in place of
18977         __attribute__ ((section (".bss"))).
18978
18979         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18980         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18981
18982         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18983
18984         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18985         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18986
18987         * resolv/res_mkquery.c: Include <sys/time.h>.
18988
18989         * inet/ifreq.c: Moved to ...
18990         * sysdeps/unix/ifreq.c: ... here.
18991         * inet/ifreq.c: New file, true stub version.
18992
18993         * socket/sa_len.c: New file.
18994         * socket/Makefile (aux): Add it.
18995         * sysdeps/unix/sysv/linux/Makefile
18996         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18997         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18998         and #include <socket/sa_len.c>.
18999         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19000         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19001
19002         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19003         * bits/socket.h: ... here.
19004
19005         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19006         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19007         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19008
19009 2013-08-27  Andreas Schwab  <schwab@suse.de>
19010
19011         [BZ #15736]
19012         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19013         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19014         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19015         * string/test-strcasecmp.c (test_main): Run tests in several
19016         locales.
19017         * string/test-strncasecmp.c (test_main): Likewise.
19018
19019         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19020         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19021         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19023         (__strncasecmp_ssse3) [PIC]: Likewise.
19024
19025 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19026
19027         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19028
19029         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19030         instead of explicitly declaring xdecrypt.
19031         * nis/nss_nis/nis-publickey.c: Likewise.
19032
19033 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19034
19035         [BZ #15890]
19036         * nscd/aicache.c: Include res_hconf.h.
19037         (addhstaiX): Initialize res_hconf.
19038
19039 2013-08-26  Andreas Schwab  <schwab@suse.de>
19040
19041         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19042         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19043
19044 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19045
19046         * nscd/aicache.c (addhstaiX): Fix indentation.
19047
19048 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19049
19050         * configure.ac: Quote $build_pt_chown test.
19051         * configure: Regenerated.
19052
19053 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19054
19055         [BZ #15532]
19056         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19057         * math/s_cexpf.c (__cexpf): Likewise.
19058         * math/s_cexpl.c (__cexpl): Likewise.
19059         * math/libm-test.inc (cexp_test_data): Correct expected return
19060         value for NaN + i0.  Add another test.
19061
19062 2013-08-22  David S. Miller  <davem@davemloft.net>
19063
19064         * po/ca.po: Update Catalan translation from translation project.
19065         * po/uk.po: Add Ukrainian translations from translation project.
19066
19067 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19068
19069         [BZ #15797]
19070         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19071         is infinite, not alongside NaN test.
19072         * math/s_fdimf.c (__fdimf): Likewise.
19073         * math/s_fdiml.c (__fdiml): Likewise.
19074         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19075         errno is unchanged.
19076
19077 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19078
19079         * argp/argp-help.c: Fix typos.
19080         * crypt/speeds.c: Likewise.
19081         * csu/check_fds.c: Likewise.
19082         * elf/dl-load.c: Likewise.
19083         * elf/dl-open.c: Likewise.
19084         * elf/reldep3.c: Likewise.
19085         * elf/reldep.c: Likewise.
19086         * elf/sprof.c: Likewise.
19087         * iconv/iconv_charmap.c: Likewise.
19088         * iconv/skeleton.c: Likewise.
19089         * iconv/strtab.c: Likewise.
19090         * io/lockf64.c: Likewise.
19091         * libio/libioP.h: Likewise.
19092         * resolv/gai_notify.c: Likewise.
19093         * resolv/ns_name.c: Likewise.
19094         * resolv/ns_samedomain.c: Likewise.
19095         * resolv/res_send.c: Likewise.
19096         * stdlib/random.c: Likewise.
19097         * sunrpc/rpc/xdr.h: Likewise.
19098         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19099         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19100         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19101         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19102         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19105         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19106         * sysdeps/mach/hurd/check_fds.c: Likewise.
19107         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19108         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19109         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19111         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19112         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19113         * sysdeps/pthread/aio_notify.c: Likewise.
19114         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19115         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19116         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19117         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19118         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19119
19120 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19121
19122         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19123         version if bit_Slow_SSE4_2 is set.
19124         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19126
19127 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19128
19129         [BZ #15867]
19130         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19131         trampoline stack frame information.
19132         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19133         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19134         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19135         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19136         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19137         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19138         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19139         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19140         sa_flags value.
19141         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19142         interrupting a syscall and set with option SA_SIGINFO.
19143
19144 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19145
19146         [BZ #15531]
19147         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19148         argument is infinite.
19149         * math/s_cprojf.c (__cprojf): Likewise.
19150         * math/s_cprojl.c (__cprojl): Likewise.
19151         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19152         * math/libm-test.inc (cproj_test_data): Add more tests.
19153
19154         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19155
19156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19157         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19158         size.  Use __ffs to determine corresponding shift.
19159
19160 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19161             Roland McGrath  <roland@hack.frob.com>
19162
19163         * Makefile (INSTALL): Remove trailing blank lines from output of
19164         makeinfo.
19165
19166 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19167
19168         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19169         Align 32 bit compat elf_greg to 8 bytes.
19170
19171 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19172
19173         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19174
19175 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19176
19177         * string/strcoll_l.c (coll_seq): New structure.
19178         (get_next_seq_cached): New function.
19179         (get_next_seq): New function.
19180         (do_compare): New function.
19181         (STRCOLL): Use GNU style definition.  Simplify implementation
19182         by using get_next_seq, get_next_seq_cached and do_compare.
19183
19184 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19185
19186         [BZ #14699]
19187         CVE-2013-4237
19188         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19189         member.
19190         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19191         member.
19192         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19193         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19194         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19195         conditional.
19196         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19197         GETDENTS_64BIT_ALIGNED.
19198         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19199         * manual/filesys.texi (Reading/Closing Directory): Document
19200         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19201         strongly.
19202         * manual/conf.texi (Limits for Files): Add portability note to
19203         NAME_MAX, PATH_MAX.
19204         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19205
19206 2013-08-13  Andreas Schwab  <schwab@suse.de>
19207
19208         [BZ #15749]
19209         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19210         of fabs.
19211         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19212         LDBL_MAX_EXP >= 16384]: Add tests for it.
19213
19214 2013-08-12  David S. Miller  <davem@davemloft.net>
19215
19216         * version.h (RELEASE): Set to "development".
19217         (VERSION): Set to "2.18.90".
19218         * NEWS: Add 2.19 section.
19219
19220 2013-08-03  David S. Miller  <davem@davemloft.net>
19221
19222         * po/ko.po: Update Korean translation from translation project.
19223
19224 2013-08-01  David S. Miller  <davem@davemloft.net>
19225
19226         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19227         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19228         Bilka.
19229
19230 2013-07-30  David S. Miller  <davem@davemloft.net>
19231
19232         * po/fr.po: Update French translation from translation project.
19233
19234 2013-07-28  David S. Miller  <davem@davemloft.net>
19235
19236         * po/cs.po: Update Czech translation from translation project.
19237
19238         * po/sv.po: Update Swedish translation from translation project.
19239
19240 2013-07-27  David S. Miller  <davem@davemloft.net>
19241
19242         * po/eo.po: Update Esperanto translation from translation project.
19243
19244         * po/vi.po: Update Vietnamese translation from translation project.
19245
19246         * po/de.po: Update German translation from translation project.
19247
19248 2013-07-26  David S. Miller  <davem@davemloft.net>
19249
19250         * po/bg.po: Update Bulgarian translation from translation project.
19251
19252         * po/nl.po: Update Dutch translation from translation project.
19253         * po/pl.po: Update Polish translation from translation project.
19254         * po/ru.po: Update Russian translation from translation project.
19255
19256 2013-07-24  David S. Miller  <davem@davemloft.net>
19257
19258         * po/libc.pot: Update.
19259
19260 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19261
19262         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19263         variable page size.
19264         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19265         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19266         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19267
19268 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19269
19270         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19271
19272 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19273             Andreas Schwab  <schwab@suse.de>
19274             Roland McGrath  <roland@hack.frob.com>
19275             Joseph Myers  <joseph@codesourcery.com>
19276             Carlos O'Donell  <carlos@redhat.com>
19277
19278         [BZ #15755]
19279         * config.h.in: Define HAVE_PT_CHOWN.
19280         * config.make.in (build-pt-chown): New variable.
19281         * configure.in (--enable-pt_chown): New configure option.
19282         * configure: Regenerate.
19283         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19284         build-pt-chown is enabled.
19285         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19286         pt_chown to fix pty ownership.
19287         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19288         CLOSE_ALL_FDS.
19289         * manual/install.texi (Configuring and compiling): Mention
19290         --enable-pt_chown. Add @findex for grantpt.
19291         * INSTALL: Regenerate.
19292
19293 2013-07-20  David S. Miller  <davem@davemloft.net>
19294
19295         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19296         difference between 32-bit and 64-bit.
19297
19298 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19299
19300         [BZ #15711]
19301         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19302         Avoid system header dependency with -ffreestanding.
19303         ($(objpfx)bits/syscall%d): Likewise.
19304
19305 2013-07-13  David S. Miller  <davem@davemloft.net>
19306
19307         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19308         underflows from atanl/atan2l due to bug 15319.
19309         (casinh_test_data): Likewise.
19310
19311 2013-07-07  David S. Miller  <davem@davemloft.net>
19312
19313         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19314
19315 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19316
19317         * sysdeps/i386/fpu/libm-test-ulps: Update.
19318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319
19320 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19321
19322         * configure.in (--enable-lock-elision): Fix message text.
19323         * INSTALL: Regenerate.
19324         * configure: Regenerate.
19325
19326 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19327
19328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19329
19330 2013-07-03  Andreas Jaeger  <aj@suse.de>
19331
19332         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19333         define.
19334         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19335         (ptrace_peeksiginfo_args): Add.
19336         (__ptrace_peeksiginfo_flags): Add.
19337         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19339         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19340
19341 2013-07-03  Allan McRae  <allan@archlinux.org>
19342
19343         * sysdeps/i386/fpu/libm-test-ulps: Update.
19344
19345 2013-07-02  David S. Miller  <davem@davemloft.net>
19346
19347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19348
19349 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19350
19351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19352
19353 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19354
19355         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357
19358 2013-07-02  Andi Kleen <ak@linux.intel.com>
19359
19360         * config.h.in (ENABLE_LOCK_ELISION): Add.
19361         * configure.in (--enable-lock-elision): Add option.
19362         * manual/install.texi: Document --enable lock elision.
19363         * configure: Regenerate
19364         * INSTALL: Regenerate.
19365
19366 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19367
19368         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19369         SSE4.2 strcasecmp for libc.a.
19370         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19371
19372 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19373
19374         [BZ #13304]
19375         * soft-fp/op-common.h (_FP_FMA): New macro.
19376         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19377         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19378         (_FP_MUL_MEAT_1_imm): ... here.
19379         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19380         (_FP_MUL_MEAT_1_wide): ... here.
19381         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19382         (_FP_MUL_MEAT_1_hard): ... here.
19383         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19384         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19385         (_FP_MUL_MEAT_2_wide): ... here.
19386         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19387         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19388         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19389         (_FP_MUL_MEAT_2_gmp): ... here.
19390         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19391         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19392         (_FP_MUL_MEAT_4_wide): ... here.
19393         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19394         (_FP_MUL_MEAT_4_gmp): ... here.
19395         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19396         (_FP_WFRACBITS_DW_S): Likewise.
19397         (_FP_WFRACXBITS_DW_S): Likewise.
19398         (_FP_HIGHBIT_DW_S): Likewise.
19399         (FP_FMA_S): Likewise.
19400         (_FP_FRAC_HIGH_DW_S): Likewise.
19401         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19402         (_FP_WFRACBITS_DW_D): Likewise.
19403         (_FP_WFRACXBITS_DW_D): Likewise.
19404         (_FP_HIGHBIT_DW_D): Likewise.
19405         (FP_FMA_D): Likewise.
19406         (_FP_FRAC_HIGH_DW_D): Likewise.
19407         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19408         (_FP_WFRACBITS_DW_E): Likewise.
19409         (_FP_WFRACXBITS_DW_E): Likewise.
19410         (_FP_HIGHBIT_DW_E): Likewise.
19411         (FP_FMA_E): Likewise.
19412         (_FP_FRAC_HIGH_DW_E): Likewise.
19413         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19414         (_FP_WFRACBITS_DW_Q): Likewise.
19415         (_FP_WFRACXBITS_DW_Q): Likewise.
19416         (_FP_HIGHBIT_DW_Q): Likewise.
19417         (FP_FMA_Q): Likewise.
19418         (_FP_FRAC_HIGH_DW_Q): Likewise.
19419         * soft-fp/fmasf4.c: New file.
19420         * soft-fp/fmadf4.c: Likewise.
19421         * soft-fp/fmatf4.c: Likewise.
19422
19423 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19424
19425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19426         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19427         Silvermont.
19428         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19429         macro.
19430         (index_Slow_SSE4_2): Likewise.
19431         (index_Prefer_PMINUB_for_stringop): Likewise.
19432         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19433         bit_Slow_SSE4_2 is set.
19434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19435         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19436
19437 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19438
19439         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19440         rtld_global._dl_hwcap2.
19441         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19442         POWER8.
19443         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19444         POWER8 feature descriptions defined in _dl_hwcap2.
19445         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19446         string handling for POWER8 feature bits.
19447         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19448         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19449         _dl_powerpc_cap_flags.
19450         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19451         * sysdeps/powerpc/rtld-global-offsets.sym
19452         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19453         _dl_hwcap2 in the rtld_global_ro structure.
19454
19455 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19456
19457         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19458         hardware capabilities in support of AT_HWCAP2.
19459         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19460         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19461         GLRO(dl_hwcap2).
19462         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19463         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19464         explicitly the unknown a_type display mechanism is used.
19465         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19466         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19467         struct member.
19468         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19469         to macro prototype for AT_HWCAP2 support.
19470         * sysdeps/i386/dl-procinfo.h: Likewise.
19471         * sysdeps/s390/dl-procinfo.h: Likewise.
19472         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19473         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19474         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19475         return -1 for unknown a_type display fallback.
19476         * sysdeps/sparc/dl-procinfo.h: Likewise.
19477         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19478         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19479
19480 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19481
19482         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19483         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19484
19485 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19486
19487         [BZ #12492]
19488         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19489         mprotect making __stack_prot writable.
19490
19491 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19492             Joseph Myers  <joseph@codesourcery.com>
19493
19494         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19495         as being properly aligned.
19496
19497 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19498
19499         * dlfcn/modstatic5.c: New file.
19500         * dlfcn/tststatic5.c: New file.
19501         * dlfcn/Makefile (tests): Add tststatic5.
19502         (tests-static): Likewise.
19503         (modules-names): Add modstatic5.
19504         (tststatic5-ENV): New variable.
19505         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19506
19507         [BZ #15022]
19508         * elf/dl-support.c (_dl_main_map): New variable.
19509         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19510         (_dl_nns, _dl_load_adds): Set to 1.
19511         (_dl_initial_searchlist): Refer to _dl_main_map.
19512         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19513         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19514         call to _dl_get_origin.
19515         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19516         around call_map.
19517         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19518         * dlfcn/modstatic3.c: New file.
19519         * dlfcn/tststatic3.c: New file.
19520         * dlfcn/tststatic4.c: New file.
19521         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19522         (tests-static): Likewise.
19523         (modules-names): Add modstatic3.
19524         (tststatic3-ENV, tststatic4-ENV): New variables.
19525         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19526         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19527
19528 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19529
19530         * configure.in (CC): Require GCC version 4.4 or later.
19531         * configure: Regenerated.
19532         * manual/install.texi (Tools for Compilation): Update GCC version
19533         requirement.
19534         * INSTALL: Regenerated.
19535
19536 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19537
19538         [BZ #15674]
19539         * string/test-memcmp.c (check2): New.
19540         (main): Call check2.
19541
19542         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19543
19544 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19545
19546         [BZ #15022]
19547         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19548         over to...
19549         (dl_open_worker) [!SHARED]: ... here.
19550
19551 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19552
19553         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19554
19555 2013-06-25  Richard Henderson  <rth@redhat.com>
19556
19557         * locale/programs/locarchive.c: Include <libc-internal.h>
19558
19559 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19560
19561         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19562         trailing whitespace removed.
19563
19564 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19565
19566         [BZ #10283]
19567         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19568         * locale/programs/locarchive.c: Include libc-mmap.h.
19569         (prepare_address_space): Take two new outputs (the mmap base and len).
19570         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19571         values.
19572         (create_archive): Declare new mmap base and len values for
19573         prepare_address_space, and store the result in ah.
19574         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19575         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19576         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19577         Declare new mmap base and len values for
19578         prepare_address_space, and store the result in new_ah.
19579         (open_archive): Declare new mmap base and len values for
19580         prepare_address_space, and store the result in ah.
19581         (close_archive): If ah->mmap_base is not NULL, use that and
19582         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19583         * sysdeps/generic/libc-mmap.h: New file.
19584
19585 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19586
19587         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19588         (ALIGN_UP): Likewise.
19589         (PTR_ALIGN_DOWN): Likewise.
19590         (PTR_ALIGN_UP): Likewise.
19591
19592 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19593
19594         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19595         entry mapped to PPC_PLATFORM_POWER8.
19596         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19597         POWER8.
19598         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19599         (_dl_string_platform): Add case for exporting platform position for
19600         POWER8.
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19602         search path to sysdeps/powerpc/powerpc32/power8 directory.
19603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19604         search path to sysdeps/powerpc/powerpc64/power8 directory.
19605         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19606         power7 directories.
19607         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19608         power7 directories.
19609
19610 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19611
19612         * INSTALL: Regenerate.
19613
19614         * nscd/connections.c (nscd_init): Fix comment.
19615
19616 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19617
19618         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19619
19620         [BZ #15667]
19621         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19622         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19623
19624 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19625
19626         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19627         DL_DST_REQ_STATIC.
19628         (DL_DST_REQ_STATIC): Remove macro.
19629
19630 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19631
19632         [BZ #7006]
19633         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19634         with a shift of 0 bits.
19635
19636 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19637
19638         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19639         $(tststatic-ENV).
19640
19641 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19642
19643         [BZ #15655]
19644         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19645
19646 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19647
19648         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19649         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19650         accepts -fno-tree-loop-distribute-patterns.
19651         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19652         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19653         recursive call.
19654         * string/memset.c (memset): Likewise.
19655         * string/test-memmove.c (simple_memmove): Disable loop transformation
19656         to library calls.
19657         * string/test-memset.c (simple_memset): Likewise.
19658         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19659         * benchtests/bench-memset.c (simple_memset): Likewise.
19660         * configure: Regenerated.
19661
19662 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19663
19664         * math/test-misc.c (main): Ignore fesetround failure when failures
19665         of subsequent rounding tests would be ignored.
19666
19667         [BZ #15654]
19668         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19669         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19670         * math/fegetenv.c (__fegetenv): Return 0.
19671         * math/fegetexcept.c (fegetexcept): Return 0.
19672         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19673         FE_TONEAREST.
19674         * math/feholdexcpt.c (feholdexcept): Return 0.
19675         * math/fesetenv.c (__fesetenv): Return 0.
19676         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19677         argument FE_TONEAREST.
19678         * math/feupdateenv.c (__feupdateenv): Return 0.
19679         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19680
19681 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19682
19683         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19684         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19685         ($(objpfx)rtld-%.os rules): Use them.
19686
19687 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19688
19689         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19690         fields.
19691
19692 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19693
19694         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19695         length of target pattern, then descending length of dependency pattern.
19696         * configure.in (AWK): Require gawk 3.1.2 or newer.
19697         * manual/install.texi (Tools for Compilation): Say that we do.
19698         * configure: Regenerated.
19699
19700         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19701         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19702         * scripts/sysd-rules.awk: ... this new script.
19703         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19704         than a glob-style pattern.
19705
19706 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19707
19708         * math/test-misc.c (main): Do not treat incorrectly rounded
19709         conversions as failure unless ROUNDING_TESTS passes.
19710
19711 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19712
19713         [BZ #15631]
19714         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19715         restore exception state around main square root computation, then
19716         check for inexactness explicitly.
19717
19718         * math/libm-test.inc (fma_test_data): Add another test.
19719
19720 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19721
19722         * manual/threads.texi (Non-POSIX Extensions): New document
19723         node.  Document pthread_getattr_default_np and
19724         pthread_setattr_default_np.
19725
19726         * Versions.def (libpthread): Add GLIBC_2.18.
19727         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19729         Likewise.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19731         Likewise.
19732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19733         Likewise.
19734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19735         Likewise.
19736         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19737         Likewise.
19738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19739         Likewise.
19740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19741         Likewise.
19742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19743         Likewise.
19744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19745         Likewise.
19746
19747 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19748
19749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19750         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19751
19752 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19753             H.J. Lu  <hjl.tools@gmail.com>
19754
19755         [BZ #15627]
19756         * sysdeps/x86_64/rtld-memset.c: Remove file.
19757         * sysdeps/x86_64/rtld-memset.S: New file.
19758
19759 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19760
19761         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19762         (test_in_one_mode): Take arguments for whether the rounding mode
19763         is supported for each floating-point type.
19764         (do_test): Pass new arguments to test_in_one_mode using
19765         ROUNDING_TESTS.
19766
19767 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19768
19769         * posix/tst-waitid.c (do_test): Distinguish different instances of
19770         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19771         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19772         before entering the kernel for waitpid.
19773
19774 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19775
19776         * NEWS: Fix note on clock function precision.  Text by Roland
19777         McGrath.
19778
19779 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19780
19781         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19782         it into place only when and if the sanity check passes.
19783
19784 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19785
19786         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19787         output for whether conversion result is exact.  Take argument
19788         indicating whether type is IBM long double.
19789         (round_for_all): Change need_exact field to ibm_ld.
19790         * stdlib/tst-strtod-round.c (struct exactness): New type.
19791         (struct test): Change bool ld_ok field to struct exactness exact.
19792         (TEST): Update all definitions for change to field.
19793         (tests): Regenerate array contents.
19794         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19795         field value.  Check for IBM long double here.
19796         (do_test): Update calls to test_in_one_mode.
19797
19798 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19799
19800         [BZ #12515]
19801         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19802         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19803
19804 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19805
19806         [BZ #15605]
19807         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19808         generated by the compiler on loop optimizations.
19809         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19810         general definitions.
19811
19812 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19813
19814         * math/bug-nextafter.c: Include <math-tests.h>.
19815         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19816         the relevant type.
19817         * math/bug-nexttoward.c: Include <math-tests.h>.
19818         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19819         the relevant type.
19820         * math/test-misc.c: Include <math-tests.h>.
19821         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19822         the relevant type.
19823
19824 2013-06-12  Andreas Jaeger  <aj@suse.de>
19825
19826         * po/ia.po: Update Interlingua translation from translation
19827         project.
19828
19829 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19830
19831         * include/fenv.h: Include stdbool.h.
19832         (struct rm_ctx): New structure.
19833         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19834         Define macro.
19835         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19836         (SET_RESTORE_ROUNDF): Likewise.
19837         (SET_RESTORE_ROUNDL): Likewise.
19838         (SET_RESTORE_ROUND_NOEX): Likewise.
19839         (SET_RESTORE_ROUND_NOEXF): Likewise.
19840         (SET_RESTORE_ROUND_NOEXL): Likewise.
19841         (SET_RESTORE_ROUND_53BIT): Likewise.
19842         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19843         (libc_feresetround_noexf_ctx): Likewise.
19844         (libc_feresetround_noexl_ctx): Likewise.
19845         (libc_feholdsetround_53bit_ctx): Likewise.
19846         (libc_feresetround_53bit_ctx): Likewise.
19847         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19848         (libc_feholdexcept_setround_sse_ctx): New function.
19849         (libc_fesetenv_sse_ctx): Likewise.
19850         (libc_feupdateenv_sse_ctx): Likewise.
19851         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19852         (libc_feholdexcept_setround_387_ctx): Likewise.
19853         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19854         (libc_feholdsetround_387_prec_ctx): Likewise.
19855         (libc_feholdsetround_387_ctx): Likewise.
19856         (libc_feholdsetround_387_53bit_ctx): Likewise.
19857         (libc_feholdsetround_sse_ctx): Likewise.
19858         (libc_feresetround_sse_ctx): Likewise.
19859         (libc_feresetround_387_ctx): Likewise.
19860         (libc_feupdateenv_387_ctx): Likewise.
19861         (libc_feholdexcept_setroundf_ctx): Define macro.
19862         (libc_fesetenvf_ctx): Likewise.
19863         (libc_feupdateenvf_ctx): Likewise.
19864         (libc_feholdsetroundf_ctx): Likewise.
19865         (libc_feresetroundf_ctx): Likewise.
19866         (libc_feholdexcept_setround_ctx): Likewise.
19867         (libc_fesetenv_ctx): Likewise.
19868         (libc_feupdateenv_ctx): Likewise.
19869         (libc_feholdsetround_ctx): Likewise.
19870         (libc_feresetround_ctx): Likewise.
19871         (libc_feholdexcept_setroundl_ctx): Likewise.
19872         (libc_feupdateenvl_ctx): Likewise.
19873         (libc_feholdsetroundl_ctx): Likewise.
19874         (libc_feresetroundl_ctx): Likewise.
19875         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19876         (libc_feresetround_53bit_ctx): Likewise.
19877
19878 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19879
19880         * locale/iso-639.def: Convert to UTF-8.
19881
19882 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19883
19884         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19885         (EXCEPTION_TESTS_double): Likewise.
19886         (EXCEPTION_TESTS_long_double): Likewise.
19887         (EXCEPTION_TESTS): Likewise.
19888         * math/libm-test.inc (test_exceptions): Only test exceptions if
19889         EXCEPTION_TESTS (FLOAT).
19890
19891 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19892
19893         * benchtests/Makefile (string-bench): Add strcpy_chk and
19894         stpcpy_chk.
19895         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19896         * benchtests/bench-stpcpy_chk.c: New file.
19897         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19898         * benchtests/bench-strcpy_chk.c: New file.
19899         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19900         code.
19901         (do_test): Likewise.
19902
19903 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19904
19905         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19906         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19907         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19908         with tabs where appropriate.
19909         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19910         dl-procinfo.h.
19911         [PPC_PLATFORM_PPC440]: Likewise.
19912         [PPC_PLATFORM_PPC464]: Likewise.
19913         [PPC_PLATFORM_PPC476]: Likewise.
19914         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19915         ppc464, and ppc476 platform strings merging from ports/
19916         dl-procinfo.h.
19917
19918 2013-06-11  Andreas Schwab  <schwab@suse.de>
19919
19920         [BZ #14991]
19921         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19922         (from_ucs4_idx): Regenerate.
19923         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19924         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19925         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19926         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19927         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19928         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19929         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19930         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19931         from FROM_LOOP and TO_LOOP specific macros.
19932         (BODY): Handle combining characters.
19933         * iconvdata/BIG5HKSCS.irreversible: Update.
19934         * iconvdata/BIG5HKSCS.precomposed: New file.
19935         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19936         characters.
19937         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19938
19939 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19940
19941         * include/sys/time.h: Fix indentation and add copyright header.
19942
19943         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19944         (do_test): Likewise.
19945         * string/test-memchr.c (do_one_test): Likewise.
19946         (do_test): Likewise.
19947         * string/test-memcmp.c (do_one_test): Likewise.
19948         (do_test): Likewise.
19949         * string/test-memcpy.c (do_one_test): Likewise.
19950         (do_test): Likewise.
19951         * string/test-memmem.c (do_one_test): Likewise.
19952         (do_test): Likewise.
19953         (do_random_tests): Likewise.
19954         * string/test-memmove.c (do_one_test): Likewise.
19955         (do_test): Likewise.
19956         * string/test-memset.c (do_one_test): Likewise.
19957         (do_test): Likewise.
19958         * string/test-rawmemchr.c (do_one_test): Likewise.
19959         (do_test): Likewise.
19960         * string/test-strcasecmp.c (do_one_test): Likewise.
19961         (do_test): Likewise.
19962         * string/test-strcasestr.c (do_one_test): Likewise.
19963         (do_test): Likewise.
19964         * string/test-strcat.c (do_one_test): Likewise.
19965         (do_test): Likewise.
19966         * string/test-strchr.c (do_one_test): Likewise.
19967         (do_test): Likewise.
19968         * string/test-strcmp.c (do_one_test): Likewise.
19969         (do_test): Likewise.
19970         * string/test-strcpy.c (do_one_test): Likewise.
19971         (do_test): Likewise.
19972         * string/test-string.h: Likewise.
19973         (test_init): Likewise.
19974         * string/test-strlen.c (do_one_test): Likewise.
19975         (do_test): Likewise.
19976         * string/test-strncasecmp.c (do_one_test): Likewise.
19977         (do_test): Likewise.
19978         * string/test-strncat.c (do_one_test): Likewise.
19979         (do_test): Likewise.
19980         * string/test-strncmp.c (do_one_test): Likewise.
19981         (do_test_limit): Likewise.
19982         (do_test): Likewise.
19983         * string/test-strncpy.c (do_one_test): Likewise.
19984         (do_test): Likewise.
19985         * string/test-strnlen.c (do_one_test): Likewise.
19986         (do_test): Likewise.
19987         * string/test-strpbrk.c (do_one_test): Likewise.
19988         (do_test): Likewise.
19989         * string/test-strrchr.c (do_one_test): Likewise.
19990         (do_test): Likewise.
19991         * string/test-strspn.c (do_one_test): Likewise.
19992         (do_test): Likewise.
19993         * string/test-strstr.c (do_one_test): Likewise.
19994         (do_test): Likewise.
19995
19996         * benchtests/Makefile (string-bench): Add string benchmarks.
19997         * benchtests/bench-bcopy-ifunc.c: New file.
19998         * benchtests/bench-bcopy.c: New file.
19999         * benchtests/bench-bzero-ifunc.c: New file.
20000         * benchtests/bench-bzero.c: New file.
20001         * benchtests/bench-memccpy-ifunc.c: New file.
20002         * benchtests/bench-memccpy.c: New file.
20003         * benchtests/bench-memchr-ifunc.c: New file.
20004         * benchtests/bench-memchr.c: New file.
20005         * benchtests/bench-memcmp-ifunc.c: New file.
20006         * benchtests/bench-memcmp.c: New file.
20007         * benchtests/bench-memmem-ifunc.c: New file.
20008         * benchtests/bench-memmem.c: New file.
20009         * benchtests/bench-memmove-ifunc.c: New file.
20010         * benchtests/bench-memmove.c: New file.
20011         * benchtests/bench-mempcpy-ifunc.c: New file.
20012         * benchtests/bench-mempcpy.c: New file.
20013         * benchtests/bench-memset-ifunc.c: New file.
20014         * benchtests/bench-memset.c: New file.
20015         * benchtests/bench-rawmemchr-ifunc.c: New file.
20016         * benchtests/bench-rawmemchr.c: New file.
20017         * benchtests/bench-stpcpy-ifunc.c: New file.
20018         * benchtests/bench-stpcpy.c: New file.
20019         * benchtests/bench-stpncpy-ifunc.c: New file.
20020         * benchtests/bench-stpncpy.c: New file.
20021         * benchtests/bench-strcasecmp-ifunc.c: New file.
20022         * benchtests/bench-strcasecmp.c: New file.
20023         * benchtests/bench-strcasestr-ifunc.c: New file.
20024         * benchtests/bench-strcasestr.c: New file.
20025         * benchtests/bench-strcat-ifunc.c: New file.
20026         * benchtests/bench-strcat.c: New file.
20027         * benchtests/bench-strchr-ifunc.c: New file.
20028         * benchtests/bench-strchr.c: New file.
20029         * benchtests/bench-strchrnul-ifunc.c: New file.
20030         * benchtests/bench-strchrnul.c: New file.
20031         * benchtests/bench-strcmp-ifunc.c: New file.
20032         * benchtests/bench-strcmp.c: New file.
20033         * benchtests/bench-strcpy-ifunc.c: New file.
20034         * benchtests/bench-strcpy.c: New file.
20035         * benchtests/bench-strcspn-ifunc.c: New file.
20036         * benchtests/bench-strcspn.c: New file.
20037         * benchtests/bench-strlen-ifunc.c: New file.
20038         * benchtests/bench-strlen.c: New file.
20039         * benchtests/bench-strncasecmp-ifunc.c: New file.
20040         * benchtests/bench-strncasecmp.c: New file.
20041         * benchtests/bench-strncat-ifunc.c: New file.
20042         * benchtests/bench-strncat.c: New file.
20043         * benchtests/bench-strncmp-ifunc.c: New file.
20044         * benchtests/bench-strncmp.c: New file.
20045         * benchtests/bench-strncpy-ifunc.c: New file.
20046         * benchtests/bench-strncpy.c: New file.
20047         * benchtests/bench-strnlen-ifunc.c: New file.
20048         * benchtests/bench-strnlen.c: New file.
20049         * benchtests/bench-strpbrk-ifunc.c: New file.
20050         * benchtests/bench-strpbrk.c: New file.
20051         * benchtests/bench-strrchr-ifunc.c: New file.
20052         * benchtests/bench-strrchr.c: New file.
20053         * benchtests/bench-strspn-ifunc.c: New file.
20054         * benchtests/bench-strspn.c: New file.
20055         * benchtests/bench-strstr-ifunc.c: New file.
20056         * benchtests/bench-strstr.c: New file.
20057
20058         * benchtests/Makefile: Disable parallel execution of targets.
20059         (string-bench): Add memcpy.
20060         (benchset): New variable to store a list of benchmark sets.
20061         (bench-func): Renamed from bench.
20062         (bench-set): New target.
20063         (bench): Depend on bench-func and bench-set.
20064         * benchtests/README: Add section on benchmark sets.
20065         * benchtests/bench-memcpy-ifunc.c: New file.
20066         * benchtests/bench-memcpy.c: New file.
20067         * benchtests/bench-string.h: New file.
20068
20069 2013-06-11  Andreas Schwab  <schwab@suse.de>
20070
20071         [BZ #15577]
20072         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20073         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20074         values in the triple.
20075         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20076         terminator in the group key.
20077
20078 2013-06-11  Andreas Jaeger  <aj@suse.de>
20079
20080         * po/zh_TW.po: Update Chinese (traditional) translation from
20081         translation project.
20082
20083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20084
20085         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20086         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20087         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20088         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20089         (clock_getcpuclockid): Likewise.
20090         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20091         Add weak_alias and libc_hidden_def.
20092         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20093         * rt/clock_gettime.c (clock_gettime): Rename to
20094         __clock_gettime.  Add weak_alias and libc_hidden_def.
20095         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20096         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20097         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20098         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20099         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20100         Likewise.
20101         * rt/clock_settime.c (clock_settime): Rename to
20102         __clock_settime.  Add weak_alias and libc_hidden_def.
20103         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20104
20105 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20106
20107         * mach/err_boot.sub: Remove trailing whitespace.
20108         * mach/err_ipc.sub: Likewise.
20109         * mach/err_mach.sub: Likewise.
20110
20111         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20112         (ROUNDING_TESTS_double): Likewise.
20113         (ROUNDING_TESTS_long_double): Likewise.
20114         (ROUNDING_TESTS): Likewise.
20115         * math/libm-test.inc: Include <math-tests.h>.
20116         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20117         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20118         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20119         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20120
20121 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20122
20123         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20124         of assigning.
20125
20126 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20127
20128         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20129         otherwise empty TRANS lines.
20130         * sysdeps/gnu/errlist.c: Regenerated.
20131
20132         * catgets/gencat.c (error_print): Use (void) in function
20133         definition.
20134         * crypt/crypt_util.c (__init_des): Likewise.
20135         * crypt/speeds.c (Stop): Likewise.
20136         (main): Likewise.
20137         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20138         * inet/ruserpass.c (token): Likewise.
20139         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20140         * intl/localealias.c (extend_alias_table): Likewise.
20141         * intl/plural-exp.c (init_germanic_plural): Likewise.
20142         * libio/fcloseall.c (__fcloseall): Likewise.
20143         * libio/genops.c (_IO_flush_all): Likewise.
20144         (_IO_flush_all_linebuffered): Likewise.
20145         (_IO_cleanup): Likewise.
20146         (_IO_iter_begin): Likewise.
20147         (_IO_iter_end): Likewise.
20148         (_IO_list_lock): Likewise.
20149         (_IO_list_unlock): Likewise.
20150         (_IO_list_resetlock): Likewise.
20151         * libio/getchar.c (getchar): Likewise.
20152         * libio/getchar_u.c (getchar_unlocked): Likewise.
20153         * libio/getwchar.c (getwchar): Likewise.
20154         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20155         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20156         * login/getpt.c (__getpt): Likewise.
20157         * login/tst-utmp.c (main): Likewise.
20158         * malloc/hooks.c (__malloc_check_init): Likewise.
20159         * malloc/malloc.c (__malloc_stats): Likewise.
20160         * malloc/mtrace.c (tr_break): Likewise.
20161         (mtrace): Likewise.
20162         (muntrace): Likewise.
20163         * misc/fstab.c (endfsent): Likewise.
20164         * misc/getclktck.c (__getclktck): Likewise.
20165         * misc/getdtsz.c (__getdtablesize): Likewise.
20166         * misc/gethostid.c (gethostid): Likewise.
20167         * misc/getpagesize.c (__getpagesize): Likewise.
20168         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20169         (__get_nprocs): Likewise.
20170         (__get_phys_pages): Likewise.
20171         (__get_avphys_pages): Likewise.
20172         * misc/getttyent.c (getttyent): Likewise.
20173         (setttyent): Likewise.
20174         (endttyent): Likewise.
20175         * misc/getusershell.c (getusershell): Likewise.
20176         (endusershell): Likewise.
20177         (setusershell): Likewise.
20178         (initshells): Likewise.
20179         * misc/hsearch.c (__hdestroy): Likewise.
20180         * misc/sync.c (sync): Likewise.
20181         * misc/syslog.c (closelog_internal): Likewise.
20182         (closelog): Likewise.
20183         * misc/ttyslot.c (ttyslot): Likewise.
20184         * misc/vhangup.c (vhangup): Likewise.
20185         * posix/fork.c (__fork): Likewise.
20186         * posix/getegid.c (__getegid): Likewise.
20187         * posix/geteuid.c (__geteuid): Likewise.
20188         * posix/getgid.c (__getgid): Likewise.
20189         * posix/getpid.c (__getpid): Likewise.
20190         * posix/getppid.c (__getppid): Likewise.
20191         * posix/getuid.c (__getuid): Likewise.
20192         * posix/pause.c (pause): Likewise.
20193         * posix/setpgrp.c (setpgrp): Likewise.
20194         * posix/setsid.c (__setsid): Likewise.
20195         * posix/test-vfork.c (noop): Likewise.
20196         * resolv/gethnamaddr.c (_endhtent): Likewise.
20197         (_gethtent): Likewise.
20198         (ht_endhostent): Likewise.
20199         (gethostent): Likewise.
20200         (dns_service): Likewise.
20201         * stdlib/drand48.c (drand48): Likewise.
20202         * stdlib/lrand48.c (lrand48): Likewise.
20203         * stdlib/mrand48.c (mrand48): Likewise.
20204         * stdlib/rand.c (rand): Likewise.
20205         * stdlib/random.c (__random): Likewise.
20206         * stdlib/setenv.c (clearenv): Likewise.
20207         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20208         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20209         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20210         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20211         (__get_nprocs): Likewise.
20212         (__get_phys_pages): Likewise.
20213         (__get_avphys_pages): Likewise.
20214         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20215         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20216         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20217         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20218         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20219         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20220         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20221         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20222         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20223         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20224         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20225         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20226         * sysdeps/posix/clock.c (clock): Likewise.
20227         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20228         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20229         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20230         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20231         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20232         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20233         (__get_nprocs_conf): Likewise.
20234         (__get_phys_pages): Likewise.
20235         (__get_avphys_pages): Likewise.
20236         * time/clock.c (clock): Likewise.
20237         * time/tzset.c (__tzname_max): Likewise.
20238
20239 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20240
20241         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20242         (__bswap_32): Do not use "register".
20243         * crypt/crypt.c (_ufc_doit_r): Likewise.
20244         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20245         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20246         * gmon/gmon.c (__monstartup): Likewise.
20247         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20248         * hurd/hurdmalloc.c (more_memory): Likewise.
20249         (malloc): Likewise.
20250         (free): Likewise.
20251         (realloc): Likewise.
20252         (malloc_fork_prepare): Likewise.
20253         (malloc_fork_parent): Likewise.
20254         (malloc_fork_child): Likewise.
20255         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20256         (_svcauth_des): Likewise.
20257         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20258         * inet/inet_net.c (inet_network): Likewise.
20259         * inet/inet_netof.c (inet_netof): Likewise.
20260         * inet/rcmd.c (__validuser2_sa): Likewise.
20261         * io/fts.c (fts_open): Likewise.
20262         (fts_load): Likewise.
20263         (fts_close): Likewise.
20264         (fts_read): Likewise.
20265         (fts_children): Likewise.
20266         (fts_build): Likewise.
20267         (fts_stat): Likewise.
20268         (fts_sort): Likewise.
20269         (fts_alloc): Likewise.
20270         (fts_lfree): Likewise.
20271         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20272         (_IO_file_xsgetn): Likewise.
20273         (_IO_file_xsgetn_mmap): Likewise.
20274         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20275         (_IO_cookie_write): Likewise.
20276         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20277         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20278         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20279         * malloc/obstack.c (_obstack_begin): Likewise.
20280         (_obstack_begin_1): Likewise.
20281         (_obstack_newchunk): Likewise.
20282         (_obstack_allocated_p): Likewise.
20283         (obstack_free): Likewise.
20284         (_obstack_memory_used): Likewise.
20285         * misc/getttyent.c (getttynam): Likewise.
20286         (getttyent): Likewise.
20287         (skip): Likewise.
20288         (value): Likewise.
20289         * misc/getusershell.c (initshells): Likewise.
20290         * misc/syslog.c (__vsyslog_chk): Likewise.
20291         * misc/ttyslot.c (ttyslot): Likewise.
20292         * nis/nis_hash.c (__nis_hash): Likewise.
20293         * posix/fnmatch_loop.c (FCT): Likewise.
20294         * posix/getconf.c (print_all): Likewise.
20295         (main): Likewise.
20296         * posix/getopt.c (exchange): Likewise.
20297         * posix/glob.c (globfree): Likewise.
20298         (prefix_array): Likewise.
20299         (__glob_pattern_type): Likewise.
20300         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20301         (NS_GET32): Likewise.
20302         (NS_PUT16): Likewise.
20303         (NS_PUT32): Likewise.
20304         * resolv/gethnamaddr.c (getanswer): Likewise.
20305         (gethostbyname2): Likewise.
20306         (gethostbyaddr): Likewise.
20307         (_gethtent): Likewise.
20308         (_gethtbyname2): Likewise.
20309         (_gethtbyaddr): Likewise.
20310         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20311         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20312         * resolv/res_init.c (__res_vinit): Likewise.
20313         (net_mask): Likewise.
20314         * resolv/res_mkquery.c (outchar): Likewise.
20315         (PRINT): Likewise.
20316         * stdio-common/printf_fp.c (outchar): Likewise.
20317         (PRINT): Likewise.
20318         * stdio-common/printf_fphex.c (outchar): Likewise.
20319         (PRINT): Likewise.
20320         * stdio-common/printf_size.c (outchar): Likewise.
20321         (PRINT): Likewise.
20322         * stdio-common/test_rdwr.c (main): Likewise.
20323         * stdio-common/tfformat.c (matches): Likewise.
20324         * stdio-common/vfprintf.c (outchar): Likewise.
20325         (printf_unknown): Likewise.
20326         (buffered_vfprintf): Likewise.
20327         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20328         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20329         (ReadFile): Likewise.
20330         * stdlib/qsort.c (SWAP): Likewise.
20331         (_quicksort): Likewise.
20332         * stdlib/setenv.c (__add_to_environ): Likewise.
20333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20334         * stdlib/strtol_l.c (__strtol_l): Likewise.
20335         * stdlib/tst-strtod.c (main): Likewise.
20336         * stdlib/tst-strtol.c (main): Likewise.
20337         * stdlib/tst-strtoll.c (main): Likewise.
20338         * string/bits/string2.h (__strcmp_cc): Likewise.
20339         (__strcmp_cg): Likewise.
20340         (__strcspn_c1): Likewise.
20341         (__strcspn_c2): Likewise.
20342         (__strcspn_c3): Likewise.
20343         (__strspn_c1): Likewise.
20344         (__strspn_c2): Likewise.
20345         (__strspn_c3): Likewise.
20346         (__strsep_1c): Likewise.
20347         (__strsep_2c): Likewise.
20348         (__strsep_3c): Likewise.
20349         * string/memccpy.c (__memccpy): Likewise.
20350         * string/stpcpy.c (__stpcpy): Likewise.
20351         * string/strcmp.c (strcmp): Likewise.
20352         * string/strrchr.c (strrchr): Likewise.
20353         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20354         Likewise.
20355         * sysdeps/mach/hurd/getcwd.c
20356         (_hurd_canonicalize_directory_name_internal): Likewise.
20357         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20358         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20359         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20360         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20361         Likewise, in both definitions.
20362         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20363         definitions.
20364         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20365         64] (__bswap_64): Likewise.
20366         * time/test_time.c (main): Likewise.
20367         * time/tzfile.c (__tzfile_read): Likewise.
20368         (__tzfile_compute): Likewise.
20369         * time/tzset.c (__tzset_parse_tz): Likewise.
20370         (tzset_internal): Likewise.
20371         (compute_change): Likewise.
20372         * wcsmbs/wcscat.c (__wcscat): Likewise.
20373         * wcsmbs/wcschr.c (wcschr): Likewise.
20374         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20375         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20376         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20377         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20378         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20379         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20380         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20381         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20382         * wcsmbs/wmemset.c (wmemset): Likewise.
20383
20384 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20385
20386         * scripts/config.guess: Update to version 2013-05-16.
20387         * scripts/config.sub: Update to version 2013-04-24.
20388         * scripts/install-sh: Update to version 2011-11-20.07.
20389         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20390         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20391
20392 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20393
20394         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20395         * elf/sln.c: Likewise.
20396         * hurd/hurd/ioctl.h: Likewise.
20397         * hurd/hurdmalloc.c: Likewise.
20398         * hurd/xattr.c: Likewise.
20399         * include/shlib-compat.h: Likewise.
20400         * inet/ruserpass.c: Likewise.
20401         * libio/iofgets_u.c: Likewise.
20402         * libio/iofgetws_u.c: Likewise.
20403         * locale/programs/ld-identification.c: Likewise.
20404         * locale/programs/ld-time.c: Likewise.
20405         * mach/msg-destroy.c: Likewise.
20406         * nss/nss_files/files-netgrp.c: Likewise.
20407         * resolv/res_data.c: Likewise.
20408         * soft-fp/op-1.h: Likewise.
20409         * soft-fp/op-2.h: Likewise.
20410         * soft-fp/op-4.h: Likewise.
20411         * soft-fp/op-common.h: Likewise.
20412         * stdio-common/printf_fphex.c: Likewise.
20413         * stdlib/strtod_l.c: Likewise.
20414         * sunrpc/rpc/clnt.h: Likewise.
20415         * sysdeps/generic/framestate.c: Likewise.
20416         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20417         * sysdeps/i386/bsd-setjmp.S: Likewise.
20418         * sysdeps/i386/__longjmp.S: Likewise.
20419         * sysdeps/i386/setjmp.S: Likewise.
20420         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20421         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20422         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20423         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20424         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20425         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20427         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20428         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20438         * sysdeps/ieee754/support.c: Likewise.
20439         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20440         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20441         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20442         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20443         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20444         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20445         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20446         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20447         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20448         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20449         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20450         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20451         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20452         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20453         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20454         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20455         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20457
20458 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20459
20460         * posix/transbug.c: Remove executable mode.
20461
20462 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20463
20464         * crypt/speeds.c: Remove trailing whitespace.
20465         * dlfcn/default.c: Likewise.
20466         * elf/ifuncdep2.c: Likewise.
20467         * elf/ifuncmain1.c: Likewise.
20468         * elf/ifuncmain1vis.c: Likewise.
20469         * elf/testobj.h: Likewise.
20470         * elf/tst-stackguard1.c: Likewise.
20471         * gmon/sys/gmon.h: Likewise.
20472         * hurd/hurdmsg.c: Likewise.
20473         * hurd/new-fd.c: Likewise.
20474         * hurd/ports-get.c: Likewise.
20475         * iconvdata/ibm1008_420.c: Likewise.
20476         * inet/tst-getni1.c: Likewise.
20477         * inet/tst-getni2.c: Likewise.
20478         * libio/ioungetc.c: Likewise.
20479         * libio/wfiledoalloc.c: Likewise.
20480         * manual/libm-err-tab.pl: Likewise.
20481         * math/w_dremf.c: Likewise.
20482         * misc/ftruncate.c: Likewise.
20483         * posix/bug-glob2.c: Likewise.
20484         * posix/tst-pcre.c: Likewise.
20485         * posix/wait4.c: Likewise.
20486         * resolv/README: Likewise.
20487         * resolv/res_debug.h: Likewise.
20488         * resolv/tst-inet_ntop.c: Likewise.
20489         * setjmp/bug269-setjmp.c: Likewise.
20490         * soft-fp/extended.h: Likewise.
20491         * soft-fp/op-1.h: Likewise.
20492         * soft-fp/op-2.h: Likewise.
20493         * soft-fp/op-4.h: Likewise.
20494         * soft-fp/op-8.h: Likewise.
20495         * soft-fp/testit.c: Likewise.
20496         * stdio-common/bug16.c: Likewise.
20497         * stdlib/random.c: Likewise.
20498         * sunrpc/rpcsvc/rquota.x: Likewise.
20499         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20500         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20502         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20503         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20504         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20505         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20506         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20507         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20508         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20509         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20510         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20511         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20514         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20515         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20516         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20517         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20518         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20521         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20522         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20523         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20524         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20526         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20527         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20528         * sysdeps/ieee754/s_lib_version.c: Likewise.
20529         * sysdeps/mach/hurd/check_fds.c: Likewise.
20530         * sysdeps/mach/hurd/getsockname.c: Likewise.
20531         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20532         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20533         * sysdeps/powerpc/bits/link.h: Likewise.
20534         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20535         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20536         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20537         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20538         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20539         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20540         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20541         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20542         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20543         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20544         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20545         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20546         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20547         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20548         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20549         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20550         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20551         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20552         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20553         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20554         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20555         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20556         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20557         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20558         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20559         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20560         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20561         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20563         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20564         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20565         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20566         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20568         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20569         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20570         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20571         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20572         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20573         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20574         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20575         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20576         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20577         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20578         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20579         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20580         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20581         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20582         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20583         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20586         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20587         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20588         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20589         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20590         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20591         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20592         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20593         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20594         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20595         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20596         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20597         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20598         * sysdeps/powerpc/sysdep.h: Likewise.
20599         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20600         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20601         * sysdeps/sh/dl-trampoline.S: Likewise.
20602         * sysdeps/sh/memset.S: Likewise.
20603         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20604         * sysdeps/sh/strlen.S: Likewise.
20605         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20606         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20607         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20608         * sysdeps/sparc/sparc32/rem.S: Likewise.
20609         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20610         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20611         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20612         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20613         * sysdeps/sparc/sparc32/urem.S: Likewise.
20614         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20615         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20616         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20617         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20619         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20620         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20621         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20622         * sysdeps/unix/bsd/times.c: Likewise.
20623         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20624         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20628         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20629         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20630         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20631         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20632         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20633         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20634         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20635         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20636         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20637         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20638         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20639         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20640         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20641         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20642         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20643         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20644         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20645         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20646         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20647         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20648         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20649         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20650         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20651         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20652         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20653         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20654         * sysdeps/x86_64/strcspn.S: Likewise.
20655
20656 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20657
20658         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20659         generated file.  Regenerate properly from gen-translit.pl.
20660         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20661         locale/C-translit.h.
20662
20663 2013-06-05  Andreas Schwab  <schwab@suse.de>
20664
20665         [BZ #15100]
20666         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20667         week as 6 instead of -1.
20668         * time/tst-strptime.c (day_tests): Add test case.
20669
20670 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671
20672         * sysdeps/generic/math_private.h
20673         (libc_feholdexcept_setround_53bit): Replace with
20674         libc_feholdsetround_53bit.
20675         (libc_feupdateenv_53bit): Replace with
20676         libc_feresetround_53bit.
20677         (SET_RESTORE_ROUND_53BIT): Adjust.
20678
20679 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20680
20681         * string/test-strchrnul.c: Add copyright header.
20682
20683         * posix/tst-getaddrinfo4.c: Increase test timeout.
20684
20685 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20686
20687         [BZ #15536]
20688         * math/libm-test.inc (MAX_EXP): Remove
20689         (MIN_EXP): Define.
20690         (ulp): Use MIN_EXP - MANT_DIG.
20691         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20692
20693 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20694
20695         * po/be.po: Revert last change.
20696         * po/zh_CN.po: Likewise.
20697         * po/header.pot: Likewise.
20698
20699 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20700
20701         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20702         link-libc-deps to empty as target-specific variable.
20703         * Makerules (link-libc-args): New variable.
20704         (libc-for-link): Likewise.
20705         (link-libc-deps): Likewise.
20706         (lib%.so): Depend on $(link-libc-deps).  Link with
20707         $(link-libc-args).
20708         (build-module): Link with $(link-libc-args).
20709         (build-module-asneeded): Likewise.
20710         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20711         list of objects.
20712         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20713         target-specific variable.
20714         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20715         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20716         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20717         libc.
20718         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20719         libc and ld.so.
20720         ($(objpfx)libpcprofile.so): Likewise.
20721         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20722         libc_nonshared.a.
20723         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20724         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20725         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20726         $(link-libc-deps).
20727         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20728         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20729         * login/Makefile ($(objpfx)libutil.so): Likewise.
20730         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20731         * math/Makefile ($(objpfx)libm.so): Likewise.
20732         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20733         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20734         variable instead of depending directly on libc.
20735         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20736         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20737         $(link-libc-deps).
20738         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20739         libc.
20740         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20741         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20742         ($(objpfx)libanl.so): Likewise.
20743         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20744         ld.so.
20745         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20746         $(link-libc-deps).
20747         * sysdeps/i386/fpu/Makefile: Remove file.
20748         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20749         ($(objpfx)libm.so): Remove dependency on ld.so.
20750
20751 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20752
20753         [BZ # 15553]
20754         * nis/yp_xdr.c (XDRMAXNAME): Define.
20755         (XDRMAXRECORD): Define.
20756         (xdr_domainname): Use XDRMAXNAME.
20757         (xdr_mapname): Likewise.
20758         (xdr_peername): Likewise.
20759         (xdr_keydat): Use XDRMAXRECORD.
20760         (xdr_valdat): Likewise.
20761
20762 2013-05-30  Jeff Law  <law@redhat.com>
20763
20764         [BZ #14256]
20765         * manual/errno.texi (ESTALE): Update to account for more than
20766         just NFS file systems.
20767         * sysdeps/gnu/errlist.c: Regenerated.
20768
20769 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20770
20771         [BZ #15465]
20772         * elf/Makefile (tests): Add tst-null-argv.
20773         (modules-names):  Add tst-null-argv-lib.
20774         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20775         (tst-null-argv-ENV): Set environment for tst-null-argv.
20776         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20777         (RTLD_PROGNAME): New macro.
20778         * elf/tst-null-argv.c: New test case.
20779         * elf/tst-null-argv-lib.c: Library for test case.
20780         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20781         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20782         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20783         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20784         * elf/dl-init.c (call_init): Likewise.
20785         (_dl_init): Likewise.
20786         * elf/dl-load.c (print_search_path): Likewise.
20787         (_dl_map_object): Likewise.
20788         * elf/dl-lookup.c (do_lookup_x): Likewise.
20789         (add_dependency): Likewise.
20790         (_dl_lookup_symbol_x): Likewise.
20791         (_dl_debug_bindings): Likewise.
20792         * elf/dl-open.c (_dl_show_scope): Likewise.
20793         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20794         * elf/dl-version.c (match_symbol): Likewise.
20795         (_dl_check_map_versions): Likewise.
20796         * elf/rtld.c (dl_main): Likewise.
20797         (print_unresolved): Use RTLD_PROGNAME.
20798         (print_missing_version): Likewise.
20799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20800         (elf_machine_rela): Likewise.
20801         * sysdeps/powerpc/powerpc32/dl-machine.c
20802         (__process_machine_rela): Likewise.
20803         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20804         Likewise.
20805         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20806         Likewise.
20807         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20808         Likewise.
20809         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20811         Likewise.
20812         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20813         Likewise.
20814         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20815
20816 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20817
20818         * po/be.po: Add descriptive title.
20819         * po/zh_CN.po: Likewise.
20820         * po/header.pot: Likewise.
20821
20822 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20823
20824         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20825         error message.
20826         (enlarge_archive): Likewise.
20827
20828 2013-05-28  Ben North  <ben@redfrontdoor.org>
20829
20830         * manual/arith.texi (frexp): It is the magnitude of the return
20831         value which lies in [0.5, 1), not the return value itself.
20832
20833 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20834
20835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20836
20837 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20838
20839         * stdio-common/bug26.c (main): Correct fscanf template.
20840
20841         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20842         declare _dl_skip_args.
20843
20844         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20845         Don't declare.
20846
20847         * manual/platform.texi: Add missing @end deftypefun.
20848
20849 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20850
20851         [BZ #15529]
20852         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20853         bit of mantissa of 2^16382.
20854         * math/libm-test.inc (hypot_test_data): Add more tests.
20855
20856         * math/libm-test.inc: Add drem and pow10 to list of tested
20857         functions.
20858         (pow10_test): New function.
20859         (drem_test): Likewise.
20860         (drem_test_tonearest): Likewise.
20861         (drem_test_towardzero): Likewise.
20862         (drem_test_downward): Likewise.
20863         (drem_test_upward): Likewise.
20864         (main): Call the new functions.
20865
20866         * math/libm-test.inc (finite_test_data): Remove.
20867         (finite_test): Run tests from isfinite_test_data.
20868         (gamma_test_data): Remove.
20869         (gamma_test): Run tests from lgamma_test_data.
20870         * sysdeps/i386/fpu/libm-test-ulps: Update.
20871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20872
20873 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20874
20875         * manual/platform.texi: Add PowerPC PPR function set documentation.
20876         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20877         implementation.
20878
20879 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20880
20881         * math/libm-test.inc (MAX_EXP): Define.
20882         (ULPDIFF): Define.
20883         (ulp): New function.
20884         (check_float_internal): Use ULPDIFF.
20885         (cpow_test): Disable failing test.
20886         (check_ulp): Test ulp() implemetnation.
20887         (main): Call check_ulp before starting tests.
20888
20889 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20890
20891         * math/gen-libm-test.pl (generate_testfile): Do not handle
20892         START_DATA and END_DATA.
20893         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20894         END_DATA.
20895         (acos_tonearest_test_data): Likewise.
20896         (acos_towardzero_test_data): Likewise.
20897         (acos_downward_test_data): Likewise.
20898         (acos_upward_test_data): Likewise.
20899         (acosh_test_data): Likewise.
20900         (asin_test_data): Likewise.
20901         (asin_tonearest_test_data): Likewise.
20902         (asin_towardzero_test_data): Likewise.
20903         (asin_downward_test_data): Likewise.
20904         (asin_upward_test_data): Likewise.
20905         (asinh_test_data): Likewise.
20906         (atan_test_data): Likewise.
20907         (atanh_test_data): Likewise.
20908         (atan2_test_data): Likewise.
20909         (cabs_test_data): Likewise.
20910         (cacos_test_data): Likewise.
20911         (cacosh_test_data): Likewise.
20912         (carg_test_data): Likewise.
20913         (casin_test_data): Likewise.
20914         (casinh_test_data): Likewise.
20915         (catan_test_data): Likewise.
20916         (catanh_test_data): Likewise.
20917         (cbrt_test_data): Likewise.
20918         (ccos_test_data): Likewise.
20919         (ccosh_test_data): Likewise.
20920         (ceil_test_data): Likewise.
20921         (cexp_test_data): Likewise.
20922         (cimag_test_data): Likewise.
20923         (clog_test_data): Likewise.
20924         (clog10_test_data): Likewise.
20925         (conj_test_data): Likewise.
20926         (copysign_test_data): Likewise.
20927         (cos_test_data): Likewise.
20928         (cos_tonearest_test_data): Likewise.
20929         (cos_towardzero_test_data): Likewise.
20930         (cos_downward_test_data): Likewise.
20931         (cos_upward_test_data): Likewise.
20932         (cosh_test_data): Likewise.
20933         (cosh_tonearest_test_data): Likewise.
20934         (cosh_towardzero_test_data): Likewise.
20935         (cosh_downward_test_data): Likewise.
20936         (cosh_upward_test_data): Likewise.
20937         (cpow_test_data): Likewise.
20938         (cproj_test_data): Likewise.
20939         (creal_test_data): Likewise.
20940         (csin_test_data): Likewise.
20941         (csinh_test_data): Likewise.
20942         (csqrt_test_data): Likewise.
20943         (ctan_test_data): Likewise.
20944         (ctan_tonearest_test_data): Likewise.
20945         (ctan_towardzero_test_data): Likewise.
20946         (ctan_downward_test_data): Likewise.
20947         (ctan_upward_test_data): Likewise.
20948         (ctanh_test_data): Likewise.
20949         (ctanh_tonearest_test_data): Likewise.
20950         (ctanh_towardzero_test_data): Likewise.
20951         (ctanh_downward_test_data): Likewise.
20952         (ctanh_upward_test_data): Likewise.
20953         (erf_test_data): Likewise.
20954         (erfc_test_data): Likewise.
20955         (exp_test_data): Likewise.
20956         (exp_tonearest_test_data): Likewise.
20957         (exp_towardzero_test_data): Likewise.
20958         (exp_downward_test_data): Likewise.
20959         (exp_upward_test_data): Likewise.
20960         (exp10_test_data): Likewise.
20961         (exp2_test_data): Likewise.
20962         (expm1_test_data): Likewise.
20963         (fabs_test_data): Likewise.
20964         (fdim_test_data): Likewise.
20965         (finite_test_data): Likewise.
20966         (floor_test_data): Likewise.
20967         (fma_test_data): Likewise.
20968         (fma_towardzero_test_data): Likewise.
20969         (fma_downward_test_data): Likewise.
20970         (fma_upward_test_data): Likewise.
20971         (fmax_test_data): Likewise.
20972         (fmin_test_data): Likewise.
20973         (fmod_test_data): Likewise.
20974         (fpclassify_test_data): Likewise.
20975         (frexp_test_data): Likewise.
20976         (gamma_test_data): Likewise.
20977         (hypot_test_data): Likewise.
20978         (ilogb_test_data): Likewise.
20979         (isfinite_test_data): Likewise.
20980         (isgreater_test_data): Likewise.
20981         (isgreaterequal_test_data): Likewise.
20982         (isinf_test_data): Likewise.
20983         (isless_test_data): Likewise.
20984         (islessequal_test_data): Likewise.
20985         (islessgreater_test_data): Likewise.
20986         (isnan_test_data): Likewise.
20987         (isnormal_test_data): Likewise.
20988         (issignaling_test_data): Likewise.
20989         (isunordered_test_data): Likewise.
20990         (j0_test_data): Likewise.
20991         (j1_test_data): Likewise.
20992         (jn_test_data): Likewise.
20993         (ldexp_test_data): Likewise.
20994         (lgamma_test_data): Likewise.
20995         (lrint_test_data): Likewise.
20996         (lrint_tonearest_test_data): Likewise.
20997         (lrint_towardzero_test_data): Likewise.
20998         (lrint_downward_test_data): Likewise.
20999         (lrint_upward_test_data): Likewise.
21000         (llrint_test_data): Likewise.
21001         (llrint_tonearest_test_data): Likewise.
21002         (llrint_towardzero_test_data): Likewise.
21003         (llrint_downward_test_data): Likewise.
21004         (llrint_upward_test_data): Likewise.
21005         (log_test_data): Likewise.
21006         (log10_test_data): Likewise.
21007         (log1p_test_data): Likewise.
21008         (log2_test_data): Likewise.
21009         (logb_test_data): Likewise.
21010         (logb_downward_test_data): Likewise.
21011         (lround_test_data): Likewise.
21012         (llround_test_data): Likewise.
21013         (modf_test_data): Likewise.
21014         (nearbyint_test_data): Likewise.
21015         (nextafter_test_data): Likewise.
21016         (nexttoward_test_data): Likewise.
21017         (pow_test_data): Likewise.
21018         (pow_tonearest_test_data): Likewise.
21019         (pow_towardzero_test_data): Likewise.
21020         (pow_downward_test_data): Likewise.
21021         (pow_upward_test_data): Likewise.
21022         (remainder_test_data): Likewise.
21023         (remainder_tonearest_test_data): Likewise.
21024         (remainder_towardzero_test_data): Likewise.
21025         (remainder_downward_test_data): Likewise.
21026         (remainder_upward_test_data): Likewise.
21027         (remquo_test_data): Likewise.
21028         (rint_test_data): Likewise.
21029         (rint_tonearest_test_data): Likewise.
21030         (rint_towardzero_test_data): Likewise.
21031         (rint_downward_test_data): Likewise.
21032         (rint_upward_test_data): Likewise.
21033         (round_test_data): Likewise.
21034         (scalb_test_data): Likewise.
21035         (scalbn_test_data): Likewise.
21036         (scalbln_test_data): Likewise.
21037         (signbit_test_data): Likewise.
21038         (sin_test_data): Likewise.
21039         (sin_tonearest_test_data): Likewise.
21040         (sin_towardzero_test_data): Likewise.
21041         (sin_downward_test_data): Likewise.
21042         (sin_upward_test_data): Likewise.
21043         (sincos_test_data): Likewise.
21044         (sinh_test_data): Likewise.
21045         (sinh_tonearest_test_data): Likewise.
21046         (sinh_towardzero_test_data): Likewise.
21047         (sinh_downward_test_data): Likewise.
21048         (sinh_upward_test_data): Likewise.
21049         (sqrt_test_data): Likewise.
21050         (tan_test_data): Likewise.
21051         (tan_tonearest_test_data): Likewise.
21052         (tan_towardzero_test_data): Likewise.
21053         (tan_downward_test_data): Likewise.
21054         (tan_upward_test_data): Likewise.
21055         (tanh_test_data): Likewise.
21056         (tgamma_test_data): Likewise.
21057         (trunc_test_data): Likewise.
21058         (y0_test_data): Likewise.
21059         (y1_test_data): Likewise.
21060         (yn_test_data): Likewise.
21061         (significand_test_data): Likewise.
21062
21063         * math/gen-libm-test.pl (@functions): Remove variable.
21064         (generate_testfile): Don't handle START and END lines.
21065         * math/libm-test.inc (START): New macro.
21066         (END): Likewise.
21067         (END_COMPLEX): Likewise.
21068         (acos_test): Use END macro without arguments.
21069         (acos_test_tonearest): Likewise.
21070         (acos_test_towardzero): Likewise.
21071         (acos_test_downward): Likewise.
21072         (acos_test_upward): Likewise.
21073         (acosh_test): Likewise.
21074         (asin_test): Likewise.
21075         (asin_test_tonearest): Likewise.
21076         (asin_test_towardzero): Likewise.
21077         (asin_test_downward): Likewise.
21078         (asin_test_upward): Likewise.
21079         (asinh_test): Likewise.
21080         (atan_test): Likewise.
21081         (atanh_test): Likewise.
21082         (atan2_test): Likewise.
21083         (cabs_test): Likewise.
21084         (cacos_test): Use END_COMPLEX macro without arguments.
21085         (cacosh_test): Likewise.
21086         (carg_test): Use END macro without arguments.
21087         (casin_test): Use END_COMPLEX macro without arguments.
21088         (casinh_test): Likewise.
21089         (catan_test): Likewise.
21090         (catanh_test): Likewise.
21091         (cbrt_test): Use END macro without arguments.
21092         (ccos_test): Use END_COMPLEX macro without arguments.
21093         (ccosh_test): Likewise.
21094         (ceil_test): Use END macro without arguments.
21095         (cexp_test): Use END_COMPLEX macro without arguments.
21096         (cimag_test): Use END macro without arguments.
21097         (clog_test): Use END_COMPLEX macro without arguments.
21098         (clog10_test): Likewise.
21099         (conj_test): Likewise.
21100         (copysign_test): Use END macro without arguments.
21101         (cos_test): Likewise.
21102         (cos_test_tonearest): Likewise.
21103         (cos_test_towardzero): Likewise.
21104         (cos_test_downward): Likewise.
21105         (cos_test_upward): Likewise.
21106         (cosh_test): Likewise.
21107         (cosh_test_tonearest): Likewise.
21108         (cosh_test_towardzero): Likewise.
21109         (cosh_test_downward): Likewise.
21110         (cosh_test_upward): Likewise.
21111         (cpow_test): Use END_COMPLEX macro without arguments.
21112         (cproj_test): Likewise.
21113         (creal_test): Use END macro without arguments.
21114         (csin_test): Use END_COMPLEX macro without arguments.
21115         (csinh_test): Likewise.
21116         (csqrt_test): Likewise.
21117         (ctan_test): Likewise.
21118         (ctan_test_tonearest): Likewise.
21119         (ctan_test_towardzero): Likewise.
21120         (ctan_test_downward): Likewise.
21121         (ctan_test_upward): Likewise.
21122         (ctanh_test): Likewise.
21123         (ctanh_test_tonearest): Likewise.
21124         (ctanh_test_towardzero): Likewise.
21125         (ctanh_test_downward): Likewise.
21126         (ctanh_test_upward): Likewise.
21127         (erf_test): Use END macro without arguments.
21128         (erfc_test): Likewise.
21129         (exp_test): Likewise.
21130         (exp_test_tonearest): Likewise.
21131         (exp_test_towardzero): Likewise.
21132         (exp_test_downward): Likewise.
21133         (exp_test_upward): Likewise.
21134         (exp10_test): Likewise.
21135         (exp2_test): Likewise.
21136         (expm1_test): Likewise.
21137         (fabs_test): Likewise.
21138         (fdim_test): Likewise.
21139         (finite_test): Likewise.
21140         (floor_test): Likewise.
21141         (fma_test): Likewise.
21142         (fma_test_towardzero): Likewise.
21143         (fma_test_downward): Likewise.
21144         (fma_test_upward): Likewise.
21145         (fmax_test): Likewise.
21146         (fmin_test): Likewise.
21147         (fmod_test): Likewise.
21148         (fpclassify_test): Likewise.
21149         (frexp_test): Likewise.
21150         (gamma_test): Likewise.
21151         (hypot_test): Likewise.
21152         (ilogb_test): Likewise.
21153         (isfinite_test): Likewise.
21154         (isgreater_test): Likewise.
21155         (isgreaterequal_test): Likewise.
21156         (isinf_test): Likewise.
21157         (isless_test): Likewise.
21158         (islessequal_test): Likewise.
21159         (islessgreater_test): Likewise.
21160         (isnan_test): Likewise.
21161         (isnormal_test): Likewise.
21162         (issignaling_test): Likewise.
21163         (isunordered_test): Likewise.
21164         (j0_test): Likewise.
21165         (j1_test): Likewise.
21166         (jn_test): Likewise.
21167         (ldexp_test): Likewise.
21168         (lgamma_test): Likewise.
21169         (lrint_test): Likewise.
21170         (lrint_test_tonearest): Likewise.
21171         (lrint_test_towardzero): Likewise.
21172         (lrint_test_downward): Likewise.
21173         (lrint_test_upward): Likewise.
21174         (llrint_test): Likewise.
21175         (llrint_test_tonearest): Likewise.
21176         (llrint_test_towardzero): Likewise.
21177         (llrint_test_downward): Likewise.
21178         (llrint_test_upward): Likewise.
21179         (log_test): Likewise.
21180         (log10_test): Likewise.
21181         (log1p_test): Likewise.
21182         (log2_test): Likewise.
21183         (logb_test): Likewise.
21184         (logb_test_downward): Likewise.
21185         (lround_test): Likewise.
21186         (llround_test): Likewise.
21187         (modf_test): Likewise.
21188         (nearbyint_test): Likewise.
21189         (nextafter_test): Likewise.
21190         (nexttoward_test): Likewise.
21191         (pow_test): Likewise.
21192         (pow_test_tonearest): Likewise.
21193         (pow_test_towardzero): Likewise.
21194         (pow_test_downward): Likewise.
21195         (pow_test_upward): Likewise.
21196         (remainder_test): Likewise.
21197         (remainder_test_tonearest): Likewise.
21198         (remainder_test_towardzero): Likewise.
21199         (remainder_test_downward): Likewise.
21200         (remainder_test_upward): Likewise.
21201         (remquo_test): Likewise.
21202         (rint_test): Likewise.
21203         (rint_test_tonearest): Likewise.
21204         (rint_test_towardzero): Likewise.
21205         (rint_test_downward): Likewise.
21206         (rint_test_upward): Likewise.
21207         (round_test): Likewise.
21208         (scalb_test): Likewise.
21209         (scalbn_test): Likewise.
21210         (scalbln_test): Likewise.
21211         (signbit_test): Likewise.
21212         (sin_test): Likewise.
21213         (sin_test_tonearest): Likewise.
21214         (sin_test_towardzero): Likewise.
21215         (sin_test_downward): Likewise.
21216         (sin_test_upward): Likewise.
21217         (sincos_test): Likewise.
21218         (sinh_test): Likewise.
21219         (sinh_test_tonearest): Likewise.
21220         (sinh_test_towardzero): Likewise.
21221         (sinh_test_downward): Likewise.
21222         (sinh_test_upward): Likewise.
21223         (sqrt_test): Likewise.
21224         (tan_test): Likewise.
21225         (tan_test_tonearest): Likewise.
21226         (tan_test_towardzero): Likewise.
21227         (tan_test_downward): Likewise.
21228         (tan_test_upward): Likewise.
21229         (tanh_test): Likewise.
21230         (tgamma_test): Likewise.
21231         (trunc_test): Likewise.
21232         (y0_test): Likewise.
21233         (y1_test): Likewise.
21234         (yn_test): Likewise.
21235         (significand_test): Likewise.
21236
21237 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21238
21239         [BZ #15381]
21240         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21241
21242 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21243
21244         [BZ #14894]
21245         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21246         __ppc_mdoio and __ppc_mdoom.
21247         * manual/platform.texi: Document new functions __ppc_yield,
21248         __ppc_mdoio and __ppc_mdoom.
21249
21250 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21251
21252         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21253         (main): Mention "tls" pseudo-hwcap is legacy.
21254         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21255
21256 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21257
21258         * math/gen-libm-test.pl (parse_args): Output only string of
21259         arguments as text for test name, not full call or descriptions of
21260         tests for extra outputs.
21261         (generate_testfile): Do not pass function name to parse_args.
21262         Generate this_func variable from START.
21263         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21264         field to arg_str.
21265         (struct test_ff_f_data): Likewise.
21266         (test_ff_f_data_nexttoward): Likewise.
21267         (struct test_fi_f_data): Likewise.
21268         (struct test_fl_f_data): Likewise.
21269         (struct test_if_f_data): Likewise.
21270         (struct test_fff_f_data): Likewise.
21271         (struct test_c_f_data): Likewise.
21272         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21273         (struct test_fF_f1_data): Likewise.
21274         (struct test_ffI_f1_data): Likewise.
21275         (struct test_c_c_data): Rename test_name field to arg_str.
21276         (struct test_cc_c_data): Likewise.
21277         (struct test_f_i_data): Likewise.
21278         (struct test_ff_i_data): Likewise.
21279         (struct test_f_l_data): Likewise.
21280         (struct test_f_L_data): Likewise.
21281         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21282         and extra2_name.
21283         (COMMON_TEST_SETUP): New macro.
21284         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21285         (COMMON_TEST_CLEANUP): Likewise.
21286         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21287         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21288         macros.
21289         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21290         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21291         macros.
21292         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21293         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21294         cleanup macros.
21295         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21296         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21297         macros.
21298         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21299         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21300         macros.
21301         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21302         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21303         cleanup macros.
21304         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21305         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21306         cleanup macros.
21307         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21308         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21309         cleanup macros.
21310         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21311         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21312         macros.
21313         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21314         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21315         macros.
21316         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21317         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21318         macros.
21319         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21320         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21321         cleanup macros.
21322         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21323         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21324         cleanup macros.
21325         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21326         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21327         macros.
21328         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21329         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21330         cleanup macros.
21331         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21332         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21333         macros.
21334         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21335         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21336         macros.
21337         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21338         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21339         cleanup macros.
21340         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21341
21342 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21343
21344         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21345         to _sifields.sigfault.
21346         (si_addr_lsb): Define new macro.
21347         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21348         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21349         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21350
21351 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21352
21353         [BZ #15441]
21354         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21355         returns -1.
21356         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21357         null return -1.
21358         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21359         loading the domain.
21360
21361 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21362
21363         * math/gen-libm-test.pl (parse_args): Do not include expected
21364         result in test name.
21365         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21366         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21367         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21369         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21371
21372 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21373
21374         * benchtests/Makefile: Sort function entries.
21375
21376         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21377         tanh, asinh, acosh, atanh.
21378         * benchtests/acos-inputs: New file.
21379         * benchtests/acosh-inputs: New file.
21380         * benchtests/asin-inputs: New file.
21381         * benchtests/asinh-inputs: New file.
21382         * benchtests/atanh-inputs: New file.
21383         * benchtests/cosh-inputs: New file.
21384         * benchtests/log-inputs: New file.
21385         * benchtests/sinh-inputs: New file.
21386         * benchtests/tanh-inputs: New file.
21387
21388 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21389
21390         [BZ #15339]
21391         * posix/tst-getaddrinfo4.c: New test.
21392         * posix/Makefile (tests): Add it.
21393
21394 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21395
21396         [BZ #15339]
21397         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21398         when no services were used.
21399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21400         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21401
21402 2013-05-21  Andreas Schwab  <schwab@suse.de>
21403
21404         [BZ #15014]
21405         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21406         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21407         successful.
21408         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21409         redundant variable declarations and reallocation of buffer when
21410         parsing as IPv6 address.  Always set NSS status when called from
21411         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21412         buffer too small.  Correct computation of needed size.
21413         * nss/Makefile (tests): Add test-digits-dots.
21414         * nss/test-digits-dots.c: New test.
21415
21416 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21417
21418         * benchtests/Makefile: Remove instructions for adding
21419         benchmark tests.
21420         * benchtests/README: New file to explain how to execute and
21421         enhance the benchmark tests.
21422
21423 2013-05-21  Andreas Schwab  <schwab@suse.de>
21424
21425         [BZ #15493]
21426         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21427         * setjmp/tst-sigsetjmp.c: New test.
21428
21429 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21430
21431         * sysdeps/x86_64/memset.S (memset): New implementation.
21432         (__bzero): Likewise.
21433         (__memset_tail): New function.
21434
21435 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21436
21437         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21438         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21439         __memcpy_sse2_unaligned ifunc selection.
21440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21441         Add memcpy-sse2-unaligned.S.
21442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21443         Add: __memcpy_sse2_unaligned.
21444
21445 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21446
21447         [BZ #15490]
21448         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21449         math_force_eval before restoring floating-point envrionment.
21450         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21451         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21452         Likewise.
21453         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21454         <math_private.h>.
21455         (__nearbyintl): Use math_force_eval before restoring
21456         floating-point environment.
21457         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21458
21459         * math/gen-libm-test.pl (special_functions): Remove.
21460         (parse_args): Don't handle TEST_extra.  Handle functions with no
21461         return value.
21462         * math/libm-test.inc (struct test_sincos_data): Replace with
21463         struct test_fFF_11_data.
21464         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21465         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21466         (sincos_test_data): Change element type to struct
21467         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21468         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21469         RUN_TEST_LOOP_sincos.
21470         * math/README.libm-test: Don't mention special handling of
21471         individual functions.
21472         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21473         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21474         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21475         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21476         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21478
21479         * math/gen-libm-test.pl (get_variable): Remove function.
21480         (parse_args): Don't show pointer parameters to call in test
21481         names.  Use "extra output N" in test names for extra outputs
21482         rather than naming variables.
21483
21484 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21485
21486         [BZ #15488]
21487         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21488         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21489         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21490         double tests.
21491         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21492         disable.
21493         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21494         check_long_double.
21495
21496         * math/gen-libm-test.pl (@tests): Remove variable.
21497         ($count): Likewise.
21498         (new_test): Remove function.
21499         (show_exceptions): New function.
21500         (special_functions): Use show_exceptions instead of new_test.
21501         (parse_args): Likewise.
21502         (generate_testfile): Pass only function name in generated call to
21503         print_max_error or print_complex_max_error.
21504         (get_ulps): Do not handle complex tests specially.
21505         (output_test): Rename to ...
21506         (get_all_ulps_for_test): ... this.  Return a string rather than
21507         printing to a file.  Require ulps to be present.
21508         (output_ulps): Generate arrays rather than #defines.
21509         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21510         (struct ulp_data): New type.
21511         (BUILD_COMPLEX_ULP): Remove macro.
21512         (compare_ulp_data): New function.
21513         (find_ulps): Likewise.
21514         (find_test_ulps): Likewise.
21515         (find_function_ulps): Likewise.
21516         (find_complex_function_ulps): Likewise.
21517         (print_max_error): Determine allowed ulps using
21518         find_function_ulps.
21519         (print_complex_max_error): Determine allowed ulps using
21520         find_complex_function_ulps.
21521         (check_float_internal): Determine max ulps using find_test_ulps.
21522         (check_float): Do not take max_ulp parameter.  Update call to
21523         check_float_internal.
21524         (check_complex): Likewise.
21525         (check_int): Do not take max_ulp parameter.
21526         (check_long): Likewise.
21527         (check_bool): Likewise.
21528         (check_longlong): Likewise.
21529         (struct test_f_f_data): Remove max_ulp field.
21530         (struct test_ff_f_data): Likewise.
21531         (struct test_ff_f_data_nexttoward): Likewise.
21532         (struct test_fi_f_data): Likewise.
21533         (struct test_fl_f_data): Likewise.
21534         (struct test_if_f_data): Likewise.
21535         (struct test_fff_f_data): Likewise.
21536         (struct test_c_f_data): Likewise.
21537         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21538         (struct test_fF_f1_data): Likewise.
21539         (struct test_ffI_f1_data): Likewise.
21540         (struct test_c_c_data): Remove max_ulp field.
21541         (struct test_cc_c_data): Likewise.
21542         (struct test_f_i_data): Likewise.
21543         (struct test_ff_i_data): Likewise.
21544         (struct test_f_l_data): Likewise.
21545         (struct test_f_L_data): Likewise.
21546         (struct test_sincos_data): Likewise.
21547         (RUN_TEST_f_f): Do not handle ulps.
21548         (RUN_TEST_LOOP_f_f): Likewise.
21549         (RUN_TEST_2_f): Likewise.
21550         (RUN_TEST_LOOP_2_f): Likewise.
21551         (RUN_TEST_fff_f): Likewise.
21552         (RUN_TEST_LOOP_fff_f): Likewise.
21553         (RUN_TEST_c_f): Likewise.
21554         (RUN_TEST_LOOP_c_f): Likewise.
21555         (RUN_TEST_f_f1): Likewise.
21556         (RUN_TEST_LOOP_f_f1): Likewise.
21557         (RUN_TEST_fF_f1): Likewise.
21558         (RUN_TEST_LOOP_fF_f1): Likewise.
21559         (RUN_TEST_fI_f1): Likewise.
21560         (RUN_TEST_LOOP_fI_f1): Likewise.
21561         (RUN_TEST_ffI_f1): Likewise.
21562         (RUN_TEST_LOOP_ffI_f1): Likewise.
21563         (RUN_TEST_c_c): Likewise.
21564         (RUN_TEST_LOOP_c_c): Likewise.
21565         (RUN_TEST_cc_c): Likewise.
21566         (RUN_TEST_LOOP_cc_c): Likewise.
21567         (RUN_TEST_f_i): Likewise.
21568         (RUN_TEST_LOOP_f_i): Likewise.
21569         (RUN_TEST_f_i_tg): Likewise.
21570         (RUN_TEST_LOOP_f_i_tg): Likewise.
21571         (RUN_TEST_ff_i_tg): Likewise.
21572         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21573         (RUN_TEST_f_b): Likewise.
21574         (RUN_TEST_LOOP_f_b): Likewise.
21575         (RUN_TEST_f_b_tg): Likewise.
21576         (RUN_TEST_LOOP_f_b_tg): Likewise.
21577         (RUN_TEST_f_l): Likewise.
21578         (RUN_TEST_LOOP_f_l): Likewise.
21579         (RUN_TEST_f_L): Likewise.
21580         (RUN_TEST_LOOP_f_L): Likewise.
21581         (RUN_TEST_sincos): Likewise.
21582         (RUN_TEST_LOOP_sincos): Likewise.
21583
21584 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21585
21586         [BZ #15480]
21587         [BZ #15485]
21588         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21589         main case of finite arguments, set rounding mode to FE_TONEAREST
21590         and discard exceptions.
21591         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21592         exceptions.
21593         (remainder_tonearest_test_data): New variable.
21594         (remainder_test_tonearest): New function.
21595         (remainder_towardzero_test_data): New variable.
21596         (remainder_test_towardzero): New function.
21597         (remainder_downward_test_data): New variable.
21598         (remainder_test_downward): New function.
21599         (remainder_upward_test_data): New variable.
21600         (remainder_test_upward): New function.
21601         (main): Call the new test functions.
21602
21603         * math/libm-test.inc (struct test_f_f1_data): Remove field
21604         extra_init.
21605         (struct test_fF_f1_data): Likewise.
21606         (struct test_ffI_f1_data): Likewise.
21607         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21608         based on value of EXTRA_EXPECTED.
21609         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21610         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21611         EXTRA_VAR based on value of EXTRA_EXPECTED.
21612         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21613         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21614         EXTRA_VAR based on value of EXTRA_EXPECTED.
21615         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21616         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21617         EXTRA_VAR based on value of EXTRA_EXPECTED.
21618         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21619         * math/gen-libm-test.pl (parse_args): Don't output initializers
21620         for extra output values.
21621
21622         * math/libm-test.inc (check_int): Expect result to be exactly
21623         equal to expected value and do not handle ulps.
21624         (check_long): Likewise.
21625         (check_longlong): Likewise.
21626
21627         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21628         exceptions.
21629         (cimag_test_data): Likewise.
21630         (conj_test_data): Likewise.
21631         (copysign_test_data): Likewise.
21632         (cproj_test_data): Likewise.
21633         (creal_test_data): Likewise.
21634         (fabs_test_data): Likewise.
21635         (fdim_test_data): Likewise.
21636         (finite_test_data): Likewise.
21637         (floor_test_data): Likewise.
21638         (fmax_test_data): Likewise.
21639         (fmin_test_data): Likewise.
21640         (fmod_test_data): Likewise.
21641         (fpclassify_test_data): Likewise.
21642         (frexp_test_data): Likewise.
21643         (ilogb_test_data): Likewise.
21644         (isfinite_test_data): Likewise.
21645         (isgreater_test_data): Likewise.
21646         (isgreaterequal_test_data): Likewise.
21647         (isinf_test_data): Likewise.
21648         (isless_test_data): Likewise.
21649         (islessequal_test_data): Likewise.
21650         (islessgreater_test_data): Likewise.
21651         (isnan_test_data): Likewise.
21652         (isnormal_test_data): Likewise.
21653         (issignaling_test_data): Likewise.
21654         (isunordered_test_data): Likewise.
21655         (ldexp_test_data): Likewise.
21656         (lrint_test_data): Likewise.
21657         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21658         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21659         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21660         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21661         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21662         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21663         test input.
21664         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21665         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21666         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21667         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21668         that test input.
21669         (lrint_downward_test_data): Test for "inexact" exceptions.
21670         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21671         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21672         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21673         test input.
21674         (lrint_upward_test_data): Test for "inexact" exceptions.
21675         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21676         test input.
21677         (llrint_test_data): Test for "inexact" exceptions.
21678         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21679         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21680         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21681         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21682         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21683         (llrint_downward_test_data): Test for "inexact" exceptions.
21684         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21685         (llrint_upward_test_data): Test for "inexact" exceptions.
21686         (logb_test_data): Likewise.
21687         (logb_downward_test_data): Likewise.
21688         (nextafter_test_data): Likewise.
21689         (nexttoward_test_data): Likewise.
21690         (remainder_test_data): Likewise.
21691         (remquo_test_data): Likewise.
21692         (scalbn_test_data): Likewise.
21693         (scalbln_test_data): Likewise.
21694         (signbit_test_data): Likewise.
21695         (sqrt_test_data): Likewise.
21696         (significand_test_data): Likewise.
21697
21698 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699
21700         [BZ #15424]
21701         * benchtests/bench-modf.c (struct args): Mark arg0 as
21702         volatile.
21703         * scripts/bench.pl: Mark members of struct args as volatile.
21704
21705 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21706
21707         [BZ # 15497]
21708         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21709         negative infinity on POWER6 or lower.
21710         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21711
21712 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21713
21714         [BZ #15442]
21715         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21716         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21717         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21718         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21719         (_FP_SETQNAN): New macro.
21720         (_FP_SETQNAN_SEMIRAW): Likewise.
21721         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21722         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21723         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21724         (FP_EXTEND): Use _FP_FRAC_SNANP.
21725         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21726         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21727         into account.
21728         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21729         New macro.
21730         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21731         Likewise.
21732
21733 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21734
21735         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21736         with DIVIDE_BY_ZERO_EXCEPTION.
21737         (gamma_test_data): Likewise.
21738         (lgamma_test_data): Likewise.
21739         (log_test_data): Likewise.
21740         (log10_test_data): Likewise.
21741         (log2_test_data): Likewise.
21742         (tgamma_test_data): Likewise.
21743
21744         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21745         (acos_test_tonearest): Likewise.
21746         (acos_test_towardzero): Likewise.
21747         (acos_test_downward): Likewise.
21748         (acos_test_upward): Likewise.
21749         (acosh_test): Likewise.
21750         (asin_test): Likewise.
21751         (asin_test_tonearest): Likewise.
21752         (asin_test_towardzero): Likewise.
21753         (asin_test_downward): Likewise.
21754         (asin_test_upward): Likewise.
21755         (asinh_test): Likewise.
21756         (atan_test): Likewise.
21757         (atanh_test): Likewise.
21758         (atan2_test): Likewise.
21759         (cabs_test): Likewise.
21760         (cacos_test): Likewise.
21761         (cacosh_test): Likewise.
21762         (casin_test): Likewise.
21763         (casinh_test): Likewise.
21764         (catan_test): Likewise.
21765         (catanh_test): Likewise.
21766         (cbrt_test): Likewise.
21767         (ccos_test): Likewise.
21768         (ccosh_test): Likewise.
21769         (cexp_test): Likewise.
21770         (clog_test): Likewise.
21771         (clog10_test): Likewise.
21772         (cos_test): Likewise.
21773         (cos_test_tonearest): Likewise.
21774         (cos_test_towardzero): Likewise.
21775         (cos_test_downward): Likewise.
21776         (cos_test_upward): Likewise.
21777         (cosh_test): Likewise.
21778         (cosh_test_tonearest): Likewise.
21779         (cosh_test_towardzero): Likewise.
21780         (cosh_test_downward): Likewise.
21781         (cosh_test_upward): Likewise.
21782         (cpow_test): Likewise.
21783         (csin_test): Likewise.
21784         (csinh_test): Likewise.
21785         (csqrt_test): Likewise.
21786         (ctan_test): Likewise.
21787         (ctan_test_tonearest): Likewise.
21788         (ctan_test_towardzero): Likewise.
21789         (ctan_test_downward): Likewise.
21790         (ctan_test_upward): Likewise.
21791         (ctanh_test): Likewise.
21792         (ctanh_test_tonearest): Likewise.
21793         (ctanh_test_towardzero): Likewise.
21794         (ctanh_test_downward): Likewise.
21795         (ctanh_test_upward): Likewise.
21796         (erf_test): Likewise.
21797         (erfc_test): Likewise.
21798         (exp_test): Likewise.
21799         (exp_test_tonearest): Likewise.
21800         (exp_test_towardzero): Likewise.
21801         (exp_test_downward): Likewise.
21802         (exp_test_upward): Likewise.
21803         (exp10_test): Likewise.
21804         (exp2_test): Likewise.
21805         (expm1_test): Likewise.
21806         (fmod_test): Likewise.
21807         (gamma_test): Likewise.
21808         (hypot_test): Likewise.
21809         (j0_test): Likewise.
21810         (j1_test): Likewise.
21811         (jn_test): Likewise.
21812         (lgamma_test): Likewise.
21813         (log_test): Likewise.
21814         (log10_test): Likewise.
21815         (log1p_test): Likewise.
21816         (log2_test): Likewise.
21817         (logb_test_downward): Likewise.
21818         (pow_test): Likewise.
21819         (pow_test_tonearest): Likewise.
21820         (pow_test_towardzero): Likewise.
21821         (pow_test_downward): Likewise.
21822         (pow_test_upward): Likewise.
21823         (remainder_test): Likewise.
21824         (remquo_test): Likewise.
21825         (sin_test): Likewise.
21826         (sin_test_tonearest): Likewise.
21827         (sin_test_towardzero): Likewise.
21828         (sin_test_downward): Likewise.
21829         (sin_test_upward): Likewise.
21830         (sincos_test): Likewise.
21831         (sinh_test): Likewise.
21832         (sinh_test_tonearest): Likewise.
21833         (sinh_test_towardzero): Likewise.
21834         (sinh_test_downward): Likewise.
21835         (sinh_test_upward): Likewise.
21836         (sqrt_test): Likewise.
21837         (tan_test): Likewise.
21838         (tan_test_tonearest): Likewise.
21839         (tan_test_towardzero): Likewise.
21840         (tan_test_downward): Likewise.
21841         (tan_test_upward): Likewise.
21842         (tanh_test): Likewise.
21843         (tgamma_test): Likewise.
21844         (y0_test): Likewise.
21845         (y1_test): Likewise.
21846         (yn_test): Likewise.
21847
21848         * math/gen-libm-test.pl (adjust_arg): Remove function.
21849         (special_function): Remove argument $in_func.  Only handle
21850         generating output for tables of tests, not inside functions.
21851         (parse_args): Likewise.
21852         (generate_testfile): Remove variable $in_func.  Update call to
21853         parse_args.
21854         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21855         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21856         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21857         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21858         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21859         (MAX_VALUE_INIT): Rename macro to max_value.
21860         (MIN_VALUE_INIT): Rename macro to min_value.
21861         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21862         (plus_zero): Remove variable.
21863         (minus_zero): Likewise.
21864         (plus_infty): Likewise.
21865         (minus_infty): Likewise.
21866         (qnan_value): Likewise.
21867         (max_value): Likewise.
21868         (min_value): Likewise.
21869         (min_subnorm_value): Likewise.
21870
21871 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21872
21873         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21874         uint64_t or uint32_t usage.
21875         * crypt/sha256-block.c: Likewise.
21876         * crypt/sha256-crypt.c: Likewise.
21877         * crypt/sha256.c: Likewise.
21878         * crypt/sha512-block.c: Likewise.
21879         * crypt/sha512-crypt.c: Likewise.
21880         * crypt/sha512.c: Likewise.
21881         * debug/backtrace-tst.c: Likewise.
21882         * debug/pcprofiledump.c: Likewise.
21883         * elf/cache.c: Likewise.
21884         * elf/dl-cache.c: Likewise.
21885         * elf/dl-misc.c: Likewise.
21886         * elf/dl-profile.c: Likewise.
21887         * elf/dl-support.c: Likewise.
21888         * elf/ldconfig.c: Likewise.
21889         * elf/sprof.c: Likewise.
21890         * iconv/dummy-repertoire.c: Likewise.
21891         * iconv/iconv_charmap.c: Likewise.
21892         * iconv/skeleton.c: Likewise.
21893         * iconvdata/8bit-generic.c: Likewise.
21894         * iconvdata/cp737.h: Likewise.
21895         * iconvdata/cp775.h: Likewise.
21896         * iconvdata/ibm1008.h: Likewise.
21897         * iconvdata/ibm1025.h: Likewise.
21898         * iconvdata/ibm1046.h: Likewise.
21899         * iconvdata/ibm1097.h: Likewise.
21900         * iconvdata/ibm1112.h: Likewise.
21901         * iconvdata/ibm1122.h: Likewise.
21902         * iconvdata/ibm1123.h: Likewise.
21903         * iconvdata/ibm1124.h: Likewise.
21904         * iconvdata/ibm1129.h: Likewise.
21905         * iconvdata/ibm1130.h: Likewise.
21906         * iconvdata/ibm1132.h: Likewise.
21907         * iconvdata/ibm1133.h: Likewise.
21908         * iconvdata/ibm1137.h: Likewise.
21909         * iconvdata/ibm1140.h: Likewise.
21910         * iconvdata/ibm1141.h: Likewise.
21911         * iconvdata/ibm1142.h: Likewise.
21912         * iconvdata/ibm1143.h: Likewise.
21913         * iconvdata/ibm1144.h: Likewise.
21914         * iconvdata/ibm1145.h: Likewise.
21915         * iconvdata/ibm1146.h: Likewise.
21916         * iconvdata/ibm1147.h: Likewise.
21917         * iconvdata/ibm1148.h: Likewise.
21918         * iconvdata/ibm1149.h: Likewise.
21919         * iconvdata/ibm1153.h: Likewise.
21920         * iconvdata/ibm1154.h: Likewise.
21921         * iconvdata/ibm1155.h: Likewise.
21922         * iconvdata/ibm1156.h: Likewise.
21923         * iconvdata/ibm1157.h: Likewise.
21924         * iconvdata/ibm1158.h: Likewise.
21925         * iconvdata/ibm1160.h: Likewise.
21926         * iconvdata/ibm1161.h: Likewise.
21927         * iconvdata/ibm1162.h: Likewise.
21928         * iconvdata/ibm1163.h: Likewise.
21929         * iconvdata/ibm1164.h: Likewise.
21930         * iconvdata/ibm1166.h: Likewise.
21931         * iconvdata/ibm1167.h: Likewise.
21932         * iconvdata/ibm12712.h: Likewise.
21933         * iconvdata/ibm1390.h: Likewise.
21934         * iconvdata/ibm1399.h: Likewise.
21935         * iconvdata/ibm16804.h: Likewise.
21936         * iconvdata/ibm4517.h: Likewise.
21937         * iconvdata/ibm4899.h: Likewise.
21938         * iconvdata/ibm4909.h: Likewise.
21939         * iconvdata/ibm4971.h: Likewise.
21940         * iconvdata/ibm5347.h: Likewise.
21941         * iconvdata/ibm803.h: Likewise.
21942         * iconvdata/ibm856.h: Likewise.
21943         * iconvdata/ibm901.h: Likewise.
21944         * iconvdata/ibm902.h: Likewise.
21945         * iconvdata/ibm9030.h: Likewise.
21946         * iconvdata/ibm9066.h: Likewise.
21947         * iconvdata/ibm921.h: Likewise.
21948         * iconvdata/ibm922.h: Likewise.
21949         * iconvdata/ibm9448.h: Likewise.
21950         * iconvdata/isiri-3342.h: Likewise.
21951         * iconvdata/jis0201.h: Likewise.
21952         * include/link.h: Likewise.
21953         * include/netdb.h: Likewise.
21954         * inet/check_native.c: Likewise.
21955         * inet/check_pf.c: Likewise.
21956         * inet/getipv4sourcefilter.c: Likewise.
21957         * inet/getnameinfo.c: Likewise.
21958         * inet/getsourcefilter.c: Likewise.
21959         * inet/htonl.c: Likewise.
21960         * inet/setipv4sourcefilter.c: Likewise.
21961         * inet/setsourcefilter.c: Likewise.
21962         * inet/test-inet6_opt.c: Likewise.
21963         * inet/tst-network.c: Likewise.
21964         * locale/C-collate.c: Likewise.
21965         * locale/C-ctype.c: Likewise.
21966         * locale/C-time.c: Likewise.
21967         * locale/C-translit.h: Likewise.
21968         * locale/loadarchive.c: Likewise.
21969         * locale/programs/3level.h: Likewise.
21970         * locale/programs/charmap.c: Likewise.
21971         * locale/programs/charmap.h: Likewise.
21972         * locale/programs/ld-address.c: Likewise.
21973         * locale/programs/ld-collate.c: Likewise.
21974         * locale/programs/ld-ctype.c: Likewise.
21975         * locale/programs/ld-identification.c: Likewise.
21976         * locale/programs/ld-measurement.c: Likewise.
21977         * locale/programs/ld-messages.c: Likewise.
21978         * locale/programs/ld-monetary.c: Likewise.
21979         * locale/programs/ld-name.c: Likewise.
21980         * locale/programs/ld-numeric.c: Likewise.
21981         * locale/programs/ld-paper.c: Likewise.
21982         * locale/programs/ld-telephone.c: Likewise.
21983         * locale/programs/ld-time.c: Likewise.
21984         * locale/programs/linereader.c: Likewise.
21985         * locale/programs/locale.c: Likewise.
21986         * locale/programs/locarchive.c: Likewise.
21987         * locale/programs/locfile.h: Likewise.
21988         * locale/programs/repertoire.c: Likewise.
21989         * locale/programs/simple-hash.c: Likewise.
21990         * locale/programs/simple-hash.h: Likewise.
21991         * malloc/memusage.c: Likewise.
21992         * malloc/memusagestat.c: Likewise.
21993         * nis/nis_defaults.c: Likewise.
21994         * nis/nis_hash.c: Likewise.
21995         * nis/nis_print.c: Likewise.
21996         * nis/nis_xdr.c: Likewise.
21997         * nscd/connections.c: Likewise.
21998         * nscd/hstcache.c: Likewise.
21999         * nscd/nscd_gethst_r.c: Likewise.
22000         * nscd/nscd_getserv_r.c: Likewise.
22001         * nscd/nscd_helper.c: Likewise.
22002         * nscd/servicescache.c: Likewise.
22003         * nss/makedb.c: Likewise.
22004         * nss/nss_db/db-XXX.c: Likewise.
22005         * nss/nss_db/db-initgroups.c: Likewise.
22006         * nss/nss_db/db-netgrp.c: Likewise.
22007         * nss/nss_files/files-network.c: Likewise.
22008         * nss/nss_files/files-parse.c: Likewise.
22009         * posix/bug-regex5.c: Likewise.
22010         * posix/fnmatch_loop.c: Likewise.
22011         * posix/regcomp.c: Likewise.
22012         * posix/regexec.c: Likewise.
22013         * posix/tst-rfc3484-2.c: Likewise.
22014         * posix/tst-rfc3484-3.c: Likewise.
22015         * posix/tst-rfc3484.c: Likewise.
22016         * resolv/nss_dns/dns-canon.c: Likewise.
22017         * resolv/nss_dns/dns-network.c: Likewise.
22018         * resolv/res_init.c: Likewise.
22019         * resolv/res_mkquery.c: Likewise.
22020         * resolv/tst-aton.c: Likewise.
22021         * stdlib/cxa_atexit.c: Likewise.
22022         * stdlib/cxa_finalize.c: Likewise.
22023         * stdlib/gen-fpioconst.c: Likewise.
22024         * stdlib/strtol_l.c: Likewise.
22025         * string/tst-endian.c: Likewise.
22026         * sunrpc/auth_des.c: Likewise.
22027         * sunrpc/clnt_udp.c: Likewise.
22028         * sunrpc/rtime.c: Likewise.
22029         * sunrpc/svcauth_des.c: Likewise.
22030         * sunrpc/xdr.c: Likewise.
22031         * sunrpc/xdr_intXX_t.c: Likewise.
22032         * sunrpc/xdr_rec.c: Likewise.
22033         * sysdeps/generic/ldconfig.h: Likewise.
22034         * sysdeps/generic/ldsodefs.h: Likewise.
22035         * sysdeps/generic/memusage.h: Likewise.
22036         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22037         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22038         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22039         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22045         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22046         * sysdeps/posix/getaddrinfo.c: Likewise.
22047         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22048         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22049         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22050         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22051         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22052         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22053         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22054         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22055         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22056         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22057         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22058         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22059         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22060         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22061         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22062         * sysdeps/x86_64/dl-tls.h: Likewise.
22063         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22064         * time/alt_digit.c: Likewise.
22065         * time/era.c: Likewise.
22066         * wcsmbs/tst-c16c32-1.c: Likewise.
22067
22068 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22069
22070         * math/libm-test.inc (struct test_sincos_data): New type.
22071         (RUN_TEST_LOOP_sincos): New macro.
22072         (sincos_test_data): New variable.
22073         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22074
22075 2013-05-16  Richard Henderson  <rth@redhat.com>
22076
22077         * math/atest-exp2.c (LIMB64): New macro.
22078         (CONSTSZ): New macro.
22079         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22080         (hexdig): Move ...
22081         (print_mpn_fp): ... to function scope.
22082         (read_mpn_hex): Remove.
22083         (get_log2): Remove.
22084         (exp2_mpn): Use mp_log2.
22085         (main): Use mp_exp1.
22086
22087 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22088
22089         * math/libm-test.inc: Remove comment about not testing "inexact"
22090         exceptions.
22091         (INEXACT_EXCEPTION): New macro.
22092         (NO_INEXACT_EXCEPTION): Likewise.
22093         (INVALID_EXCEPTION_OK): Update value.
22094         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22095         (OVERFLOW_EXCEPTION_OK): Likewise.
22096         (UNDERFLOW_EXCEPTION_OK): Likewise.
22097         (IGNORE_ZERO_INF_SIGN): Likewise.
22098         (ERRNO_UNCHANGED): Likewise.
22099         (ERRNO_EDOM): Likewise.
22100         (ERRNO_ERANGE): Likewise.
22101         (test_exceptions): Handle testing "inexact" exceptions.
22102         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22103         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22104         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22105         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22106         INEXACT_EXCEPTION.
22107         (rint_towardzero_test_data): Likewise.
22108         (rint_downward_test_data): Likewise.
22109         (rint_upward_test_data): Likewise.
22110
22111         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22112         with OVERFLOW_EXCEPTION.
22113         (exp10_test_data): Likewise.
22114         (exp2_test_data): Likewise.
22115         (expm1_test_data): Likewise.
22116         (lgamma_test_data): Likewise.
22117         (pow_test_data): Likewise.
22118         (tgamma_test_data): Likewise.
22119         (yn_test_data): Remove duplicate test of overflow.
22120
22121         * math/libm-test.inc (struct test_cc_c_data): New type.
22122         (RUN_TEST_LOOP_cc_c): New macro.
22123         (cpow_test_data): New variable.
22124         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22125
22126         * math/libm-test.inc (struct test_f_L_data): New type.
22127         (RUN_TEST_LOOP_f_L): New macro.
22128         (llrint_test_data): New variable.
22129         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22130         (llrint_tonearest_test_data): New variable.
22131         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22132         (llrint_towardzero_test_data): New variable.
22133         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22134         (llrint_downward_test_data): New variable.
22135         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22136         (llrint_upward_test_data): New variable.
22137         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22138         (llround_test_data): New variable.
22139         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22140
22141 2013-05-13  Peter Collingbourne  <pcc@google.com>
22142
22143         * math/atest-exp2.c (get_log2): Remove const attribute.
22144
22145 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22146
22147         * math/libm-test.inc (struct test_f_l_data): New type.
22148         (RUN_TEST_LOOP_f_l): New macro.
22149         (lrint_test_data): New variable.
22150         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22151         (lrint_tonearest_test_data): New variable.
22152         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22153         (lrint_towardzero_test_data): New variable.
22154         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22155         (lrint_downward_test_data): New variable.
22156         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22157         (lrint_upward_test_data): New variable.
22158         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22159         (lround_test_data): New variable.
22160         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22161
22162 2013-05-15  Peter Collingbourne  <pcc@google.com>
22163
22164         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22165         (EXTRACT_WORDS64) Use where appropriate.
22166         (INSERT_WORDS64) Likewise.
22167
22168         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22169         constraints with x constraints.
22170         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22171
22172         * malloc/obstack.c (_obstack_compat): Add initializer.
22173
22174 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22175
22176         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22177         si_trapno and add si_addr_lsb to _sifields.sigfault.
22178         (si_trapno): Remove macro.
22179         (si_addr_lsb): Define new macro.
22180         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22181
22182 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22183
22184         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22185         instead of TEST_f_l.
22186         (llrint_test_tonearest): Likewise.
22187         (llrint_test_towardzero): Likewise.
22188         (llrint_test_downward): Likewise.
22189         (llrint_test_upward): Likewise.
22190         (llround_test): Likewise.
22191
22192         * math/libm-test.inc (struct test_f_i_data): Add comment.
22193         (RUN_TEST_LOOP_f_b): New macro.
22194         (RUN_TEST_LOOP_f_b_tg): Likewise.
22195         (finite_test_data): New variable.
22196         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22197         (isfinite_test_data): New variable.
22198         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22199         (isinf_test_data): New variable.
22200         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22201         (isnan_test_data): New variable.
22202         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22203         (isnormal_test_data): New variable.
22204         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22205         (issignaling_test_data): New variable.
22206         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22207         (signbit_test_data): New variable.
22208         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22209
22210         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22211         with INVALID_EXCEPTION.
22212         (acosh_test_data): Likewise.
22213         (asin_test_data): Likewise.
22214         (atanh_test_data): Likewise.
22215         (fmod_test_data): Likewise.
22216         (log_test_data): Likewise.
22217         (log10_test_data): Likewise.
22218         (log2_test_data): Likewise.
22219         (pow_test_data): Likewise.
22220         (sqrt_test_data): Likewise.
22221         (y0_test_data): Likewise.
22222         (y1_test_data): Likewise.
22223         (yn_test_data): Likewise.
22224
22225         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22226         function contents.
22227
22228         * math/libm-test.inc (struct test_ff_i_data): New type.
22229         (RUN_TEST_LOOP_ff_i_tg): New macro.
22230         (isgreater_test_data): New variable.
22231         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22232         (isgreaterequal_test_data): New variable.
22233         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22234         (isless_test_data): New variable.
22235         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22236         (islessequal_test_data): New variable.
22237         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22238         (islessgreater_test_data): New variable.
22239         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22240         (isunordered_test_data): New variable.
22241         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22242
22243 2013-05-14  David S. Miller  <davem@davemloft.net>
22244
22245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22246
22247 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22248
22249         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22250
22251         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22252         extra_test to int.
22253         (struct test_f_i_data): Change type of max_ulp to int.
22254
22255         * math/libm-test.inc (test_ffI_f1_data): New type.
22256         (RUN_TEST_LOOP_ffI_f1): New macro.
22257         (remquo_test_data): New variable.
22258         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22259
22260         * setjmp/tst-setjmp-fp.c: New file.
22261         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22262         (link-libm): New variable.
22263         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22264
22265         * math/libm-test.inc (struct test_f_i_data): New type.
22266         (RUN_TEST_LOOP_f_i): New macro.
22267         (RUN_TEST_LOOP_f_i_tg): Likewise.
22268         (fpclassify_test_data): New variable.
22269         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22270         (ilogb_test_data): New variable.
22271         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22272
22273         * math/libm-test.inc (scalbln_test): Correct function name in END
22274         call.
22275
22276         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22277         (RUN_TEST_LOOP_fI_f1): New macro.
22278         (frexp_test_data): New variable.
22279         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22280
22281         * math/libm-test.inc (struct test_fF_f1_data): New type.
22282         (RUN_TEST_LOOP_fF_f1): New macro.
22283         (modf_test_data): New variable.
22284         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22285
22286         * math/libm-test.inc (struct test_f_f1_data): New type.
22287         (RUN_TEST_LOOP_f_f1): New macro.
22288         (gamma_test_data): New variable.
22289         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22290         (lgamma_test_data): New variable.
22291         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22292
22293 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22294
22295         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22296         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22297         (main): Comment "tls" pseudo-hwcap.
22298
22299 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22300
22301         * math/libm-test.inc (struct test_fl_f_data): New type.
22302         (RUN_TEST_LOOP_fl_f): New variable.
22303         (scalbln_test_data): New variable.
22304         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22305
22306         * math/libm-test.inc (struct test_fi_f_data): New type.
22307         (RUN_TEST_LOOP_fi_f): New macro.
22308         (ldexp_test_data): New variable.
22309         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22310         (scalbn_test_data): New variable.
22311         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22312
22313         * math/libm-test.inc (struct test_c_f_data): New type.
22314         (RUN_TEST_LOOP_c_f): New macro.
22315         (cabs_test_data): New variable.
22316         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22317         (carg_test_data): New variable.
22318         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22319         (cimag_test_data): New variable.
22320         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22321         (creal_test_data): New variable.
22322         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22323
22324         * math/libm-test.inc (struct test_if_f_data): New type.
22325         (RUN_TEST_LOOP_if_f): New macro.
22326         (jn_test_data): New variable.
22327         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22328         (yn_test_data): New variable.
22329         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22330
22331         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22332
22333 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22334
22335         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22336         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22337
22338 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22339
22340         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22341         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22342         (bench-deps): Add bench-timing.h.
22343         * benchtests-bench-skeleton.c: Include bench-timing.h.
22344         (main): Use TIMING_* macros instead of clock_gettime.
22345         * benchtests/bench-timing.h: New file.
22346
22347         [BZ #14582]
22348         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22349         Renamed from _LIB_VERSION.
22350         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22351
22352 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22353
22354         * math/libm-test.inc (struct test_fff_f_data): New type.
22355         (RUN_TEST_LOOP_fff_f): New macro.
22356         (fma_test_data): New variable.
22357         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22358         (fma_towardzero_test_data): New variable.
22359         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22360         (fma_downward_test_data): New variable.
22361         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22362         (fma_upward_test_data): New variable.
22363         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22364
22365         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22366         (struct test_c_c_data): New type.
22367         (RUN_TEST_LOOP_c_c): New macro.
22368         (cacos_test_data): New variable.
22369         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22370         (cacosh_test_data): New variable.
22371         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22372         (casin_test_data): New variable.
22373         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22374         (casinh_test_data): New variable.
22375         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22376         (catan_test_data): New variable.
22377         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22378         (catanh_test_data): New variable.
22379         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22380         (ccos_test_data): New variable.
22381         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22382         (ccosh_test_data): New variable.
22383         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22384         (cexp_test_data): New variable.
22385         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22386         (clog_test_data): New variable.
22387         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22388         (clog10_test_data): New variable.
22389         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22390         (conj_test_data): New variable.
22391         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22392         (cproj_test_data): New variable.
22393         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22394         (csin_test_data): New variable.
22395         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22396         (csinh_test_data): New variable.
22397         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22398         (csqrt_test_data): New variable.
22399         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22400         (ctan_test_data): New variable.
22401         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22402         (ctan_tonearest_test_data): New variable.
22403         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22404         (ctan_towardzero_test_data): New variable.
22405         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22406         (ctan_downward_test_data): New variable.
22407         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22408         (ctan_upward_test_data): New variable.
22409         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22410         (ctanh_test_data): New variable.
22411         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22412         (ctanh_tonearest_test_data): New variable.
22413         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22414         (ctanh_towardzero_test_data): New variable.
22415         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22416         (ctanh_downward_test_data): New variable.
22417         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22418         (ctanh_upward_test_data): New variable.
22419         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22420         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22421         of BUILD_COMPLEX.
22422
22423         * math/libm-test.inc (struct test_ff_f_data): New type.
22424         (struct test_ff_f_data_nexttoward): Likewise.
22425         (RUN_TEST_LOOP_2_f): New macro.
22426         (RUN_TEST_LOOP_ff_f): Likewise.
22427         (atan2_test_data): New variable.
22428         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22429         (copysign_test_data): New variable.
22430         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22431         (fdim_test_data): New variable.
22432         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22433         (fmax_test_data): New variable.
22434         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22435         (fmin_test_data): New variable.
22436         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22437         (fmod_test_data): New variable.
22438         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22439         (hypot_test_data): New variable.
22440         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22441         (nextafter_test_data): New variable.
22442         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22443         (nexttoward_test_data): New variable.
22444         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22445         (pow_test_data): New variable.
22446         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22447         (pow_tonearest_test_data): New variable.
22448         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22449         (pow_towardzero_test_data): New variable.
22450         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22451         (pow_downward_test_data): New variable.
22452         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22453         (pow_upward_test_data): New variable.
22454         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22455         (remainder_test_data): New variable.
22456         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22457         (scalb_test_data): New variable.
22458         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22459         * sysdeps/i386/fpu/libm-test-ulps: Update.
22460
22461 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22462
22463         * math/libm-test.inc (fma_test): Use max_value instead of local
22464         variable fltmax.
22465         (nextafter_test): Likewise.
22466
22467         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22468         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22469         (acos_downward_test_data): New variable.
22470         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22471         (acos_upward_test_data): New variable.
22472         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22473         (acosh_test_data): New variable.
22474         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22475         (asin_test_data): New variable.
22476         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22477         (asin_tonearest_test_data): New variable.
22478         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22479         (asin_towardzero_test_data): New variable.
22480         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22481         (asin_downward_test_data): New variable.
22482         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22483         (asin_upward_test_data): New variable.
22484         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22485         (asinh_test_data): New variable.
22486         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22487         (atan_test_data): New variable.
22488         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22489         (atanh_test_data): New variable.
22490         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22491         (cbrt_test_data): New variable.
22492         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22493         (ceil_test_data): New variable.
22494         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22495         (cos_test_data): New variable.
22496         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22497         (cos_tonearest_test_data): New variable.
22498         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22499         (cos_towardzero_test_data): New variable.
22500         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22501         (cos_downward_test_data): New variable.
22502         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22503         (cos_upward_test_data): New variable.
22504         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22505         (cosh_test_data): New variable.
22506         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22507         (cosh_tonearest_test_data): New variable.
22508         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22509         (cosh_towardzero_test_data): New variable.
22510         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22511         (cosh_downward_test_data): New variable.
22512         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22513         (cosh_upward_test_data): New variable.
22514         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22515         (erf_test_data): New variable.
22516         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22517         (erfc_test_data): New variable.
22518         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22519         (exp_test_data): New variable.
22520         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22521         (exp_tonearest_test_data): New variable.
22522         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22523         (exp_towardzero_test_data): New variable.
22524         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22525         (exp_downward_test_data): New variable.
22526         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22527         (exp_upward_test_data): New variable.
22528         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22529         (exp10_test_data): New variable.
22530         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22531         (exp2_test_data): New variable.
22532         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22533         (expm1_test_data): New variable.
22534         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22535         (fabs_test_data): New variable.
22536         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22537         (floor_test_data): New variable.
22538         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22539         (j0_test_data): New variable.
22540         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22541         (j1_test_data): New variable.
22542         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22543         (log_test_data): New variable.
22544         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22545         (log10_test_data): New variable.
22546         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22547         (log1p_test_data): New variable.
22548         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22549         (log2_test_data): New variable.
22550         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22551         (logb_test_data): New variable.
22552         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22553         (logb_downward_test_data): New variable.
22554         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22555         (nearbyint_test_data): New variable.
22556         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22557         (rint_test_data): New variable.
22558         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22559         (rint_tonearest_test_data): New variable.
22560         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22561         (rint_towardzero_test_data): New variable.
22562         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22563         (rint_downward_test_data): New variable.
22564         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22565         (rint_upward_test_data): New variable.
22566         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22567         (round_test_data): New variable.
22568         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22569         (sin_test_data): New variable.
22570         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22571         (sin_tonearest_test_data): New variable.
22572         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22573         (sin_towardzero_test_data): New variable.
22574         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22575         (sin_downward_test_data): New variable.
22576         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22577         (sin_upward_test_data): New variable.
22578         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22579         (sinh_test_data): New variable.
22580         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22581         (sinh_tonearest_test_data): New variable.
22582         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22583         (sinh_towardzero_test_data): New variable.
22584         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22585         (sinh_downward_test_data): New variable.
22586         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22587         (sinh_upward_test_data): New variable.
22588         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22589         (sqrt_test_data): New variable.
22590         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22591         (tan_test_data): New variable.
22592         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22593         (tan_tonearest_test_data): New variable.
22594         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22595         (tan_towardzero_test_data): New variable.
22596         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22597         (tan_downward_test_data): New variable.
22598         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22599         (tan_upward_test_data): New variable.
22600         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22601         (tanh_test_data): New variable.
22602         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22603         (tgamma_test_data): New variable.
22604         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22605         (trunc_test_data): New variable.
22606         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22607         (y0_test_data): New variable.
22608         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22609         (y1_test_data): New variable.
22610         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22611         (significand_test_data): New variable.
22612         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22613
22614 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22615
22616         [BZ #12387]
22617         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22618
22619 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22620
22621         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22622
22623 2013-05-10  Andreas Jaeger  <aj@suse.de>
22624
22625         [BZ #15448]
22626         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22627         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22628
22629 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22630
22631         * math/gen-libm-test.pl (adjust_arg): New function.
22632         (special_functions): Handle generating output in both functions
22633         and arrays.
22634         (parse_args): Likewise.
22635         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22636         $in_func argument to parse_args.
22637         * math/libm-test.inc (struct test_f_f_data): New type.
22638         (IF_ROUND_INIT_): New macro.
22639         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22640         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22641         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22642         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22643         (ROUND_RESTORE_): Likewise.
22644         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22645         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22646         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22647         (ROUND_RESTORE_FE_UPWARD): Likewise.
22648         (RUN_TEST_LOOP_f_f): New macro.
22649         (acos_test_data): New variable.
22650         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22651         (acos_tonearest_test_data): New variable.
22652         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22653
22654 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22655
22656         * benchtests/bench-skeleton.c (startup): Fix coding style.
22657
22658 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22659
22660         [BZ #6809]
22661         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22662         negative infinity argument.
22663         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22664         negative infinity argument.
22665         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22666         negative infinity argument.
22667         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22668         domain errors.
22669
22670 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22671
22672         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22673         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22674         * iconv/iconv_prog.c (main): Likewise.
22675         * locale/programs/charmap-dir.c (charmap_readdir)
22676         (fopen_uncompressed): Likewise.
22677         * locale/programs/locfile.c (siblings_uncached)
22678         (write_locale_data): Use lstat64 instead of lstat.
22679         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22680         stat.
22681
22682 2013-05-10  Andreas Jaeger  <aj@suse.de>
22683
22684         [BZ #15395]
22685         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22686         localization.
22687         Include <locale.h>.
22688
22689 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22690
22691         * elf/dl-close.c (_dl_close_worker): Add comments.
22692
22693 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22694
22695         [BZ #15359]
22696         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22697         high part of pi/2.
22698         (__ieee754_rem_pio2l): Update comments.
22699
22700         [BZ #15429]
22701         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22702         high part of pi/2.
22703         (__ieee754_rem_pio2l): Update comments.
22704
22705         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22706         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22707
22708         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22709         M_PI_4l.
22710
22711         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22712         (M_PI_34_LOG10El): Likewise.
22713         (M_PI2_LOG10El): Likewise.
22714         (M_PI4_LOG10El): Likewise.
22715         (M_PI_LOG10El): Likewise.
22716
22717 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22718
22719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22720
22721 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22722
22723         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22724         (MINUS_ZERO_INIT): Likewise.
22725         (PLUS_INFTY_INIT): Likewise.
22726         (MINUS_INFTY_INIT): Likewise.
22727         (QNAN_VALUE_INIT): Likewise.
22728         (MAX_VALUE_INIT): Likewise.
22729         (MIN_VALUE_INIT): Likewise.
22730         (MIN_SUBNORM_VALUE_INIT): Likewise.
22731         (plus_zero): Initialize with PLUS_ZERO_INIT.
22732         (minus_zero): Initialize with MINUS_ZERO_INIT.
22733         (plus_infty): Initialize with PLUS_INFTY_INIT.
22734         (minus_infty): Initialize with MINUS_INFTY_INIT.
22735         (qnan_value): Initialize with QNAN_VALUE_INIT.
22736         (max_value): Initialize with MAX_VALUE_INIT.
22737         (min_value): Initialize with MIN_VALUE_INIT.
22738         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22739
22740         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22741         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22742         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22743         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22744
22745         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22746         (RUN_TEST_2_f): Likewise.
22747         (RUN_TEST_ff_f): Likewise.
22748         (RUN_TEST_fi_f): Likewise.
22749         (RUN_TEST_fl_f): Likewise.
22750         (RUN_TEST_fff_f): Likewise.
22751         (RUN_TEST_c_f): Likewise.
22752         (RUN_TEST_f_f1): Likewise.
22753         (RUN_TEST_fF_f1): Likewise.
22754         (RUN_TEST_fI_f1): Likewise.
22755         (RUN_TEST_ffI_f1): Likewise.
22756         (RUN_TEST_c_c): Likewise.
22757         (RUN_TEST_cc_c): Likewise.
22758         (RUN_TEST_f_i): Likewise.
22759         (RUN_TEST_f_i_tg): Likewise.
22760         (RUN_TEST_ff_i_tg): Likewise.
22761         (RUN_TEST_f_b): Likewise.
22762         (RUN_TEST_f_b_tg): Likewise.
22763         (RUN_TEST_f_l): Likewise.
22764         (RUN_TEST_f_L): Likewise.
22765         (RUN_TEST_sincos): Likewise.
22766         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22767         whether to show exceptions.  Do not include ");\n" in return
22768         value.
22769         (special_functions): Output call to RUN_TEST_sincos instead of
22770         check_float calls.  Update calls to new_test.
22771         (parse_args): Output call to single RUN_TEST_* macro instead of
22772         check_* calls and other assignments.  Update calls to new_test.
22773
22774         [BZ #2546]
22775         [BZ #2560]
22776         [BZ #5159]
22777         [BZ #15426]
22778         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22779         input to result for tgamma overflow.
22780         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22781         (gamma_coeff): New variable.
22782         (NCOEFF): New macro.
22783         (gamma_positive): New function.
22784         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22785         underflow here.  Use gamma_positive instead of exp (lgamma) for
22786         other arguments.
22787         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22788         (gamma_coeff): New variable.
22789         (NCOEFF): New macro.
22790         (gammaf_positive): New function.
22791         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22792         underflow here.  Use gamma_positive instead of exp (lgamma) for
22793         other arguments.
22794         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22795         (gamma_coeff): New variable.
22796         (NCOEFF): New macro.
22797         (gammal_positive): New function.
22798         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22799         underflow here.  Use gamma_positive instead of exp (lgamma) for
22800         other arguments.
22801         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22802         (gamma_coeff): New variable.
22803         (NCOEFF): New macro.
22804         (gammal_positive): New function.
22805         (__ieee754_gammal_r): Handle positive infinity, overflow and
22806         underflow here.  Handle NaN the same as positive infinity.  Remove
22807         check x < 0xffffffff for negative integers.  Use gamma_positive
22808         instead of exp (lgamma) for other arguments.
22809         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22810         (gamma_coeff): New variable.
22811         (NCOEFF): New macro.
22812         (gammal_positive): New function.
22813         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22814         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22815         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22816         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22817         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22818         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22819         * sysdeps/generic/math_private.h (__gamma_productf): New
22820         prototype.
22821         (__gamma_product): Likewise.
22822         (__gamma_productl): Likewise.
22823         * math/Makefile (libm-calls): Add gamma_product.
22824         * math/libm-test.inc (tgamma_test): Add more tests.
22825         * sysdeps/i386/fpu/libm-test-ulps: Update.
22826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
22828 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22829
22830         * benchtests/bench-skeleton.c (main): Preheat CPU.
22831
22832 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22833
22834         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22835
22836 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22837
22838         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22839         and _dl_skip_args_internal.
22840
22841 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22842
22843         * manual/message.texi (Message Translation): Talk about users.
22844         Message to key mapping impacts design.
22845
22846 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22847
22848         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22849
22850         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22851
22852         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22853         * sysdeps/wordsize-64/glob64.c: ... here.
22854
22855         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22856         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22857         New macros.
22858
22859         * debug/getlogin_r_chk.c: Moved to ...
22860         * login/getlogin_r_chk.c: ... here.
22861         * debug/Makefile (routines): Move getlogin_r_chk to ...
22862         * login/Makefile (routines): ... here.
22863         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22864         * login/Versions (libc: GLIBC_2.4): ... here.
22865
22866         * io/poll.c (__poll): Renamed from poll.
22867         Add libc_hidden_def.
22868         (poll): Define as weak alias.
22869
22870         * debug/ptsname_r_chk.c: Moved to ...
22871         * login/ptsname_r_chk.c: ... here.
22872         * debug/Makefile (routines): Move ptsname_r_chk to ...
22873         * login/Makefile (routines): ... here.
22874         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22875         * login/Versions (libc: GLIBC_2.4): ... here.
22876
22877         * posix/getlogin.c: Moved to ...
22878         * login/getlogin.c: ... here.
22879         * posix/getlogin_r.c: Moved to ...
22880         * login/getlogin_r.c: ... here.
22881         * posix/getlogin_r.c: Moved to ...
22882         * login/getlogin_r.c: ... here.
22883         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22884         * login/Makefile (routines): ... here.
22885         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22886         * login/Versions (libc: GLIBC_2.0): ... here.
22887
22888         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22889         (setrlimit): Define as weak alias.
22890
22891         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22892         Call __ names for open, ftruncate, and close.
22893         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22894         (truncate): Define as weak alias.
22895
22896 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22897
22898         * math/gen-libm-test.pl (parse_args): Initialize x before each
22899         test of frexp, modf and remquo.
22900
22901         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22902         test signgam value.
22903
22904 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22905
22906         [BZ #15418]
22907         [BZ #15419]
22908         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22909         internal tests.
22910         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22911
22912 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22913
22914         * elf/dl-writev.h: New file.
22915         * elf/dl-misc.c: Include it.
22916         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22917         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22918
22919 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22920
22921         * math/libm-test.inc (noXFails): Remove variable.
22922         (noXPasses): Likewise.
22923         (BUILD_COMPLEX_INT): Remove macro.
22924         (print_screen): Remove xfail argument.
22925         (print_screen_max_error): Likewise.
22926         (update_stats): Likewise.
22927         (print_max_error): Likewise.  Update calls to other affected
22928         functions.
22929         (print_complex_max_error): Likewise.
22930         (test_single_exception): Update calls to print_screen.
22931         (test_single_errno): Likewise.
22932         (check_float_internal): Remove xfail argument.  Update calls to
22933         other affected functions.
22934         (check_float): Likewise.
22935         (check_complex): Likewise.
22936         (check_int): Likewise.
22937         (check_long): Likewise.
22938         (check_bool): Likewise.
22939         (check_longlong): Likewise.
22940         (main): Don't print noXFails and noXPasses.
22941         * math/gen-libm-test.pl (top level): Don't mention expected
22942         failure handling in comment.
22943         (new_test): Don't handle expected failures.
22944         (parse_args): Don't mention expected failure handling in comment.
22945         (generate_testfile): Don't handle expected failures.
22946         (parse_ulps): Likewise.
22947         (print_ulps_file): Likewise.
22948         (get_failure): Remove function.
22949         (output_test): Don't handle expected failures.
22950         * make/README.libm-test: Don't mention expected failure handling.
22951
22952         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22953         (minus_zero): Likewise.
22954         (plus_infty): Likewise.
22955         (minus_infty): Likewise.
22956         (qnan_value): Likewise.
22957         (max_value): Likewise.
22958         (min_value): Likewise.
22959         (min_subnorm_value): Likewise.
22960         (initialize): Do not initialize those variables dynamically.
22961
22962 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22963
22964         * io/open.c (__open_2): Moved to ...
22965         * io/open_2.c: ... this new file.
22966         * io/open64.c (__open64_2): Moved to ...
22967         * io/open64_2.c: ... this new file.
22968         * io/openat.c (__openat_2): Moved to ...
22969         * io/openat_2.c: ... this new file.
22970         * io/openat64.c (__openat64_2): Moved to ...
22971         * io/openat64_2.c: ... this new file.
22972         * io/Makefile (routines): Add them.
22973         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22974         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22975         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22976         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22977         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22978         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22979         (__openat64): Add hidden_ver.
22980         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22981         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22982
22983         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22984         Separately conditionalize setting of GLRO(dl_sysinfo) so
22985         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22986         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22987
22988 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22989
22990         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22991         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22992         definition.
22993         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22994         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22995         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22996         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22997         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22998
22999 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23000
23001         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23002         test signgam value.
23003
23004         * math/libm-test.inc (hypot_test): Do not use
23005         IGNORE_ZERO_INF_SIGN.
23006
23007 2013-05-03  Andreas Jaeger  <aj@suse.de>
23008
23009         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23010         Linux 3.9.
23011         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23012         (PF_MAX): Adjust for VSOCK change.
23013
23014 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23015
23016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23017
23018 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23019
23020         [BZ #15264]
23021         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23022         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23023         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23024
23025 2013-05-02  David S. Miller  <davem@davemloft.net>
23026
23027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23028
23029 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23030
23031         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23032
23033 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23034
23035         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23036
23037 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23038
23039         [BZ #14952]
23040         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23041         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23042         Use __attribute__ ((__gnu_inline__)).
23043         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23044         Don't use __attribute__ ((__gnu_inline__)).
23045
23046 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23047
23048         [BZ #15423]
23049         * math/s_catan.c (__catan): Handle small real or imaginary part of
23050         input specially to avoid spurious underflow.
23051         * math/s_catanf.c (__catanf): Likewise.
23052         * math/s_catanh.c (__catanh): Likewise.
23053         * math/s_catanhf.c (__catanhf): Likewise.
23054         * math/s_catanhl.c (__catanhl): Likewise.
23055         * math/s_catanl.c (__catanl): Likewise.
23056         * math/libm-test.inc (catan_test): Add more tests.
23057         (catanh_test): Likewise.
23058         * sysdeps/i386/fpu/libm-test-ulps: Update.
23059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23060
23061 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23062
23063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23064
23065 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23066
23067         [BZ #15416]
23068         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23069         accurately for denominator in atan2.
23070         * math/s_catanf.c (__catanf): Likewise.
23071         * math/s_catanh.c (__catanh): Likewise.
23072         * math/s_catanhf.c (__catanhf): Likewise.
23073         * math/s_catanhl.c (__catanhl): Likewise.
23074         * math/s_catanl.c (__catanl): Likewise.
23075         * math/libm-test.inc (catan_test): Add more tests.
23076         (catanh_test): Likewise.
23077         * sysdeps/i386/fpu/libm-test-ulps: Update.
23078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23079
23080 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23081
23082         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23083
23084         * benchtests/Makefile (bench): Remove slow benchmarks.
23085         * benchtests/atan-inputs: Add slow benchmark inputs.
23086         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23087         (BENCH_FUNC): Accept variant offset.
23088         (VARIANT): Define.
23089         * benchtests/bench-skeleton.c (main): Run benchmark for each
23090         variant.
23091         * benchtests/cos-inputs: Add slow benchmark inputs.
23092         * benchtests/exp-inputs: Likewise.
23093         * benchtests/pow-inputs: Likewise.
23094         * benchtests/sin-inputs: Likewise.
23095         * benchtests/slowatan-inputs: Remove.
23096         * benchtests/slowatan.c: Remove.
23097         * benchtests/slowcos-inputs: Remove.
23098         * benchtests/slowcos.c: Remove.
23099         * benchtests/slowexp-inputs: Remove.
23100         * benchtests/slowexp.c: Remove.
23101         * benchtests/slowpow-inputs: Remove.
23102         * benchtests/slowpow.c: Remove.
23103         * benchtests/slowsin-inputs: Remove.
23104         * benchtests/slowsin.c: Remove.
23105         * benchtests/slowtan-inputs: Remove.
23106         * benchtests/slowtan.c: Remove.
23107         * benchtests/tan-inputs: Add slow benchmark inputs.
23108         * scripts/bench.pl: Parse comments and directives.
23109
23110         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23111         in CPPFLAGS.
23112         ($(objpfx)bench-%.c): Remove *-ITER.
23113         * benchtests/bench-modf.c: Remove definition of ITER.
23114         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23115         (main): Loop for DURATION seconds instead of fixed number of
23116         iterations.
23117         * scripts/bench.pl: Don't expect iterations in parameters.
23118
23119 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23120
23121         * io/fchdir.c (__fchdir): Renamed from fchdir.
23122         (fchdir): Define as weak alias.
23123
23124 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23125
23126         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23127         (ERRNO_EDOM): Likewise.
23128         (ERRNO_ERANGE): Likewise.
23129         (noErrnoTests): New variable.
23130         (init_max_error): Set errno to 0.
23131         (test_single_errno): New function.
23132         (test_errno): Likewise.
23133         (check_float_internal): Call test_errno.  Set errno to 0.
23134         (check_complex): Refer to errno tests in comment.
23135         (check_int): Call test_errno.  Set errno to 0.
23136         (check_long): Likewise.
23137         (check_bool): Likewise.
23138         (check_longlong): Likewise.
23139         (cos_test): Use ERRNO_* flags for errno tests instead of
23140         check_int.
23141         (expm1_test): Likewise.
23142         (fmod_test): Likewise.
23143         (ilogb_test): Likewise.
23144         (lgamma_test): Likewise.
23145         (pow_test): Likewise.
23146         (remainder_test): Likewise.
23147         (sin_test): Likewise.
23148         (tan_test): Likewise.
23149         (yn_test): Likewise.
23150         (initialize): Set errno to 0.
23151         (main): Print number of errno tests.
23152         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23153
23154 2013-04-29  Andreas Jaeger  <aj@suse.de>
23155
23156         [BZ #15084]
23157         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23158         and RES_USEVC.
23159
23160         [BZ #15085]
23161         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23162         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23163         unimplemented.
23164
23165         [BZ #15380]
23166         * stdlib/random.c (__initstate): Return NULL if
23167         __initstate fails.
23168
23169         [BZ #15086]
23170         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23171         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23172         RES_SNGLKUPREOP.
23173
23174 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23175
23176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23177
23178 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23179
23180         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23181         of individual tests.
23182         (casin_test): Likewise.
23183         (casinh_test): Likewise.
23184
23185 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23186
23187         [BZ #15409]
23188         * math/s_catan.c (__catan): Handle arguments with large real or
23189         imaginary part separately without squaring.
23190         * math/s_catanf.c (__catanf): Likewise.
23191         * math/s_catanh.c (__catanh): Likewise.
23192         * math/s_catanhf.c (__catanhf): Likewise.
23193         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23194         and redefine.
23195         (__catanhl): Handle arguments with large real or imaginary part
23196         separately without squaring.
23197         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23198         and redefine.
23199         (__catanl): Handle arguments with large real or imaginary part
23200         separately without squaring.
23201         * math/libm-test.inc (catan_test): Add more tests.
23202         (catanh_test): Likewise.
23203         * sysdeps/i386/fpu/libm-test-ulps: Update.
23204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23205
23206 2013-04-27  Andreas Jaeger  <aj@suse.de>
23207
23208         [BZ #15007]
23209         * stdlib/stdlib.h: Update guards for qecvt.
23210         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23211         <stdlib.h>.
23212
23213 2013-04-27  Allan McRae  <allan@archlinux.org>
23214
23215         * sysdeps/i386/fpu/libm-test-ulps: Update.
23216
23217 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23218
23219         [BZ #15406]
23220         * math/s_catan.c: Include <float.h>.
23221         (__catan): Ensure underflow exception occurs for underflowed
23222         result.
23223         * math/s_catanf.c: Include <float.h>.
23224         (__catanf): Ensure underflow exception occurs for underflowed
23225         result.
23226         * math/s_catanh.c: Include <float.h>.
23227         (__catanh): Ensure underflow exception occurs for underflowed
23228         result.
23229         * math/s_catanhf.c: Include <float.h>.
23230         (__catanhf): Ensure underflow exception occurs for underflowed
23231         result.
23232         * math/s_catanhl.c: Include <float.h>.
23233         (__catanhl): Ensure underflow exception occurs for underflowed
23234         result.
23235         * math/s_catanl.c: Include <float.h>.
23236         (__catanl): Ensure underflow exception occurs for underflowed
23237         result.
23238         * math/libm-test.inc (catan_test): Add more tests.
23239         (catanh_test): Likewise.
23240
23241         [BZ #15405]
23242         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23243         underflowed result.
23244         * math/s_ccoshf.c (__ccoshf): Likewise.
23245         * math/s_ccoshl.c (__ccoshl): Likewise.
23246         * math/s_csin.c (__csin): Likewise.
23247         * math/s_csinf.c (__csinf): Likewise.
23248         * math/s_csinh.c (__csinh): Likewise.
23249         * math/s_csinhf.c (__csinhf): Likewise.
23250         * math/s_csinhl.c (__csinhl): Likewise.
23251         * math/s_csinl.c (__csinl): Likewise.
23252         * math/libm-test.inc (ccos_test): Add more tests.
23253         (ccosh_test): Likewise.
23254         (csin_test): Likewise.
23255         (csinh_test): Likewise.
23256
23257 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23258
23259         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23260         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23261         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23262         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23263         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23264         powerpc/power5+/fpu folders.
23265         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23266
23267
23268 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23269
23270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23271
23272 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23273
23274         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23275         additions to variable.
23276         [$(config-machine) = x86_64] (modules-names): Likewise.
23277         ($(objpfx)tst-audit3): Remove dependency.
23278         ($(objpfx)tst-audit3.out): Likewise.
23279         ($(objpfx)tst-audit4): Likewise.
23280         ($(objpfx)tst-audit4.out): Likewise.
23281         ($(objpfx)tst-audit5): Likewise.
23282         ($(objpfx)tst-audit5.out): Likewise.
23283         ($(objpfx)tst-audit6): Likewise.
23284         ($(objpfx)tst-audit6.out): Likewise.
23285         ($(objpfx)tst-audit7): Likewise.
23286         ($(objpfx)tst-audit7.out): Likewise.
23287         (tst-audit3-ENV): Remove variable.
23288         (tst-audit4-ENV): Likewise.
23289         (tst-audit5-ENV): Likewise.
23290         (tst-audit6-ENV): Likewise.
23291         (tst-audit7-ENV): Likewise.
23292         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23293         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23294         addition to variable.
23295         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23296         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23297         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23298         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23299         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23300         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23301         tst-audit3, tst-audit4 and tst-audit5.
23302         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23303         tst-audit6 and tst-audit7.
23304         [$(subdir) = elf] (modules-names): Add audit modules for those
23305         tests.
23306         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23307         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23308         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23309         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23310         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23311         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23312         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23313         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23314         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23315         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23316         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23317         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23318         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23319         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23320         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23321         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23322         Likewise.
23323         [$(subdir) = elf && $(config-cflags-avx) = yes]
23324         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23325         [$(subdir) = elf && $(config-cflags-avx) = yes]
23326         (CFLAGS-tst-auditmod4a.c): Likewise.
23327         [$(subdir) = elf && $(config-cflags-avx) = yes]
23328         (CFLAGS-tst-auditmod4b.c): Likewise.
23329         [$(subdir) = elf && $(config-cflags-avx) = yes]
23330         (CFLAGS-tst-auditmod6b.c): Likewise.
23331         [$(subdir) = elf && $(config-cflags-avx) = yes]
23332         (CFLAGS-tst-auditmod6c.c): Likewise.
23333         [$(subdir) = elf && $(config-cflags-avx) = yes]
23334         (CFLAGS-tst-auditmod7b.c): Likewise.
23335         * elf/tst-audit3.c: Move to ...
23336         * sysdeps/x86_64/tst-audit3.c: ... here.
23337         * elf/tst-audit4.c: Move to ...
23338         * sysdeps/x86_64/tst-audit4.c: ... here.
23339         * elf/tst-audit5.c: Move to ...
23340         * sysdeps/x86_64/tst-audit5.c: ... here.
23341         * elf/tst-audit6.c: Move to ...
23342         * sysdeps/x86_64/tst-audit6.c: ... here.
23343         * elf/tst-audit7.c: Move to ...
23344         * sysdeps/x86_64/tst-audit7.c: ... here.
23345         * elf/tst-auditmod3a.c: Move to ...
23346         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23347         * elf/tst-auditmod3b.c: Move to ...
23348         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23349         * elf/tst-auditmod4a.c: Move to ...
23350         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23351         * elf/tst-auditmod4b.c: Move to ...
23352         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23353         * elf/tst-auditmod5a.c: Move to ...
23354         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23355         * elf/tst-auditmod5b.c: Move to ...
23356         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23357         * elf/tst-auditmod6a.c: Move to ...
23358         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23359         * elf/tst-auditmod6b.c: Move to ...
23360         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23361         * elf/tst-auditmod6c.c: Move to ...
23362         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23363         * elf/tst-auditmod7a.c: Move to ...
23364         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23365         * elf/tst-auditmod7b.c: Move to ...
23366         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23367
23368 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23369
23370         [BZ #15366]
23371         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23372         define unconditionally.
23373         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23374         define unconditionally.
23375         (INT8_C, INT16_C, etc.): Likewise.
23376
23377 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23378
23379         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23380         __ehdr_start with hidden visibility.
23381
23382         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23383
23384 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23385
23386         * math/libm-test.inc (cos_test): Use accurate hex constants.
23387         (sincost_test): Likewise.
23388
23389 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23390
23391         * math/libm-test.inc (catan_test): Add more tests.
23392         (catanh_test): Likewise.
23393
23394         * math/s_catanf.c (__catanf): Use suffixed floating-point
23395         constants.
23396         * math/s_catanhf.c (__catanhf): Likewise.
23397         * math/s_catanhl.c (__catanhl): Likewise.
23398         * math/s_catanl.c (__catanl): Likewise.
23399
23400         [BZ #15394]
23401         * math/s_catan.c (__catan): Calculate imaginary part of result
23402         with log1p not log unless computing log of number close to 0.
23403         * math/s_catanf.c (__catanf): Likewise.
23404         * math/s_catanl.c (__catanl): Likewise.
23405         * math/s_catanh.c (__catanh): Calculate real part of result with
23406         log1p not log unless computing log of number close to 0.
23407         * math/s_catanhf.c (__catanhf): Likewise.
23408         * math/s_catanhl.c (__catanhl): Likewise.
23409         * math/libm-test.inc (catan_test): Add more tests.
23410         (catanh_test): Likewise.
23411         * sysdeps/i386/fpu/libm-test-ulps: Update.
23412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23413
23414 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23415
23416         * benchtests/Makefile: Mention files in which fast and slow
23417         paths of math functions are implemented.
23418
23419 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23420
23421         * sysdeps/posix/timespec_get.c: New file.
23422
23423 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23424
23425         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23426         POWER.
23427         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23428         for POWER.
23429         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23430         powerpc/power5/fpu folders.
23431         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23432         * benchtests/Makefile: Add modf testcase.
23433         * benchtests/bench-modf.c: New file: Benchmark test for mo
23434
23435 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23436
23437         [BZ #14888]
23438         * time/Makefile (tests): Add tst-strptime-whitespace.
23439         * time/strptime_l.c (get_number): Use ISSPACE.
23440         (__strptime_internal): Likewise.
23441         * time/tst-strptime-whitespace.c: New test case.
23442
23443 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23444
23445         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23446         member.
23447         (_nss_files_init): Set it here.
23448
23449 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23450
23451         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23452         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23453         unsigned.
23454
23455 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23456
23457         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23458
23459 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23460
23461         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23462         size just once.
23463
23464 2013-04-21  David S. Miller  <davem@davemloft.net>
23465
23466         * po/ru.po: Update Russion translation from translation project.
23467
23468 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23469
23470         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23471         and setfsgid.
23472
23473 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23474
23475         * configure.in: Remove i386 configure warning. Remove i386 case.
23476         * configure: Regenerate.
23477         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23478         Add example to error message.
23479         * sysdeps/i386/configure: Regenerate.
23480
23481 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23482
23483         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23484         slowtan.
23485         * benchtests/cos-inputs: New file.
23486         * benchtests/slowcos-inputs: New file.
23487         * benchtests/slowcos.c: New file.
23488         * benchtests/slowtan-inputs: New file.
23489         * benchtests/slowtan.c: New file.
23490         * benchtests/tan-inputs: New file.
23491
23492 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23493
23494         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23495         considered kosher.
23496
23497 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23498
23499         * benchtests/Makefile: Include cppflags-iterator.mk to add
23500         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23501
23502         * Makefile.in (bench-clean): New target.
23503         * benchtests/Makefile (bench-clean): Likewise.
23504
23505 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23506
23507         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23508
23509 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23510
23511         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23512
23513 2013-04-15  Andreas Schwab  <schwab@suse.de>
23514
23515         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23516         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23517         * nscd/pwdcache.c (cache_addpw): Likewise.
23518         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23519         more than recsize.
23520
23521 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23522
23523         * benchtests/Makefile (bench): Write all output to
23524         bench-out.tmp together.
23525
23526 2013-04-15  Andreas Schwab  <schwab@suse.de>
23527
23528         * nscd/nscd.c (main): Don't fork again after closing files.
23529
23530 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23531
23532         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23533
23534         * benchtests/Rules (bench-deps): Collect dependencies into a
23535         single variable.  Add Makefile to dependencies.
23536         ($(objpfx)bench-%.c): Depend on bench-deps.
23537
23538 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23539             Xavier Roche  <roche+kml2@exalead.com>
23540
23541         [BZ #15361]
23542         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23543         just that it's a file descriptor.
23544         * manual/llio.texi (Synchronizing AIO Operations): Update description
23545         for EBADF error from aio_fsync.
23546
23547 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23548
23549         * Rules (bench): Move target definition...
23550         * benchtests/Makefile: ... here.
23551
23552 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23553
23554         * math/libm-test.inc (cos_test): Fix PI/2 test.
23555         (sincos_test): Likewise.
23556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23557         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23558
23559 2013-04-11  Andreas Schwab  <schwab@suse.de>
23560
23561         [BZ #13988]
23562         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23563         accept exponent character only when digits were seen.
23564         * stdio-common/Makefile (tests): Add bug26.
23565         * stdio-common/bug26.c: New file.
23566
23567         [BZ #14293]
23568         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23569         non-freeable.
23570
23571 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23572
23573         * Makeconfig (rtld-prefix): Define built linker prefix.
23574         * Rules (run-bench): Use it.
23575         * math/Makefile (run-regen-ulps): Likewise.
23576
23577         * Rules (bench): Remove eval.
23578
23579 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23580             Roland McGrath  <roland@hack.frob.com>
23581             Ondrej Bilka  <neleai@seznam.cz>
23582
23583         [BZ #15346]
23584         * time/getdate.c: Include ctype.h and alloca.h.
23585         (__getdate_r): Trim leading and trailing spaces of input.
23586         * time/tst-getdate.c (tests): Add tests with leading and
23587         trailing spaces.
23588
23589 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23590
23591         [BZ #14280]
23592         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23593         when computing value.
23594
23595 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23596
23597         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23598         Use testrun.sh to run libm tests.
23599
23600         [BZ #15309]
23601         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23602
23603 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23604
23605         [BZ #15264]
23606         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23607
23608 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23609
23610         * Makefile.in (regen-ulps): New target.
23611         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23612         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23613         [ifneq (no,$(PERL)] (regen-ulps): New target.
23614         [ifeq (no,$(PERL)] (regen-ulps): New target.
23615         * math/libm-test.inc (ulps_file_name): Define.
23616         (output_dir): New variable.
23617         (options): Add "output-dir" option.
23618         (parse_opt): Handle 'o' case.
23619         (main): If output_dir is non-NULL use it as a prefix
23620         otherwise use "".
23621         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23622
23623 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23624
23625         [BZ #10060, #10062]
23626         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23627         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23628         fail configure if __sync_val_compare_and_swap is not inlined.
23629         * sysdeps/i386/configure: Regenerate.
23630         * configure.in: Build for i686 when configured for i386.
23631         * configure: Regenerate.
23632         * README: Remove i386 reference.
23633
23634 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23635
23636         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23637         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23638
23639 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23640
23641         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23642         (lmsnanval): New variables.
23643         (F): Add conversion tests.
23644         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23645         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23646
23647         * stdio-common/tstdiomisc.c (F): Properly collect individual
23648         tests' results.
23649
23650         [BZ #14686, #15336]
23651         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23652         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23653         Instead, use input NaN values or generate a qNaN by arithmetic
23654         operation.  Also fix bugs to comply with the standard.
23655         * math/libm-test.inc (remainder_test): Add more tests.
23656
23657         [BZ #15335, #15342]
23658         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23660         input NaN values or generate a qNaN by arithmetic operation.
23661
23662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23663         unreachable code.
23664
23665         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23666         definitions.
23667
23668 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23669
23670         [BZ #14478]
23671         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23672         underflowed result.
23673         * math/s_cexpf.c (__cexpf): Likewise.
23674         * math/s_cexpl.c (__cexpl): Likewise.
23675         * math/libm-test.inc (cexp_test): Add more tests.
23676
23677 2013-04-03  Andreas Schwab  <schwab@suse.de>
23678
23679         [BZ #15330]
23680         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23681         order arrays from heap if bigger than alloca cutoff.
23682
23683 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23684
23685         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23686         (SNAN_TESTS_double): Refer to GCC PR56831.
23687         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23688         GCC PR56828.
23689
23690 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23691
23692         * Rules (bench): Move bench.out after the run is complete.
23693
23694         * Rules (bench): Echo currently running benchmark.
23695
23696         * benchtests/Makefile (bench): Add atan and slowatan.
23697         * benchtests/atan-inputs: New file.
23698         * benchtests/slowatan-inputs: New file.
23699         * benchtests/slowatan.c: New file.
23700
23701         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23703         its value.
23704
23705         [BZ #15305]
23706         * sysdeps/unix/sysv/linux/kernel-features.h
23707         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23708         __ASSUME_XFS_RESTRICTED_CHOWN.
23709         * sysdeps/unix/sysv/linux/pathconf.c
23710         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23711         Save and restore errno.
23712
23713 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23714
23715         [BZ #15327]
23716         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23717         arguments using __kernel_casinh.
23718         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23719         arguments using __kernel_casinhf.
23720         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23721         arguments using __kernel_casinhl.
23722         * math/libm-test.inc (cacosh_test): Add more tests.
23723         * sysdeps/i386/fpu/libm-test-ulps: Update.
23724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23725
23726 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23727
23728         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23730
23731         * bench/Makefile (bench): Add sin and slowsin.
23732         * benchtests/sin-inputs: New file.
23733         * benchtests/slowsin-inputs: New file.
23734         * benchtests/slowsin.c: New file.
23735
23736         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23737         (bench): Add slowexp and slowpow.
23738         (exp-ITER): Increase iterations.
23739         (pow-ITER): Likewise.
23740         * benchtests/exp-inputs: Change input.
23741         * benchtests/pow-inputs: Likewise.
23742         * benchtests/slowexp-inputs: New file.
23743         * benchtests/slowexp.c: New file.
23744         * benchtests/slowpow-inputs: New file.
23745         * benchtests/slowpow.c: New file.
23746
23747 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23748
23749         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23750         instructions.
23751         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23752         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23754         * benchtests/Makefile: Add rint benchtest.
23755         * benchtests/rint-inputs: Input for rint benchtest.
23756
23757 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23758
23759         * Versions.def (libm): Add GLIBC_2.18.
23760         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23761         hidden libm prototypes.
23762         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23763         * math/Makefile (libm-calls): Add s_issignaling.
23764         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23765         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23766         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23767         declaration.
23768         * math/math.h [__USE_GNU] (issignaling): New macro.
23769         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23770         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23771         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23772         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23775         * manual/arith.texi (issignaling): New section.
23776         * manual/libm-err-tab.pl (@all_functions): Update comment.
23777         * math/gen-libm-test.pl (parse_args): Apply special handling for
23778         issignaling.
23779         * math/libm-test.inc (print_float, issignaling_test): New
23780         functions.
23781         (check_float_internal): Add issignaling checks.
23782         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23783         default definition.
23784         * sysdeps/powerpc/math-tests.h: New file.
23785         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23786         tests.
23787         * math/test-snan.c (TEST_FUNC): Likewise.
23788
23789 2013-03-30  David S. Miller  <davem@davemloft.net>
23790
23791         * po/de.po: Update from translation team.
23792
23793 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23794
23795         [BZ #10357]
23796         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23797         imaginary part less than 1.0 and real part less than 0.5
23798         specially.
23799         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23800         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23801         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23802         (cacos_test): Add more tests.
23803         (casin_test): Likewise.
23804         (casinh_test): Likewise.
23805         * sysdeps/i386/fpu/libm-test-ulps: Update.
23806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23807
23808 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23809
23810         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23811         ONE with its value.
23812
23813         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23814         (__pow_mp): Replace ONE and MONE with their values.
23815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23816         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23817         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23818         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23819         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23820         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23821
23822         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23823
23824         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23825         (__pow_mp): Replace ZERO and MZERO with their values.
23826         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23827         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23828         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23830         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23831         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23832         (__sqr): Likewise.
23833
23834         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23835
23836         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23837
23838 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23839
23840         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23841         Declare with __attribute__ ((weak)).
23842         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23843         Call __call_tls_dtors only if it's not NULL.
23844
23845 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23846
23847         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23848         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23849         magic __ehdr_start linker symbol if it's defined.
23850         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23851         them up here if it was already done.
23852
23853         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23854         (_dl_aux_init): Use const in cast when setting it.
23855         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23856         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23857         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23858
23859         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23860         Declare them here.
23861         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23862         * csu/libc-tls.c: Nor here.
23863         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23864
23865         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23866         (__libc_message): Never call vsyslog.
23867
23868 2013-03-28  Alan Modra  <amodra@gmail.com>
23869
23870         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23871         Define as empty.
23872         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23873         Likewise.
23874
23875 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23876
23877         [BZ #15214]
23878         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23879         underflow.
23880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23881
23882 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23883
23884         [BZ #15304]
23885         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23886         Don't add gid passed as argument.
23887
23888         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23889
23890 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23891
23892         [BZ #15307]
23893         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23894         imaginary part between 1.0 and 1.5 and real part less than 0.5
23895         specially.
23896         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23897         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23898         * math/libm-test.inc (cacos_test): Add more tests.
23899         (casin_test): Likewise.
23900         (casinh_test): Likewise.
23901         * sysdeps/i386/fpu/libm-test-ulps: Update.
23902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23903
23904 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23905
23906         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23907         constants.
23908         (norm): Likewise.
23909         (denorm): Likewise.
23910         (__dbl_mp): Likewise.
23911         (add_magnitudes): Likewise.
23912         (sub_magnitudes): Likewise.
23913         (__add): Likewise.
23914         (__sub): Likewise.
23915         (__mul): Likewise.
23916         (__sqr): Likewise.
23917         (__inv): Likewise.
23918         (__dvd): Likewise.
23919
23920         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23921         commented code.
23922         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23923         (__dubcos): Likewise.
23924         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23925         (__ieee754_acos): Likewise.
23926         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23927         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23928         (__exp1): Likewise.
23929         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23931         (log1): Likewise.
23932         (my_log2): Likewise.
23933         (checkint): Likewise.
23934         * sysdeps/ieee754/dbl-64/e_remainder.c
23935         (__ieee754_remainder): Likewise.
23936         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23937         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23938         (bsloww): Likewise.
23939         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23940
23941         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23942         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23943         MANTISSA_STORE_T to store computations on mantissa.  Use
23944         macros for rounding and division.
23945         (denorm): Likewise.
23946         (__dbl_mp): Likewise.
23947         (add_magnitudes): Likewise.
23948         (sub_magnitudes): Likewise.
23949         (__mul): Likewise.
23950         (__sqr): Likewise.
23951         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23952         powers of two in terms of TWOPOW macro.
23953         (mp_no): Make type of mantissa as MANTISSA_T.
23954         [!RADIXI]: Define RADIXI.
23955         [!TWO52]: Define TWO52.
23956         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23957
23958 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23959
23960         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23961         llroundl symbol when building for PPC32.
23962
23963 2013-03-24  Mark H Weaver  <mhw@netris.org>
23964
23965         * manual/arith.texi (Normalization Functions): Fix prototypes for
23966         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23967
23968 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23969
23970         [BZ #13889]
23971         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23972         high value to check if expl overflow.
23973         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23974         to check for underflow and overflow.
23975         * math/libm-test.inc: Add exp test.
23976
23977 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23978
23979         [BZ #11120]
23980         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23981         with NOT_IN_libc.
23982
23983 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23984
23985         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23986         symbol.
23987
23988 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23989
23990         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23991         wrap blocks consisting of several statements.
23992
23993         * sysdeps/generic/math-tests.h: New file.
23994         * sysdeps/i386/fpu/math-tests.h: Likewise.
23995         * math/test-snan.c: Include it.
23996         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23997
23998 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23999
24000         [BZ #15285]
24001         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24002         (__ieee754_j0l): Do not improve calculations using cos of twice
24003         input for inputs above LDBL_MAX / 2.0L.
24004         (__ieee754_y0l): Likewise.
24005         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24006         (__ieee754_j1l): Do not improve calculations using cos of twice
24007         input for inputs above LDBL_MAX / 2.0L.
24008         (__ieee754_y1l): Likewise.
24009         * math/libm-test.inc (j0_test): Add another test.
24010         (j1_test): Likewise.
24011         (y0_test): Likewise.
24012         (y1_test): Likewise.
24013         * sysdeps/i386/fpu/libm-test-ulps: Update.
24014
24015 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24016
24017         * Rules ($(objpfx)bench-%.c): Include code from a C source
24018         file.
24019
24020 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24021
24022         [BZ #15287]
24023         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24024         imaginary part 1.0 and real part less than 0.5 specially.
24025         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24026         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24027         * math/libm-test.inc (cacos_test): Add more tests.
24028         (casin_test): Likewise.
24029         (casinh_test): Likewise.
24030         * sysdeps/i386/fpu/libm-test-ulps: Update.
24031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24032
24033 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24034
24035         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24036         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24037
24038 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24039
24040         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24041         * config.make.in (config-cflags-sse4): Remove variable.
24042         (config-cflags-avx): Likewise.
24043         (config-cflags-sse2avx): Likewise.
24044         (config-cflags-novzeroupper): Likewise.
24045         (config-asflags-i686): Likewise.
24046         (have-mfma4): Likewise.
24047         (have-as-vis3): Likewise.
24048         (MIG): Likewise.
24049         * configure.in (MIG): Do not AC_SUBST.
24050         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24051         (libc_cv_cc_sse4): Do not AC_SUBST.
24052         (libc_cv_cc_avx): Likewise.
24053         (libc_cv_cc_sse2avx): Likewise.
24054         (libc_cv_cc_novzeroupper): Likewise.
24055         (libc_cv_cc_fma4): Likewise.
24056         (libc_cv_as_i686): Likewise.
24057         (libc_cv_sparc_as_vis3): Likewise.
24058         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24059         LIBC_CONFIG_VAR.
24060         (config-asflags-i686): Likewise.
24061         (config-cflags-avx): Likewise.
24062         (config-cflags-sse2avx): Likewise.
24063         (have-mfma4): Likewise.
24064         (config-cflags-novzeroupper): Likewise.
24065         * sysdeps/mach/configure.in (MIG): Likewise.
24066         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24067         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24068         LIBC_CONFIG_VAR.
24069         (config-cflags-avx): Likewise.
24070         (config-cflags-sse2avx): Likewise.
24071         (have-mfma4): Likewise.
24072         (config-cflags-novzeroupper): Likewise.
24073         * configure: Regenerated.
24074         * sysdeps/i386/configure: Likewise.
24075         * sysdeps/mach/configure: Likewise.
24076         * sysdeps/sparc/configure: Likewise.
24077         * sysdeps/x86_64/configure: Likewise.
24078
24079 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24080
24081         [BZ #14812]
24082         * locale/programs/localedef.c (options): Put N_ translation marker
24083         on argument names, not just descriptions.
24084
24085 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24086
24087         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24088
24089 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24090
24091         [BZ #14176]
24092         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24093
24094 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24095
24096         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24097         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24098         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24099         [!BEFORE_ABORT] (before_abort): New function.
24100         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24101         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24102         (writev_for_fatal): New function.
24103         (WRITEV_FOR_FATAL): New macro; call that.
24104         (backtrace_and_maps): New function.
24105         (BEFORE_ABORT): New macro; call that.
24106         (struct str_list): Type removed.
24107         (__libc_message, __libc_fatal): Functions removed.
24108         Include <sysdeps/posix/libc_fatal.c> instead.
24109
24110 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24111
24112         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24113         constants.
24114         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24115         double constants.
24116
24117 2013-03-19  Andreas Schwab  <schwab@suse.de>
24118
24119         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24120         * sysdeps/gnu/configure: Regenerate.
24121
24122         * configure.in: Substitute libc_cv_rtlddir.
24123         * configure: Regenerate.
24124         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24125         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24126         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24127         * elf/Makefile (install-others, CFLAGS-interp.c)
24128         (ldso_install, common-ldd-rewrite): Likewise.
24129         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24130         $(inst_slibdir)/$(rtld-installed-name).
24131         * scripts/rellns-sh: Add -p option.
24132         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24133         for source.
24134
24135 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136
24137         * manual/nptl.texi: Renamed to ...
24138         * manual/threads.texi: ... this.
24139         * manual/Makefile (chapters): Update.
24140
24141 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24142
24143         [BZ #14812]
24144         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24145         on argument names, not just descriptions.
24146         * malloc/memusagestat.c (options): Likewise.
24147         * nss/getent.c (options): Likewise.
24148
24149 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24150
24151         [BZ #14812]
24152         * iconv/iconv_prog.c (options): Put N_ translation marker
24153         on argument names, not just descriptions.
24154         * iconv/iconvconfig.c (options): Likewise.
24155
24156 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24157
24158         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24159         implementation which is faster on all x86_64 architectures.
24160         Tested on AMD, Intel Nehalem, SNB, IVB.
24161         * sysdeps/x86_64/strnlen.S: Likewise.
24162
24163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24164         Remove all multiarch strlen and strnlen versions.
24165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24166         Remove strlen and strnlen related parts.
24167
24168         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24169         Inline strlen part.
24170         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24171
24172         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24173         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24174         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24175         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24176         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24177         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24178
24179 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24180
24181         * manual/memory.texi (Malloc Tunable Parameters):
24182         Sort parameters alphabetically. Add comments for missing entries.
24183
24184 2013-03-17  David S. Miller  <davem@davemloft.net>
24185
24186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24187
24188 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24189
24190         [BZ #15283]
24191         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24192         for arguments at most half maximum finite value.
24193         * math/libm-test.inc (j0_test): Add more tests.
24194         (j1_test): Likewise.
24195         (y0_test): Likewise.
24196         (y1_test): Likewise.
24197         * sysdeps/i386/fpu/libm-test-ulps: Update.
24198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24199
24200         [BZ #14155]
24201         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24202         1 / x and functions P and Q for arguments above 0x1p256L.
24203         (__ieee754_y0l): Likewise.
24204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24205         (__ieee754_y1l): Likewise.
24206         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24207         (j1_test): Likewise.
24208         (y0_test): Likewise.
24209         (y1_test): Likewise.
24210
24211 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24212
24213         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24214         variable.
24215
24216 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24217
24218         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24219         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24220         zero since it's initialized to EXEC_PAGESIZE.
24221
24222         * sysdeps/unix/sysv/linux/ldsodefs.h
24223         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24224         * sysdeps/generic/ldsodefs.h: ... here.
24225
24226 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24227
24228         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24229
24230         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24231         math/test-snan.c.
24232         * math/test-snan.c: Renamed from
24233         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24234         * math/Makefile (tests): Add test-snan.
24235         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24236         test-powerpc-snan.
24237
24238         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24239         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24240         functions.
24241         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24242         __builtin_nan family of functions.
24243         * math/libm-test.inc (initialize): Initialize qnan_value with
24244         __builtin_nan family of functions.
24245         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24246         Remove variables.
24247         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24248         Remove functions.
24249         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24250         storage class.  Initialize qNaN_var and sNaN_var with
24251         __builtin_nan and __builtin_nans families of functions,
24252         respectively.
24253
24254         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24255         (sqrt_test): Remove duplicate test with qNaN input.
24256         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24257         (round_test, signbit_test, significand_test): Note missing +/-Inf
24258         as well as qNaN tests.
24259
24260         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24261         qNaN_var.  Fix a few strings, too.
24262         * math/libm-test.inc (nan_value): Rename to qnan_value.
24263         * math/gen-libm-test.pl (%beautify): Adjust to that.
24264         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24265         * math/test-misc.c (main): Likewise.
24266         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24267         to __qnan_bytes, and __qnan_union, respectively.
24268         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24269         Likewise.
24270         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24271         and lqnanval, respectively.
24272         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24273         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24274         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24275         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24276
24277         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24278         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24279         doubles.
24280
24281         * math/test-misc.c (main): Fix copy'n'pastos.
24282         * misc/tst-efgcvt.c (special): Likewise.
24283
24284         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24285         Remove declarations.
24286
24287 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24288
24289         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24290         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24291         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24292         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24293
24294 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24295
24296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24297         macro to return vdso values correctly in IFUNC implementations.
24298         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24299         Optimization by using IFUNC.
24300
24301 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24302             Richard Henderson  <rth@redhat.com>
24303             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24304
24305         * Makefile.in (bench): New target.
24306         * NEWS: Mention the benchmark framework.
24307         * Rules (bench): Likewise.
24308         (binaries-bench): Generate binaries for functions to
24309         benchmark.
24310         * benchtests/Makefile: New makefile for benchmark tests.
24311         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24312         programs.
24313         * benchtests/exp-inputs: New input file for EXP function.
24314         * benchtests/pow-inputs: New input file for POW function.
24315         * scripts/bench.pl: New script to generate source files for
24316         benchmark programs.
24317
24318 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24319
24320         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24321         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24322         computations on mantissa.  Use macros for rounding and
24323         division.
24324         (denorm): Likewise.
24325         (__dbl_mp): Likewise.
24326         (add_magnitudes): Likewise.
24327         (sub_magnitudes): Likewise.
24328         (__mul): Likewise.
24329         (__sqr): Likewise.
24330         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24331         powers of two in terms of TWOPOW macro.
24332         (mp_no): Make type of mantissa as MANTISSA_T.
24333         [!RADIXI]: Define RADIXI.
24334         [!TWO52]: Define TWO52.
24335         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24336
24337         * manual/nptl.texi (cindex): Modify threads to pthreads.
24338
24339 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24340
24341         * sysdeps/x86_64/preconfigure: Regenerated.
24342
24343 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24344
24345         [BZ #14155]
24346         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24347         0x1p28 and above.
24348         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24349         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24350         0x1p28 and above.
24351         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24352         * math/libm-test.inc (j0_test): Do not allow one spurious
24353         underflow exception.
24354         (y1_test): Likewise.
24355
24356 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24357
24358         * manual/Makefile (chapters): Add nptl.
24359         * manual/debug.texi (Debugging Support): Add link to Threads
24360         chapter.
24361         * manual/nptl.texi: New file.
24362
24363         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24364
24365 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24366
24367         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24368         for non-NULL pointer before the memory validity test. Pointed
24369         out by Holger Brunck <holger.brunck@keymile.com>.
24370
24371 2013-03-13  Andreas Schwab  <schwab@suse.de>
24372
24373         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24374         instead of .os.
24375
24376 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24377
24378         * timezone/zic.c: Update from tzcode 2013b.
24379
24380 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24381
24382         * manual/install.texi (Configuring and compiling):
24383         Mention i686 and i586.
24384         * INSTALL: Regenerate.
24385
24386 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24387
24388         * sysdeps/init_array/elf-init.c: New file.
24389         * csu/elf-init.c
24390         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24391         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24392
24393         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24394         __gmon_start__ as global, but as static with a .preinit_array pointer.
24395         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24396         * sysdeps/init_array/crti.S: New file, empty except for comments.
24397         * sysdeps/init_array/crtn.S: Likewise.
24398
24399 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24400
24401         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24402         definining bcopy.
24403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24404         Remove Prefer_SSE_for_memop.
24405         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24406         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24407         HAS_PREFER_SSE_FOR_MEMOP.
24408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24409         memset-x86-64.
24410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24411         Remove bzero, memset ifunc support.
24412         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24413         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24414         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24415         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24416
24417 2013-03-11  Andreas Schwab  <schwab@suse.de>
24418
24419         [BZ #15234]
24420         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24421         by SHLIB_COMPAT.
24422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24423         (GLIBC_2.16): Remove pthread_atfork.
24424
24425 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24426
24427         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24428         (ptestcases.h): Likewise.
24429
24430 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24431
24432         * Makeconfig ($(common-objpfx)config.status): Depend on
24433         sysdeps/*/preconfigure{,.in} too.
24434
24435 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24436
24437         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24438         (__free_hook): Use void * instead of __malloc_ptr_t.
24439         (__malloc_hook): Likewise.
24440         (__realloc_hook): Likewise.
24441         (__memalign_hook): Likewise.
24442         (__after_morecore_hook): Likewise.
24443         * malloc/arena.c (save_malloc_hook): Likewise.
24444         (save_free_hook): Likewise.
24445         * malloc/hooks.c (malloc_hook_ini): Likewise.
24446         (realloc_hook_ini): Likewise.
24447         (memalign_hook_ini): Likewise.
24448         * malloc/malloc.c (malloc_hook_ini): Likewise.
24449         (realloc_hook_ini): Likewise.
24450         (memalign_hook_ini): Likewise.
24451         (__free_hook): Likewise.
24452         (__malloc_hook): Likewise.
24453         (__realloc_hook): Likewise.
24454         (__memalign_hook): Likewise.
24455         (__libc_malloc): Likewise.
24456         (__libc_free): Likewise.
24457         (__libc_realloc): Likewise.
24458         (__libc_memalign): Likewise.
24459         (__libc_valloc): Likewise.
24460         (__libc_pvalloc): Likewise.
24461         (__libc_calloc): Likewise.
24462         (__posix_memalign): Likewise.
24463         * malloc/morecore.c (__sbrk): Likewise.
24464         (__default_morecore): Likewise.
24465
24466         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24467
24468         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24469         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24470         __malloc_ptrdiff_t.
24471
24472         * malloc/malloc.h (__malloc_size_t): Remove macro.
24473         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24474         __malloc_size_t.
24475         (old_memalign_hook): Likewise.
24476         (old_realloc_hook): Likewise.
24477         (struct hdr): Likewise.
24478         (flood): Likewise.
24479         (mallochook): Likewise.
24480         (memalignhook): Likewise.
24481         (reallochook): Likewise.
24482         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24483         (tr_old_realloc_hook): Likewise.
24484         (tr_old_memalign_hook): Likewise.
24485         (tr_mallochook): Likewise.
24486         (tr_reallochook): Likewise.
24487         (tr_memalignhook): Likewise.
24488
24489 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24490
24491         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24492         default_ldbl_pack and using as default implementation.
24493         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24494         implementation.
24495         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24496         redundant definition.
24497         (ldbl_insert_mantissa): Likewise.
24498         (ldbl_canonicalize): Likewise.
24499         (ldbl_nearbyint): Likewise.
24500         (ldbl_pack): Rename to ldbl_pack_ppc.
24501         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24502         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24503         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24504
24505 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24506
24507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24508         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24509         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24510         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24512         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24513         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24514         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24515
24516 2013-03-07  Andreas Jaeger  <aj@suse.de>
24517
24518         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24519         bits/mman-linux.h.
24520
24521 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24522
24523         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24524         Include mpa.h and declare __MPEXP.
24525         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24526         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24527         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24528         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24529         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24530         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24531         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24532
24533         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24534         (__slowpow): Use long double EXPL and LOGL functions to
24535         compute POW.
24536         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24537         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24538         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24539         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24540         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24541         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24542
24543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24544         intermediate variable to calculate exponent.
24545         (__sqr): Likewise.
24546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24547         Likewise.
24548         (__sqr): Likewise.
24549
24550         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24551         [!NO__SQR]: Define __sqr.
24552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24553         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24554         sysdeps/ieee754/dbl-64/mpa.c.
24555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24556
24557         [BZ #12723]
24558         * posix/Makefile (tests): Add tst-pathconf.
24559         * posix/tst-pathconf.c: New test case.
24560         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24561         _PC_PIPE_BUF.
24562         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24563
24564 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24565
24566         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24567
24568 2013-03-06  Andreas Jaeger  <aj@suse.de>
24569
24570         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24571         definition via __MAP_ANONYMOUS.
24572
24573         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24574         it's not part of Linux headers.
24575
24576         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24577         (MAP_HUGE_MASK): Define.
24578
24579         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24580         Define.
24581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24583         Define.
24584         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24585         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24586         Define.
24587         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24588         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24589         Define.
24590         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24591
24592         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24593         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24594         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24595         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24596         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24597         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24598
24599         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24600         Handle f2fs.
24601
24602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24603         Handle f2fs and efivarfs.
24604
24605         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24606         f2fs.
24607
24608         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24609         (EFIVARFS_MAGIC): Add.
24610         (F2FS_LINK_MAX): Add.
24611
24612 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24613
24614         * stdio-common/vfprintf.c: Replace __builtin_expect with
24615         __glibc_unlikely.
24616
24617 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24618
24619         [BZ #13550]
24620         * sysdeps/generic/bp-sym.h: Remove file.
24621         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24622         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24623         <bp-sym.h> and <bp-asm.h>.
24624         (__longjmp): Don't use BP_SYM.
24625         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24626         and <bp-asm.h>.
24627         (memcpy): Don't use BP_SYM.
24628         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24629         <bp-sym.h> and <bp-asm.h>.
24630         (memcpy): Don't use BP_SYM.
24631         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24632         <bp-asm.h>.
24633         (memcpy): Don't use BP_SYM.
24634         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24635         <bp-asm.h>.
24636         (memset): Don't use BP_SYM.
24637         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24638         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24639         (__bzero): Don't use BP_SYM.
24640         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24641         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24642         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24643         <bp-sym.h> and <bp-asm.h>.
24644         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24645         pointers.
24646         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24647         <bp-sym.h> and <bp-asm.h>.
24648         (memcpy): Don't use BP_SYM.
24649         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24650         <bp-sym.h> and <bp-asm.h>.
24651         (memset): Don't use BP_SYM.
24652         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24653         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24654         (__bzero): Don't use BP_SYM.
24655         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24656         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24657         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24658         <bp-sym.h> and <bp-asm.h>.
24659         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24660         pointers.
24661         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24662         <bp-sym.h> and <bp-asm.h>.
24663         (memcpy): Don't use BP_SYM.
24664         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24665         <bp-sym.h> and <bp-asm.h>.
24666         (memset): Don't use BP_SYM.
24667         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24668         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24669         (__bzero): Don't use BP_SYM.
24670         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24671         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24673         <bp-sym.h> and <bp-asm.h>.
24674         (__memchr): Don't use BP_SYM.
24675         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24676         <bp-sym.h> and <bp-asm.h>.
24677         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24678         pointers.
24679         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24680         <bp-sym.h> and <bp-asm.h>.
24681         (memcpy): Don't use BP_SYM.
24682         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24683         <bp-sym.h> and <bp-asm.h>.
24684         (__mempcpy): Don't use BP_SYM.
24685         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24686         <bp-sym.h> and <bp-asm.h>.
24687         (__memrchr): Don't use BP_SYM.
24688         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24689         <bp-sym.h> and <bp-asm.h>.
24690         (memset): Don't use BP_SYM.
24691         (__bzero): Likewise.
24692         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24693         <bp-sym.h> and <bp-asm.h>.
24694         (__rawmemchr): Don't use BP_SYM.
24695         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24696         <bp-sym.h> and <bp-asm.h>.
24697         (__STRCMP): Don't use BP_SYM.
24698         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24699         <bp-sym.h> and <bp-asm.h>.
24700         (strchr): Don't use BP_SYM.
24701         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24702         <bp-sym.h> and <bp-asm.h>.
24703         (__strchrnul): Don't use BP_SYM.
24704         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24705         <bp-sym.h> and <bp-asm.h>.
24706         (strlen): Don't use BP_SYM.
24707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24708         <bp-sym.h> and <bp-asm.h>.
24709         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24710         pointers.
24711         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24712         <bp-sym.h> and <bp-asm.h>.
24713         (__strnlen): Don't use BP_SYM.
24714         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24715         <bp-sym.h> and <bp-asm.h>.
24716         (__GI__setjmp): Don't use BP_SYM.
24717         (_setjmp): Likewise.
24718         (__sigsetjmp): Likewise.
24719         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24720         (L(start_addresses)): Don't use BP_SYM.
24721         (_start): Likewise.
24722         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24723         <bp-asm.h>.
24724         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24725         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24726         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24727         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24728         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24729         <bp-asm.h>.
24730         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24731         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24732         about bounded pointers.
24733         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24734         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24735         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24736         <bp-asm.h>.
24737         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24738         about bounded pointers.  Remove GKM FIXME comments.
24739         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24740         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24741         <bp-asm.h>.
24742         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24743         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24744         Remove GKM FIXME comments.
24745         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24746         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24747         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24748         <bp-asm.h>.
24749         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24750         about bounded pointers.  Remove GKM FIXME comment.
24751         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24752         and <bp-asm.h>.
24753         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24754         pointers.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24756         <bp-sym.h> and <bp-asm.h>.
24757         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24759         <bp-sym.h> and <bp-asm.h>.
24760         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24761         comment.
24762
24763 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24764
24765         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24766         call free(NULL).
24767
24768 2013-03-05  David S. Miller  <davem@davemloft.net>
24769
24770         * po/es.po: Update from translation team.
24771
24772 2013-03-05  Andreas Jaeger  <aj@suse.de>
24773
24774         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24775         <bits/mman-linux.h>.
24776         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24777         is fine.
24778         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24779         <bits/mman-linux.h> to end of file.
24780         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24781         is fine.
24782         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24783         <bits/mman-linux.h> to end of file.
24784         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24785         is fine.
24786         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24787         <bits/mman-linux.h> to end of file.
24788
24789         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24790         (MCL_CURRENT, MCL_FUTURE): Define here.
24791
24792 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24793
24794         [BZ #15232]
24795         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24796         attribute_hidden.
24797         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24798
24799 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24800
24801         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24802         fourth parameter needed for rt_sigprocmask syscall.
24803         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24804         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24805         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24806         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24807         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24808         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24809
24810 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24811
24812         [BZ #13550]
24813         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24814         comment about bounded pointers.
24815         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24816         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24817
24818 2013-03-04  Andreas Jaeger  <aj@suse.de>
24819
24820         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24821         common definitions.
24822
24823         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24824         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24825         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24827         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24829
24830 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24831
24832         [BZ #15055]
24833         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24834         __ieee754_sqrl instead of __sqrl.
24835
24836 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24837
24838         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24839         * sysdeps/powerpc/fpu_control.h: ... here.
24840         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24841         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24842         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24843         * sysdeps/powerpc/bits/mathinline.h: ... here.
24844
24845 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24846
24847         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24848         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24849         to just [NEED_DL_SYSINFO_DSO].
24850         * elf/dl-support.c: Likewise.
24851         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24852         * elf/rtld.c (dl_main): Likewise.
24853         * elf/setup-vdso.h (setup_vdso): Likewise.
24854         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24855         * sysdeps/unix/sysv/linux/dl-sysdep.c
24856         (_dl_discover_osversion): Likewise.
24857
24858 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24859
24860         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24861         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24862
24863 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24864
24865         * NEWS: Mention libm performance improvements and non-x86 PI
24866         futex support.
24867
24868         * csu/libc-start.c (__pthread_initialize_minimal): Change
24869         function arguments.
24870         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24871
24872 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24873
24874         [BZ #13550]
24875         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24876         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24877         <bp-sym.h> and <bp-asm.h>.
24878         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24879         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24880         and <bp-asm.h>.
24881         (memcpy): Don't use BP_SYM.
24882         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24883         <bp-asm.h>.
24884         (__mpn_add_n): Don't use BP_SYM.
24885         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24886         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24887         and <bp-asm.h>.
24888         (__mpn_addmul_1): Don't use BP_SYM.
24889         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24890         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24891         <bp-sym.h>.
24892         (_setjmp): Don't use BP_SYM.
24893         (__novmx_setjmp): Likewise.
24894         (__GI__setjmp): Likewise.
24895         (__vmx_setjmp): Likewise.
24896         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24897         <bp-sym.h>.
24898         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24899         (__bzero): Don't use BP_SYM.
24900         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24901         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24902         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24903         <bp-sym.h> and <bp-asm.h>.
24904         (memcpy): Don't use BP_SYM.
24905         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24906         <bp-sym.h> and <bp-asm.h>.
24907         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24909         <bp-sym.h> and <bp-asm.h>.
24910         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24911         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24912         <bp-asm.h>.
24913         (__mpn_lshift): Don't use BP_SYM.
24914         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24915         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24916         <bp-asm.h>.
24917         (memset): Don't use BP_SYM.
24918         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24919         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24920         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24921         <bp-asm.h>.
24922         (__mpn_mul_1): Don't use BP_SYM.
24923         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24924         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24925         <bp-sym.h> and <bp-asm.h>.
24926         (memcmp): Don't use BP_SYM.
24927         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24928         <bp-sym.h> and <bp-asm.h>.
24929         (memcpy): Don't use BP_SYM.
24930         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24931         <bp-sym.h> and <bp-asm.h>.
24932         (memset): Don't use BP_SYM.
24933         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24934         <bp-sym.h> and <bp-asm.h>.
24935         (strncmp): Don't use BP_SYM.
24936         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24937         <bp-sym.h> and <bp-asm.h>.
24938         (memcpy): Don't use BP_SYM.
24939         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24940         <bp-sym.h> and <bp-asm.h>.
24941         (memset): Don't use BP_SYM.
24942         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24943         <bp-sym.h> and <bp-asm.h>.
24944         (__memchr): Don't use BP_SYM.
24945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24946         <bp-sym.h> and <bp-asm.h>.
24947         (memcmp): Don't use BP_SYM.
24948         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24949         <bp-sym.h> and <bp-asm.h>.
24950         (memcpy): Don't use BP_SYM.
24951         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24952         <bp-sym.h> and <bp-asm.h>.
24953         (__mempcpy): Don't use BP_SYM.
24954         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24955         <bp-sym.h> and <bp-asm.h>.
24956         (__memrchr): Don't use BP_SYM.
24957         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24958         <bp-sym.h> and <bp-asm.h>.
24959         (memset): Don't use BP_SYM.
24960         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24961         <bp-sym.h> and <bp-asm.h>.
24962         (__rawmemchr): Don't use BP_SYM.
24963         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24964         <bp-sym.h> and <bp-asm.h>.
24965         (__STRCMP): Don't use BP_SYM.
24966         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24967         <bp-sym.h> and <bp-asm.h>.
24968         (strchr): Don't use BP_SYM.
24969         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24970         <bp-sym.h> and <bp-asm.h>.
24971         (__strchrnul): Don't use BP_SYM.
24972         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24973         <bp-sym.h> and <bp-asm.h>.
24974         (strlen): Don't use BP_SYM.
24975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24976         <bp-sym.h> and <bp-asm.h>.
24977         (strncmp): Don't use BP_SYM.
24978         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24979         <bp-sym.h> and <bp-asm.h>.
24980         (__strnlen): Don't use BP_SYM.
24981         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24982         <bp-asm.h>.
24983         (__mpn_rshift): Don't use BP_SYM.
24984         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24985         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24986         <bp-sym.h> and <bp-asm.h>.
24987         (__sigsetjmp): Don't use BP_SYM.
24988         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24989         (L(start_addresses)): Don't use BP_SYM.
24990         (_start): Likewise.
24991         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24992         <bp-asm.h>.
24993         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24994         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24995         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24996         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24997         <bp-asm.h>.
24998         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24999         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25000         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25001         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25002         <bp-asm.h>.
25003         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25004         comments.
25005         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25006         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25007         <bp-asm.h>.
25008         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25009         FIXME comments.
25010         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25011         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25012         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25013         <bp-asm.h>.
25014         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25015         comment.
25016         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25017         and <bp-asm.h>.
25018         (strncmp): Don't use BP_SYM,
25019         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25020         <bp-asm.h>.
25021         (__mpn_sub_n): Don't use BP_SYM.
25022         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25023         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25024         and <bp-asm.h>.
25025         (__mpn_submul_1): Don't use BP_SYM.
25026         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25028         <bp-sym.h> and <bp-asm.h>.
25029         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25031         <bp-sym.h> and <bp-asm.h>.
25032         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25033         comment.
25034
25035 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25036
25037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25038         Use ZK to minimize writes to Z.
25039         (sub_magnitudes): Simplify code a bit.
25040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25041         Use ZK to minimize writes to Z.
25042         (sub_magnitudes): Simplify code a bit.
25043
25044 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25045
25046         * csu/gmon-start.c: Add special exception to license text.
25047
25048 2013-02-27  Richard Henderson  <rth@redhat.com>
25049
25050         * scripts/config.guess: Update from config.git.
25051         * scripts/config.sub: Likewise.
25052
25053 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25054
25055         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25056
25057         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25058
25059         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25060
25061         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25062
25063         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25064
25065 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25066
25067         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25068         [$(build-shared = yes].
25069
25070 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071
25072         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25073         (__mul): Reduce iterations for calculating mantissa.
25074
25075         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25076         MPTWO.
25077         (__mpranred): Likewise.
25078
25079         [BZ #15160]
25080         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25081         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25082
25083 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25084
25085         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25086         Define __attribute__.
25087
25088 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25089
25090         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25091         unused.
25092         * posix/regex_internal.h (__attribute): Remove.
25093         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25094         (re_string_context_at): Likewise.
25095         (bitset_not): Use __attribute__ and mark function as possibly
25096         unused.
25097         (bitset_merge): Likewise.
25098         (bitset_mask): Likewise.
25099         (re_string_char_size_at): Likewise.
25100         (re_string_wchar_at): Likewise.
25101         (re_string_elem_size_at): Likewise.
25102
25103 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25104
25105         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25106         code.
25107         (cc32): Likewise.
25108
25109         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25110         (__acr): Likewise.
25111         (__cpy): Likewise.
25112         (norm): Likewise.
25113         (denorm): Likewise.
25114         (__dbl_mp): Likewise.
25115         (add_magnitudes): Likewise.
25116         (sub_magnitudes): Likewise.
25117         (__mul): Likewise.
25118         (__inv): Likewise.
25119
25120         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25121         style.
25122
25123         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25124         style.
25125
25126         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25127         code.
25128
25129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25130         up changes with default code.
25131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25132         Likewise.
25133
25134 2013-02-24  Allan McRae  <allan@archlinux.org>
25135
25136         * manual/socket.texi (The Internet Namespace): Order menu items
25137         to match that in the file.
25138
25139         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25140         node listing of the info page menu.
25141
25142 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25143
25144         [BZ #13550]
25145         * sysdeps/i386/bp-asm.h: Remove file.
25146         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25147         (PARMS): Do not use macros from bp-asm.h.
25148         (S1): Likewise.
25149         (S2): Likewise.
25150         (SIZE): Likewise.
25151         (__mpn_add_n): Do not use BP_SYM
25152         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25153         "bp-asm.h".
25154         (PARMS): Do not use macros from bp-asm.h.
25155         (S1): Likewise.
25156         (SIZE): Likewise.
25157         (__mpn_addmul_1): Do not use BP_SYM
25158         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25159         "bp-asm.h".
25160         (PARMS): Do not use macros from bp-asm.h.
25161         (SIGMSK): Likewise.
25162         (_setjmp): Likewise.  Do not use BP_SYM.
25163         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25164         "bp-asm.h".
25165         (PARMS): Do not use macros from bp-asm.h.
25166         (SIGMSK): Likewise.
25167         (setjmp): Likewise.  Do not use BP_SYM.
25168         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25169         "bp-asm.h".
25170         (PARMS): Do not use macros from bp-asm.h.
25171         (__frexp): Do not use BP_SYM.
25172         (frexp): Likewise.
25173         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25174         "bp-asm.h".
25175         (PARMS): Do not use macros from bp-asm.h.
25176         (__frexpf): Do not use BP_SYM.
25177         (frexpf): Likewise.
25178         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25179         "bp-asm.h".
25180         (PARMS): Do not use macros from bp-asm.h.
25181         (__frexpl): Do not use BP_SYM.
25182         (frexpl): Likewise.
25183         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25184         "bp-asm.h".
25185         (PARMS): Do not use macros from bp-asm.h.
25186         (__remquo): Do not use BP_SYM.
25187         (remquo): Likewise.
25188         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25189         "bp-asm.h".
25190         (PARMS): Do not use macros from bp-asm.h.
25191         (__remquof): Do not use BP_SYM.
25192         (remquof): Likewise.
25193         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25194         "bp-asm.h".
25195         (PARMS): Do not use macros from bp-asm.h.
25196         (__remquol): Do not use BP_SYM.
25197         (remquol): Likewise.
25198         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25199         "bp-asm.h".
25200         (PARMS): Do not use macros from bp-asm.h.
25201         (DEST): Likewise.
25202         (SRC): Likewise.
25203         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25204         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25205         "bp-asm.h".
25206         (PARMS): Do not use macros from bp-asm.h.
25207         (strlen): Do not use BP_SYM.
25208         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25209         "bp-asm.h".
25210         (PARMS): Do not use macros from bp-asm.h.
25211         (S1): Likewise.
25212         (S2): Likewise.
25213         (SIZE): Likewise.
25214         (__mpn_add_n): Do not use BP_SYM.
25215         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25216         "bp-asm.h".
25217         (PARMS): Do not use macros from bp-asm.h.
25218         (S1): Likewise.
25219         (SIZE): Likewise.
25220         (__mpn_addmul_1): Do not use BP_SYM.
25221         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25222         weak_alias.
25223         (bzero): Likewise.
25224         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25225         "bp-asm.h".
25226         (PARMS): Do not use macros from bp-asm.h.
25227         (S): Likewise.
25228         (SIZE): Likewise.
25229         (__mpn_lshift): Do not use BP_SYM.
25230         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25231         "bp-asm.h".
25232         (PARMS): Do not use macros from bp-asm.h.
25233         (DEST): Likewise.
25234         (SRC): Likewise.
25235         (LEN): Likewise.
25236         (memcpy): Likewise.  Do not use BP_SYM.
25237         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25238         libc_hidden_def and weak_alias.
25239         (mempcpy): Do not use BP_SYM in weak_alias.
25240         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25241         "bp-asm.h".
25242         (PARMS): Do not use macros from bp-asm.h.
25243         (DEST): Likewise.
25244         (LEN): Likewise.
25245         [!BZERO_P] (CHR): Likewise.
25246         (memset): Likewise.  Do not use BP_SYM.
25247         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25248         "bp-asm.h".
25249         (PARMS): Do not use macros from bp-asm.h.
25250         (S1): Likewise.
25251         (SIZE): Likewise.
25252         (__mpn_mul_1): Do not use BP_SYM.
25253         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25254         "bp-asm.h".
25255         (PARMS): Do not use macros from bp-asm.h.
25256         (S): Likewise.
25257         (SIZE): Likewise.
25258         (__mpn_rshift): Do not use BP_SYM.
25259         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25260         "bp-asm.h".
25261         (PARMS): Do not use macros from bp-asm.h.
25262         (STR): Likewise.
25263         (CHR): Likewise.
25264         (strchr): Likewise.  Do not use BP_SYM.
25265         (index): Do not use BP_SYM in weak_alias.
25266         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25267         "bp-asm.h".
25268         (PARMS): Do not use macros from bp-asm.h.
25269         (DEST): Likewise.
25270         (SRC): Likewise.
25271         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25272         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25273         "bp-asm.h".
25274         (PARMS): Do not use macros from bp-asm.h.
25275         (strlen): Do not use BP_SYM.
25276         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25277         "bp-asm.h".
25278         (PARMS): Do not use macros from bp-asm.h.
25279         (S1): Likewise.
25280         (S2): Likewise.
25281         (SIZE): Likewise.
25282         (__mpn_sub_n): Do not use BP_SYM.
25283         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25284         "bp-asm.h".
25285         (PARMS): Do not use macros from bp-asm.h.
25286         (S1): Likewise.
25287         (SIZE): Likewise.
25288         (__mpn_submul_1): Do not use BP_SYM.
25289         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25290         "bp-asm.h".
25291         (PARMS): Do not use macros from bp-asm.h.
25292         (S1): Likewise.
25293         (S2): Likewise.
25294         (SIZE): Likewise.
25295         (__mpn_add_n): Do not use BP_SYM.
25296         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25297         weak_alias.
25298         (bzero): Likewise.
25299         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25300         "bp-asm.h".
25301         (PARMS): Do not use macros from bp-asm.h.
25302         (BLK2): Likewise.
25303         (LEN): Likewise.
25304         (memcmp): Do not use BP_SYM.
25305         (bcmp): Do not use BP_SYM in weak_alias.
25306         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25307         "bp-asm.h".
25308         (PARMS): Do not use macros from bp-asm.h.
25309         (DEST): Likewise.
25310         (SRC): Likewise.
25311         (LEN): Likewise.
25312         (memcpy): Likewise.  Do not use BP_SYM.
25313         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25314         "bp-asm.h".
25315         (PARMS): Do not use macros from bp-asm.h.
25316         (DEST): Likewise.
25317         (SRC): Likewise.
25318         (LEN): Likewise.
25319         (memmove): Likewise.  Do not use BP_SYM.
25320         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25321         "bp-asm.h".
25322         (PARMS): Do not use macros from bp-asm.h.
25323         (DEST): Likewise.
25324         (SRC): Likewise.
25325         (LEN): Likewise.
25326         (__mempcpy): Likewise.  Do not use BP_SYM.
25327         (mempcpy): Do not use BP_SYM in weak_alias.
25328         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25329         "bp-asm.h".
25330         (PARMS): Do not use macros from bp-asm.h.
25331         (DEST): Likewise.
25332         (LEN): Likewise.
25333         [!BZERO_P] (CHR): Likewise.
25334         (memset): Likewise.  Do not use BP_SYM.
25335         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25336         "bp-asm.h".
25337         (PARMS): Do not use macros from bp-asm.h.
25338         (STR2): Likewise.
25339         (strcmp): Do not use BP_SYM.
25340         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25341         "bp-asm.h".
25342         (PARMS): Do not use macros from bp-asm.h.
25343         (STR): Likewise.
25344         (DELIM): Likewise.
25345         [USE_AS_STRTOK_R] (SAVE): Likewise.
25346         (FUNCTION): Likewise.  Do not use BP_SYM.
25347         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25348         aliases.
25349         (strtok_r): Likewise.
25350         (__GI___strtok_r): Likewise.
25351         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25352         (PARMS): Do not use macros from bp-asm.h.
25353         (S): Likewise.
25354         (SIZE): Likewise.
25355         (__mpn_lshift): Do not use BP_SYM.
25356         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25357         (PARMS): Do not use macros from bp-asm.h.
25358         (STR): Likewise.
25359         (CHR): Likewise.
25360         (__memchr): Do not use BP_SYM.
25361         (memchr): Do not use BP_SYM in weak_alias.
25362         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25363         (PARMS): Do not use macros from bp-asm.h.
25364         (BLK2): Likewise.
25365         (LEN): Likewise.
25366         (memcmp): Do not use BP_SYM.
25367         (bcmp): Do not use BP_SYM in weak_alias.
25368         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25369         (PARMS): Do not use macros from bp-asm.h.
25370         (S1): Likewise.
25371         (SIZE): Likewise.
25372         (__mpn_mul_1): Do not use BP_SYM.
25373         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25374         "bp-asm.h".
25375         (PARMS): Do not use macros from bp-asm.h.
25376         (STR): Likewise.
25377         (CHR): Likewise.
25378         (__rawmemchr): Do not use BP_SYM.
25379         (rawmemchr): Do not use BP_SYM in weak_alias.
25380         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25381         (PARMS): Do not use macros from bp-asm.h.
25382         (S): Likewise.
25383         (SIZE): Likewise.
25384         (__mpn_rshift): Do not use BP_SYM.
25385         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25386         (PARMS): Do not use macros from bp-asm.h.
25387         (SIGMSK): Likewise.
25388         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25389         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25390         (_start): Do not use BP_SYM.
25391         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25392         (PARMS): Do not use macros from bp-asm.h.
25393         (DEST): Likewise.
25394         (SRC): Likewise.
25395         (__stpcpy): Likewise.  Do not use BP_SYM.
25396         (stpcpy): Do not use BP_SYM in weak_alias.
25397         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25398         "bp-asm.h".
25399         (PARMS): Do not use macros from bp-asm.h.
25400         (DEST): Likewise.
25401         (SRC): Likewise.
25402         (LEN): Likewise.
25403         (__stpncpy): Likewise.  Do not use BP_SYM.
25404         (stpncpy): Do not use BP_SYM in weak_alias.
25405         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25406         (PARMS): Do not use macros from bp-asm.h.
25407         (STR): Likewise.
25408         (CHR): Likewise.
25409         (strchr): Likewise.  Do not use BP_SYM.
25410         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25411         "bp-asm.h".
25412         (PARMS): Do not use macros from bp-asm.h.
25413         (STR): Likewise.
25414         (CHR): Likewise.
25415         (__strchrnul): Likewise.  Do not use BP_SYM.
25416         (strchrnul): Do not use BP_SYM in weak_alias.
25417         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25418         "bp-asm.h".
25419         (PARMS): Do not use macros from bp-asm.h.
25420         (STOP): Likewise.
25421         (strcspn): Do not use BP_SYM.
25422         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25423         "bp-asm.h".
25424         (PARMS): Do not use macros from bp-asm.h.
25425         (STR): Likewise.
25426         (STOP): Likewise.
25427         (strpbrk): Likewise.  Do not use BP_SYM.
25428         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25429         "bp-asm.h".
25430         (PARMS): Do not use macros from bp-asm.h.
25431         (STR): Likewise.
25432         (CHR): Likewise.
25433         (strrchr): Likewise.  Do not use BP_SYM.
25434         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25435         (PARMS): Do not use macros from bp-asm.h.
25436         (SKIP): Likewise.
25437         (strspn): Do not use BP_SYM.
25438         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25439         (PARMS): Do not use macros from bp-asm.h.
25440         (STR): Likewise.
25441         (DELIM): Likewise.
25442         (SAVE): Likewise.
25443         (FUNCTION): Likewise.  Do not use BP_SYM.
25444         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25445         aliases.
25446         (strtok_r): Likewise.
25447         (__GI___strtok_r): Likewise.
25448         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25449         (PARMS): Do not use macros from bp-asm.h.
25450         (S1): Likewise.
25451         (S2): Likewise.
25452         (SIZE): Likewise.
25453         (__mpn_sub_n): Do not use BP_SYM.
25454         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25455         "bp-asm.h".
25456         (PARMS): Do not use macros from bp-asm.h.
25457         (S1): Likewise.
25458         (SIZE): Likewise.
25459         (__mpn_submul_1): Do not use BP_SYM.
25460         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25461         <bp-sym.h>.
25462         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25463         and <bp-asm.h>.
25464         (PARMS): Do not use macros from bp-asm.h.
25465         (FLAGS): Likewise.
25466         (PTID): Likewise.
25467         (TLS): Likewise.
25468         (CTID): Likewise.
25469         (__clone): Do not use BP_SYM.
25470         (clone): Do not use BP_SYM in weak_alias.
25471         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25472         and <bp-asm.h>.
25473         (PARMS): Do not use macros from bp-asm.h.
25474         (LEN): Likewise.
25475         (__mmap64): Do not use BP_SYM.
25476         (mmap64): Do not use BP_SYM in weak_alias.
25477         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25478         <bp-sym.h> and <bp-asm.h>.
25479         (PARMS): Do not use macros from bp-asm.h.
25480         (__posix_fadvise64_l64): Do not use BP_SYM.
25481         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25482         (PARMS): Do not use macros from bp-asm.h.
25483         (NSOPS): Likewise.
25484         (semtimedop): Do not use BP_SYM.
25485         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25486         and <bp-asm.h>.
25487
25488 2013-02-21  Allan McRae  <allan@archlinux.org>
25489
25490         * manual/message.texi (Charset conversion in gettext):
25491         Move @end statement to beginning of line.
25492
25493 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25494
25495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25496         static.
25497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25498         Likewise.
25499
25500         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25501         (denorm): Likewise.
25502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25504
25505 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25506
25507         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25508         tail-call to the resolved function if pltexit isn't needed.
25509
25510 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25511
25512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25513         or Y being zero as being unlikely.
25514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25515         Likewise.
25516
25517 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25518
25519         * manual/nss.texi (System Databases and Name Service Switch):
25520         Remove frobnicate @pxref.
25521
25522 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25523
25524         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25525         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25526
25527 2013-02-20  Petr Machata  <pmachata@redhat.com>
25528
25529         * elf/elf.h (R_ARM_TARGET1): New macro.
25530         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25531         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25532         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25533         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25534         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25535         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25536         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25537         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25538         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25539         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25540         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25541         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25542         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25543         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25544         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25545         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25546         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25547         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25548         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25549         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25550         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25551         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25552         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25553         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25554         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25555         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25556         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25557         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25558         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25559         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25560         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25561         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25562         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25563         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25564         (R_ARM_THM_GOT_BREL12): Likewise.
25565         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25566         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25567         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25568         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25569         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25570         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25571         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25572         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25573         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25574
25575 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25576
25577         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25578         __attribute_used__ to __attribute__ ((unused)).
25579
25580 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25581
25582         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25583         powerpc mpa.c.
25584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25585         comment formatting.
25586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25587
25588 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25589
25590         [BZ #13550]
25591         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25592         Remove macro.
25593         (ENTER): Remove both macro definitions.
25594         (LEAVE): Likewise.
25595         (CHECK_BOUNDS_LOW): Likewise.
25596         (CHECK_BOUNDS_HIGH): Likewise.
25597         (CHECK_BOUNDS_BOTH): Likewise.
25598         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25599         (RETURN_BOUNDED_POINTER): Likewise.
25600         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25601         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25602         (POP_ERRNO_LOCATION_RETURN): Likewise.
25603         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25604         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25605         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25606         macros.
25607         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25608         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25609         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25610         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25611         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25612         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25613         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25614         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25615         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25616         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25617         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25618         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25619         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25620         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25621         removed macros.
25622         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25623         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25624         macros.
25625         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25626         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25627         * sysdeps/i386/i586/memset.S (memset): Likewise.
25628         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25629         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25630         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25631         macros.
25632         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25633         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25634         Change uses of L(2) to L(out).
25635         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25636         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25637         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25638         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25639         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25640         removed macros.
25641         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25642         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25643         macros.
25644         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25645         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25646         (RETURN): Do not use macro LEAVE.
25647         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25648         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25649         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25650         * sysdeps/i386/i686/memset.S (memset): Likewise.
25651         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25652         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25653         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25654         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25655         Likewise.
25656         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25657         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25658         L(1_2) and L(1_3) into L(1).
25659         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25660         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25661         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25662         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25663         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25664         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25665         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25666         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25667         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25668         macros.
25669         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25670         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25671         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25672         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25673         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25674         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25675         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25676         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25677         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25678         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25679         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25680         * sysdeps/i386/strspn.S (strspn): Likewise.
25681         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25682         conditional code.
25683         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25684         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25685         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25686         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25687         L(1_3) into L(1_1).
25688         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25689         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25690         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25691         macros.
25692         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25693
25694 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25695
25696         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25697         macro.
25698
25699 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25700
25701         * math/atest-exp.c (exp_mpn): Remove ROUND.
25702         * math/atest-exp2.c (exp_mpn): Likewise.
25703         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25704
25705         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25706         * stdlib/tst-tls-atexit-lib.c: Likewise.
25707         * stdlib/tst-tls-atexit.c: Likewise.
25708
25709 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25710
25711         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25712         and __attribute_alloc_size__.
25713
25714 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25715
25716         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25717         __attribute_alloc_size__.
25718         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25719         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25720
25721 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25722
25723         * include/programs/xmalloc.h: New file.
25724         * catgets/gencat.c: Include it.
25725         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25726         * elf/pldd.c: Likewise.
25727         * iconv/iconv_charmap.c: Likewise.
25728         * iconv/iconvconfig.c: Likewise.
25729         * iconv/strtab.c: Likewise.
25730         * locale/programs/locale.c: Likewise.
25731         * locale/programs/localedef.h: Likewise.
25732         * locale/programs/simple-hash.c: Likewise.
25733         * nscd/nscd.h: Likewise.
25734         * nss/makedb.c: Likewise.
25735         * sysdeps/generic/ldconfig.h: Likewise.
25736
25737 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25738
25739         * Versions.def: Add GLIBC_2.18.
25740         * include/link.h (struct link_map): New member l_tls_dtor_count.
25741         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25742         (__call_tls_dtors): Likewise.
25743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25744         __cxa_thread_atexit_impl.
25745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25746         Likewise.
25747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25748         Likewise.
25749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25750         Likewise.
25751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25752         Likewise.
25753         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25755         Likewise.
25756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25757         Likewise.
25758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25760         Likewise.
25761         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25762         (tests): Add test case tst-tls-atexit.
25763         (modules-names): Add shared library for tst-tls-atexit.
25764         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25765         (GLIBC_PRIVATE): Add __call_tls_dtors.
25766         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25767         for libstdc++.
25768         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25769         * stdlib/tst-tls-atexit.c: New test case.
25770         * stdlib/tst-tls-atexit-lib.c: New test case.
25771
25772         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25773
25774         * elf/Versions (ld): Add _dl_find_dso_for_object.
25775         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25776         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25777         (dl_open_worker): Use _dl_find_dso_for_object.
25778         * elf/dl-sym.c (do_sym): Likewise.
25779         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25780
25781 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25782
25783         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25784         Syntactic changes only.
25785         (_dl_runtime_profile): Do a tail-call to the resolved function.
25786
25787 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25788
25789         [BZ #13550]
25790         * sysdeps/x86_64/bp-asm.h: Remove file.
25791         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25792         <bp-sym.h> and <bp-asm.h>.
25793         (__clone): Do not use BP_SYM.
25794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25795         <bp-sym.h> and <bp-asm.h>.
25796         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25797         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25798         "bp-asm.h".
25799         (_setjmp): Do not use BP_SYM.
25800         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25801         "bp-asm.h".
25802         (setjmp): Do not use BP_SYM.
25803         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25804         libc_hidden_def.
25805         (mempcpy): Do not use BP_SYM in weak_alias.
25806         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25807         "bp-asm.h".
25808         (strchr): Do not use BP_SYM.
25809         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25810         "bp-asm.h".
25811         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25812         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25813         (_start): Do not use BP_SYM.
25814         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25815         "bp-asm.h".
25816         (strcat): Do not use BP_SYM.
25817         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25818         "bp-asm.h".
25819         (STRCMP): Do not use BP_SYM.
25820         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25821         "bp-asm.h".
25822         (STRCPY): Do not use BP_SYM.
25823         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25824         "bp-asm.h".
25825         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25826         "bp-asm.h".
25827         (FUNCTION): Do not use BP_SYM.
25828         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25829         weak_alias.
25830         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25831
25832 2013-02-17  Andreas Jaeger  <aj@suse.de>
25833
25834         * time/Versions: Sort entries.
25835         * string/Versions: Likewise.
25836         * resolv/Versions: Likewise.
25837         * posix/Versions: Likewise.
25838         * iconv/Versions: Likewise.
25839         * elf/Versions: Likewise.
25840         * wcsmbs/Versions: Likewise.
25841
25842 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25843
25844         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25845         loop termination condition.
25846
25847         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25848         variable to calculate EZ.
25849         (__sqr): Likewise.
25850
25851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25852         the lower precision input.
25853
25854 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25855
25856         [BZ #13550]
25857         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25858         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25859         (run-via-rtld-prefix): Do not handle %-bp tests.
25860         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25861         (all-object-suffixes): Remove .ob.
25862         (bppfx): Remove variable.
25863         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25864         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25865         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25866         [$(build-bounded) = yes] (libtype.ob): Likewise.
25867         * Makerules (elide-routines.ob): Remove variable.
25868         (do-tests-clean): Do not handle *-bp.out.
25869         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25870         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25871         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25872         (tests): Do not include $(tests-bp.out).
25873         (xtests): Do not include $(xtests-bp.out).
25874         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25875         [$(build-bounded) = yes] ($(addprefix
25876         $(objpfx),$(binaries-bounded))): Remove rule.
25877         ($(objpfx)%-bp.out): Remove rule.
25878         * config.make.in (build-bounded): Remove variable.
25879         * crypt/Makefile [$(build-bounded) = yes]
25880         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25881         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25882         append to variable.
25883         [$(build-bounded) = yes] (install-lib): Likewise.
25884         [$(build-bounded) = yes] (generated): Likewise.
25885         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25886         Remove rule.
25887         * intl/Makefile [$(build-bounded) = yes]
25888         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25889         * math/Makefile [$(build-bounded) = yes]
25890         ($(tests:%=$(objpfx)%-bp): Likewise.
25891         * misc/Makefile [$(build-bounded) = yes]
25892         ($(objpfx)tst-tsearch-bp): Likewise.
25893         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25894         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25895         Remove dependency.
25896         * string/Makefile (o-objects.ob): Remove variable.
25897         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25898         (CFLAGS-.ob): Remove variable.
25899         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25900         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25901         both definitions of variable.
25902         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25903         (ASFLAGS-.ob): Remove variable.
25904
25905 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25906
25907         [BZ #13550]
25908         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25909         Remove __BOUNDED_POINTERS__ from condition.
25910         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25911         * string/bits/string2.h [!__NO_STRING_INLINES &&
25912         !__BOUNDED_POINTERS__]: Likewise.
25913         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25914         Likewise.
25915         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25916         Remove conditional code.
25917         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25918         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25919         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25920         condition.
25921
25922         [BZ #13550]
25923         * csu/libc-start.c: Do not include <bp-sym.h>.
25924         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25925         * elf/dl-open.c: Do not include <bp-sym.h>.
25926         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25927         * math/fegetenv.c: Do not include <bp-sym.h>.
25928         (fegetenv): Do not use BP_SYM in versioned symbols.
25929         * nptl/sysdeps/pthread/bits/libc-lockP.h
25930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25931         <bp-sym.h>.
25932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25933         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25935         (__pthread_mutex_destroy): Likewise.
25936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25937         (__pthread_mutex_lock): Likewise.
25938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25939         (__pthread_mutex_trylock): Likewise.
25940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25941         (__pthread_mutex_unlock): Likewise.
25942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25943         (__pthread_mutexattr_init): Likewise.
25944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25945         (__pthread_mutexattr_destroy): Likewise.
25946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25947         (__pthread_mutexattr_settype): Likewise.
25948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25949         (__pthread_rwlock_init): Likewise.
25950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25951         (__pthread_rwlock_destroy): Likewise.
25952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25953         (__pthread_rwlock_rdlock): Likewise.
25954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25955         (__pthread_rwlock_tryrdlock): Likewise.
25956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25957         (__pthread_rwlock_wrlock): Likewise.
25958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25959         (__pthread_rwlock_trywrlock): Likewise.
25960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25961         (__pthread_rwlock_unlock): Likewise.
25962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25963         (__pthread_key_create): Likewise.
25964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25965         (__pthread_setspecific): Likewise.
25966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25967         (__pthread_getspecific): Likewise.
25968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25969         Likewise.
25970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25971         (_pthread_cleanup_push_defer): Likewise.
25972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25973         (_pthread_cleanup_pop_restore): Likewise.
25974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25975         (pthread_setcancelstate): Likewise.
25976         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25977         <bp-sym.h>.
25978         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25979         (memchr): Do not use BP_SYM in weak_alias.
25980         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25981         (fegetenv): Do not use BP_SYM in versioned symbols.
25982         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25983         (fesetenv): Do not use BP_SYM in versioned symbols.
25984         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25985         (feupdateenv): Do not use BP_SYM in versioned symbols.
25986         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25987         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25988         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25989         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25990         (open64): Do not use BP_SYM in weak_alias.
25991         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25992         (fegetenv): Do not use BP_SYM in versioned symbols.
25993         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25994         (fesetenv): Do not use BP_SYM in versioned symbols.
25995         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25996         (feupdateenv): Do not use BP_SYM in versioned symbols.
25997         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25998         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25999         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26000         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26001         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26002         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26004         <bp-sym.h>.
26005         (__libc_start_main): Do not use BP_SYM.
26006
26007 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26008
26009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26010         redundant return line.
26011         (norm): Likewise.
26012         (denorm): Likewise.
26013         (dbl_mp): Likewise.
26014         (sub_magnitudes): Likewise.
26015         (__add): Likewise.
26016         (__sub): Likewise.
26017         (__mul): Likewise.
26018         (__inv): Likewise.
26019         (__dvd): Likewise.
26020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26021         (norm): Likewise.
26022         (denorm): Likewise.
26023         (dbl_mp): Likewise.
26024         (sub_magnitudes): Likewise.
26025         (__add): Likewise.
26026         (__sub): Likewise.
26027         (__mul): Likewise.
26028         (__inv): Likewise.
26029         (__dvd): Likewise.
26030
26031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26032         instead of __mul.
26033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26034         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26035         (cc32): Likewise.
26036
26037         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26038         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26040         of __mul for squares.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26042         function
26043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26044         Likewise.
26045         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26046         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26047
26048 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26049
26050         [BZ #13550]
26051         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26052         code.
26053         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26054         prototype or function definition.  Rename ubp_* variables and
26055         parameters.  Remove argv definitions conditional on
26056         [__BOUNDED_POINTERS__].
26057         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26058         * elf/dl-runtime.c (_dl_fixup): Likewise.
26059         * include/set-hooks.h (RUN_HOOK): Likewise.
26060         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26061         definition.
26062         * string/strcpy.c (strcpy): Do not use __unbounded.
26063         * sysdeps/generic/frame.h (struct layout): Likewise.
26064         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26065         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26066         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26067         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26068         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26069         (__backtrace): Likewise.
26070         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26071         use __ptrvalue.
26072         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26073         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26074         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26075         Likewise.
26076         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26077         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26078         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26079         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26080         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26081         Do not use __unbounded.
26082         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26083         Rename __unboundedrlimits parameter to rlimits in prototype.
26084         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26085         Do not use __unbounded.
26086         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26087         not use __ptrvalue.
26088         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26089         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26090         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26091         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26092         __ptrvalue or __unbounded.
26093         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26094         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26095         use __unbounded.
26096         (__new_msgctl): Do not use __ptrvalue.
26097         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26098         __unbounded.
26099         (__libc_msgrcv): Do not use __ptrvalue.
26100         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26101         startup_info): Do not use __unbounded.
26102         (__libc_start_main): Likewise.  Rename ubp_* variables and
26103         parameters.  Remove argv definitions conditional on
26104         [__BOUNDED_POINTERS__].
26105         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26106         __ptrvalue.
26107         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26108         use __unbounded.
26109         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26110         or __ptrvalue.
26111         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26112         use __unbounded.
26113         (__new_shmctl): Do not use __ptrvalue.
26114         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26115         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26116         Likewise.
26117         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26118         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26119         (__libc_sigaction): Likewise.
26120         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26121         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26122         Likewise.
26123         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26124
26125 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26126
26127         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26128
26129         * string/mempcpy.c: Implement by calling memcpy.
26130
26131 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26132
26133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26134
26135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26136         evaluation.
26137
26138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26139         values in the mantissa.
26140
26141         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26142         minimize writes to Z.
26143         (sub_magnitudes): Simplify code a bit.
26144
26145 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26146
26147         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26148         from the message.  The linker prefixes all warnings with that already.
26149
26150 2013-02-12  Andreas Schwab  <schwab@suse.de>
26151
26152         [BZ #15078]
26153         * posix/regexec.c (extend_buffers): Add parameter min_len.
26154         (check_matching): Pass minimum needed length.
26155         (clean_state_log_if_needed): Likewise.
26156         (get_subexp): Likewise.
26157         * posix/Makefile (tests): Add bug-regex34.
26158         (bug-regex34-ENV): Define.
26159         * posix/bug-regex34.c: New file.
26160
26161         [BZ #11561]
26162         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26163         elements compare against the byte sequence of it, not its name.
26164         * posix/Makefile (tests): Add bug-regex35.
26165         (bug-regex35-ENV): Define.
26166         * posix/bug-regex35.c: New file.
26167
26168 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26169
26170         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26171         comment.
26172         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26173         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26174         (CHECK_EOL): Add undef.
26175
26176 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26177
26178         * bits/stdlib-bsearch.h: New file.
26179         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26180         * stdlib/stdlib.h: Likewise.
26181
26182 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26183
26184         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26185         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26186         declaration.
26187         * manual/search.texi (Array Search Function): Add missing const in
26188         lfind prototype.
26189         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26190         declaration to use rlim_t.
26191         (Basic Scheduling Functions): Remove erroneous const from
26192         sched_getparam prototype.  Remove erroneous * from
26193         sched_get_priority_max and sched_get_priority_min prototypes.
26194         (Resource Usage): Fix summary @comment on vtimes to refer to
26195         sys/vtimes.h rather than vtimes.h.
26196         Add missing *s in vtimes prototype.
26197         (Limits on Resources): Fix ulimit prototype to return long int.
26198         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26199         prototypes to use long int rather than double.
26200         (BSD Random): Fix initstate and setstate to use char *, not void *.
26201         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26202         prototype to make second argument 'struct aiocb64 *const[]'.
26203         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26204         (Status of AIO Operations): Remove erroneous const in aio_return and
26205         aio_return64 prototypes.
26206         (Synchronizing I/O): Fix sync prototype to return void.
26207         * manual/startup.texi (Suboptions): Remove an erroneous const in
26208         getsubopt prototype.
26209         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26210         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26211         use size_t rather than int.
26212         (Scanning All Users): Likewise for getpwent_r.
26213         (Setting Groups): Add missing const to setgroups prototype.
26214         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26215         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26216         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26217         'const void *' rather than 'const char *'.
26218         (Host Address Functions): Likewise for inet_ntop.
26219         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26220         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26221         ssize_t for return value.
26222         (Sending Data): Likewise for send, sendto, sendmsg.
26223         (Socket Option Functions): Add a missing const in setsockopt prototype.
26224         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26225         use wchar_t for the argument.
26226         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26227         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26228         take no arguments.
26229         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26230         double/float/long double for second argument.
26231         Fix return types of significand, significandf, significandl.
26232         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26233         argument in fchmod prototype.
26234         (File Owner): Use uid_t and gid_t in fchown prototype.
26235         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26236         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26237         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26238         use 'const struct dirent **' as argument types to CMP function pointer
26239         argument.
26240         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26241         (File Times): Fix summary magic @comment for struct utimbuf and utime
26242         to refer to utime.h, not time.h.
26243         * manual/string.texi (Argz Functions): Add missing const in
26244         argz_extract and argz_next prototypes.
26245         (Finding Tokens in a String): Likewise for basename.
26246         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26247         (Copying and Concatenation): Fix typo in wmemmove prototype.
26248         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26249         (Signal Stack): Remove erroneous const in sigstack prototype.
26250         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26251         prototype.
26252         (Simple Calendar Time): Likewise for stime.
26253         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26254         prototype.
26255         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26256         say sys/sysctl.h instead.
26257         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26258         and vsyslog prototypes.
26259
26260 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26261
26262         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26263         Remove.
26264
26265 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26266
26267         * misc/sys/mman.h: Fix typo in mremap comment.
26268
26269 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26270
26271         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26272         the '\0' terminator.
26273
26274 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26275
26276         [BZ #13550]
26277         * debug/segfault.c: Don't include <bp-checks.h>.
26278         * sysdeps/generic/bp-checks.h: Remove file.
26279         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26280         (__GETDENTS): Don't use CHECK_N.
26281         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26282         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26283         (__getgroups): Don't use CHECK_N.
26284         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26285         (setgroups): Don't use CHECK_N.
26286         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26287         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26288         (__libc_msgrcv): Don't use CHECK_N.
26289         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26290         (__libc_msgsnd): Don't use CHECK_N.
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26292         <bp-checks.h>.
26293         (__libc_pread): Don't use CHECK_N.
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26295         include <bp-checks.h>.
26296         (__libc_pread64): Don't use CHECK_N.
26297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26298         include <bp-checks.h>.
26299         (__libc_pwrite): Don't use CHECK_N.
26300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26301         include <bp-checks.h>.
26302         (__libc_pwrite64): Don't use CHECK_N.
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26304         <bp-checks.h>.
26305         (__libc_pread): Don't use CHECK_N.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26307         include <bp-checks.h>.
26308         (__libc_pread64): Don't use CHECK_N.
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26310         include <bp-checks.h>.
26311         (__libc_pwrite): Don't use CHECK_N.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26313         include <bp-checks.h>.
26314         (__libc_pwrite64): Don't use CHECK_N.
26315         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26316         (do_pread): Don't use CHECK_N.
26317         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26318         (do_pread64): Don't use CHECK_N.
26319         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26320         (do_pwrite): Don't use CHECK_N.
26321         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26322         (do_pwrite64): Don't use CHECK_N.
26323         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26324         (__libc_readv): Don't use CHECK_N.
26325         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26326         (semop): Don't use CHECK_N.
26327         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26328         <bp-checks.h>.
26329         (semtimedop): Don't use CHECK_N.
26330         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26331         (__libc_pread): Don't use CHECK_N.
26332         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26333         <bp-checks.h>.
26334         (__libc_pread64): Don't use CHECK_N.
26335         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26336         <bp-checks.h>.
26337         (__libc_pwrite): Don't use CHECK_N.
26338         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26339         <bp-checks.h>.
26340         (__libc_pwrite64): Don't use CHECK_N.
26341         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26342         <bp-checks.h>.
26343         (__libc_msgrcv): Don't use CHECK_N.
26344         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26345         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26346         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26347         (__libc_writev): Don't use CHECK_N.
26348
26349 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26350
26351         * string/strcpy.c: Removed unused variable.
26352
26353         * Makeconfig (+sysdep-includes): Define with := rather than =.
26354         Use an existing include/ subdir of each sysdeps dir before it.
26355
26356 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26357
26358         * nscd/connection.c (register_traced_file): Comment function.
26359         [HAVE_INOTIFY] (union __inev): Define.
26360         [HAVE_INOTIFY] (inotify_check_files): New function.
26361         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26362         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26363         clear_db_cache.
26364         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26365
26366 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26367
26368         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26369         loaded if not already and that a failure is permanent.
26370
26371 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26372
26373         [BZ #15006]
26374         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26375         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26376
26377 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26378
26379         [BZ #13550]
26380         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26381         (CHECK_1_NULL_OK): Likewise.
26382         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26383         (__fxstat): Do not use CHECK_1.
26384         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26385         <bp-checks.h>.
26386         (___fxstat64): Do not use CHECK_1.
26387         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26388         <bp-checks.h>.
26389         (__fxstatat): Do not use CHECK_1.
26390         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26391         <bp-checks.h>.
26392         (__fxstatat64): Do not use CHECK_1.
26393         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26394         <bp-checks.h>.
26395         (__fxstat): Do not use CHECK_1.
26396         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26397         <bp-checks.h>.
26398         (__fxstatat): Do not use CHECK_1.
26399         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26400         <bp-checks.h>.
26401         (__getresgid): Do not use CHECK_1.
26402         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26403         <bp-checks.h>.
26404         (__getresuid): Do not use CHECK_1.
26405         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26406         <bp-checks.h>.
26407         (__lxstat): Do not use CHECK_1.
26408         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26409         <bp-checks.h>.
26410         (__old_msgctl): Do not use CHECK_1.
26411         (__new_msgctl): Likewise.
26412         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26413         <bp-checks.h>.
26414         (__new_setrlimit): Do not use CHECK_1.
26415         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26416         <bp-checks.h>.
26417         (__old_shmctl): Do not use CHECK_1.
26418         (__new_shmctl): Likewise.
26419         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26420         <bp-checks.h>.
26421         (__xstat): Do not use CHECK_1.
26422         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26423         (__lxstat): Do not use CHECK_1.
26424         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26425         <bp-checks.h>.
26426         (___lxstat64): Do not use CHECK_1.
26427         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26428         (__old_msgctl): Do not use CHECK_1.
26429         (__new_msgctl): Likewise.
26430         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26431         <bp-checks.h>.
26432         (__gettimeofday): Do not use CHECK_1.
26433         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26434         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26435         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26436         <bp-checks.h>.
26437         (__gettimeofday): Do not use CHECK_1.
26438         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26439         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26440         (__new_shmctl): Do not use CHECK_1.
26441         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26442         <bp-checks.h>.
26443         (do_sigtimedwait): Do not use CHECK_1.
26444         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26445         <bp-checks.h>.
26446         (do_sigwaitinfo): Do not use CHECK_1.
26447         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26448         <bp-checks.h>.
26449         (msgctl): Do not use CHECK_1.
26450         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26451         <bp-checks.h>.
26452         (shmctl): Do not use CHECK_1.
26453         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26454         (ustat): Do not use CHECK_1.
26455         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26456         <bp-checks.h>.
26457         (__fxstat): Do not use CHECK_1.
26458         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26459         <bp-checks.h>.
26460         (__fxstatat): Do not use CHECK_1.
26461         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26462         <bp-checks.h>.
26463         (__lxstat): Do not use CHECK_1.
26464         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26465         <bp-checks.h>.
26466         (__xstat): Do not use CHECK_1.
26467         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26468         (__xstat): Do not use CHECK_1.
26469         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26470         (___xstat64): Do not use CHECK_1.
26471
26472         [BZ #13550]
26473         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26474         definitions.
26475         (CHECK_BOUNDS_HIGH): Likewise.
26476         * string/strcpy.c: Do not include <bp-checks.h>.
26477         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26478
26479 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26480
26481         * nscd/nscd-client.h (__nscd_drop_map_ref):
26482         Add __attribute__ ((unused)).
26483         * nis/nss-nisplus.h (niserr2nss): Likewise.
26484
26485         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26486         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26487
26488         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26489         Remove inline keyword.
26490         * include/rounding-mode.h (round_away): Likewise.
26491         * libio/wfileops.c (adjust_wide_data): Likewise.
26492         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26493         (__m128i_strloadu_tolower): Likewise.
26494         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26495         (__m128i_strloadu_tolower): Likewise.
26496         * time/mktime.c (ydhms_diff): Likewise.
26497         * locale/elem-hash.h (elem_hash): Likewise.
26498         * locale/setlocale.c (setdata): Likewise.
26499         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26500         (re_string_wchar_at): Likewise.
26501         (bitset_not, bitset_merge, bitset_mask): Likewise.
26502         [!(__GNUC__ > 3)] (inline): Remove macro.
26503         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26504         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26505         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26506         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26507         * string/memcmp.c (memcmp_bytes): Likewise.
26508         * locale/programs/locarchive.c (compute_hashval): Likewise.
26509         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26510         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26511         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26512         * nss/getent.c (print_rpc, print_protocols): Likewise.
26513         (print_passwd, print_group, print_aliases): Likewise.
26514         * nis/nss-nisplus.h (niserr2nss): Likewise.
26515         * nscd/connections.c (restart_p): Likewise.
26516         Change return type to bool.
26517
26518 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26519
26520         * Makeconfig (all-Depend-files): Add existing
26521         $(sorted-subdirs:=/Depend) files.
26522         (all-subdirs): Remove nss.
26523         * sysdeps/unix/inet/Subdirs: Add it here instead.
26524         * hesiod/Depend: New file.
26525
26526         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26527         instead of calling alloca.
26528
26529         * io/lseek.c (__lseek): Rename to __libc_lseek.
26530         Define __lseek as an alias.
26531
26532         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26533
26534 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26535
26536         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26537         else clause and remove check for non-standard endianness.
26538
26539 2013-02-04  David S. Miller  <davem@davemloft.net>
26540
26541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26542
26543 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26544
26545         [BZ #13550]
26546         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26547         (__ubp_memchr): Remove prototype.
26548         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26549         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26550         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26551         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26552         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26553         Remove alias.
26554         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26555         (__ubp_memchr): Likewise.
26556         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26557         (__ubp_memchr): Likewise.
26558         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26559         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26560         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26561         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26562         CHECK_STRING.
26563         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26564         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26565         (__getcwd): Do not use CHECK_STRING.
26566         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26567         <bp-checks.h>.
26568         (__real_chown): Do not use CHECK_STRING.
26569         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26570         <bp-checks.h>.
26571         (fchownat): Do not use CHECK_STRING.
26572         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26573         CHECK_STRING.
26574         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26575         <bp-checks.h>.
26576         (__lchown): Do not use CHECK_STRING.
26577         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26578         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26579         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26580         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26582         include <bp-checks.h>.
26583         (truncate64): Do not use CHECK_STRING.
26584         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26585         <bp-checks.h>.
26586         (__real_chown): Do not use CHECK_STRING.
26587         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26588         <bp-checks.h>.
26589         (__lchown): Do not use CHECK_STRING.
26590         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26591         <bp-checks.h>.
26592         (__chown): Do not use CHECK_STRING.
26593         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26594         <bp-checks.h>.
26595         (truncate64): Do not use CHECK_STRING.
26596         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26597         Likewise.
26598         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26599         (__xmknod): Do not use CHECK_STRING.
26600         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26601         <bp-checks.h>.
26602         (__xmknodat): Do not use CHECK_STRING.
26603         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26604         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26605
26606 2013-02-04  Andreas Schwab  <schwab@suse.de>
26607
26608         [BZ #14142]
26609         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26610         * include/netdb.h: Likewise for h_errno.
26611         * elf/tst-stackguard1.c: Include <tls.h>.
26612
26613 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26614
26615         * elf/link.h (struct link_map): Extend the l_addr comment.
26616         * include/link.h (struct link_map): Likewise.
26617
26618 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26619
26620         [BZ #13550]
26621         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26622         (BOUNDED_1): Remove macro.
26623         * debug/backtrace.c: Don't include <bp-checks.h>.
26624         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26625         (__backtrace): Likewise.
26626         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26627         <bp-checks.h>.
26628         (__backtrace): Don't use BOUNDED_1.
26629         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26630         <bp-checks.h>.
26631         (__backtrace): Don't use BOUNDED_1.
26632         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26633         (__backtrace): Don't use BOUNDED_1.
26634         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26635         (shmat): Don't use BOUNDED_N.
26636
26637 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26638
26639         [BZ #13550]
26640         * sysdeps/generic/bp-start.h: Remove file.
26641         * csu/libc-start.c: Don't include <bp-start.h>.
26642         (LIBC_START_MAIN): Set up __environ directly instead of using
26643         INIT_ARGV_and_ENVIRON.
26644         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26645         <bp-start.h>.
26646
26647         [BZ #13550]
26648         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26649         definitions.
26650         (CHECK_FCNTL): Likewise.
26651         (CHECK_N_PAGES): Likewise.
26652
26653         [BZ #13550]
26654         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26655         definitions.
26656         (CHECK_SIGSET_NULL_OK): Likewise.
26657         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26658         <bp-checks.h>.
26659         (sigpending): Don't use CHECK_SIGSET.
26660         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26661         <bp-checks.h>.
26662         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26663         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26664         <bp-checks.h>.
26665         (do_sigsuspend): Don't use CHECK_SIGSET.
26666         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26667         use CHECK_SIGSET.
26668         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26669         (do_sigwait): Don't use CHECK_SIGSET.
26670         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26671         use CHECK_SIGSET.
26672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26673         include <bp-checks.h>.
26674         (sigpending): Don't use CHECK_SIGSET.
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26676         include <bp-checks.h>.
26677         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26678         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26679         <bp-checks.h>.
26680         (sigpending): Don't use CHECK_SIGSET.
26681         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26682         <bp-checks.h>.
26683         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26684
26685         [BZ #13550]
26686         * sysdeps/generic/bp-semctl.h: Remove file.
26687         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26688         <bp-checks.h> and <bp-semctl.h>.
26689         (__old_semctl): Don't use CHECK_SEMCTL.
26690         (__new_semctl): Likewise.
26691         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26692         and <bp-semctl.h>.
26693         (__old_semctl): Don't use CHECK_SEMCTL.
26694         (__new_semctl): Likewise.
26695         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26696         <bp-checks.h> and <bp-semctl.h>.
26697         (__old_semctl): Don't use CHECK_SEMCTL.
26698         (__new_semctl): Likewise.
26699         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26700         <bp-checks.h> and <bp-semctl.h>.
26701         (semctl): Don't use CHECK_SEMCTL.
26702
26703         [BZ #13550]
26704         * Makerules (elide-bp-thunks): Remove variable.
26705         (elide-routines.oS): Don't use $(elide-bp-thunks).
26706         (elide-routines.os): Likewise.
26707         (elide-routines.o): Likewise.
26708         (elide-routines.op): Likewise.
26709         (elide-routines.og): Likewise.
26710         (objects): Don't use $(bp-thunks).
26711         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26712         include.
26713         (common-generated): Do not add s-proto-bp.d.
26714         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26715         (int): Likewise.
26716         (typ): Likewise.
26717         Do not generate makefile rules for bounded-pointer thunks.
26718         * sysdeps/generic/bp-thunks.h: Remove file.
26719         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26720         * sysdeps/unix/s-proto-bp.S: Likewise.
26721
26722         [BZ #15062]
26723         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26724         parts of result separately when argument is not close to line from
26725         -i to i and one part of argument is small.
26726         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26727         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26728         * math/libm-test.inc (cacos_test): Add more tests.
26729         (casin_test): Likewise.
26730         (casinh_test): Likewise.
26731         * sysdeps/i386/fpu/libm-test-ulps: Update.
26732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26733
26734 2013-01-31  David S. Miller  <davem@davemloft.net>
26735
26736         * po/de.po: Update from translation team.
26737
26738 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26739
26740         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26741
26742 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26743
26744         * configure.in (_AC_PROG_CC_C89): New definition.
26745         * configure: Regenerate.
26746
26747         * configure.in (AC_PROG_CPP): New definition.
26748         * configure: Regenerate.
26749
26750 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26751
26752         * debug/tst-backtrace.h: New file.
26753         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26754         (ret): Remove variable.
26755         (x): Likewise.
26756         (FAIL): Remove macro.
26757         (NO_INLINE): Likewise.
26758         (fn1): Use match function instead of strstr.
26759         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26760         (ret): Remove variable.
26761         (x): Likewise.
26762         (FAIL): Remove macro.
26763         (NO_INLINE): Likewise.
26764         (fn): Use match function instead of strstr.
26765         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26766         (ret): Remove variable.
26767         (x): Likewise.
26768         (FAIL): Remove macro.
26769         (NO_INLINE): Likewise.
26770         (handle_signal): Use match function instead of strstr.
26771         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26772         (ret): Remove variable.
26773         (x): Likewise.
26774         (FAIL): Remove macro.
26775         (NO_INLINE): Likewise.
26776         (handle_signal): Use match function instead of strstr.
26777
26778 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26779
26780         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26781
26782 2013-01-23  David S. Miller  <davem@davemloft.net>
26783
26784         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26785         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26786         argument of CAS if possible.
26787         * sysdeps/sparc/sparc64/bits/atomic.h
26788         (__arch_compare_and_exchange_val_32_acq): Likewise.
26789         (__arch_compare_and_exchange_val_64_acq): Likewise.
26790
26791 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26792
26793         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26794         * sysdeps/posix/ulimit.c: ... this.
26795         Include <limits.h>.
26796         * sysdeps/unix/bsd/ulimit.c: Remove file.
26797
26798 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26799
26800         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26801         (LDFLAGS-tst-array5): Likewise.
26802
26803 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26804
26805         [BZ #15036]
26806         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26807         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26808         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26809         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26810
26811 2013-01-21  David S. Miller  <davem@davemloft.net>
26812
26813         * sysdeps/sparc/backtrace.c: New file.
26814         * sysdeps/sparc/sparc32/backtrace.h: New file.
26815         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26816         * sysdeps/sparc/sparc64/backtrace.h: New file.
26817         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26818         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26819         -funwind-tables.
26820
26821 2013-01-21  Andreas Schwab  <schwab@suse.de>
26822
26823         [BZ #15020]
26824         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26825         closed its stdout.
26826
26827 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26828
26829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26830         "mpa2.h".
26831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26832
26833 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26834             Mark Mitchell  <mark@codesourcery.com>
26835             Tom de Vries  <tom@codesourcery.com>
26836             Paul Pluzhnikov  <ppluzhnikov@google.com>
26837
26838         * debug/tst-backtrace2.c: New file.
26839         * debug/tst-backtrace3.c: Likewise.
26840         * debug/tst-backtrace4.c: Likewise.
26841         * debug/tst-backtrace5.c: Likewise.
26842         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26843         (CFLAGS-tst-backtrace3.c): Likewise.
26844         (CFLAGS-tst-backtrace4.c): Likewise.
26845         (CFLAGS-tst-backtrace5.c): Likewise.
26846         (LDFLAGS-tst-backtrace2): Likewise.
26847         (LDFLAGS-tst-backtrace3): Likewise.
26848         (LDFLAGS-tst-backtrace4): Likewise.
26849         (LDFLAGS-tst-backtrace5): Likewise.
26850         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26851         tst-backtrace4 and tst-backtrace5.
26852
26853 2013-01-18  Anton Blanchard  <anton@samba.org>
26854             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26855
26856         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26857         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26858         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26859         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26861         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26862         "+r" and remove output regs list as redundant.  Add explicit inline
26863         asm to specify register of return val to work around compiler codegen
26864         bug.  Remove (int) cast on return value.  Add return type parameter to
26865         use in macro so that this macro does not truncate return value for
26866         64-bit values.
26867         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26868         pass to INTERNAL_VSYSCALL_NCS.
26869         (INLINE_VSYSCALL): Add 'long int' as return type to
26870         INTERNAL_VSYSCALL_NCS macro invocation.
26871         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26872         INTERNAL_VSYSCALL_NCS macro invocation.
26873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26874
26875 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26876
26877         [BZ #14496]
26878         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26879         Fix application of SIMD FP exception mask.
26880
26881         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26882         mp_no from a power of two.
26883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26884         __mpexp_twomm1.  Use __pow_mp.
26885
26886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26887         multiplication.
26888
26889 2013-01-17  David S. Miller  <davem@davemloft.net>
26890
26891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26892
26893 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26894
26895         [BZ #15023]
26896         * include/complex.h: Condition contents on [!_COMPLEX_H].
26897         (__kernel_casinhf): New prototype.
26898         (__kernel_casinh): Likewise.
26899         (__kernel_casinhl): Likewise.
26900         * math/Makefile (libm_calls): Add k_casinh.
26901         * math/k_casinh.c: New file.
26902         * math/k_casinhf.c: Likewise.
26903         * math/k_casinhl.c: Likewise.
26904         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26905         finite nonzero arguments.
26906         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26907         finite nonzero arguments.
26908         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26909         finite nonzero arguments.
26910         * math/s_casinh.c: Do not include <float.h>.
26911         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26912         * math/s_casinhf.c: Do not include <float.h>.
26913         (__casinhf): Move code for finite nonzero arguments to
26914         k_casinhf.c.
26915         * math/s_casinhl.c: Do not include <float.h>.
26916         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26917         redefine.
26918         (__casinhl): Move code for finite nonzero arguments to
26919         k_casinhl.c.
26920         * math/libm-test.inc (cacos_test): Add more tests.
26921         * sysdeps/i386/fpu/libm-test-ulps: Update.
26922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26923
26924 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26925
26926         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26927         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26928         [!HAVE_MREMAP]: Remove [defined linux] case.
26929         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26930
26931 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26932
26933         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26934
26935 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26936
26937         * elf/elf.h (R_386_SIZE32): New relocation.
26938         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26939         R_386_SIZE32.
26940         (elf_machine_rela): Likewise.
26941         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26942         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26943
26944 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26945
26946         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26947         (FP_FAST_FMA): Do not define.
26948         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26949         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26950         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26951         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26952         !_SOFT_FLOAT]: Likewise.
26953         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26954         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26955         value.
26956         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26957         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26958         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26959         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26960         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26961         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26962         file.
26963
26964 2013-01-16  Andreas Schwab  <schwab@suse.de>
26965
26966         [BZ #14327]
26967         * include/stdlib.h (__mktemp): Add declaration.
26968         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26969         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26970
26971 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26972
26973         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26974         definitions.
26975         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26976         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26977         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26978         definitions here.
26979         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26980         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26981         definitions.
26982         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26983         and ONE.
26984         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26985         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26986         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26987         definitions.
26988         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26989         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26990         definitions.
26991         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26992
26993         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26994
26995 2013-01-15  David S. Miller  <davem@davemloft.net>
26996
26997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26998         trunc{,f} to libm-sysdep_routes.
26999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27001         file.
27002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27004         file.
27005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27006         file.
27007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27009         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27010         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27011         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27012         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27013         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27014         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27015
27016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27017         nearbyint{,f} to libm-sysdep_routes.
27018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27020         New file.
27021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27022         file.
27023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27024         New file.
27025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27026         file.
27027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27029         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27030         file.
27031         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27032         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27033         file.
27034         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27035         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27036         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27037
27038         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27039         libc_feholdexcept and libc_fesetenv.
27040
27041 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27042
27043         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27044
27045 2013-01-14  David S. Miller  <davem@davemloft.net>
27046
27047         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27048         (SPARC_ASM_VIS2_IFUNC): Likewise.
27049         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27051         use of 'siam' instruction.
27052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27053         Likewise.
27054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27055         Likewise.
27056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27057         Likewise.
27058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27063         file.
27064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27065         file.
27066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27067         file.
27068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27069         file.
27070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27072         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27075         new VIS2 routines.
27076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27079         Likewise.
27080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27083         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27085         routines to libm-sysdep_routines.
27086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27087
27088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27089         fdim/fdimf to libm-sysdep_routines.
27090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27091         file.
27092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27094         file.
27095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27098         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27099         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27100         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27101         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27102
27103 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27104
27105         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27106         to optimize copies.
27107
27108         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27111
27112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27113         local variable MPTWO.
27114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27115         Likewise.
27116
27117 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27118
27119         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27120         GLOB_NOESCAPE.
27121
27122 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27123
27124         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27125
27126 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27127
27128         * manual/pattern.texi (glob_t): Document gl_flags.
27129         (glob64_t): Likewise.
27130
27131 2013-01-11  David S. Miller  <davem@davemloft.net>
27132
27133         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27134         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27135         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27136         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27137         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27138         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27139         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27140         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27141         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27142         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27143         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27144         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27145         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27146
27147         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27148         sparc V9 rather than using V8 code.
27149         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27150         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27151
27152         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27153         Move to...
27154         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27155         Here.
27156
27157 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27158
27159         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27160         not in the main loop.
27161         * configure: Regenerated.
27162
27163 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27164
27165         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27166         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27167         to just #else.
27168         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27169         [!__GLIBC_HAVE_LONG_LONG] case.
27170         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27171         condition to just #else.
27172         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27173         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27174         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27175         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27176         unconditional.
27177         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27178         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27179         #elif condition to just #else.
27180         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27181         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27182         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27183         #elif condition to just #else.
27184
27185 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27186
27187         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27188         (EF_MIPS_ARCH_64): Fix value.
27189         (EF_MIPS_ARCH_32R2): New.
27190         (EF_MIPS_ARCH_64R2): New.
27191
27192 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27193
27194         * Makeconfig (+link-pie-before-libc): New.
27195         (+link-pie-after-libc): Likewise.
27196         (+link-pie-tests): Likewise.
27197         (+link-pie): Rewritten.
27198         (link-before-libc): Remove $(config-LDFLAGS).
27199         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27200         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27201         (config-LDFLAGS): Renamed to ...
27202         (rtld-LDFLAGS): This.
27203         (rtld-tests-LDFLAGS): New macro.
27204         (link-libc-rpath-link): Likewise.
27205         (link-libc-tests-rpath-link): Likewise.
27206         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27207         (link-libc): Prepand $(link-libc-rpath-link).
27208         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27209         (test-program-prefix): New macro.
27210         (test-via-rtld-prefix): Likewise.
27211         (test-program-cmd): Likewise.
27212         (host-test-program-cmd): Likewise.
27213         * Makefile ($(common-objpfx)testrun.sh): Replace
27214         $(run-program-prefix) with $(test-program-prefix).
27215         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27216         $(rtld-LDFLAGS).
27217         ($(common-objpfx)shlib.lds): Likewise.
27218         (build-module-helper): Likewise.
27219         ($(common-objpfx)format.lds): Likewise.
27220         * Rules (binaries-pie-tests): New.
27221         (binaries-pie-notests): Likewise.
27222         (binaries-pie): Rewritten.
27223         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27224         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27225         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27226         (make-test-out): Replace $(host-built-program-cmd) with
27227         $(host-test-program-cmd).
27228         * config.make.in (build-hardcoded-path-in-tests): New variable.
27229         * configure.in (--enable-hardcoded-path-in-tests): New configure
27230         option.
27231         (hardcoded_path_in_tests): New AC_SUBST.
27232         * configure: Regenerated.
27233         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27234         $(built-program-cmd) with $(test-program-cmd).
27235         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27236         (test_program_cmd): This.
27237         * elf/Makefile ($(objpfx)order.out): Run test with
27238         $(test-program-prefix).
27239         ($(objpfx)order2.out): Likewise.
27240         ($(objpfx)tst-initorder.out): Likewise.
27241         ($(objpfx)tst-initorder2.out): Likewise.
27242         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27243         $(test-program-cmd).
27244         ($(objpfx)tst-array1-static.out): Likewise.
27245         ($(objpfx)tst-array2.out): Likewise.
27246         ($(objpfx)tst-array3.out): Likewise.
27247         ($(objpfx)tst-array4.out): Likewise.
27248         ($(objpfx)tst-array5.out): Likewise.
27249         ($(objpfx)tst-array5-static.out): Likewise.
27250         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27251         $(test-program-cmd).
27252         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27253         $(run-program-prefix) with $(test-program-prefix).
27254         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27255         (test_program_prefix): This.
27256         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27257         $(run-program-prefix) with $(test-program-prefix).
27258         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27259         (test_program_prefix): This.
27260         * iconvdata/tst-tables.sh: Likewise.
27261         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27262         $(run-program-prefix) with $(test-program-prefix).
27263         ($(objpfx)tst-translit.out): Likewise.
27264         ($(objpfx)tst-gettext2.out): Likewise.
27265         ($(objpfx)tst-gettext4.out): Likewise.
27266         ($(objpfx)tst-gettext6.out): Likewise.
27267         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27268         (test_program_prefix): This.
27269         * intl/tst-gettext2.sh: Likewise.
27270         * intl/tst-gettext4.sh  Likewise.
27271         * intl/tst-gettext6.sh: Likewise.
27272         * intl/tst-translit.sh: Likewise.
27273         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27274         with $(test-program-cmd).
27275         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27276         $(run-program-prefix) with $(test-program-prefix).
27277         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27278         (test_program_prefix): This.
27279         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27280         $(run-program-prefix) with $(test-program-prefix).
27281         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27282         (test_program_prefix): This.
27283         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27284         * posix/Makefile ($(objpfx)globtest.out): Replace
27285         $(run-via-rtld-prefix) and $(test-wrapper) with
27286         $(test-program-prefix) and $(test-via-rtld-prefix).
27287         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27288         $(test-program-prefix).
27289         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27290         $(host-test-program-cmd).
27291         (tst-spawn-ARGS): Likewise.
27292         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27293         $(test-program-prefix).
27294         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27295         (test_via_rtld_prefix): This.
27296         (test_wrapper): Renamed to ...
27297         (test_program_prefix): This.
27298         (run_program_prefix): Replaced by test_program_prefix.
27299         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27300         (test_program_prefix): This.
27301         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27302         with $(host-test-program-cmd).
27303         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27304         $(run-program-prefix) with $(test-program-prefix).
27305         ($(objpfx)tst-printf.out): Likewise.
27306         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27307         $(test-program-cmd).
27308         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27309         (test_program_prefix): This.
27310         * stdio-common/tst-unbputc.sh: Likewise.
27311         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27312         $(run-program-prefix) with $(test-program-prefix).
27313         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27314         (test_program_prefix): This.
27315         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27316         $(built-program-cmd) with $(test-program-cmd).
27317
27318 2013-01-11  Andreas Jaeger  <aj@suse.de>
27319
27320         [BZ #15003]
27321         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27322         value. Sync with Linux 3.7.
27323
27324 2013-01-10  David S. Miller  <davem@davemloft.net>
27325
27326         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27327         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27328         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27329
27330 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27331
27332         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27333         never set.
27334         * configure: Regenerated.
27335
27336 2013-01-10  David S. Miller  <davem@davemloft.net>
27337
27338         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27339         sparc V9 rather than using V8 code.
27340         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27341         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27342
27343 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27344
27345         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27346         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27347         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27348         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27349         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27350         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27351         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27352         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27353         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27354         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27355         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27356         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27357         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27358         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27359         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27360         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27361         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27362         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27363         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27364         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27365         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27366         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27367         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27368         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27369         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27370         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27371         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27372
27373 2013-01-10  David S. Miller  <davem@davemloft.net>
27374
27375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27376
27377 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27378
27379         * posix/Makefile (tests-static): New variable.
27380         (tests): Add $(tests-static).
27381         (tst-exec-static-ARGS): New variable.
27382         (tst-spawn-static-ARGS): Likewise.
27383         * posix/tst-exec-static.c: New file.
27384         * posix/tst-spawn-static.c: Likewise.
27385         * posix/tst-exec.c: Support run directly.
27386         * posix/tst-spawn.c: Likewise.
27387
27388 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27389
27390         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27391         long.
27392         * math/bits/mathcalls.h (llrint): Likewise.
27393         (llround): Likewise.
27394         * stdlib/stdlib.h (struct drand48_data): Likewise.
27395         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27396         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27397         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27398         Likewise.
27399         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27400         Likewise.
27401         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27402         (elf_greg_t): Likewise.
27403         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27404         (__jmp_buf): Likewise.
27405         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27406         definitions.
27407         (llrint): Likewise, for all definitions.
27408         (llrintl): Likewise.
27409
27410         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27411         Remove [__GNUC__] condition.
27412         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27413         condition to just [__USE_ISOC99].
27414         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27415
27416 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27417
27418         [BZ #14200]
27419         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27420         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27421         defined.
27422         (_POSIX_V6_ILP32_OFF32): Likewise.
27423         (_XBS5_ILP32_OFF32): Likewise.
27424         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27425         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27426
27427 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27428
27429         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27430
27431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27432         doubles __mpexp_twomm1.  Adjust usage.
27433         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27434         Remove.
27435
27436 2013-01-10  Andreas Schwab  <schwab@suse.de>
27437
27438         [BZ #14964]
27439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27440         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27441
27442 2013-01-09  David S. Miller  <davem@davemloft.net>
27443
27444         [BZ #15003]
27445         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27446         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27447         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27448         (TCP_FASTOPEN): Define.
27449         (tcp_repair_opt): New structure.
27450         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27451         enum values.
27452         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27453         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27454         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27455         (tcp_cookie_transactions): New structure.
27456
27457 2013-01-09  Anton Blanchard  <anton@samba.org>
27458
27459         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27460         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27462         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27463
27464 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27465
27466         * include/features.h (__USE_ANSI): Remove.
27467
27468 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27469
27470         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27471
27472         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27473
27474 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27475
27476         * sysdeps/s390/fpu/libm-test-ulps: Update.
27477
27478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27479
27480         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27481         (__acr): Likewise.
27482         (__cpy): Likewise.
27483         (norm): Likewise.
27484         (denorm): Likewise.
27485         (__mp_dbl): Likewise.
27486         (__dbl_mp): Likewise.
27487         (add_magnitudes): Likewise.
27488         (sub_magnitudes): Likewise.
27489         (__add): Likewise.
27490         (__sub): Likewise.
27491         (__mul): Likewise.
27492         (__inv): Likewise.
27493         (__dvd): Likewise.
27494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27495         (__acr): Likewise.
27496         (__cpy): Likewise.
27497         (norm): Likewise.
27498         (denorm): Likewise.
27499         (__mp_dbl): Likewise.
27500         (__dbl_mp): Likewise.
27501         (add_magnitudes): Likewise.
27502         (sub_magnitudes): Likewise.
27503         (__add): Likewise.
27504         (__sub): Likewise.
27505         (__mul): Likewise.
27506         (__inv): Likewise.
27507         (__dvd): Likewise.
27508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27509         (__acr): Likewise.
27510         (__cpy): Likewise.
27511         (norm): Likewise.
27512         (denorm): Likewise.
27513         (__mp_dbl): Likewise.
27514         (__dbl_mp): Likewise.
27515         (add_magnitudes): Likewise.
27516         (sub_magnitudes): Likewise.
27517         (__add): Likewise.
27518         (__sub): Likewise.
27519         (__mul): Likewise.
27520         (__inv): Likewise.
27521         (__dvd): Likewise.
27522
27523 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27524
27525         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27526         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27527         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27528         2 && __USE_EXTERN_INLINES]: Likewise.
27529
27530 2013-01-08  Andreas Jaeger  <aj@suse.de>
27531
27532         [BZ# 14985]
27533         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27534         Remove.
27535         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27536         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27537
27538 2013-01-07  Anton Blanchard  <anton@samba.org>
27539
27540         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27541         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27542         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27543         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27544         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27545         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27546         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27547         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27549         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27550         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27551         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27553         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27554         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27555         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27556         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27558         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27559         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27560         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27561         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27563         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27564         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27565         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27566         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27567         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27569         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27570         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27572         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27574         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27576         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27577         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27578         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27579         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27580         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27581         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27582         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27583
27584 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27585
27586         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27587         (__MALLOC_PMT): Likewise.
27588         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27589         [__GNUC__], only on [_LIBC].
27590         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27591         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27592         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27593         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27594         forward declaration.
27595         (realloc_hook_ini): Likewise.
27596         (memalign_hook_ini): Likewise.
27597         (__libc_memalign): Do not use __MALLOC_PMT in variable
27598         declaration.
27599         (__libc_valloc): Likewise.
27600         (__libc_pvalloc): Likewise.
27601         (__libc_calloc): Likewise.
27602         (__posix_memalign): Likewise.
27603
27604         [BZ #14996]
27605         * math/s_casinh.c: Include <float.h>.
27606         (__casinh): Do not do computation with squaring and square root
27607         for large arguments.
27608         * math/s_casinhf.c: Include <float.h>.
27609         (__casinhf): Do not do computation with squaring and square root
27610         for large arguments.
27611         * math/s_casinhl.c: Include <float.h>.
27612         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27613         (__casinhl): Do not do computation with squaring and square root
27614         for large arguments.
27615         * math/libm-test.inc (casin_test): Add more tests.
27616         (casinh_test): Likewise.
27617         * sysdeps/i386/fpu/libm-test-ulps: Update.
27618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27619
27620 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27621
27622         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27623         (__x86_64_raw_data_cache_size): Likewise.
27624         (__x86_64_data_cache_size_half): Likewise.
27625         (__x86_64_raw_data_cache_size_half): Likewise.
27626         (__x86_64_shared_cache_size): Likewise.
27627         (__x86_64_raw_shared_cache_size): Likewise.
27628         (__x86_64_shared_cache_size_half): Likewise.
27629         (__x86_64_raw_shared_cache_size_half): Likewise.
27630         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27631         to ...
27632         (__x86_data_cache_size): This.
27633         (__x86_64_raw_data_cache_size): Renamed to ...
27634         (__x86_raw_data_cache_size): This.
27635         (__x86_64_data_cache_size_half): Renamed to ...
27636         (__x86_data_cache_size_half): This.
27637         (__x86_64_raw_data_cache_size_half): Renamed to ...
27638         (__x86_raw_data_cache_size_half): This.
27639         (__x86_64_shared_cache_size): Renamed to ...
27640         (__x86_shared_cache_size): This.
27641         (__x86_64_raw_shared_cache_size): Renamed to ...
27642         (__x86_raw_shared_cache_size): This.
27643         (__x86_64_shared_cache_size_half): Renamed to ...
27644         (__x86_shared_cache_size_half): This.
27645         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27646         (__x86_raw_shared_cache_size_half): This.
27647         * sysdeps/x86_64/memcpy.S: Updated.
27648         * sysdeps/x86_64/memset.S: Likewise.
27649         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27650         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27651         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27652
27653 2013-01-04  David S. Miller  <davem@davemloft.net>
27654
27655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27656
27657 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27658
27659         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27660         1 to avoid redefinition warning.
27661         (__USE_GNU): Don't define.
27662         (init_signaling_nan): Protoize.
27663
27664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27665
27666 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667
27668         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27670         (__cpymn): Likewise.
27671         (norm): Remove commented code.
27672         (denorm): Likewise.
27673         (__mp_dbl): Likewise.
27674         (__inv): Likewise.
27675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27676         (__cpymn): Likewise.
27677         (norm): Remove commented code.
27678         (denorm): Likewise.
27679         (__mp_dbl): Likewise.
27680         (__inv): Likewise.
27681
27682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27683         mp_no value for 1.0 and 2.0.
27684         (norm): Use RADIXI instead of radixi.d.
27685         (denorm): Likewise.
27686         (__mul): Use 0.0 instead of zero.d.
27687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27688         mp_no value for 1.0 and 2.0.
27689         (norm): Use RADIXI instead of radixi.d.
27690         (denorm): Likewise.
27691         (__mul): Use 0.0 instead of zero.d.
27692
27693 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27694
27695         [BZ #14994]
27696         * math/s_casinh.c (__casinh): Reduce finite argument to first
27697         quadrant then set signs of results at the end.
27698         * math/s_casinhf.c (__casinhf): Likewise.
27699         * math/s_casinhl.c (__casinhl): Likewise.
27700         * math/libm-test.inc (casin_test): Add more tests.
27701         (casinh_test): Likewise.
27702         * sysdeps/i386/fpu/libm-test-ulps: Update.
27703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27704
27705 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27706
27707         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27708
27709         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27710
27711         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27712         declarations.
27713         (denorm): Likewise.
27714         (__mp_dbl): Likewise.
27715         (__inv): Likewise.
27716
27717         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27718         and adjust the header comment.
27719
27720         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27721         variable name from declaration.
27722
27723 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27724
27725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27726         Initialize COMMON_CPUID_INDEX_7 element.
27727         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27728         (CPUID_RTM): Likewise.
27729         (HAS_RTM): Likewise.
27730         (COMMON_CPUID_INDEX_7): New enum.
27731
27732 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27733
27734         [BZ #14981]
27735         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27736         size is zero, record memory as freed.
27737
27738 2013-01-03  Andreas Jaeger  <aj@suse.de>
27739
27740         * po/ia.po: Add new Interlingua translation.
27741
27742 2012-01-03  Allan McRae  <allan@archlinux.org>
27743
27744         * locale/programs/localedef.c: Fix description of '--posix' flag.
27745
27746 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27747
27748         * NEWS: Update dates in second copyright notice.
27749         * README: Update copyright dates in example.
27750         * manual/libc.texinfo: Update copyright dates.
27751         * scripts/test-installation.pl: Update copyright date in --version
27752         output.
27753
27754         * hurd/ctty-input.c: Fix copyright notice formatting.
27755         * hurd/ctty-output.c: Likewise.
27756         * hurd/dtable.c: Likewise.
27757         * hurd/hurd-raise.c: Likewise.
27758         * hurd/hurdprio.c: Likewise.
27759         * hurd/msgportdemux.c: Likewise.
27760         * misc/sys/file.h: Likewise.
27761         * misc/sys/ioctl.h: Likewise.
27762         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27763         * sysdeps/mach/hurd/chdir.c: Likewise.
27764         * sysdeps/mach/hurd/fchdir.c: Likewise.
27765         * sysdeps/mach/hurd/rename.c: Likewise.
27766         * sysdeps/mach/hurd/rmdir.c: Likewise.
27767         * sysdeps/mach/hurd/seekdir.c: Likewise.
27768         * sysdeps/mach/hurd/setsid.c: Likewise.
27769         * sysdeps/posix/wait3.c: Likewise.
27770
27771         * All files with FSF copyright notices: Update copyright dates
27772         using scripts/update-copyrights.
27773         * intl/plural.c: Regenerated.
27774         * locale/programs/charmap-kw.h: Likewise.
27775         * locale/programs/locfile-kw.h: Likewise.
27776
27777 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27778
27779         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27780         four values.
27781
27782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27783         calculation loop and add branch prediction.
27784
27785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27786         check access beyond bounds of m1np.
27787
27788         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27789         MPTWO.
27790         (__inv): Remove local variable MPTWO to use the global
27791         constant.
27792         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27793         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27794         variable MPTWO.
27795         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27796         MP3HALFS static const.
27797
27798 2013-01-01  David S. Miller  <davem@davemloft.net>
27799
27800         * po/ca.po: Update from translation team.
27801
27802 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27803
27804         * scripts/update-copyrights: New file.
27805         * Makeconfig: Reformat copyright notice.
27806         * ctype/ctype.h: Likewise.
27807         * debug/swprintf_chk.c: Likewise.
27808         * elf/dl-cache.c: Likewise.
27809         * elf/dl-debug.c: Likewise.
27810         * elf/dl-object.c: Likewise.
27811         * grp/initgroups.c: Likewise.
27812         * hurd/Makefile: Likewise.
27813         * hurd/hurd/signal.h: Likewise.
27814         * hurd/hurdfault.c: Likewise.
27815         * hurd/hurdioctl.c: Likewise.
27816         * hurd/hurdlookup.c: Likewise.
27817         * hurd/intr-msg.c: Likewise.
27818         * iconv/gconv_open.c: Likewise.
27819         * libio/swprintf.c: Likewise.
27820         * locale/lc-ctype.c: Likewise.
27821         * locale/nl_langinfo.c: Likewise.
27822         * mach/Machrules: Likewise.
27823         * mach/Makefile: Likewise.
27824         * malloc/obstack.h: Likewise.
27825         * manual/Makefile: Likewise.
27826         * manual/tsort.awk: Likewise.
27827         * misc/bits/stab.def: Likewise.
27828         * nis/nis_print_group_entry.c: Likewise.
27829         * nis/nis_table.c: Likewise.
27830         * nis/nss_compat/compat-pwd.c: Likewise.
27831         * nis/nss_compat/compat-spwd.c: Likewise.
27832         * po/Makefile: Likewise.
27833         * posix/fnmatch.c: Likewise.
27834         * posix/regex.h: Likewise.
27835         * resolv/Makefile: Likewise.
27836         * resolv/nss_dns/dns-network.c: Likewise.
27837         * resolv/res_hconf.c: Likewise.
27838         * scripts/gen-sorted.awk: Likewise.
27839         * soft-fp/soft-fp.h: Likewise.
27840         * stdio-common/printf.h: Likewise.
27841         * stdlib/monetary.h: Likewise.
27842         * stdlib/random.c: Likewise.
27843         * stdlib/random_r.c: Likewise.
27844         * sysdeps/generic/Makefile: Likewise.
27845         * sysdeps/gnu/Makefile: Likewise.
27846         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27847         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27848         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27850         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27851         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27852         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27854         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27855         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27856         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27857         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27858         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27859         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27860         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27861         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27862         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27863         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27864         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27865         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27866         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27867         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27868         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27870         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27872         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27873         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27874         * sysdeps/mach/hurd/errnos.awk: Likewise.
27875         * sysdeps/mach/hurd/fork.c: Likewise.
27876         * sysdeps/mach/hurd/getcwd.c: Likewise.
27877         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27878         * sysdeps/mach/hurd/mmap.c: Likewise.
27879         * sysdeps/mach/hurd/utimes.c: Likewise.
27880         * sysdeps/mach/hurd/xmknod.c: Likewise.
27881         * sysdeps/posix/profil.c: Likewise.
27882         * sysdeps/posix/readdir_r.c: Likewise.
27883         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27884         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27885         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27886         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27889         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27890         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27892         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27893         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27894         * sysdeps/pthread/lio_listio.c: Likewise.
27895         * sysdeps/sparc/dl-procinfo.h: Likewise.
27896         * sysdeps/unix/i386/sysdep.S: Likewise.
27897         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27898         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27899         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27900         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27902         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27903         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27904         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27905         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27906         * sysdeps/wordsize-32/divdi3.c: Likewise.
27907         * time/sys/time.h: Likewise.
27908         * wcsmbs/Makefile: Likewise.
27909
27910 2013-01-01  David S. Miller  <davem@davemloft.net>
27911
27912         * po/fr.po: Update from translation team.
27913
27914         * catgets/gencat.c: Update copyright year.
27915         * csu/version.c: Likewise.
27916         * debug/catchsegv.sh: Likewise.
27917         * debug/pcprofiledump.c: Likewise.
27918         * debug/xtrace.sh: Likewise.
27919         * elf/ldconfig.c: Likewise.
27920         * elf/ldd.bash.in: Likewise.
27921         * elf/pldd.c: Likewise.
27922         * elf/sotruss.ksh: Likewise.
27923         * elf/sprof.c: Likewise.
27924         * iconv/iconv_prog.c: Likewise.
27925         * iconv/iconvconfig.c: Likewise.
27926         * locale/programs/locale.c: Likewise.
27927         * locale/programs/localedef.c: Likewise.
27928         * login/programs/pt_chown.c: Likewise.
27929         * malloc/memusage.sh: Likewise.
27930         * malloc/memusagestat.c: Likewise.
27931         * malloc/mtrace.pl: Likewise.
27932         * nscd/nscd.c: Likewise.
27933         * nss/getent.c: Likewise.
27934         * nss/makedb.c: Likewise.
27935         * posix/getconf.c: Likewise.
27936
27937 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27938
27939         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27940         numbers.
27941
27942 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27943
27944         * math/bits/mathcalls.h (modf): Use __nonnull.
27945
27946 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27947
27948         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27949         (split): Use macro CN instead of the bare value.
27950         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27951         could be used.
27952         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27953         instead of the bare value.
27954         (power1): Likewise.
27955
27956 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27957
27958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27959         __ATAN_TWOM.
27960         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27961
27962         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27963         their values.
27964         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27965         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27966         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27967         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27968
27969 2012-12-28  Andreas Jaeger  <aj@suse.de>
27970
27971         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27972         values are from Linux 3.7.
27973
27974         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27975         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27976
27977 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27978
27979         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27980         TRUE case.
27981
27982         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27983         (norm): Likewise.
27984         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27985         variables with preprocessor constants.
27986         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27987         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27988         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27989
27990 2012-12-27  Bruno Haible  <bruno@clisp.org>
27991
27992         [BZ #14317]
27993         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27994         only if needed.
27995
27996 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27997
27998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27999         and use variable directly.
28000         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28001
28002         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28003         MPONE.
28004         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28005         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28006         variable MPONE.
28007         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28009         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28010         include directive.  Remove local variable MPONE.
28011         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28012         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28014
28015 2012-12-25  David S. Miller  <davem@davemloft.net>
28016
28017         * version.h (RELEASE): Set to "development".
28018         (VERSION): Set to "2.17.90".
28019         * NEWS: Add 2.18 section.
28020
28021 2012-12-21  David S. Miller  <davem@davemloft.net>
28022
28023         * po/hr.po: Update from translation team.
28024
28025 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28026
28027         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28028
28029 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28030
28031         * NEWS:  Mention new memcpy for MIPS.
28032
28033 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28034
28035         * manual/contrib.texi (Contributors): Spelling correction.
28036
28037 2012-12-15  David S. Miller  <davem@davemloft.net>
28038
28039         * po/ru.po: Update from translation team.
28040
28041 2012-12-13  David S. Miller  <davem@davemloft.net>
28042
28043         * NEWS: Mention IFUNC testsuite enhancements.
28044
28045         * po/pl.po: Update from translation team.
28046         * po/bg.po: Likewise.
28047
28048         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28049         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28050
28051 2012-12-11  David S. Miller  <davem@davemloft.net>
28052
28053         * po/sv.po: Update from translation team.
28054
28055         * po/vi.po: Update from translation team.
28056
28057         * po/cs.po: Update from translation team.
28058
28059         * po/de.po: Update from translation team.
28060         * po/eo.po: Likewise.
28061         * po/nl.po: Likewise.
28062
28063 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28064
28065         [BZ #14246]
28066         * manual/argp.texi (Argp Helper Functions): Move node to follow
28067         Argp Parsing State.
28068
28069         [BZ #14872]
28070         * manual/conf.texi (Limits on File System Capacity): Mention if
28071         terminating null is included in the max size.
28072
28073 2012-12-10  Andreas Jaeger  <aj@suse.de>
28074
28075         * po/cs.po: Update from translation team.
28076
28077 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28078
28079         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28080         void pointer and cast to uintptr_t.
28081         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28082         path.
28083         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28084         * sysdeps/s390/s390-64/memset.S: Likewise.
28085
28086 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28087
28088         [BZ #14833]
28089         * menual/message.texi (Message Translation): Fix typos.
28090         (Helper programs for gettext): Likewise.
28091
28092 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28093
28094         [BZ #14898]
28095         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28096         Change to -1.
28097
28098 2012-12-07  David S. Miller  <davem@davemloft.net>
28099
28100         * po/libc.pot: Update.
28101
28102 2012-12-07  Richard Henderson  <rth@redhat.com>
28103
28104         [BZ #10114]
28105         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28106         normal/normal case to before the switch.
28107         (_FP_DIV): Likewise.
28108
28109 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28110             Mike Frysinger  <vapier@gentoo.org>
28111
28112         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28113         check for __NR_fadvise64_64.
28114
28115 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28116
28117         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28118         0, not just to plain "0" as a statement.
28119         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28120         with cw.
28121
28122 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28123
28124         * NEWS: Use sourceware.org in Bugzilla URL.
28125
28126 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28127
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28129         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28130
28131         * stdio-common/tst-put-error.c (do_test): Add newline to the
28132         padded test to ensure flush.
28133
28134 2012-12-05  Jeff Law  <law@redhat.com>
28135
28136         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28137
28138 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28139
28140         * README: Don't refer to ports add-on as distributed separately.
28141         Mention AArch64 in list of systems supported in the ports add-on.
28142
28143         * LICENSES: Add more non-FSF copyright and license notices.
28144
28145         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28146         ((unused)).
28147
28148         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28149
28150         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28151         10000 as width of padded output.
28152
28153 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28154
28155         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28156
28157         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28158         variable LX with __attribute__ ((unused)).
28159         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28160         Likewise.
28161         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28162         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28163         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28164         with __attribute__ ((unused)).
28165
28166 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28167
28168         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28169
28170 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28171
28172         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28173         (CFLAGS-nldbl-acos.c): New variable.
28174         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28175         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28176         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28177         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28178         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28179         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28180         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28181         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28182         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28183         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28184         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28185         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28186         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28187         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28188         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28189         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28190         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28191         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28192         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28193         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28194         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28195         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28196         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28197         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28198         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28199         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28200         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28201         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28202         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28203         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28204         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28205         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28206         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28207         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28208         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28209         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28210         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28211         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28212         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28213         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28214         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28215         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28216         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28217         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28218         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28219         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28220         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28221         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28222         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28223         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28224         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28225         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28226         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28227         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28228         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28229         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28230         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28231         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28232         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28233         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28234         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28235         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28236         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28237         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28238         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28239         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28240         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28241         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28242         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28243         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28244         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28245         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28246         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28247         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28248         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28249         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28250         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28251         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28252         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28253         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28254         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28255         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28256         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28257         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28258         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28259         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28260         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28261         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28262         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28263         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28264         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28265         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28266         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28267         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28268         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28269         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28270         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28271
28272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28273         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28274
28275         [BZ #14914]
28276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28277         whole low double instead of just low 47 bits when splitting values
28278         into two parts.
28279
28280 2012-12-03  Allan McRae  <allan@archlinux.org>
28281
28282         * manual/stdio.texi (Predefined Printf Handlers): Remove
28283         @hsep and @vsep usage.
28284
28285 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28286
28287         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28288         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28289
28290 2012-12-03  Jeff Law  <law@redhat.com>
28291
28292         * time/sys/time.h (settimeofday): Do not mark TV argument
28293         as __nonnull.
28294
28295 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28296
28297         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28298         when currently writing and seek to current position when not.
28299         * libio/Makefile (tests): Remove bug-fclose1.
28300         * libio/bug-fclose1.c: Delete.
28301
28302 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28303
28304         * manual/arith.texi (feenableexcept): Fix typo.
28305         (fedisableexcept): Likewise.
28306
28307 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28308
28309         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28310         second, differently-typed declaration, rather than a cast.
28311
28312 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28313
28314         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28315         * include/rpc/svc.h: ... here.
28316
28317 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28318
28319         [BZ #13013]
28320         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28321         depending n and resplen2 to catch cases where answer
28322         equals answerp2.
28323
28324 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28325
28326         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28327         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28328
28329 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28330
28331         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28332
28333 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28334
28335         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28336
28337 2012-11-28  Jeff Law  <law@redhat.com>
28338
28339         [BZ #13761]
28340         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28341         dataset_temporary.  Track alloca usage into alloca_used.
28342         If dataset is large allocate and release it via malloc/free.
28343
28344 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28345
28346         [BZ #14197]
28347         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28348
28349 2012-11-28  David S. Miller  <davem@davemloft.net>
28350
28351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28352
28353 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28354
28355         [BZ #14803]
28356         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28357         of pi/2 rounded to nearest to 64 bits.
28358         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28359         nearest to 64 bits.
28360         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28361         bits.
28362
28363 2012-11-28  Jeff Law <law@redhat.com>
28364             Martin Osvald <mosvald@redhat.com>
28365
28366         [BZ #14889]
28367         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28368         * sunrpc/svc.c: Include time.h.
28369         (__svc_accept_failed): New function.
28370         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28371         any reason other than EINTR, call __svc_accept_failed.
28372         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28373         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28374
28375 2012-11-28  Andreas Schwab  <schwab@suse.de>
28376
28377         * scripts/abilist.awk: Also handle indirect functions in .opd
28378         section.
28379
28380 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28381
28382         [BZ #13881]
28383         * sysdeps/x86/fpu/powl_helper.c: New file.
28384         * sysdeps/x86/fpu/Makefile: Likewise.
28385         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28386         (p3): New object.
28387         (__ieee754_powl): Use __powl_helper for finite arguments except
28388         integer exponents below 8.
28389         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28390         (p3): New object.
28391         (__ieee754_powl): Use __powl_helper for finite arguments except
28392         integer exponents below 8.
28393         * math/libm-test.inc (pow_test): Add more tests and enable some
28394         previously disabled tests.
28395         * sysdeps/i386/fpu/libm-test-ulps: Update.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397
28398 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28399             Carlos O'Donell  <carlos_odonell@mentor.com>
28400
28401         * nss/makedb.c (is_prime): Assert that input is odd and greater
28402         than 4.  Note that fact in a comment too.
28403         (next_prime): Add 4 to input.
28404
28405 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28406
28407         [BZ #11741]
28408         * libio/Makefile (tests): Add test case tst-fwrite-error.
28409         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28410         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28411         * libio/tst-fwrite-error.c: New test case.
28412
28413 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28414
28415         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28416         before casting to void *.
28417         * include/libc-internal.h (__pointer_type): New macro.
28418         (__integer_if_pointer_type_sub): Likewise.
28419         (__integer_if_pointer_type): Likewise.
28420         (cast_to_integer): Likewise.
28421         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28422         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28423         before casting to atomic64_t.
28424         (atomic_exchange_acq): Likewise.
28425         (__arch_exchange_and_add_body): Likewise.
28426         (__arch_add_body): Likewise.
28427         (atomic_add_negative): Likewise.
28428         (atomic_add_zero): Likewise.
28429
28430 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28431
28432         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28433         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28434         (add_fdes): Likewise.
28435         (linear_search_fdes): Likewise.
28436         (binary_search_unencoded_fdes): Likewise.
28437
28438 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28439
28440         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28441
28442 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28443
28444         * configure.in: Autodetect C++ header directories.
28445         * configure: Regenerated.
28446
28447 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28448
28449         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28450
28451 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28452
28453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28454
28455 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28456
28457         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28458         LDBL_MANT_DIG == 106]: Disable some tests.
28459         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28460         Likewise.
28461         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28462         Likewise.
28463
28464         [BZ #14871]
28465         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28466         input for small inputs.  Return +/- pi/2 for large inputs.
28467         * math/libm-test.inc (atan_test): Add more tests.
28468
28469         * sysdeps/generic/unwind-dw2-fde-glibc.c
28470         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28471         __attribute__ ((unused)).
28472
28473         [BZ #14645]
28474         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28475         x * y if x and y are nonzero and z is zero.
28476
28477         [BZ #14811]
28478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28479         nonzero exponents with absolute value below 0x1p-117 to +/-
28480         0x1p-117.
28481
28482         [BZ #14869]
28483         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28484         up arguments below 2**-450, not just those below 2**-500.
28485         * math/libm-test.inc (hypot_test): Add another test.
28486
28487         [BZ #14868]
28488         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28489         Return a+b for ratio over 2**120, not 2**60.
28490         * math/libm-test.inc (hypot_test): Add another test.
28491
28492         * math/libm-test.inc (clog_test): Use
28493         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28494         (clog10_test): Likewise.
28495
28496         [BZ #6778]
28497         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28498
28499 2012-11-22  Andreas Schwab  <schwab@suse.de>
28500
28501         * sysdeps/i386/fpu/libm-test-ulps: Update.
28502
28503 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28504
28505         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28506         printf output with newline.
28507
28508 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28509
28510         [BZ #14865]
28511         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28512         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28513         -z nodlopen, -z initfirst and -z execstack support.
28514         * configure: Regenerated.
28515
28516         * elf/elf.h (DF_1_NODIRECT): New macro.
28517         (DF_1_IGNMULDEF): Likewise.
28518         (DF_1_NOKSYMS): Likewise.
28519         (DF_1_NOHDR): Likewise.
28520         (DF_1_EDITED): Likewise.
28521         (DF_1_NORELOC): Likewise.
28522         (DF_1_SYMINTPOSE): Likewise.
28523         (DF_1_GLOBAUDIT): Likewise.
28524         (DF_1_SINGLETON): Likewise.
28525         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28526         DT_1_SUPPORTED_MASK bits.
28527         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28528
28529 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28530
28531         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28532
28533 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28534
28535         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28536         macro.
28537
28538         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28539         (sendmmsg): Move declarations...
28540         * socket/sys/socket.h: ... here.
28541         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28542         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28543         include it from...
28544         * socket/recvmmsg.c: ... this new file.
28545         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28546         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28547         definition of __sendmmsg hidden.
28548         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28549         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28550         Move ENOSYS stub into and include it from...
28551         * socket/sendmmsg.c: ... this new file.
28552         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28553         (sysdep_routines): Move recvmmsg and sendmmsg...
28554         * socket/Makefile (routines): ... here.
28555         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28556         (GLIBC_PRIVATE): Add __sendmmsg.
28557         * include/sys/socket.h (__sendmmsg): Add declarations.
28558         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28559         sendmmsg.
28560
28561 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28562
28563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28564         variable I1 with __attribute__ ((unused)).
28565         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28566
28567 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28568
28569         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28570         DUMMY variables with __attribute__ ((unused)).
28571
28572         * bits/byteswap.h: Include <bits/types.h>.
28573         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28574
28575 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28576
28577         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28578         string_t.  Do not manually set errno.
28579         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28580         length with __strnlen.  Make sure to both set errno and return it on
28581         failure.
28582
28583 2012-11-19  David S. Miller  <davem@davemloft.net>
28584
28585         With help from Joseph Myers.
28586         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28587         very large arguments properly.
28588         * math/libm-test.inc (atan_test): New tests.
28589         (atan2_test): New tests.
28590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28592
28593 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28594
28595         [BZ #14856]
28596         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28597         Define to 3.
28598
28599         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28600         [POSIX] (EADDRNOTAVAIL): Likewise.
28601         [POSIX] (EAFNOSUPPORT): Likewise.
28602         [POSIX] (EALREADY): Likewise.
28603         [POSIX] (ECONNABORTED): Likewise.
28604         [POSIX] (ECONNREFUSED): Likewise.
28605         [POSIX] (ECONNRESET): Likewise.
28606         [POSIX] (EDESTADDRREQ): Likewise.
28607         [POSIX] (EDQUOT): Likewise.
28608         [POSIX] (EHOSTUNREACH): Likewise.
28609         [POSIX] (EIDRM): Likewise.
28610         [POSIX] (EISCONN): Likewise.
28611         [POSIX] (ELOOP): Likewise.
28612         [POSIX] (EMULTIHOP): Likewise.
28613         [POSIX] (ENETDOWN): Likewise.
28614         [POSIX] (ENETUNREACH): Likewise.
28615         [POSIX] (ENOBUFS): Likewise.
28616         [POSIX] (ENODATA): Likewise.
28617         [POSIX] (ENOLINK): Likewise.
28618         [POSIX] (ENOMSG): Likewise.
28619         [POSIX] (ENOPROTOOPT): Likewise.
28620         [POSIX] (ENOSR): Likewise.
28621         [POSIX] (ENOSTR): Likewise.
28622         [POSIX] (ENOTCONN): Likewise.
28623         [POSIX] (ENOTSOCK): Likewise.
28624         [POSIX] (EOPNOTSUPP): Likewise.
28625         [POSIX] (EOVERFLOW): Likewise.
28626         [POSIX] (EPROTO): Likewise.
28627         [POSIX] (EPROTONOSUPPORT): Likewise.
28628         [POSIX] (EPROTOTYPE): Likewise.
28629         [POSIX] (ESTALE): Likewise.
28630         [POSIX] (ETIME): Likewise.
28631         [POSIX] (ETXTBSY): Likewise.
28632         [POSIX] (EWOULDBLOCK): Likewise.
28633         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28634         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28635         [POSIX] (SEEK_CUR): Likewise.
28636         [POSIX] (SEEK_END): Likewise.
28637         [POSIX || UNIX98] (mode_t): Do not require.
28638         [POSIX] (off_t): Likewise.
28639         [POSIX] (pid_t): Likewise.
28640         [POSIX] (sys/stat.h): Do not allow header.
28641         [POSIX] (unistd.h): Likewise.
28642         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28643         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28644         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28645         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28646         require.
28647         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28648         sigevent): Specify elements.
28649         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28650         entry.
28651         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28652         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28653
28654         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28655         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28656         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28657         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28658         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28659         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28660         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28661         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28662         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28663         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28664         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28665         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28666         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28667         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28668         Likewise.
28669         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28670         Likewise.
28671         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28672         Likewise.
28673         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28674         Likewise.
28675         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28676         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28677         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28678         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28679         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28680         Specify lower bound on value.
28681         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28682         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28683         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28684         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28685         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28686         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28687         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28688         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28689         value.
28690         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28691         as optional.
28692         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28693         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28694         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28695         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28696         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28697         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28698         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28699         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28700         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28701         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28702         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28703         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28704         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28705         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28706         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28707         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28708         entry.
28709         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28710         optional.
28711         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28712         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28713         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28714         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28715         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28716         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28717         Likewise.
28718         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28719         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28720         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28721         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28722         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28723         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28724         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28725         as optional.
28726         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28727         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28728         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28729         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28730         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28731         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28732         specify as optional.
28733         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28734         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28735         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28736         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28737         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28738         [XPG3] (NL_LANGMAX): Likewise.
28739         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28740         [POSIX || XPG3] (NL_NMAX): Likewise.
28741         [POSIX || XPG3] (NL_SETMAX): Likewise.
28742         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28743         [XPG3] (NZERO): Likewise.
28744         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28745         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28746         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28747         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28748         (REG_ERANGE): Expect.
28749         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28750         optional-constant.
28751         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28752         Use (void) in prototype.
28753         [POSIX] (*_t): Allow.
28754         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28755         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28756         (WRDE_BADVAL): Expect.
28757
28758         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28759         expect.
28760         [XPG3 || XPG4] (O_RSYNC): Likewise.
28761         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28762         Likewise.
28763         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28764         [XPG3 || XPG4] (sigqueue): Likewise.
28765         [XPG3 || XPG4] (sigtimedwait): Likewise.
28766         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28767         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28768         [XPG3 || XPG4] (vsnprintf): Likewise.
28769         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28770         Likewise.
28771         [XPG3 || XPG4] (blksize_t): Likewise.
28772         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28773         Likewise.
28774         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28775         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28776         [XPG3 || XPG4] (struct itimerspec): Likewise.
28777         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28778         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28779         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28780         [XPG3 || XPG4] (clockid_t): Likewise.
28781         [XPG3 || XPG4] (timer_t): Likewise.
28782         [XPG3 || XPG4] (clock_getres): Likewise.
28783         [XPG3 || XPG4] (clock_gettime): Likewise.
28784         [XPG3 || XPG4] (clock_settime): Likewise.
28785         [XPG3 || XPG4] (nanosleep): Likewise.
28786         [XPG3 || XPG4] (timer_create): Likewise.
28787         [XPG3 || XPG4] (timer_delete): Likewise.
28788         [XPG3 || XPG4] (timer_gettime): Likewise.
28789         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28790         [XPG3 || XPG4] (timer_settime): Likewise.
28791         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28792         [XPG3 || XPG4] (getlogin_r): Likewise.
28793         [XPG3 || XPG4] (pread): Likewise.
28794         [XPG3 || XPG4] (pthread_atfork): Likewise.
28795         [XPG3 || XPG4] (pwrite): Likewise.
28796
28797         [BZ #14835]
28798         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28799         <bits/siginfo.h>.
28800
28801 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28802
28803         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28804         finalizing MALLSTREAM.
28805
28806         * sysdeps/mach/hurd/syncfs.c: New file.
28807
28808 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809
28810         [BZ #14719]
28811         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28812         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28814         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28815         (_nss_dns_gethostbyname4_r): Likewise.
28816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28817         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28818
28819 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28820
28821         [BZ #13763]
28822         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28823
28824 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28825
28826         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28827         * elf/cache.c (print_entry): Print ",AArch64" for
28828         FLAG_AARCH64_LIB64
28829
28830         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28831         * elf/cache.c (print_entry): Print ",hard-float" for
28832         FLAG_ARM_LIBHF.
28833
28834 2012-11-18  David S. Miller  <davem@davemloft.net>
28835
28836         With help from Joseph Myers.
28837         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28838         cutoff to 2**-13.
28839         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28840         cutoff to 2**-25.
28841         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28842         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28843         small.
28844         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28845         * math/libm-test.inc (y0_test): New tests.
28846         (y1_test): New tests.
28847         * sysdeps/i386/fpu/libm-test-ulps: Update.
28848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28850
28851 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28852
28853         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28854         64-bit targets.
28855         * configure: Regenerated.
28856
28857 2012-11-17  David S. Miller  <davem@davemloft.net>
28858
28859         [BZ #14811]
28860         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28861         nonzero exponents with absolute value below 0x1p-128 to +/-
28862         0x1p-128.
28863
28864 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28865
28866         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28867
28868         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28869
28870         * posix/getconf-speclist.c: New file.
28871         * posix/posix-envs.def: Likewise.
28872         * posix/confstr.c (START_ENV_GROUP): New macro.
28873         (END_ENV_GROUP): Likewise.
28874         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28875         (KNOWN_PRESENT_ENV_STRING): Likewise.
28876         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28877         (UNKNOWN_ENVIRONMENT): Likewise.
28878         (confstr): Include posix-envs.def instead of handling
28879         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28880         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28881         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28882         (END_ENV_GROUP): Likewise.
28883         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28884         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28885         (UNKNOWN_ENVIRONMENT): Likewise.
28886         (__sysconf): Include posix-envs.def instead of handling associated
28887         cases directly here.
28888         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28889         preprocessing getconf-speclist.c rather than running getconf or
28890         generating empty file.
28891
28892 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28893
28894         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28895
28896 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28897
28898         [BZ #14672]
28899         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28900
28901 2012-11-16  David S. Miller  <davem@davemloft.net>
28902
28903         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28904         smaller than LDBL_EPSILON/2.0L, just return xm1.
28905
28906 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28907
28908         * elf/tst-array1.c (init): Set constructor priority to 1000.
28909         (fini): Set destructor priority to 1000.
28910         * elf/tst-array2dep.c: Likewise.
28911
28912 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28913
28914         [BZ #11741]
28915         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28916         (_IO_new_file_xsputn): Also return EOF if none of the input
28917         data was written when overflow failed.
28918         * libio/iopadn.c (_IO_padn): Likewise.
28919         * libio/iowpadn.c (_IO_wpadn): Likewise.
28920         * stdio-common/tst-put-error.c: Add copyright notice.
28921         (do_test): Add case for printing padded string.
28922         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28923         _IO_padn returned error.
28924         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28925         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28926         return EOF.
28927
28928 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28929
28930         * libio/libioP.h: Add comment note that the references to C++
28931         bits are now obsolete.
28932
28933 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28934
28935         * math/libm-test.inc (check_complex): Use asprintf.
28936
28937 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28938
28939         * debug/pcprofiledump.c (print_version): Update copyright year.
28940         * malloc/memusagestat.c (print_version): Likewise.
28941
28942 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28943
28944         [BZ #14831]
28945         * elf/Makefile (tests): Add tst-audit8.
28946         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28947         ($(objpfx)tst-audit8.out): New target.
28948         (tst-audit8-ENV): New variable.
28949         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28950         audit if l_reloc_result is NULL.
28951         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28952         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28953         * elf/tst-audit8.c: New file.
28954
28955 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28956
28957         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28958         * misc/Makefile (CFLAGS-select.c): Define.
28959         * posix/Makefile (CFLAGS-pause.c): Define.
28960
28961 2012-11-13  David S. Miller  <davem@davemloft.net>
28962
28963         * crypt/Makefile: Move test targets after toplevel Rules
28964         inclusion.  Grab any necessary sysdep routines when linking.
28965         * crypt/md5.c (md5_process_block): Remove define, we will always
28966         name it __md5_process_block.
28967         (md5_finish_ctx): Update md5_process_block call.
28968         (md5_stream): Likewise.
28969         (md5_process_bytes): Likewise.
28970         (md5_process_block): Rename to __md5_process_block and move to ...
28971         * crypt/md5-block.c: ... here.
28972         * crypt/sha256.c (sha256_process_block): Move to ...
28973         * crypt/sha256-block.c: ... here.
28974         * crypt/sha512.c (sha512_process_block): Move to ...
28975         * crypt/sha512-block.c: ... here.
28976         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28977         path.
28978         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28979         * sysdeps/sparc/sparc64/multiarch/Makefile
28980         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28981         crypt subdir.
28982         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28983         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28984         multiarch changes.
28985         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28986         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28987         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28988         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28989         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28990         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28991         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28992         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28994         file.
28995         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28996         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28997         file.
28998         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28999
29000 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29001
29002         * timezone/tzselect.ksh: Update from tzcode git revision
29003         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29004         * timezone/zdump.c: Likewise.
29005         * timezone/zic.c: Likewise.
29006         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29007         in TZVERSION setting, not $(PKGVERSION).
29008         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29009         REPORT_BUGS_TO settings.
29010
29011         [BZ #14838]
29012         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29013         macro.
29014
29015 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29016
29017         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29018         detection to immediately after _FP_ROUND().
29019         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29020         bits are 0.
29021
29022 2012-11-11  David S. Miller  <davem@davemloft.net>
29023
29024         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29025         inttypes.h
29026         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29027         __close rather than their public counterparts.
29028
29029 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29030
29031         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29032         file.
29033         [UNIX98] (sem_timedwait): Do not expect.
29034         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29035         [XPG4 || UNIX98] (sockatmark): Do not expect.
29036         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29037         (clock_getcpuclockid): Do not expect.
29038         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29039         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29040         Do not expect.
29041         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29042         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29043         [UNIX98] (vwscanf): Likewise.
29044         [UNIX98] (vswscanf): Likewise.
29045
29046 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29047
29048         * timezone/version.h: Remove file.
29049         * timezone/README: Do not refer to version.h.
29050         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29051         $(objpfx)version.h.
29052         ($(objpfx)zdump.o): Likewise.
29053         ($(objpfx)version.h): New target.
29054
29055         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29056         2012i.
29057         * timezone/README: Don't mention modification to tzselect.ksh.
29058         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29059         work on unmodified tzselect.ksh.  Substitute version numbers in
29060         tzselect.ksh.
29061
29062         * Makefile (format-me): Remove.
29063         (INSTALL): Adjust indentation.  Use commands directly instead of
29064         using $(format-me).
29065
29066         * aclocal.m4 (ACX_PKGVERSION): New macro.
29067         (ACX_BUGURL): Likewise.
29068         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29069         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29070         (REPORT_BUGS_TO): Likewise.
29071         * configure: Regenerated.
29072         * config.h.in (PKGVERSION): New macro.
29073         (REPORT_BUGS_TO): Likewise.
29074         * config.make.in (PKGVERSION): New variable.
29075         (PKGVERSION_TEXI): Likewise.
29076         (REPORT_BUGS_TO): Likewise.
29077         (REPORT_BUGS_TEXI): Likewise.
29078         * Makefile (format-me): Use -I$(common-objpfx)manual.
29079         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29080         ($(common-objpfx)manual/%): New target.
29081         (manual/%): Remove target.
29082         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29083         (print_version): Use PKGVERSION.
29084         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29085         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29086         and REPORT_BUGS_TO.
29087         ($(objpfx)xtrace): Likewise.
29088         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29089         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29090         (print_version): Use PKGVERSION.
29091         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29092         (do_version): Use PKGVERSION.
29093         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29094         REPORT_BUGS_TO.
29095         (common-ldd-rewrite): Likewise.
29096         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29097         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29098         (print_version): Use PKGVERSION.
29099         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29100         * elf/pldd.c (argp_program_bug_address): Remove variable.
29101         (more_help): New function.
29102         (argp): Use more_help.
29103         (print_version): Use PKGVERSION.
29104         * elf/sln.c (main): Use PKGVERSION.
29105         (usage): Use REPORT_BUGS_TO.
29106         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29107         (top level): Use PKGVERSION.
29108         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29109         (print_version): Use PKGVERSION.
29110         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29111         (print_version): Use PKGVERSION.
29112         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29113         (print_version): Use PKGVERSION.
29114         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29115         (print_version): Use PKGVERSION.
29116         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29117         (print_version): Use PKGVERSION.
29118         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29119         (print_version): Use PKGVERSION.
29120         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29121         and BUGURL.
29122         ($(objpfx)memusage): Likewise.
29123         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29124         (do_version): Use PKGVERSION.
29125         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29126         (print_version): Use PKGVERSION.
29127         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29128         ($PKGVERSION): New variable.
29129         ($REPORT_BUGS_TO): Likewise.
29130         (usage): Use $REPORT_BUGS_TO.
29131         (top level): Use $PKGVERSION.
29132         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29133         ($(objpfx)pkgvers.texi): New rule.
29134         ($(objpfx)stamp-pkgvers): Likewise.
29135         * manual/install.texi: Include pkgvers.texi.
29136         (--with-pkgversion): Document new configure option.
29137         (--with-bugurl): Likewise.
29138         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29139         than necessarily for this particular distribution.  Use
29140         REPORT_BUGS_TO for where to report bugs.
29141         * INSTALL: Regenerated.
29142         * manual/libc.texinfo: Include pkgvers.texi.
29143         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29144         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29145         (print_version): Use PKGVERSION.
29146         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29147         (print_version): Use PKGVERSION.
29148         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29149         (print_version): Use PKGVERSION.
29150         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29151         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29152         macro.
29153         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29154         (print_version): Use PKGVERSION.
29155         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29156         (print_version): Use PKGVERSION.
29157         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29158         and PKGVERSION.
29159
29160         * timezone/checktab.awk: Update from tzcode 2012i.
29161         * timezone/ialloc.c: Likewise.
29162         * timezone/private.h: Likewise.
29163         * timezone/scheck.c: Likewise.
29164         * timezone/tzfile.h: Likewise.
29165         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29166         (TZVERSION): Hardcode tzcode version number.
29167         * timezone/zdump.c: Update from tzcode 2012i.
29168         * timezone/zic.c: Likewise.
29169         * timezone/version.h: New file.
29170         * timezone/README: Describe version.h.  Update upstream location.
29171
29172         [BZ #14824]
29173         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29174         (mktemp): Enable declaration.
29175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29176         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29178         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29179         Likewise.
29180         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29181         Likewise.
29182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29183         Likewise.
29184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29185         Likewise.
29186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29187         Likewise.
29188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29189         Likewise.
29190
29191         [BZ #14821]
29192         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29193         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29194         for copies of such integer values.
29195         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29196         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29197
29198 2012-11-09  Andreas Jaeger  <aj@suse.de>
29199
29200         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29201         definitions and declarations that are provided by
29202         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29203
29204 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29205
29206         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29207         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29208         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29209         definition.
29210
29211 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29212
29213         * elf/elf.h: Update comment before AArch64 relocations.
29214
29215 2012-11-07  David S. Miller  <davem@davemloft.net>
29216
29217         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29218         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29219         (__start_context): Declare.
29220         (__makecontext_ret): Delete.
29221         (__makecontext): Hook up __start_context instead of
29222         __makecontext_ret.
29223         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29224         (sysdep_routines): Add __start_context when in stdlib.
29225
29226 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29227
29228         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29229         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29230         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29231         hardcoded "nm".
29232         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29233         (READELF): New variable.  Use it instead of hardcoded "readelf".
29234
29235 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29236
29237         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29238         * sysdeps/x86/Makefile: Here.
29239         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29240         * sysdeps/x86/tst-xmmymm.sh: This.
29241
29242 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29243
29244         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29245         expectations.
29246         [UNIX98] (pthread_barrier_t): Do not expect.
29247         [UNIX98] (pthread_barrierattr_t): Likewise.
29248         [UNIX98] (pthread_spinlock_t): Likewise.
29249         [UNIX98] (pthread_barrier_destroy): Likewise.
29250         [UNIX98] (pthread_barrier_init): Likewise.
29251         [UNIX98] (pthread_barrier_wait): Likewise.
29252         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29253         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29254         [UNIX98] (pthread_barrierattr_init): Likewise.
29255         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29256         [UNIX98] (pthread_getcpuclockid): Likewise.
29257         [UNIX98] (pthread_mutex_timedlock): Likewise.
29258         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29259         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29260         [UNIX98] (pthread_sigmask): Likewise.
29261         [UNIX98] (pthread_spin_destroy): Likewise.
29262         [UNIX98] (pthread_spin_init): Likewise.
29263         [UNIX98] (pthread_spin_lock): Likewise.
29264         [UNIX98] (pthread_spin_trylock): Likewise.
29265         [UNIX98] (pthread_spin_unlock): Likewise.
29266         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29267         Do not expect.
29268         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29269         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29270         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29271         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29272         [XPG3 || XPG4] (pthread_key_t): Likewise.
29273         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29274         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29275         [XPG3 || XPG4] (pthread_once_t): Likewise.
29276         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29277         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29278         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29279         [XPG3 || XPG4] (pthread_t): Likewise.
29280
29281         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29282         not expect.
29283         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29284
29285         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29286         Change function return type to int.
29287
29288         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29289         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29290         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29291         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29292         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29293         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29294         [!POSIX] (posix_madvise): Likewise.
29295         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29296         && !UNIX98].
29297         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29298         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29299         (mode_t): Likewise.
29300         (posix_mem_offset): Likewise.
29301         (posix_typed_mem_get_info): Likewise.
29302         (posix_typed_mem_open): Likewise.
29303
29304         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29305         Change condition to [XOPEN2K8].
29306
29307         * conform/conformtest.pl: Preprocess allow-header data with -x c
29308         instead of from stdin.
29309         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29310         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29311         [C99-based standards] (cerfc): Likewise.
29312         [C99-based standards] (cexp2): Likewise.
29313         [C99-based standards] (cexpm1): Likewise.
29314         [C99-based standards] (clog10): Likewise.
29315         [C99-based standards] (clog1p): Likewise.
29316         [C99-based standards] (clog2): Likewise.
29317         [C99-based standards] (clgamma): Likewise.
29318         [C99-based standards] (ctgamma): Likewise.
29319         [C99-based standards] (cerff): Likewise.
29320         [C99-based standards] (cerfcf): Likewise.
29321         [C99-based standards] (cexp2f): Likewise.
29322         [C99-based standards] (cexpm1f): Likewise.
29323         [C99-based standards] (clog10f): Likewise.
29324         [C99-based standards] (clog1pf): Likewise.
29325         [C99-based standards] (clog2f): Likewise.
29326         [C99-based standards] (clgammaf): Likewise.
29327         [C99-based standards] (ctgammaf): Likewise.
29328         [C99-based standards] (cerfl): Likewise.
29329         [C99-based standards] (cerfcl): Likewise.
29330         [C99-based standards] (cexp2l): Likewise.
29331         [C99-based standards] (cexpm1l): Likewise.
29332         [C99-based standards] (clog10l): Likewise.
29333         [C99-based standards] (clog1pl): Likewise.
29334         [C99-based standards] (clog2l): Likewise.
29335         [C99-based standards] (clgammal): Likewise.
29336         [C99-based standards] (ctgammal): Likewise.
29337         * conform/data/inttypes.h-data [C99-based standards]: Include
29338         stdint.h-data.  Remove all expectations for stdint.h contents.
29339         [C99-based standards] (PRI*): Do not allow.
29340         [C99-based standards] (SCN*): Likewise.
29341         [C99-based standards] (*_t): Likewise.
29342         [C99-based-standards] (PRId8): Expect macro.
29343         [C99-based-standards] (PRIi8): Likewise.
29344         [C99-based-standards] (PRIo8): Likewise.
29345         [C99-based-standards] (PRIu8): Likewise.
29346         [C99-based-standards] (PRIx8): Likewise.
29347         [C99-based-standards] (PRIX8): Likewise.
29348         [C99-based-standards] (SCNd8): Likewise.
29349         [C99-based-standards] (SCNi8): Likewise.
29350         [C99-based-standards] (SCNo8): Likewise.
29351         [C99-based-standards] (SCNu8): Likewise.
29352         [C99-based-standards] (SCNx8): Likewise.
29353         [C99-based-standards] (PRIdLEAST8): Likewise.
29354         [C99-based-standards] (PRIiLEAST8): Likewise.
29355         [C99-based-standards] (PRIoLEAST8): Likewise.
29356         [C99-based-standards] (PRIuLEAST8): Likewise.
29357         [C99-based-standards] (PRIxLEAST8): Likewise.
29358         [C99-based-standards] (PRIXLEAST8): Likewise.
29359         [C99-based-standards] (SCNdLEAST8): Likewise.
29360         [C99-based-standards] (SCNiLEAST8): Likewise.
29361         [C99-based-standards] (SCNoLEAST8): Likewise.
29362         [C99-based-standards] (SCNuLEAST8): Likewise.
29363         [C99-based-standards] (SCNxLEAST8): Likewise.
29364         [C99-based-standards] (PRIdFAST8): Likewise.
29365         [C99-based-standards] (PRIiFAST8): Likewise.
29366         [C99-based-standards] (PRIoFAST8): Likewise.
29367         [C99-based-standards] (PRIuFAST8): Likewise.
29368         [C99-based-standards] (PRIxFAST8): Likewise.
29369         [C99-based-standards] (PRIXFAST8): Likewise.
29370         [C99-based-standards] (SCNdFAST8): Likewise.
29371         [C99-based-standards] (SCNiFAST8): Likewise.
29372         [C99-based-standards] (SCNoFAST8): Likewise.
29373         [C99-based-standards] (SCNuFAST8): Likewise.
29374         [C99-based-standards] (SCNxFAST8): Likewise.
29375         [C99-based-standards] (PRId16): Likewise.
29376         [C99-based-standards] (PRIi16): Likewise.
29377         [C99-based-standards] (PRIo16): Likewise.
29378         [C99-based-standards] (PRIu16): Likewise.
29379         [C99-based-standards] (PRIx16): Likewise.
29380         [C99-based-standards] (PRIX16): Likewise.
29381         [C99-based-standards] (SCNd16): Likewise.
29382         [C99-based-standards] (SCNi16): Likewise.
29383         [C99-based-standards] (SCNo16): Likewise.
29384         [C99-based-standards] (SCNu16): Likewise.
29385         [C99-based-standards] (SCNx16): Likewise.
29386         [C99-based-standards] (PRIdLEAST16): Likewise.
29387         [C99-based-standards] (PRIiLEAST16): Likewise.
29388         [C99-based-standards] (PRIoLEAST16): Likewise.
29389         [C99-based-standards] (PRIuLEAST16): Likewise.
29390         [C99-based-standards] (PRIxLEAST16): Likewise.
29391         [C99-based-standards] (PRIXLEAST16): Likewise.
29392         [C99-based-standards] (SCNdLEAST16): Likewise.
29393         [C99-based-standards] (SCNiLEAST16): Likewise.
29394         [C99-based-standards] (SCNoLEAST16): Likewise.
29395         [C99-based-standards] (SCNuLEAST16): Likewise.
29396         [C99-based-standards] (SCNxLEAST16): Likewise.
29397         [C99-based-standards] (PRIdFAST16): Likewise.
29398         [C99-based-standards] (PRIiFAST16): Likewise.
29399         [C99-based-standards] (PRIoFAST16): Likewise.
29400         [C99-based-standards] (PRIuFAST16): Likewise.
29401         [C99-based-standards] (PRIxFAST16): Likewise.
29402         [C99-based-standards] (PRIXFAST16): Likewise.
29403         [C99-based-standards] (SCNdFAST16): Likewise.
29404         [C99-based-standards] (SCNiFAST16): Likewise.
29405         [C99-based-standards] (SCNoFAST16): Likewise.
29406         [C99-based-standards] (SCNuFAST16): Likewise.
29407         [C99-based-standards] (SCNxFAST16): Likewise.
29408         [C99-based-standards] (PRId32): Likewise.
29409         [C99-based-standards] (PRIi32): Likewise.
29410         [C99-based-standards] (PRIo32): Likewise.
29411         [C99-based-standards] (PRIu32): Likewise.
29412         [C99-based-standards] (PRIx32): Likewise.
29413         [C99-based-standards] (PRIX32): Likewise.
29414         [C99-based-standards] (SCNd32): Likewise.
29415         [C99-based-standards] (SCNi32): Likewise.
29416         [C99-based-standards] (SCNo32): Likewise.
29417         [C99-based-standards] (SCNu32): Likewise.
29418         [C99-based-standards] (SCNx32): Likewise.
29419         [C99-based-standards] (PRIdLEAST32): Likewise.
29420         [C99-based-standards] (PRIiLEAST32): Likewise.
29421         [C99-based-standards] (PRIoLEAST32): Likewise.
29422         [C99-based-standards] (PRIuLEAST32): Likewise.
29423         [C99-based-standards] (PRIxLEAST32): Likewise.
29424         [C99-based-standards] (PRIXLEAST32): Likewise.
29425         [C99-based-standards] (SCNdLEAST32): Likewise.
29426         [C99-based-standards] (SCNiLEAST32): Likewise.
29427         [C99-based-standards] (SCNoLEAST32): Likewise.
29428         [C99-based-standards] (SCNuLEAST32): Likewise.
29429         [C99-based-standards] (SCNxLEAST32): Likewise.
29430         [C99-based-standards] (PRIdFAST32): Likewise.
29431         [C99-based-standards] (PRIiFAST32): Likewise.
29432         [C99-based-standards] (PRIoFAST32): Likewise.
29433         [C99-based-standards] (PRIuFAST32): Likewise.
29434         [C99-based-standards] (PRIxFAST32): Likewise.
29435         [C99-based-standards] (PRIXFAST32): Likewise.
29436         [C99-based-standards] (SCNdFAST32): Likewise.
29437         [C99-based-standards] (SCNiFAST32): Likewise.
29438         [C99-based-standards] (SCNoFAST32): Likewise.
29439         [C99-based-standards] (SCNuFAST32): Likewise.
29440         [C99-based-standards] (SCNxFAST32): Likewise.
29441         [C99-based-standards] (PRId64): Likewise.
29442         [C99-based-standards] (PRIi64): Likewise.
29443         [C99-based-standards] (PRIo64): Likewise.
29444         [C99-based-standards] (PRIu64): Likewise.
29445         [C99-based-standards] (PRIx64): Likewise.
29446         [C99-based-standards] (PRIX64): Likewise.
29447         [C99-based-standards] (SCNd64): Likewise.
29448         [C99-based-standards] (SCNi64): Likewise.
29449         [C99-based-standards] (SCNo64): Likewise.
29450         [C99-based-standards] (SCNu64): Likewise.
29451         [C99-based-standards] (SCNx64): Likewise.
29452         [C99-based-standards] (PRIdLEAST64): Likewise.
29453         [C99-based-standards] (PRIiLEAST64): Likewise.
29454         [C99-based-standards] (PRIoLEAST64): Likewise.
29455         [C99-based-standards] (PRIuLEAST64): Likewise.
29456         [C99-based-standards] (PRIxLEAST64): Likewise.
29457         [C99-based-standards] (PRIXLEAST64): Likewise.
29458         [C99-based-standards] (SCNdLEAST64): Likewise.
29459         [C99-based-standards] (SCNiLEAST64): Likewise.
29460         [C99-based-standards] (SCNoLEAST64): Likewise.
29461         [C99-based-standards] (SCNuLEAST64): Likewise.
29462         [C99-based-standards] (SCNxLEAST64): Likewise.
29463         [C99-based-standards] (PRIdFAST64): Likewise.
29464         [C99-based-standards] (PRIiFAST64): Likewise.
29465         [C99-based-standards] (PRIoFAST64): Likewise.
29466         [C99-based-standards] (PRIuFAST64): Likewise.
29467         [C99-based-standards] (PRIxFAST64): Likewise.
29468         [C99-based-standards] (PRIXFAST64): Likewise.
29469         [C99-based-standards] (SCNdFAST64): Likewise.
29470         [C99-based-standards] (SCNiFAST64): Likewise.
29471         [C99-based-standards] (SCNoFAST64): Likewise.
29472         [C99-based-standards] (SCNuFAST64): Likewise.
29473         [C99-based-standards] (SCNxFAST64): Likewise.
29474         [C99-based-standards] (PRIdMAX): Likewise.
29475         [C99-based-standards] (PRIiMAX): Likewise.
29476         [C99-based-standards] (PRIoMAX): Likewise.
29477         [C99-based-standards] (PRIuMAX): Likewise.
29478         [C99-based-standards] (PRIxMAX): Likewise.
29479         [C99-based-standards] (PRIXMAX): Likewise.
29480         [C99-based-standards] (SCNdMAX): Likewise.
29481         [C99-based-standards] (SCNiMAX): Likewise.
29482         [C99-based-standards] (SCNoMAX): Likewise.
29483         [C99-based-standards] (SCNuMAX): Likewise.
29484         [C99-based-standards] (SCNxMAX): Likewise.
29485         [C99-based-standards] (PRIdPTR): Likewise.
29486         [C99-based-standards] (PRIiPTR): Likewise.
29487         [C99-based-standards] (PRIoPTR): Likewise.
29488         [C99-based-standards] (PRIuPTR): Likewise.
29489         [C99-based-standards] (PRIxPTR): Likewise.
29490         [C99-based-standards] (PRIXPTR): Likewise.
29491         [C99-based-standards] (SCNdPTR): Likewise.
29492         [C99-based-standards] (SCNiPTR): Likewise.
29493         [C99-based-standards] (SCNoPTR): Likewise.
29494         [C99-based-standards] (SCNuPTR): Likewise.
29495         [C99-based-standards] (SCNxPTR): Likewise.
29496         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29497         allow.
29498         * conform/data/stdint.h-data: Update comments to clarify
29499         requirements.
29500         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29501         type.
29502         [C99-based standards] (INT8_MAX): Likewise.
29503         [C99-based standards] (INT16_MIN): Likewise.
29504         [C99-based standards] (INT16_MAX): Likewise.
29505         [C99-based standards] (INT32_MIN): Likewise.
29506         [C99-based standards] (INT32_MAX): Likewise.
29507         [C99-based standards] (INT64_MIN): Likewise.
29508         [C99-based standards] (INT64_MAX): Likewise.
29509         [C99-based standards] (UINT8_MAX): Likewise.
29510         [C99-based standards] (UINT16_MAX): Likewise.
29511         [C99-based standards] (UINT32_MAX): Likewise.
29512         [C99-based standards] (UINT64_MAX): Likewise.
29513         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29514         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29515         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29516         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29517         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29518         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29519         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29520         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29521         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29522         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29523         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29524         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29525         [C99-based standards] (INT_FAST8_MIN): Likewise.
29526         [C99-based standards] (INT_FAST8_MAX): Likewise.
29527         [C99-based standards] (INT_FAST16_MIN): Likewise.
29528         [C99-based standards] (INT_FAST16_MAX): Likewise.
29529         [C99-based standards] (INT_FAST32_MIN): Likewise.
29530         [C99-based standards] (INT_FAST32_MAX): Likewise.
29531         [C99-based standards] (INT_FAST64_MIN): Likewise.
29532         [C99-based standards] (INT_FAST64_MAX): Likewise.
29533         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29534         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29535         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29536         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29537         [C99-based standards] (INTPTR_MIN): Likewise.
29538         [C99-based standards] (INTPTR_MAX): Likewise.
29539         [C99-based standards] (UINTPTR_MAX): Likewise.
29540         [C99-based standards] (INTMAX_MIN): Likewise.
29541         [C99-based standards] (INTMAX_MAX): Likewise.
29542         [C99-based standards] (UINTMAX_MAX): Likewise.
29543         [C99-based standards] (PTRDIFF_MIN): Likewise.
29544         [C99-based standards] (PTRDIFF_MAX): Likewise.
29545         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29546         [C99-based standards] (SIZE_MAX): Likewise.
29547         [C99-based standards] (WCHAR_MAX): Likewise.
29548         [C99-based standards] (WINT_MAX): Likewise.
29549         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29550         constraint on value.
29551         [C99-based standards] (WCHAR_MIN): Likewise.
29552         [C99-based standards] (WINT_MIN): Likewise.
29553         [C99-based standards] (*_t): Allow.
29554         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29555         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29556         Include math.h-data and complex.h-data.  Remove all expectations
29557         of math.h and complex.h contents.
29558         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29559         at end of line.
29560         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29561         (struct tm): Expect tag.
29562         [C99-based-standards] (wcstof): Expect function.
29563         [C99-based-standards] (wcstold): Likewise.
29564         [C99-based-standards] (wcstoll): Likewise.
29565         [C99-based-standards] (wcstoull): Likewise.
29566         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29567         macro-int-constant.  Specify type.
29568         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29569         constraint on value.
29570         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29571         Specify type.
29572         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29573         Specify value.
29574         [ISO C standards]: Do not allow headers.
29575         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29576         wcs[abcdefghijklmnopqrstuvwxyz]*.
29577         [ISO C standards] (*_t): Do not allow.
29578         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29579         Expect function.
29580         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29581         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29582         Specify type.
29583         [ISO C standards]: Do not allow headers.
29584         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29585         is[abcdefghijklmnopqrstuvwxyz]*.
29586         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29587         to[abcdefghijklmnopqrstuvwxyz]*.
29588         [ISO C standards] (*_t): Do not allow.
29589         * conform/data/stdalign.h-data: New file.
29590         * conform/data/stdbool.h-data: Likewise.
29591         * conform/data/stdnoreturn.h-data: Likewise.
29592
29593 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29594
29595         [BZ #14815]
29596         * manual/filesys.texi (Directory Entries): Typo fix.
29597         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29598
29599 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29600
29601         * elf/elf.h (EM_AARCH64): New macro.
29602         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29603         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29604         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29605         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29606         (R_AARCH64_TLSDESC): Likewise.
29607         (NT_ARM_TLS): Likewise.
29608         (NT_ARM_HW_BREAK): Likewise.
29609         (NT_ARM_HW_WATCH): Likewise.
29610
29611 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29612
29613         [BZ #14811]
29614         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29615         (__ieee754_powl): Saturate nonzero exponents with absolute value
29616         below 0x1p-79 to +/- 0x1p-79.
29617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29618         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29619         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29620         nonzero exponents with absolute value below 0x1p-32 to +/-
29621         0x1p-32.
29622         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29623         (__ieee754_powl): Saturate nonzero exponents with absolute value
29624         below 0x1p-79 to +/- 0x1p-79.
29625         * math/libm-test.inc (pow_test): Add more tests.
29626
29627 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29628
29629         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29630         _dl_s390_cap_flags with kernel. Increase string length.
29631         (_dl_s390_platforms): Add z196 and zEC12.
29632
29633 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29634
29635         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29636         Change XOPEN21K to XOPEN2K.
29637
29638 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29639
29640         * string/memmove.c: Use memcpy when possible.
29641
29642 2012-11-06  Andreas Jaeger  <aj@suse.de>
29643
29644         * po/eo.po: Update from translation team.
29645
29646 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29647
29648         [BZ #14793]
29649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29650         exponent and small x and y exponents, scale x or y up.  Increase
29651         by 2 the exponent used in scaling up.
29652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29654         * math/libm-test.inc (fma_test): Add more tests.
29655         (fma_test_towardzero): Likewise.
29656         (fma_test_downward): Likewise.
29657         (fma_test_upward): Likewise.
29658
29659 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29660
29661         [BZ #14805]
29662         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29663         fenv_t *.
29664
29665         [BZ #14801]
29666         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29667         namespace for names of struct fields.
29668         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29669         fenv_t fields.
29670         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29671         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29672
29673 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29674
29675         [BZ #3665]
29676         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29677
29678 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29679
29680         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29681         PTR_DEMANGLE.
29682
29683         [BZ #5246]
29684         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29685         PTR_DEMANGLE.
29686
29687 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29688
29689         [BZ #14797]
29690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29691         definitely overflow as x * y not x * y + z.
29692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29694         * math/libm-test.inc (fma_test): Add more tests.
29695         (fma_test_towardzero): Likewise.
29696         (fma_test_downward): Likewise.
29697         (fma_test_upward): Likewise.
29698
29699 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29700
29701         [BZ #157]
29702
29703         * include/stub-tag.h: Remove file.
29704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29705         '#include' of it.
29706         * manual/maint.texi (Porting): Don't reference it.
29707         * Makerules ($(objpfx)stubs): Likewise.
29708         * dirent/closedir.c: Don't include <stub-tag.h>.
29709         * dirent/dirfd.c: Likewise.
29710         * dirent/fdopendir.c: Likewise.
29711         * dirent/getdents.c: Likewise.
29712         * dirent/getdents64.c: Likewise.
29713         * dirent/opendir.c: Likewise.
29714         * dirent/readdir.c: Likewise.
29715         * dirent/readdir64.c: Likewise.
29716         * dirent/readdir64_r.c: Likewise.
29717         * dirent/readdir_r.c: Likewise.
29718         * dirent/rewinddir.c: Likewise.
29719         * dirent/seekdir.c: Likewise.
29720         * dirent/telldir.c: Likewise.
29721         * gmon/profil.c: Likewise.
29722         * grp/setgroups.c: Likewise.
29723         * inet/if_index.c: Likewise.
29724         * io/access.c: Likewise.
29725         * io/chdir.c: Likewise.
29726         * io/chmod.c: Likewise.
29727         * io/chown.c: Likewise.
29728         * io/close.c: Likewise.
29729         * io/dup.c: Likewise.
29730         * io/dup2.c: Likewise.
29731         * io/dup3.c: Likewise.
29732         * io/euidaccess.c: Likewise.
29733         * io/faccessat.c: Likewise.
29734         * io/fchdir.c: Likewise.
29735         * io/fchmod.c: Likewise.
29736         * io/fchmodat.c: Likewise.
29737         * io/fchown.c: Likewise.
29738         * io/fchownat.c: Likewise.
29739         * io/fcntl.c: Likewise.
29740         * io/flock.c: Likewise.
29741         * io/fstatfs.c: Likewise.
29742         * io/fstatfs64.c: Likewise.
29743         * io/fstatvfs.c: Likewise.
29744         * io/fstatvfs64.c: Likewise.
29745         * io/futimens.c: Likewise.
29746         * io/fxstat.c: Likewise.
29747         * io/fxstat64.c: Likewise.
29748         * io/fxstatat.c: Likewise.
29749         * io/fxstatat64.c: Likewise.
29750         * io/getcwd.c: Likewise.
29751         * io/isatty.c: Likewise.
29752         * io/lchmod.c: Likewise.
29753         * io/lchown.c: Likewise.
29754         * io/link.c: Likewise.
29755         * io/linkat.c: Likewise.
29756         * io/lseek.c: Likewise.
29757         * io/lseek64.c: Likewise.
29758         * io/lxstat64.c: Likewise.
29759         * io/mkdir.c: Likewise.
29760         * io/mkdirat.c: Likewise.
29761         * io/mkfifo.c: Likewise.
29762         * io/mkfifoat.c: Likewise.
29763         * io/open.c: Likewise.
29764         * io/open64.c: Likewise.
29765         * io/openat.c: Likewise.
29766         * io/openat64.c: Likewise.
29767         * io/pipe.c: Likewise.
29768         * io/pipe2.c: Likewise.
29769         * io/poll.c: Likewise.
29770         * io/posix_fadvise.c: Likewise.
29771         * io/posix_fadvise64.c: Likewise.
29772         * io/posix_fallocate.c: Likewise.
29773         * io/posix_fallocate64.c: Likewise.
29774         * io/read.c: Likewise.
29775         * io/readlink.c: Likewise.
29776         * io/readlinkat.c: Likewise.
29777         * io/rmdir.c: Likewise.
29778         * io/sendfile.c: Likewise.
29779         * io/sendfile64.c: Likewise.
29780         * io/statfs.c: Likewise.
29781         * io/statfs64.c: Likewise.
29782         * io/statvfs.c: Likewise.
29783         * io/statvfs64.c: Likewise.
29784         * io/symlink.c: Likewise.
29785         * io/symlinkat.c: Likewise.
29786         * io/ttyname.c: Likewise.
29787         * io/ttyname_r.c: Likewise.
29788         * io/umask.c: Likewise.
29789         * io/unlink.c: Likewise.
29790         * io/unlinkat.c: Likewise.
29791         * io/utime.c: Likewise.
29792         * io/utimensat.c: Likewise.
29793         * io/write.c: Likewise.
29794         * io/xmknod.c: Likewise.
29795         * io/xmknodat.c: Likewise.
29796         * io/xstat.c: Likewise.
29797         * io/xstat64.c: Likewise.
29798         * login/getpt.c: Likewise.
29799         * login/grantpt.c: Likewise.
29800         * login/unlockpt.c: Likewise.
29801         * math/e_acoshl.c: Likewise.
29802         * math/e_acosl.c: Likewise.
29803         * math/e_asinl.c: Likewise.
29804         * math/e_atan2l.c: Likewise.
29805         * math/e_atanhl.c: Likewise.
29806         * math/e_coshl.c: Likewise.
29807         * math/e_expl.c: Likewise.
29808         * math/e_fmodl.c: Likewise.
29809         * math/e_gammal_r.c: Likewise.
29810         * math/e_hypotl.c: Likewise.
29811         * math/e_j0l.c: Likewise.
29812         * math/e_j1l.c: Likewise.
29813         * math/e_jnl.c: Likewise.
29814         * math/e_lgammal_r.c: Likewise.
29815         * math/e_log10l.c: Likewise.
29816         * math/e_log2l.c: Likewise.
29817         * math/e_logl.c: Likewise.
29818         * math/e_powl.c: Likewise.
29819         * math/e_rem_pio2l.c: Likewise.
29820         * math/e_sinhl.c: Likewise.
29821         * math/e_sqrtl.c: Likewise.
29822         * math/fclrexcpt.c: Likewise.
29823         * math/fedisblxcpt.c: Likewise.
29824         * math/feenablxcpt.c: Likewise.
29825         * math/fegetenv.c: Likewise.
29826         * math/fegetexcept.c: Likewise.
29827         * math/fegetround.c: Likewise.
29828         * math/feholdexcpt.c: Likewise.
29829         * math/fesetenv.c: Likewise.
29830         * math/fesetround.c: Likewise.
29831         * math/feupdateenv.c: Likewise.
29832         * math/fgetexcptflg.c: Likewise.
29833         * math/fraiseexcpt.c: Likewise.
29834         * math/fsetexcptflg.c: Likewise.
29835         * math/ftestexcept.c: Likewise.
29836         * math/k_cosl.c: Likewise.
29837         * math/k_rem_pio2l.c: Likewise.
29838         * math/k_sinl.c: Likewise.
29839         * math/k_tanl.c: Likewise.
29840         * math/s_asinhl.c: Likewise.
29841         * math/s_atanl.c: Likewise.
29842         * math/s_cbrtl.c: Likewise.
29843         * math/s_erfl.c: Likewise.
29844         * math/s_expm1l.c: Likewise.
29845         * math/s_log1pl.c: Likewise.
29846         * math/s_tanhl.c: Likewise.
29847         * misc/acct.c: Likewise.
29848         * misc/brk.c: Likewise.
29849         * misc/chflags.c: Likewise.
29850         * misc/chroot.c: Likewise.
29851         * misc/fchflags.c: Likewise.
29852         * misc/fgetxattr.c: Likewise.
29853         * misc/flistxattr.c: Likewise.
29854         * misc/fremovexattr.c: Likewise.
29855         * misc/fsetxattr.c: Likewise.
29856         * misc/fsync.c: Likewise.
29857         * misc/ftruncate.c: Likewise.
29858         * misc/futimes.c: Likewise.
29859         * misc/futimesat.c: Likewise.
29860         * misc/getdomain.c: Likewise.
29861         * misc/getdtsz.c: Likewise.
29862         * misc/gethostid.c: Likewise.
29863         * misc/gethostname.c: Likewise.
29864         * misc/getloadavg.c: Likewise.
29865         * misc/getpagesize.c: Likewise.
29866         * misc/getsysstats.c: Likewise.
29867         * misc/getxattr.c: Likewise.
29868         * misc/gtty.c: Likewise.
29869         * misc/ioctl.c: Likewise.
29870         * misc/lgetxattr.c: Likewise.
29871         * misc/listxattr.c: Likewise.
29872         * misc/llistxattr.c: Likewise.
29873         * misc/lremovexattr.c: Likewise.
29874         * misc/lsetxattr.c: Likewise.
29875         * misc/lutimes.c: Likewise.
29876         * misc/madvise.c: Likewise.
29877         * misc/mincore.c: Likewise.
29878         * misc/mlock.c: Likewise.
29879         * misc/mlockall.c: Likewise.
29880         * misc/mmap.c: Likewise.
29881         * misc/mprotect.c: Likewise.
29882         * misc/msync.c: Likewise.
29883         * misc/munlock.c: Likewise.
29884         * misc/munlockall.c: Likewise.
29885         * misc/munmap.c: Likewise.
29886         * misc/preadv.c: Likewise.
29887         * misc/preadv64.c: Likewise.
29888         * misc/ptrace.c: Likewise.
29889         * misc/pwritev.c: Likewise.
29890         * misc/pwritev64.c: Likewise.
29891         * misc/readv.c: Likewise.
29892         * misc/reboot.c: Likewise.
29893         * misc/remap_file_pages.c: Likewise.
29894         * misc/removexattr.c: Likewise.
29895         * misc/revoke.c: Likewise.
29896         * misc/select.c: Likewise.
29897         * misc/setdomain.c: Likewise.
29898         * misc/setegid.c: Likewise.
29899         * misc/seteuid.c: Likewise.
29900         * misc/sethostid.c: Likewise.
29901         * misc/sethostname.c: Likewise.
29902         * misc/setregid.c: Likewise.
29903         * misc/setreuid.c: Likewise.
29904         * misc/setxattr.c: Likewise.
29905         * misc/sstk.c: Likewise.
29906         * misc/stty.c: Likewise.
29907         * misc/swapoff.c: Likewise.
29908         * misc/swapon.c: Likewise.
29909         * misc/sync.c: Likewise.
29910         * misc/syncfs.c: Likewise.
29911         * misc/syscall.c: Likewise.
29912         * misc/truncate.c: Likewise.
29913         * misc/ualarm.c: Likewise.
29914         * misc/usleep.c: Likewise.
29915         * misc/ustat.c: Likewise.
29916         * misc/utimes.c: Likewise.
29917         * misc/vhangup.c: Likewise.
29918         * misc/writev.c: Likewise.
29919         * posix/_exit.c: Likewise.
29920         * posix/alarm.c: Likewise.
29921         * posix/execve.c: Likewise.
29922         * posix/fexecve.c: Likewise.
29923         * posix/fork.c: Likewise.
29924         * posix/fpathconf.c: Likewise.
29925         * posix/getaddrinfo.c: Likewise.
29926         * posix/getegid.c: Likewise.
29927         * posix/geteuid.c: Likewise.
29928         * posix/getgid.c: Likewise.
29929         * posix/getgroups.c: Likewise.
29930         * posix/getlogin.c: Likewise.
29931         * posix/getlogin_r.c: Likewise.
29932         * posix/getpgid.c: Likewise.
29933         * posix/getpid.c: Likewise.
29934         * posix/getppid.c: Likewise.
29935         * posix/getresgid.c: Likewise.
29936         * posix/getresuid.c: Likewise.
29937         * posix/getsid.c: Likewise.
29938         * posix/getuid.c: Likewise.
29939         * posix/glob64.c: Likewise.
29940         * posix/nanosleep.c: Likewise.
29941         * posix/pathconf.c: Likewise.
29942         * posix/pause.c: Likewise.
29943         * posix/posix_madvise.c: Likewise.
29944         * posix/pread.c: Likewise.
29945         * posix/pread64.c: Likewise.
29946         * posix/pwrite.c: Likewise.
29947         * posix/pwrite64.c: Likewise.
29948         * posix/sched_getaffinity.c: Likewise.
29949         * posix/sched_getp.c: Likewise.
29950         * posix/sched_gets.c: Likewise.
29951         * posix/sched_primax.c: Likewise.
29952         * posix/sched_primin.c: Likewise.
29953         * posix/sched_rr_gi.c: Likewise.
29954         * posix/sched_setaffinity.c: Likewise.
29955         * posix/sched_setp.c: Likewise.
29956         * posix/sched_sets.c: Likewise.
29957         * posix/sched_yield.c: Likewise.
29958         * posix/setgid.c: Likewise.
29959         * posix/setlogin.c: Likewise.
29960         * posix/setpgid.c: Likewise.
29961         * posix/setresgid.c: Likewise.
29962         * posix/setresuid.c: Likewise.
29963         * posix/setsid.c: Likewise.
29964         * posix/setuid.c: Likewise.
29965         * posix/sleep.c: Likewise.
29966         * posix/spawni.c: Likewise.
29967         * posix/sysconf.c: Likewise.
29968         * posix/times.c: Likewise.
29969         * posix/wait.c: Likewise.
29970         * posix/wait3.c: Likewise.
29971         * posix/wait4.c: Likewise.
29972         * posix/waitpid.c: Likewise.
29973         * resolv/gai_sigqueue.c: Likewise.
29974         * resource/getpriority.c: Likewise.
29975         * resource/getrlimit.c: Likewise.
29976         * resource/getrusage.c: Likewise.
29977         * resource/nice.c: Likewise.
29978         * resource/setpriority.c: Likewise.
29979         * resource/setrlimit.c: Likewise.
29980         * resource/ulimit.c: Likewise.
29981         * rt/aio_cancel.c: Likewise.
29982         * rt/aio_fsync.c: Likewise.
29983         * rt/aio_read.c: Likewise.
29984         * rt/aio_sigqueue.c: Likewise.
29985         * rt/aio_suspend.c: Likewise.
29986         * rt/aio_write.c: Likewise.
29987         * rt/clock_getres.c: Likewise.
29988         * rt/clock_gettime.c: Likewise.
29989         * rt/clock_nanosleep.c: Likewise.
29990         * rt/clock_settime.c: Likewise.
29991         * rt/lio_listio.c: Likewise.
29992         * rt/mq_close.c: Likewise.
29993         * rt/mq_getattr.c: Likewise.
29994         * rt/mq_notify.c: Likewise.
29995         * rt/mq_open.c: Likewise.
29996         * rt/mq_receive.c: Likewise.
29997         * rt/mq_send.c: Likewise.
29998         * rt/mq_setattr.c: Likewise.
29999         * rt/mq_timedreceive.c: Likewise.
30000         * rt/mq_timedsend.c: Likewise.
30001         * rt/mq_unlink.c: Likewise.
30002         * rt/shm_open.c: Likewise.
30003         * rt/shm_unlink.c: Likewise.
30004         * rt/timer_create.c: Likewise.
30005         * rt/timer_delete.c: Likewise.
30006         * rt/timer_getoverr.c: Likewise.
30007         * rt/timer_gettime.c: Likewise.
30008         * rt/timer_settime.c: Likewise.
30009         * setjmp/__longjmp.c: Likewise.
30010         * setjmp/setjmp.c: Likewise.
30011         * signal/kill.c: Likewise.
30012         * signal/killpg.c: Likewise.
30013         * signal/raise.c: Likewise.
30014         * signal/sigaction.c: Likewise.
30015         * signal/sigaltstack.c: Likewise.
30016         * signal/sigblock.c: Likewise.
30017         * signal/sigignore.c: Likewise.
30018         * signal/sigintr.c: Likewise.
30019         * signal/signal.c: Likewise.
30020         * signal/sigpause.c: Likewise.
30021         * signal/sigpending.c: Likewise.
30022         * signal/sigqueue.c: Likewise.
30023         * signal/sigreturn.c: Likewise.
30024         * signal/sigset.c: Likewise.
30025         * signal/sigsetmask.c: Likewise.
30026         * signal/sigstack.c: Likewise.
30027         * signal/sigsuspend.c: Likewise.
30028         * signal/sigtimedwait.c: Likewise.
30029         * signal/sigvec.c: Likewise.
30030         * signal/sigwait.c: Likewise.
30031         * signal/sigwaitinfo.c: Likewise.
30032         * signal/sysv_signal.c: Likewise.
30033         * socket/accept.c: Likewise.
30034         * socket/accept4.c: Likewise.
30035         * socket/bind.c: Likewise.
30036         * socket/connect.c: Likewise.
30037         * socket/getpeername.c: Likewise.
30038         * socket/getsockname.c: Likewise.
30039         * socket/getsockopt.c: Likewise.
30040         * socket/isfdtype.c: Likewise.
30041         * socket/listen.c: Likewise.
30042         * socket/recv.c: Likewise.
30043         * socket/recvfrom.c: Likewise.
30044         * socket/recvmsg.c: Likewise.
30045         * socket/send.c: Likewise.
30046         * socket/sendmsg.c: Likewise.
30047         * socket/sendto.c: Likewise.
30048         * socket/setsockopt.c: Likewise.
30049         * socket/shutdown.c: Likewise.
30050         * socket/sockatmark.c: Likewise.
30051         * socket/socket.c: Likewise.
30052         * socket/socketpair.c: Likewise.
30053         * stdio-common/ctermid.c: Likewise.
30054         * stdio-common/cuserid.c: Likewise.
30055         * stdio-common/remove.c: Likewise.
30056         * stdio-common/rename.c: Likewise.
30057         * stdio-common/renameat.c: Likewise.
30058         * stdio-common/tempname.c: Likewise.
30059         * stdlib/getcontext.c: Likewise.
30060         * stdlib/makecontext.c: Likewise.
30061         * stdlib/setcontext.c: Likewise.
30062         * stdlib/swapcontext.c: Likewise.
30063         * stdlib/system.c: Likewise.
30064         * streams/fattach.c: Likewise.
30065         * streams/fdetach.c: Likewise.
30066         * streams/getmsg.c: Likewise.
30067         * streams/getpmsg.c: Likewise.
30068         * streams/putmsg.c: Likewise.
30069         * streams/putpmsg.c: Likewise.
30070         * sysdeps/unix/bsd/getpt.c: Likewise.
30071         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30072         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30073         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30075         Likewise.
30076         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30077         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30078         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30079         * sysvipc/msgctl.c: Likewise.
30080         * sysvipc/msgget.c: Likewise.
30081         * sysvipc/msgrcv.c: Likewise.
30082         * sysvipc/msgsnd.c: Likewise.
30083         * sysvipc/semctl.c: Likewise.
30084         * sysvipc/semget.c: Likewise.
30085         * sysvipc/semop.c: Likewise.
30086         * sysvipc/semtimedop.c: Likewise.
30087         * sysvipc/shmat.c: Likewise.
30088         * sysvipc/shmctl.c: Likewise.
30089         * sysvipc/shmdt.c: Likewise.
30090         * sysvipc/shmget.c: Likewise.
30091         * termios/tcdrain.c: Likewise.
30092         * termios/tcflow.c: Likewise.
30093         * termios/tcflush.c: Likewise.
30094         * termios/tcgetattr.c: Likewise.
30095         * termios/tcgetpgrp.c: Likewise.
30096         * termios/tcsendbrk.c: Likewise.
30097         * termios/tcsetattr.c: Likewise.
30098         * termios/tcsetpgrp.c: Likewise.
30099         * time/adjtime.c: Likewise.
30100         * time/clock.c: Likewise.
30101         * time/getitimer.c: Likewise.
30102         * time/gettimeofday.c: Likewise.
30103         * time/setitimer.c: Likewise.
30104         * time/settimeofday.c: Likewise.
30105         * time/stime.c: Likewise.
30106         * time/time.c: Likewise.
30107
30108 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30109
30110         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30111         /usr/old/bin.
30112
30113         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30114         instead of spaces.
30115         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30116
30117 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30118
30119         [BZ #14796]
30120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30121         FE_TONEAREST before applying Dekker multiplication and Knuth
30122         addition.  Clear inexact exceptions and check for exact zero
30123         results afterwards.
30124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30125         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30126         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30127         * math/libm-test.inc (fma_test): Add more tests.
30128         (fma_test_towardzero): Likewise.
30129         (fma_test_downward): Likewise.
30130         (fma_test_upward): Likewise.
30131         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30132         function.
30133         (libc_fesetround): New macro.
30134         (libc_fesetroundf): Likewise.
30135         (libc_fesetroundl): Likewise.
30136         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30137         function.
30138         (libc_fesetround_387): Likewise.
30139         (libc_fesetroundf): New macro.
30140         (libc_fesetround): Likewise.
30141         (libc_fesetroundl): Likewise.
30142         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30143         function.
30144         (libc_fesetroundf): New macro.
30145         (libc_fesetround): Likewise.
30146         (libc_fesetroundl): Likewise.
30147         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30148         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30149         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30150         libm_hidden_ver.
30151         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30152         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30153         libm_hidden_def.
30154         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30155         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30156         libm_hidden_ver.
30157         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30158         libm_hidden_def.
30159
30160         [BZ #3439]
30161         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30162         integer constant usable in #if and use that to give value to enum
30163         constant.
30164         (FE_DIVBYZERO): Likewise.
30165         (FE_UNDERFLOW): Likewise.
30166         (FE_OVERFLOW): Likewise.
30167         (FE_INVALID): Likewise.
30168         (FE_INVALID_SNAN): Likewise.
30169         (FE_INVALID_ISI): Likewise.
30170         (FE_INVALID_IDI): Likewise.
30171         (FE_INVALID_ZDZ): Likewise.
30172         (FE_INVALID_IMZ): Likewise.
30173         (FE_INVALID_COMPARE): Likewise.
30174         (FE_INVALID_SOFTWARE): Likewise.
30175         (FE_INVALID_SQRT): Likewise.
30176         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30177         (FE_TONEAREST): Likewise.
30178         (FE_TOWARDZERO): Likewise.
30179         (FE_UPWARD): Likewise.
30180         (FE_DOWNWARD): Likewise.
30181         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30182         (FE_DIVBYZERO): Likewise.
30183         (FE_OVERFLOW): Likewise.
30184         (FE_UNDERFLOW): Likewise.
30185         (FE_INEXACT): Likewise.
30186         (FE_TONEAREST): Likewise.
30187         (FE_DOWNWARD): Likewise.
30188         (FE_UPWARD): Likewise.
30189         (FE_TOWARDZERO): Likewise.
30190         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30191         (FE_UNDERFLOW): Likewise.
30192         (FE_OVERFLOW): Likewise.
30193         (FE_DIVBYZERO): Likewise.
30194         (FE_INVALID): Likewise.
30195         (FE_TONEAREST): Likewise.
30196         (FE_TOWARDZERO): Likewise.
30197         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30198         (FE_OVERFLOW): Likewise.
30199         (FE_UNDERFLOW): Likewise.
30200         (FE_DIVBYZERO): Likewise.
30201         (FE_INEXACT): Likewise.
30202         (FE_TONEAREST): Likewise.
30203         (FE_TOWARDZERO): Likewise.
30204         (FE_UPWARD): Likewise.
30205         (FE_DOWNWARD): Likewise.
30206         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30207         (FE_DIVBYZERO): Likewise.
30208         (FE_OVERFLOW): Likewise.
30209         (FE_UNDERFLOW): Likewise.
30210         (FE_INEXACT): Likewise.
30211         (FE_TONEAREST): Likewise.
30212         (FE_DOWNWARD): Likewise.
30213         (FE_UPWARD): Likewise.
30214         (FE_TOWARDZERO): Likewise.
30215
30216 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30217
30218         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30219
30220 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30221
30222         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30223         commands.  Quote $PWD.
30224         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30225         -x" by "export".
30226         (remove_newlines): Remove.
30227
30228 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30229
30230         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30231         * stdlib/stdlib.h (atof): Moved to ...
30232         * include/bits/stdlib-float.h: Here.  New file.
30233         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30234         * stdlib/bits/stdlib-float.h: New file.
30235         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30236         -mno-sse -mno-mmx.
30237         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30238         <xmmintrin.h>.
30239
30240 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30241
30242         * conform/conformtest.pl (@headers): Add fenv.h.
30243         * conform/data/fenv.h-data: New file.
30244         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30245         include of <math/fenv.h>.
30246
30247         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30248         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30249         && !UNIX98].  Enables tests for XOPEN2K8.
30250         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30251         POSIX2008]: Likewise.
30252
30253         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30254         (struct rusage): Do not expect type or its members.
30255
30256         [BZ #3439]
30257         * math/math.h (FP_NAN): Define macro to integer constant usable in
30258         #if and use that to give value to enum constant.
30259         (FP_INFINITE): Likewise.
30260         (FP_ZERO): Likewise.
30261         (FP_SUBNORMAL): Likewise.
30262         (FP_NORMAL): Likewise.
30263
30264 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30265
30266         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30267         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30268         arguments.
30269
30270 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30271
30272         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30273         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30274         autoconf-time if not.
30275         * configure.in: Remove AC_PREREQ.
30276
30277 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30278
30279         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30280         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30281         of the internal implementation.
30282
30283 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30284
30285         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30286         except include of <misc/sys/syslog.h>.
30287
30288 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30289
30290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30291         function returns with a NULL context exit with zero.
30292
30293 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30294
30295         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30296
30297 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30298
30299         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30300         (run_program_cmd): This.
30301         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30302         (tst_langinfo): New variable.  Use it.
30303
30304 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30305
30306         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30307         floating point opcodes.
30308
30309 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30310
30311         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30312         variable.
30313
30314         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30315
30316         * sysdeps/mach/hurd/powerpc: Remove directory.
30317         * sysdeps/mach/powerpc: Likewise.
30318
30319 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30320
30321         * scripts/check-local-headers.sh: Ignore c++ headers.
30322
30323 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30324
30325         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30326         __libc_cleanup_region_start argument.
30327
30328 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30329
30330         [BZ #14784]
30331         [BZ #14785]
30332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30333         x * y using scaling, not as x * y + z.
30334         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30336         * math/libm-test.inc (fma_test): Add more tests.
30337         (fma_test_towardzero): Likewise.
30338         (fma_test_downward): Likewise.
30339         (fma_test_upward): Likewise.
30340
30341 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30342
30343         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30344
30345 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30346
30347         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30348         New variable.
30349
30350 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30351
30352         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30353
30354 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30355
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30357         Fix sort order.
30358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30359         Likewise.
30360
30361 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30362
30363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30364         Fix the order of the list for glibc 2.17.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30366         Likewise.
30367
30368 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30369
30370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30371
30372 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30373
30374         [BZ #14610]
30375         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30376         for low part of x being zero before using __atanl (y).
30377         * math/libm-test.inc (atan2_test): Add another test.
30378
30379         * manual/install.texi (Configuring and compiling): Document
30380         general use of test-wrapper and test-wrapper-env.
30381         * INSTALL: Regenerated.
30382
30383         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30384         (__fma): Do not extract and scale down low bits on after-rounding
30385         systems when result rounded to normal precision would have normal
30386         exponent.
30387         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30388         (__fmal): Do not extract and scale down low bits on after-rounding
30389         systems when result rounded to normal precision would have normal
30390         exponent.
30391         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30392         (__fmal): Do not extract and scale down low bits on after-rounding
30393         systems when result rounded to normal precision would have normal
30394         exponent.
30395         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30396         macro.
30397         (fma_test): Add more tests.
30398         (fma_test_towardzero): Likewise.
30399         (fma_test_downward): Likewise.
30400         (fma_test_upward): Likewise.
30401
30402 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30403
30404         * sysdeps/i386/tininess.h: Renamed to ...
30405         * sysdeps/x86/tininess.h: This.
30406         * sysdeps/x86_64/tininess.h: Removed.
30407
30408 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30409
30410         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30411         input.  Use $(build-program-cmd).
30412         ($(objpfx)tst-array1-static.out): Likewise.
30413         ($(objpfx)tst-array2.out): Likewise.
30414         ($(objpfx)tst-array3.out): Likewise.
30415         ($(objpfx)tst-array4.out): Likewise.
30416         ($(objpfx)tst-array5.out): Likewise.
30417         ($(objpfx)tst-array5-static.out): Likewise.
30418
30419 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30420
30421         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30422         if defined.
30423
30424         * nss/nsswitch.h (nss_interface_function): Provide new
30425         macro for use with NSS functions.
30426         * grp/initgroups.c: Use new macro.
30427         * nss/getXXbyYY.c: Likewise.
30428         * nss/getXXbyYY_r.c: Likewise.
30429         * nss/getXXent.c: Likewise.
30430         * nss/getXXent_r.c: Likewise.
30431         * sysdeps/posix/getaddrinfo.c: Likewise.
30432
30433 2012-10-30  Andreas Jaeger  <aj@suse.de>
30434
30435         * po/ru.po: Update Russion translation from translation project.
30436
30437 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30438
30439         [BZ #14152]
30440         [BZ #14783]
30441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30442         result and shift together with sticky bit instead of replicating
30443         round-to-nearest rounding.
30444         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30446         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30447         missing underflow exceptions.
30448         (fma_test_towardzero): Add more tests.
30449         (fma_test_downward): Likewise.
30450         (fma_test_upward): Likewise.
30451
30452         [BZ #14047]
30453         * sysdeps/generic/tininess.h: New file.
30454         * sysdeps/i386/tininess.h: Likewise.
30455         * sysdeps/sh/tininess.h: Likewise.
30456         * sysdeps/x86_64/tininess.h: Likewise.
30457         * stdlib/tst-strtod-underflow.c: Likewise.
30458         * stdlib/tst-tininess.c: Likewise.
30459         * stdlib/strtod_l.c: Include <tininess.h>.
30460         (round_and_return): Do not set errno for exact underflow cases.
30461         Force an underflow exception when setting errno for underflow.
30462         Determine underflow based on rounding to normal precision if
30463         TININESS_AFTER_ROUNDING.
30464         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30465         ERANGE for exact underflow cases.
30466         * stdlib/Makefile (tests): Add tst-tininess and
30467         tst-strtod-underflow.
30468         ($(objpfx)tst-tininess): Use $(link-libm).
30469         ($(objpfx)tst-strtod-underflow): Likewise.
30470
30471 2012-10-30  Andreas Jaeger  <aj@suse.de>
30472
30473         [BZ#14767]
30474         * elf/Makefile (tests): Remove conditional for have-initfini-array
30475         since this is now always required and the variable does not exist
30476         anymore.
30477         (tests-static): Likewise.
30478         (modules-names): Likewise.
30479
30480         * po/eo.po: Add Esperanto translation from translation project.
30481
30482         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30483         merged with constructor/destructor.
30484         (init_array): Likewise.
30485         * elf/tst-array2dep.c (fini_array): Likewise.
30486         (init_array): Likewise.
30487
30488 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30489
30490         * manual/message.texi: Delete @cartouche tags.
30491
30492 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30493
30494         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30495         EOPNOTSUPP.
30496         * sysdeps/mach/hurd/fsync.c: Likewise.
30497
30498         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30499         [_POSIX_REALTIME_SIGNALS]: Change condition to
30500         [_POSIX_REALTIME_SIGNALS > 0].
30501
30502 2012-10-27  Andreas Jaeger  <aj@suse.de>
30503
30504         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30505         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30507         [__WORDSIZE != 64]: Likewise.
30508
30509 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30510
30511         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30512         *  iconvdata/tst-tables.sh: Likewise.
30513
30514 2012-10-25  David S. Miller  <davem@davemloft.net>
30515
30516         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30517         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30518         of strtoull.
30519
30520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30521         ifunc-impl-list.c
30522         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30523         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30524         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30525         file.
30526
30527 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30528
30529         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30530         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30531         __getdirentries.
30532
30533 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30534             Jim Blandy  <jimb@codesourcery.com>
30535
30536         * scripts/cross-test-ssh.sh: New file.
30537         * manual/install.texi (Configuring and compiling): Document use of
30538         cross-test-ssh.sh.
30539         * INSTALL: Regenerated.
30540
30541 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30542
30543         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30544         EOPNOTSUPP.
30545
30546 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30547
30548         * Makeconfig (run-program-prefix): Fix comment.
30549
30550 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30551             Jim Blandy  <jimb@codesourcery.com>
30552
30553         * Makeconfig (test-wrapper): New variable,
30554         (test-wrapper-env): Likewise.
30555         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30556         (run-built-tests): Define to yes.
30557         (run-program-prefix): Use $(test-wrapper).
30558         (built-program-cmd): Likewise.
30559         * Rules (make-test-out): Use $(test-wrapper-env) and
30560         $(host-built-program-cmd).
30561         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30562         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30563         tst-pathopt.sh.
30564         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30565         $(test-wrapper-env) to tst-rtld-load-self.sh.
30566         ($(objpfx)order2.out): Use $(test-wrapper).
30567         ($(objpfx)tst-initorder.out): Likewise.
30568         ($(objpfx)tst-initorder2.out): Likewise.
30569         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30570         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30571         (test_wrapper_env): New variable.  Use it to run ld.so.
30572         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30573         Use it to run ld.so.
30574         (test_wrapper_env): Likewise.
30575         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30576         $(test-wrapper) to run-iconv-test.sh.
30577         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30578         (ICONV): Use $test_wrapper.
30579         * posix/Makefile ($(objpfx)globtest.out): Pass
30580         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30581         globtest.sh, not $(run-program-prefix).
30582         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30583         (test_wrapper): Likewise.
30584         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30585         set together with run_via_rtld_prefix.
30586         (run_program_prefix): Define in terms of test_wrapper and
30587         run_via_rtld_prefix.
30588
30589 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30590
30591         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30592         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30593         Targets removed.
30594
30595         [BZ #14743]
30596         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30597         Declare __clock_getres, __clock_gettime, __clock_settime,
30598         __clock_nanosleep, and __clock_getcpuclockid.
30599         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30600         Remove librt_hidden_def (clock_gettime).
30601         * sysdeps/unix/clock_gettime.c: Likewise.
30602         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30603         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30604         * rt/clock_getres.c: Define __clock_getres as an alias.
30605         * sysdeps/posix/clock_getres.c: Likewise.
30606         * rt/clock_settime.c: Define __clock_settime as an alias.
30607         * sysdeps/unix/clock_settime.c: Likewise.
30608         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30609         * sysdeps/unix/clock_nanosleep.c: Likewise.
30610         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30611         * rt/clock-compat.c: New file.
30612         * rt/Makefile (librt-routines): Add clock-compat and move
30613         $(clock-routines) to ...
30614         (routines): ... here, new variable.
30615         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30616         Don't add get_clockfreq here.
30617         * rt/Versions (libc: GLIBC_2.17): New version set.
30618         Add clock_* symbols here.
30619         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30620         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30621         (GLIBC_2.17): Add clock_* symbols.
30622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30626         Likewise.
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30628         Likewise.
30629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30633         * NEWS: Mention the move.
30634
30635         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30636         Use __open, __read, __close rather than their public counterparts.
30637         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30638         (__get_clockfreq_via_cpuinfo): Likewise.
30639         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30640         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30641
30642         * config.h.in (HAVE_IFUNC): New #undef.
30643         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30644         was successful.
30645         * configure: Regenerated.
30646
30647 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30648
30649         * configure.in: Move READELF check to start of file.
30650         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30651         libc_cv_asm_gnu_indirect_function in the process.
30652         * configure: Regenerated.
30653
30654 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30655
30656         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30657         send the output to /dev/null.
30658         (libc_cv_cc_with_libunwind): Likewise.
30659         (libc_cv_as_noexecstack): Likewise.
30660         * configure: Regenerate.
30661
30662 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30663
30664         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30665
30666         * posix/globtest.sh (TMPDIR): Do not set.
30667         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30668         (testout): Likewise.
30669
30670 2012-10-24  Andreas Jaeger  <aj@suse.de>
30671
30672         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30673         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30674         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30675         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30676         posix_fadvise64, posix_fallocate64.
30677
30678         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30679         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30680         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30681         Likewise.
30682         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30683         Likewise.
30684         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30685
30686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30687         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30688         <bits/fcntl-linux.h>.
30689         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30690
30691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30692         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30693         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30694         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30695         [__WORDSIZE != 64]: Likewise.
30696
30697 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30698
30699         * Makeconfig (run-built-tests): New variable.
30700         * Rules [$(cross-compiling) = yes]: Change condition to
30701         [$(run-built-tests) = no].
30702         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30703         to [$(run-built-tests) = yes].
30704         * elf/Makefile [$(cross-compiling) = no]: Likewise
30705         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30706         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30707         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30708         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30709         * io/Makefile [$(cross-compiling) = no]: Likewise.
30710         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30711         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30712         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30713         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30714         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30715         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30716         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30717         * string/Makefile [$(cross-compiling) = no]: Likewise.
30718
30719         * posix/Makefile ($(objpfx)globtest.out): Pass
30720         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30721         $(rtld-installed-name).
30722         * posix/globtest.sh (elf_objpfx): Remove variable.
30723         (rtld_installed_name): Likewise.
30724         (library_path): Likewise.
30725         (run_program_prefix): New variable.  Use for running globtest
30726         binary.
30727
30728 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30729             Joseph Myers  <joseph@codesourcery.com>
30730
30731         * Makeconfig (host-built-program-cmd): New variable.
30732         * elf/Makefile (tst-stackguard1-ARGS): Use
30733         $(host-built-program-cmd).
30734         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30735         (tst-spawn-ARGS): Likewise.
30736         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30737
30738 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30739             Jim Blandy  <jimb@codesourcery.com>
30740
30741         * Makeconfig (run-via-rtld-prefix): New variable.
30742         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30743         (built-program-cmd): Likewise.
30744
30745 2012-10-22  Andreas Jaeger  <aj@suse.de>
30746
30747         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30748         __O_RSYNC if it exists, otherwise to O_SYNC.
30749
30750 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30751             Joseph Myers  <joseph@codesourcery.com>
30752
30753         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30754         /dev/null.
30755         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30756         from /dev/null
30757         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30758         /dev/null.
30759
30760 2012-10-22  Andreas Jaeger  <aj@suse.de>
30761
30762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30763         Define always.
30764         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30765
30766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30767         bits/fcntl-linux.h.
30768
30769         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30770         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30771
30772         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30773         to __O_LARGEFILE.
30774         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30775         to __O_LARGEFILE.
30776
30777 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30778             Joseph Myers  <joseph@codesourcery.com>
30779
30780         * config.make.in (NM): New variable.
30781
30782 2012-10-21  Andreas Jaeger  <aj@suse.de>
30783
30784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30785         definitions and declarations that are provided by
30786         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30787
30788 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30789
30790         [BZ #14683]
30791         * elf/Makefile (tests-static): Add tst-leaks1-static.
30792         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30793         ($(objpfx)tst-leaks1-static): New rule.
30794         ($(objpfx)tst-leaks1-static-mem): Likewise.
30795         (tst-leaks1-static-ENV): New macro.
30796         * elf/dl-open.c (dl_open_worker): Check the main application
30797         only if SHARED is defined.
30798         * elf/tst-leaks1-static.c: New file.
30799
30800 2012-10-20  Andreas Jaeger  <aj@suse.de>
30801
30802         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30803         generic values for Linux.
30804         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30805         and declarations that are provided by <bits/fcntl-linux.h> and
30806         include <bits/fcntl-linux.h>.
30807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30809
30810 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30811
30812         * io/fcntl.h: Move include of <bits/types.h> to the top and
30813         include it unconditionally.
30814
30815 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30816
30817         * wcsmbs/Makefile (tests-ifunc): New variable.
30818         (tests): Add $(tests-ifunc).
30819         * wcsmbs/test-wcschr-ifunc.c: New file.
30820         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30821         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30822         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30823         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30824         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30825
30826         * string/Makefile (tests-ifunc): New variable.
30827         (tests): Add $(tests-ifunc).
30828         * string/test-memccpy.c (TEST_NAME): New macro.
30829         * string/test-memchr.c (TEST_NAME): Likewise.
30830         * string/test-memcmp.c (TEST_NAME): Likewise.
30831         * string/test-memcpy.c (TEST_NAME): Likewise.
30832         * string/test-memmem.c (TEST_NAME): Likewise.
30833         * string/test-memmove.c (TEST_NAME): Likewise.
30834         * string/test-memset.c (TEST_NAME): Likewise.
30835         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30836         * string/test-stpcpy.c (TEST_NAME): Likewise.
30837         * string/test-stpncpy.c (TEST_NAME): Likewise.
30838         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30839         * string/test-strcasestr.c (TEST_NAME): Likewise.
30840         * string/test-strcat.c (TEST_NAME): Likewise.
30841         * string/test-strchr.c (TEST_NAME): Likewise.
30842         * string/test-strcmp.c(TEST_NAME): Likewise.
30843         * string/test-strcpy.c (TEST_NAME): Likewise.
30844         * string/test-strcspn.c (TEST_NAME): Likewise.
30845         * string/test-strlen.c (TEST_NAME): Likewise.
30846         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30847         * string/test-strncmp.c (TEST_NAME): Likewise.
30848         * string/test-strncpy.c (TEST_NAME): Likewise.
30849         * string/test-strnlen.c (TEST_NAME): Likewise.
30850         * string/test-strpbrk.c (TEST_NAME): Likewise.
30851         * string/test-strrchr.c (TEST_NAME): Likewise.
30852         * string/test-strspn.c (TEST_NAME): Likewise.
30853         * string/test-strstr.c (TEST_NAME): Likewise.
30854         * string/test-bcopy-ifunc.c: New file.
30855         * string/test-bzero-ifunc.c: Likewise.
30856         * string/test-memccpy-ifunc.c: Likewise.
30857         * string/test-memchr-ifunc.c: Likewise.
30858         * string/test-memcmp-ifunc.c: Likewise.
30859         * string/test-memcpy-ifunc.c: Likewise.
30860         * string/test-memmem-ifunc.c: Likewise.
30861         * string/test-memmove-ifunc.c: Likewise.
30862         * string/test-mempcpy-ifunc.c: Likewise.
30863         * string/test-memset-ifunc.c: Likewise.
30864         * string/test-rawmemchr-ifunc.c: Likewise.
30865         * string/test-stpcpy-ifunc.c: Likewise.
30866         * string/test-stpncpy-ifunc.c: Likewise.
30867         * string/test-strcasecmp-ifunc.c: Likewise.
30868         * string/test-strcasestr-ifunc.c: Likewise.
30869         * string/test-strcat-ifunc.c: Likewise.
30870         * string/test-strchr-ifunc.c: Likewise.
30871         * string/test-strchrnul-ifunc.c: Likewise.
30872         * string/test-strcmp-ifunc.c: Likewise.
30873         * string/test-strcpy-ifunc.c: Likewise.
30874         * string/test-strcspn-ifunc.c: Likewise.
30875         * string/test-strlen-ifunc.c: Likewise.
30876         * string/test-strncasecmp-ifunc.c: Likewise.
30877         * string/test-strncat-ifunc.c: Likewise.
30878         * string/test-strncmp-ifunc.c: Likewise.
30879         * string/test-strncpy-ifunc.c: Likewise.
30880         * string/test-strnlen-ifunc.c: Likewise.
30881         * string/test-strpbrk-ifunc.c: Likewise.
30882         * string/test-strrchr-ifunc.c: Likewise.
30883         * string/test-strspn-ifunc.c: Likewise.
30884         * string/test-strstr-ifunc.c: Likewise.
30885
30886         * debug/Makefile (tests-ifunc): New variable.
30887         (tests): Add $(tests-ifunc).
30888         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30889         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30890         * debug/test-stpcpy_chk-ifunc.c: New file.
30891         * debug/test-strcpy_chk-ifunc.c: Likewise.
30892
30893 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30894
30895         [BZ #13601]
30896         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30897         header is not read in.
30898
30899 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30900
30901         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30902         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30903         directly.  Pass built executable to script as
30904         $(built-program-cmd).
30905         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30906         $testprogram without using LD_LIBRARY_PATH and $ldso.
30907
30908         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30909         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30910         $(rtld-installed-name).
30911         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30912         (rtld_installed_name): Likewise.
30913         (library_path): Likewise.
30914         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30915         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30916         $(run-program-prefix) to tst-tables.sh.
30917         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30918         it to run tst-table-from and tst-table-to.
30919         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30920         Pass it to tst-table.sh.
30921         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30922         $(run-program-prefix) to tst-gettext.sh.
30923         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30924         tst-translit.sh.
30925         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30926         tst-gettext2.sh.
30927         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30928         to run tst-gettext.
30929         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30930         to run tst-gettext2.
30931         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30932         to run tst-translit.
30933         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30934         $(run-program-prefix) to tst-mtrace.sh.
30935         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30936         to run tst-mtrace.
30937         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30938         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30939         $(rtld-installed-name).
30940         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30941         (rtld_installed_name): Likewise.
30942         (run_program_prefix): New variable.  Use it to run wordexp-test.
30943
30944         * Makeconfig (ARCH): Remove all definitions.
30945         (machine): Likewise.
30946         [ARCH]: Remove conditional code.
30947         [!objdir]: Give error.
30948         [!objdir] (objpfx): Remove.
30949         [!objdir] (common-objpfx): Likewise.
30950         [!objdir] (common-objdir): Likewise.
30951         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30952         AC_CONFIG_FILES call.
30953         * configure: Regenerated.
30954
30955         [BZ #13888]
30956         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30957         or TMPDIR.
30958         (testout): Likewise.
30959
30960         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30961         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30962         $(rtld-installed-name).
30963         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30964         (rtld_installed_name): Likwise.
30965         (runit): Remove function.
30966         (run_getconf): New variable,  Use it for running getconf binary.
30967
30968 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30969
30970         [BZ #14716]
30971         * string/test-memmem.c (check_result): New function.
30972         (do_one_test): Use it.
30973         (check1): New function.
30974         (test_main): Use it.
30975
30976 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30977
30978         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30979
30980 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30981
30982         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30983         (_G_LSEEK64): Likewise.
30984         (_G_MMAP64): Likewise.
30985         (_G_FSTAT64): Likewise.
30986         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30987         (_G_LSEEK64): Likewise.
30988         (_G_MMAP64): Likewise.
30989         (_G_FSTAT64): Likewise.
30990         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30991         unconditional.  Call __mmap64 directly.
30992         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30993         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30994         __lseek64 directly.
30995         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30996         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30997         __mmap64 directly.
30998         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30999         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31000         __lseek64 directly.
31001         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31002         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31003         __lseek64 directly.
31004         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31005         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31006         __lseek64 directly.
31007         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31008         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31009         __fxstat64 directly.
31010         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31011         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31012         unconditional.
31013         (freopen64) [!_G_OPEN64]: Remove conditional code.
31014         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31015         unconditional.
31016         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31017         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31018         unconditional.
31019         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31020         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31021         unconditional.
31022         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31023         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31024         unconditional.
31025         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31026         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31027         unconditional.
31028         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31029         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31030         unconditional.
31031         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31032         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31033         unconditional.
31034         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31035
31036 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31037
31038         [BZ #12140]
31039         * manual/memory.texi (Malloc Tunable Parameters): Add note
31040         about free list pointers overwriting some perturb bytes.
31041         Wording suggested by Roland McGrath.
31042
31043 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31044
31045         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31046         (lgamma_test): Likewise.
31047         (tgamma_test): Likewise.
31048
31049 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31050
31051         [BZ #14700]
31052         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31053         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31054
31055 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31056
31057         * NEWS: Mention BZ #14716.
31058         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31059         when removing AVAILABLE1_USES_J macro.
31060
31061 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31062
31063         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31064         (__bswap_64): __uint64_t for unsigned 64-bit int.
31065
31066 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31067
31068         * include/string.h (memmem): Declare libc hidden alias.
31069         * string/memmem.c (memmem): Define libc hidden alias.
31070         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31071         __read, __close instead of open, read, close.
31072
31073 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31074
31075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31076         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31077         global and hidden.
31078         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31079         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31080         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31081         Likewise.
31082         (__rawmemchr_sse2): Likewise.
31083         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31084         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31085         (__strchr_sse2): Likewise.
31086         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31087         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31088         (__strcasecmp_sse2): Likewise.
31089         (__strncasecmp_sse2): Likewise.
31090         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31091         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31092         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31093         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31094         (__strrchr_sse2): Likewise.
31095         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31096         ifunc-impl-list.c.
31097         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31098         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31099         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31100         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31101         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31102         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31103         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31104         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31105         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31106         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31107         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31108         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31109         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31110         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31111         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31112         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31113         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31114         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31115         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31116         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31117         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31118         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31119         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31120         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31121         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31122         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31123         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31124         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31125         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31126         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31127
31128         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31129         global and hidden.
31130         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31131         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31132         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31133         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31134         Likewise.
31135         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31136         Likewise.
31137         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31138         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31139         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31140         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31141         ifunc-impl-list.c.
31142         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31143         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31144         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31145         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31146         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31147         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31148         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31149         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31150         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31151         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31152         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31153         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31154         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31155         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31156         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31157         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31158         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31159         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31160         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31161         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31162         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31163         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31164         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31165         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31166         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31167         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31168         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31169         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31170         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31171         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31172         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31173         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31174         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31175         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31177         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31180         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31181         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31182         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31183
31184         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31185         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31186         * include/ifunc-impl-list.h: New file.
31187         * misc/ifunc-impl-list.c: Likewise.
31188         * misc/Makefile (routines): Add ifunc-impl-list.
31189         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31190         * string/test-string.h: Include <ifunc-impl-list.h>.
31191         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31192         TEST_NAME]: New variables.
31193         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31194         are defined.
31195         (test_init): Call __libc_ifunc_impl_list to initialize
31196         func_list if TEST_IFUNC and TEST_NAME are defined.
31197
31198         * string/Makefile (strop-tests): Add bcopy and bzero.
31199         * string/test-bcopy.c: New file.
31200         * string/test-bzero.c: Likewise.
31201         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31202         defined.
31203         * string/test-memset.c: Support bzero test if TEST_BZERO is
31204         defined.
31205         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31206         __libc_memmove.
31207         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31208         __libc_memset.
31209         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31210         of memset.
31211
31212 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31213
31214         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31215         * configure: Regenerated.
31216
31217         * Makeconfig (+link-static-before-libc): Don't include
31218         $(link-static-libc).
31219
31220         * libio/libio.h (_IO_pos_t): Remove.
31221
31222 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31223
31224         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31225         McGrath.
31226
31227 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31228
31229         * crypt/crypt-entry.c: Include fips-private.h.
31230         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31231         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31232         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31233         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31234
31235 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31236
31237         * crypt/crypt-private.h: Include stdbool.h.
31238         (_ufc_setup_salt_r): Return bool.
31239         * crypt/crypt-entry.c: Include errno.h.
31240         (__crypt_r): Return NULL with EINVAL for bad salt.
31241         * crypt/crypt_util.c (bad_for_salt): New.
31242         (_ufc_setup_salt_r): Check that salt is long enough and within
31243         the specified alphabet.
31244         * crypt/badsalttest.c: New file.
31245         * crypt/Makefile (tests): Add it.
31246         ($(objpfx)badsalttest): New.
31247
31248 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31249
31250         * NEWS: Add entry for BZ #14602.
31251
31252 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31253
31254         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31255         type-generic.
31256         * math/libm-test.inc: Update comment listing what functions and
31257         macros are tested.
31258         (isgreater_test): New function.
31259         (isgreaterequal_test): Likewise.
31260         (isless_test): Likewise.
31261         (islessequal_test): Likewise.
31262         (islessgreater_test): Likewise.
31263         (isunordered_test): Likewise.
31264         (main): Call the new functions.
31265
31266 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31267
31268         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31269         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31270         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31271         * sysdeps/i386/configure: Regenerated.
31272         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31273         * sysdeps/mach/configure: Regenerated.
31274         * sysdeps/mach/hurd/configure: Regenerated.
31275         * sysdeps/powerpc/configure: Regenerated.
31276         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31277         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31278         * sysdeps/s390/s390-32/configure: Regenerated.
31279         * sysdeps/s390/s390-64/configure: Regenerated.
31280         * sysdeps/sh/configure: Regenerated.
31281         * sysdeps/sparc/configure: Regenerated.
31282         * sysdeps/unix/sysv/linux/configure: Regenerated.
31283         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31284         * sysdeps/x86_64/configure: Regenerated.
31285
31286         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31287         defined.  Don't check if MAP is NULL.
31288
31289 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31290
31291         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31292         (_G_stat64): Likewise.
31293         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31294         (_G_stat64): Likewise.
31295         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31296         instead of struct _G_stat64.
31297         * libio/fileops.c (mmap_remap_check): Likewise.
31298         (decide_maybe_mmap): Likewise.
31299         (_IO_new_file_seekoff): Likewise.
31300         (_IO_file_stat): Likewise.
31301         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31302         _G_off64_t.
31303         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31304         instead of struct _G_stat64.
31305         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31306
31307 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31308
31309         [BZ #14602]
31310         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31311         Replace with ...
31312         (CHECK_EOL): New macro.
31313         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31314         CHECK_EOL.
31315         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31316         Replace with CHECK_EOL.
31317         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31318         Replace with CHECK_EOL.
31319
31320 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31321
31322         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31323         type-generic.
31324         * math/libm-test.inc: Update comment listing what functions and
31325         macros are tested.
31326         (finite_test): New function.
31327         (isinf_test): Likewise.
31328         (isnan_test): Likewise.
31329         (fpclassify_test): Test subnormal input.
31330         (isfinite_test): Likewise.
31331         (isnormal_test): Likewise.
31332         (main): Call the new functions.
31333
31334 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31335
31336         [BZ #14660]
31337         * Makerules (%.dynsym): Force C locale when running
31338         $(OBJDUMP) --dynamic-syms.
31339
31340 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31341
31342         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31343         <stdint.h>.
31344
31345 2012-10-06  David S. Miller  <davem@davemloft.net>
31346
31347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31348         upper 32-bits of the length value in %o2 since we use branch-on-register
31349         tests which consider the entire 64-bit register.
31350
31351 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31352
31353         * string/test-strstr.c (check2): Add a test for page boundary.
31354
31355 2012-10-05  David S. Miller  <davem@davemloft.net>
31356
31357         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31358         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31359         file.
31360         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31361         sysdep_routines.
31362         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31363         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31364         and bzero when HWCAP_SPARC_CRYPTO is present.
31365
31366 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31367
31368         [BZ #14602]
31369         * string/test-strstr.c (check2): New function.
31370         (test_main): Call check2.
31371
31372         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31373         and bug-strchr1.
31374         * string/bug-strcasestr1.c (do_test): Moved to ...
31375         * string/test-strcasestr.c (check1): Here.  New function.
31376         (do_one_test): Break out result checking code into ...
31377         (check_result): This.  New function.
31378         (do_one_test): Call check_result.
31379         (test_main): Call check1.
31380         * string/bug-strchr1.c (do_test): Moved to ...
31381         * string/test-strchr.c (check1): Here.  New function.
31382         (do_one_test): Break out result checking code into ...
31383         (check_result): This.  New function.
31384         (do_one_test): Call check_result.
31385         (test_main): Call check1.
31386         * string/bug-strstr1.c (main): Moved to ...
31387         * string/test-strstr.c (check1): Here.  New function.
31388         (do_one_test): Break out result checking code into ...
31389         (check_result): This.  New function.
31390         (do_one_test): Call check_result.
31391         (test_main): Call check1.
31392         * string/bug-strcasestr1.c: Removed.
31393         * string/bug-strchr1.c: Likewise.
31394         * string/bug-strstr1.c: Likewise.
31395
31396         * elf/Makefile (dl-routines): Add hwcaps.
31397         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31398         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31399         (_dl_important_hwcaps): Moved to ...
31400         * elf/dl-hwcaps.c: Here.  New file.
31401         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31402
31403         [BZ #14557]
31404         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31405         if IS_IN_rtld isn't defined.
31406
31407         * elf/dl-support.c (_dl_sysinfo_map): New.
31408         Include "get-dynamic-info.h" and "setup-vdso.h".
31409         (_dl_non_dynamic_init): Call setup_vdso.
31410         * elf/dynamic-link.h: Don't include <assert.h>.
31411         (elf_get_dynamic_info): Moved to ...
31412         * elf/get-dynamic-info.h: Here.  New file.
31413         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31414         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31415         * elf/setup-vdso.h: Here.  New file.
31416         * elf/rtld.c: Include "setup-vdso.h".
31417         (dl_main): Call setup_vdso.
31418
31419 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31420
31421         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31422         creal in comment listing functions tested.  List finite, isinf,
31423         isnan, isless, islessequal, isgreater, isgreaterequal,
31424         islessgreater, isunordered, lgamma_r and pow10 as functions and
31425         macros not tested.  Mention which functions not tested are aliases
31426         for other functions.  Fix typo.  Note that signs of NaNs are not
31427         tested.
31428
31429         * scripts/config.guess: Update from config.git.
31430         * scripts/config.sub: Likewise.
31431
31432 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31433
31434         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31435         * misc/madvise.c (madvise): Renamed to __madvise.
31436         Make madvise a weak alias.
31437         * include/sys/mman.h: Declare __madvise.
31438         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31439         * sysdeps/unix/syscalls.list
31440         (madvise): Make __madvise the strong name, and madvise a weak alias.
31441         * sysdeps/unix/sysv/linux/syscalls.list
31442         (madvise, mmap): Remove redundant entries.
31443         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31444         * malloc/malloc.c (mtrim): Likewise.
31445         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31446
31447 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31448
31449         * sysdeps/mach/hurd/dl-cache.c: File removed.
31450         * config.h.in (USE_LDCONFIG): New #undef.
31451         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31452         * configure: Regenerated.
31453         * elf/Makefile (dl-routines): Add dl-cache only under
31454         [$(use-ldconfig) = yes].
31455         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31456         cache on [USE_LDCONFIG].
31457         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31458         [USE_LDCONFIG].
31459         * elf/rtld.c (dl_main): Likewise.
31460
31461 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31462
31463         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31464         _SC_LEVEL4_CACHE_LINESIZE.
31465
31466 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31467
31468         * sysdeps/unix/bsd/confstr.h: File removed.
31469
31470 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31471
31472         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31473         sys/sdt-config.h.
31474
31475 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31476
31477         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31478         Make 'mapoff' field ElfW(Off) rather than off_t.
31479
31480 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31481
31482         * nscd/Makefile: Remove nscd-cflags and all its users.
31483         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31484         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31485
31486         [BZ #10631]
31487         * malloc.c (malloc_printerr): Clarify error message.
31488
31489 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31490
31491         [BZ #14648]
31492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31493         Set bit_FMA_Usable if FMA is supported.
31494         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31495         macro.
31496         (bit_FMA4_Usable): Updated.
31497         (index_FMA_Usable): New macro.
31498         (CPUID_FMA): Likewise
31499         (HAS_FMA): Defined with bit_FMA_Usable.
31500
31501 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31502
31503         * bits/types.h (__swblk_t): Type removed.
31504         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31505         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31507         (__SWBLK_T_TYPE): Likewise.
31508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31509         (__SWBLK_T_TYPE): Likewise.
31510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31511         (__SWBLK_T_TYPE): Likewise.
31512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31513         (__SWBLK_T_TYPE): Likewise.
31514
31515 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31516             Honza Horak <hhorak@redhat.com>
31517
31518         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31519         (xdr_mapname): Use YPMAXMAP as maxsize.
31520         (xdr_peername): Use YPMAXPEER as maxsize.
31521         (xdr_keydat): Use YPAXRECORD as maxsize.
31522         (xdr_valdat): Use YPMAXRECORD as maxsize.
31523
31524 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31525
31526         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31527
31528         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31529         * csu/init-first.c: ... here.
31530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31531         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31532         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31533         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31534         * sysdeps/i386/init-first.c: File removed.
31535         * sysdeps/sh/init-first.c: File removed.
31536
31537 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31538
31539         [BZ #14645]
31540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31541         if x * y might underflow to zero and z is zero.
31542         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31544         * math/libm-test.inc (min_subnorm_value): New variable.
31545         (fma_test): Add more tests.
31546         (fma_test_towardzero): Likewise.
31547         (fma_test_downward): Likewise
31548         (fma_test_upward): Likewise.
31549         (initialize): Set min_subnorm_value.
31550
31551 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31552
31553         [BZ #14638]
31554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31555         0 + 0.
31556         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31557         mode for addition resulting in exact zero.
31558         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31560         exact 0 + 0.
31561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31563         * math/libm-test.inc (fma_test): Add more tests.
31564         (fma_test_towardzero): New function.
31565         (fma_test_downward): Likewise.
31566         (fma_test_upward): Likewise.
31567         (main): Call the new functions.
31568
31569 2012-09-28  David S. Miller  <davem@davemloft.net>
31570
31571         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31572
31573 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31574
31575         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31576         instead of SIGALRM.
31577
31578         * sysdeps/gnu/_G_config.h: Moved to ...
31579         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31580         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31581         * sysdeps/generic/_G_config.h: ... here.
31582
31583         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31584
31585         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31586
31587         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31588         Conditionalize target on [libnss_test1.so-version].
31589
31590         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31591
31592         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31593         (elfobjdir): Move out of conditionals.
31594
31595         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31596         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31597         (__nss_lookup_function): Conditionalize label remove_from_tree on
31598         [!DO_STATIC_NSS || SHARED], matching its only use.
31599
31600 2012-09-28  David S. Miller  <davem@davemloft.net>
31601
31602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31603         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31604         file.
31605         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31606         sysdep_routines.
31607         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31609         when HWCAP_SPARC_CRYPTO is present.
31610
31611 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31612
31613         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31614
31615 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31616
31617         [BZ #6530]
31618         * stdio-common/vfprintf.c (process_string_arg): Revert
31619         2000-07-22 change.
31620
31621 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31622
31623         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31624         for testcase.
31625         * stdio-common/tst-sprintf.c: Include <locale.h>
31626         (main): Test sprintf's handling of incomplete multibyte
31627         characters.
31628
31629 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31630
31631         * elf/dl-runtime.c (VERSYMIDX): Removed.
31632         * elf/dl-version.c (VERSYMIDX): Likewise.
31633         * elf/do-rel.h (VERSYMIDX): Likewise.
31634         (VALIDX): Likewise.
31635         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31636         * elf/rtld.c (VALIDX): Likewise.
31637         (ADDRIDX): Likewise.
31638         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31639         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31640         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31641         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31642         (VALIDX): Likewise.
31643         (ADDRIDX): Likewise.
31644
31645 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31646
31647         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31648
31649 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31650
31651         [BZ #11438]
31652         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31653         to global scope.
31654         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31655         addresses are in the same scope as 192.0.2/24.
31656         * posix/gai.conf: Document new scope table defaults.
31657
31658 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31659
31660         [BZ #5298]
31661         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31662         for ftell.  Compute offsets from write pointers instead.
31663         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31664
31665 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31666
31667         [BZ #14543]
31668         * libio/Makefile (tests): New test case tst-fseek.
31669         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31670         combination works in wide mode.
31671         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31672         state when the external buffer state changes.
31673
31674 2012-09-27  David S. Miller  <davem@davemloft.net>
31675
31676         [BZ #14376]
31677         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31678         pass reloc->r_addend in as the 'high' argument to
31679         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31680
31681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31682
31683 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31684
31685         * rt/tst-aio2.c: Include <pthread.h>.
31686         * rt/tst-aio3.c: Likewise.
31687
31688 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31689
31690         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31691
31692 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31693
31694         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31695         contents on [SHARED].
31696
31697 2012-09-26  Marek Polacek  <polacek@redhat.com>
31698
31699         [BZ #14530]
31700         [BZ #13741]
31701         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31702         for C++ and GCC <4.3 as well as for non GCC compilers.
31703
31704 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31705
31706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31707
31708 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31709
31710         * Makefile.in (all, install): Declare with .PHONY.
31711         Reported by Michael Hope <michael.hope@linaro.org>.
31712
31713 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31714
31715         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31716         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31717         system header.
31718         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31719         Likewise.
31720         (sydep_routines): Add the new and the internal functions.
31721         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31722         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31724         (GLIBC_2.17): Add the new function.
31725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31726         (GLIBC_2.17): Likewise.
31727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31728         (GLIBC_2.17): Likewise.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31730         (GLIBC_2.17): Likewise.
31731         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31732
31733 2012-09-25  Alan Modra  <amodra@gmail.com>
31734
31735         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31736         Add release barrier before setting once_control to say
31737         initialisation is done.  Add hints on lwarx.  Use macro in
31738         place of isync.
31739         (clear_once_control): Add release barrier.
31740
31741 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31742
31743         [BZ #13629]
31744         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31745         specially.
31746         * math/s_clog10.c (__clog10): Likewise.
31747         * math/s_clog10f.c (__clog10f): Likewise.
31748         * math/s_clog10l.c (__clog10l): Likewise.
31749         * math/s_clogf.c (__clogf): Likewise.
31750         * math/s_clogl.c (__clogl): Likewise.
31751         * math/Makefile (libm-calls): Add x2y2m1.
31752         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31753         (__x2y2m1): Likewise.
31754         (__x2y2m1l): Likewise.
31755         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31756         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31757         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31758         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31759         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31760         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31761         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31762         * sysdeps/i386/fpu/libm-test-ulps: Update.
31763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31764
31765         [BZ #14621]
31766         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31767         int as type of variable DEPTH.
31768         (glob): Use size_t instead of int as type of variables NEWCOUNT
31769         and OLD_PATHC.
31770
31771 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31772
31773         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31774         Add s_sincosf-sse2.
31775         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31776         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31777         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31778         macros for using routine as __sincosf_ia32.
31779         Use macro for function declaration and weak_alias.
31780         * sysdeps/i386/fpu/libm-test-ulps: Update.
31781
31782         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31784
31785         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31786         subnormal argument.
31787         * math/s_cexpf.c (__cexpf): Likewise.
31788         * math/s_csinf.c (__csinf): Likewise.
31789         * math/s_csinhf.c (__csinhf): Likewise.
31790         * math/s_ctanf.c (__ctanf): Likewise.
31791         * math/s_ctanhf.c (__ctanhf): Likewise.
31792         * math/s_ccosh.c (__ccoshf): Likewise.
31793         * math/s_cexp.c (__cexpl): Likewise.
31794         * math/s_csin.c (__csin): Likewise.
31795         * math/s_csinh.c (__csinh): Likewise.
31796         * math/s_ctan.c (__ctan): Likewise.
31797         * math/s_ctanh.c (ctanh): Likewise.
31798         * math/s_ccoshl.c (__ccoshl): Likewise.
31799         * math/s_cexpl.c (__cexpl): Likewise.
31800         * math/s_csinl.c (__csinl): Likewise.
31801         * math/s_csinhl.c (__csinhl): Likewise.
31802         * math/s_ctanl.c (__ctanl): Likewise.
31803         * math/s_ctanhl.c (__ctanhl): Likewise.
31804
31805 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31806
31807         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31808         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31809         (_IO_off_t): Define to __off_t, not _G_off_t.
31810         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31811         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31812         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31813         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31814         type of __dummy and __dummy2 fields.
31815         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31816         (_G_ssize_t): Likewise.
31817         (_G_off_t): Likewise.
31818         (_G_pid_t): Likewise.
31819         (_G_uid_t): Likewise.
31820         (_G_wchar_t): Likewise.
31821         (_G_wint_t): Likewise.
31822         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31823         (_G_ssize_t): Likewise.
31824         (_G_off_t): Likewise.
31825         (_G_pid_t): Likewise.
31826         (_G_uid_t): Likewise.
31827         (_G_wchar_t): Likewise.
31828         (_G_wint_t): Likewise.
31829         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31830         (_G_ssize_t): Likewise.
31831         (_G_off_t): Likewise.
31832         (_G_pid_t): Likewise.
31833         (_G_uid_t): Likewise.
31834         (_G_wchar_t): Likewise.
31835         (_G_wint_t): Likewise.
31836
31837 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31838
31839         * malloc/arena.c: Include malloc-sysdep.h.
31840         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31841         is sufficient to shrink the heap or an unmap is needed.
31842         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31843         new function check_may_shrink_heap.
31844         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31845         new function check_may_shrink_heap.
31846
31847 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31848
31849         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31850         comments.
31851
31852 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31853
31854         * catgets/test-gencat.sh: Add "set -e".
31855         * elf/tst-pathopt.sh: Likewise.
31856         * grp/tst_fgetgrent.sh: Likewise.
31857         * iconvdata/run-iconv-test.sh: Likewise.
31858         * intl/tst-gettext.sh: Likewise.
31859         * intl/tst-gettext2.sh: Likewise.
31860         * intl/tst-gettext4.sh: Likewise.
31861         * intl/tst-gettext6.sh: Likewise.
31862         * intl/tst-translit.sh: Likewise.
31863         * io/ftwtest-sh: Likewise.
31864         * libio/test-freopen.sh: Likewise.
31865         * malloc/tst-mtrace.sh: Likewise.
31866         * posix/globtest.sh: Likewise.
31867         * posix/tst-getconf.sh: Likewise.
31868         * posix/wordexp-tst.sh: Likewise.
31869         * stdio-common/tst-printf.sh: Likewise.
31870         * stdio-common/tst-unbputc.sh: Likewise.
31871         * stdlib/tst-fmtmsg.sh: Likewise.
31872         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31873         * catgets/Makefile: Do not specify -e option when running
31874         testsuite shell scripts.
31875         * elf/Makefile: Likewise.
31876         * grp/Makefile: Likewise.
31877         * iconvdata/Makefile: Likewise.
31878         * intl/Makefile: Likewise.
31879         * io/Makefile: Likewise.
31880         * libio/Makefile: Likewise.
31881         * malloc/Makefile: Likewise.
31882         * posix/Makefile: Likewise.
31883         * stdio-common/Makefile: Likewise.
31884         * stdlib/Makefile: Likewise.
31885         * sysdeps/x86_64/Makefile: Likewise.
31886
31887         * io/ftwtest-sh: Add copyright header.
31888         * posix/globtest.sh: Likewise.
31889         * posix/tst-getconf.sh: Likewise.
31890         * posix/wordexp-tst.sh: Likewise.
31891         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31892
31893 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31894
31895         [BZ #13679]
31896         * Makeconfig (+link): Defined as $(+link-static) if
31897         $(build-shared) isn't yes.
31898         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31899         isn't yes.
31900         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31901
31902         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31903
31904         [BZ #14562]
31905         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31906         new chunk size with MALLOC_ALIGN_MASK.
31907
31908 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31909
31910         [BZ #5044]
31911         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31912         <rounding-mode.h>.
31913         (__printf_fphex): Determine rounding using get_rounding_mode and
31914         round_away.
31915         * stdio-common/tst-printf-round.c (struct hex_test): New
31916         structure.
31917         (hex_tests): New variable.
31918         (test_hex_in_one_mode): New function.
31919         (do_test): Also run tests for hex float output.
31920
31921 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31922
31923         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31924         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31925         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31926         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31927         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31928         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31929         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31930         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31931
31932 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31933
31934         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31935         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31936         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31937         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31938
31939 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31940
31941         [BZ #14579]
31942         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31943         mode only.
31944         * elf/tst-rtld-load-self.sh: New test.
31945         * elf/Makefile: Run it.
31946
31947 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31948
31949         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31950         (tst-writev-ENV): Remove.
31951         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31952
31953 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31954
31955         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31956
31957 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31958
31959         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31960         unconditional.
31961         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31962         Likewise.
31963         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31964         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31965         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31966         Likewise.
31967
31968 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31969
31970         [BZ #14587]
31971         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31972         * config.make.in (have-cpp-asm-debuginfo): Removed.
31973         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31974         * configure: Regenerated.
31975
31976 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31977
31978         [BZ #5044]
31979         * stdio-common/printf_fp.c: Include <stdbool.h> and
31980         <rounding-mode.h>.
31981         (___printf_fp): Determine rounding using get_rounding_mode and
31982         round_away.
31983         * stdio-common/tst-printf-round.c: New file.
31984         * stdio-common/Makefile (tests): Add tst-printf-round.
31985         (link-libm): New variable.
31986         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31987
31988 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31989
31990         [BZ #14576]
31991         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31992         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31993         Likewise.
31994         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31995         Likewise.
31996
31997 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31998
31999         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32000         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32001         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32002         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32003
32004 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32005
32006         [BZ #14518]
32007         * include/rounding-mode.h: New file.
32008         * sysdeps/generic/get-rounding-mode.h: Likewise.
32009         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32010         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32011         (MAX_VALUE): New macro.
32012         (MIN_VALUE): Likewise.
32013         (overflow_value): New function.
32014         (underflow_value): Likewise.
32015         (round_and_return): Use overflow_value and underflow_value to
32016         determine return values in overflow and underflow cases.  Use
32017         round_away to determine rounding depending on rounding mode.
32018         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32019         determine return values in overflow and underflow cases.
32020         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32021         (struct test_results): New structure.
32022         (struct test): Use struct test_results to store expected results
32023         for all rounding modes.
32024         (TEST): Include expected results for all rounding modes.
32025         (test_in_one_mode): New function.
32026         (do_test): Use test_in_one_mode to compute and check results.
32027         Check results for all rounding modes.
32028         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32029         $(link-libm).
32030
32031 2012-12-09  Allan McRae  <allan@archlinux.org>
32032
32033         * sysdeps/i386/fpu/libm-test-ulps: Update
32034
32035 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32036
32037         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32038         (_G_int32_t): Likewise.
32039         (_G_uint16_t): Likewise.
32040         (_G_uint32_t): Likewise.
32041         (_G_HAVE_BOOL): Likewise.
32042         (_G_HAVE_ATEXIT): Likewise.
32043         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32044         (_G_HAVE_IO_FILE_OPEN): Likewise.
32045         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32046         (_G_int32_t): Likewise.
32047         (_G_uint16_t): Likewise.
32048         (_G_uint32_t): Likewise.
32049         (_G_HAVE_BOOL): Likewise.
32050         (_G_HAVE_ATEXIT): Likewise.
32051         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32052         (_G_HAVE_IO_FILE_OPEN): Likewise.
32053         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32054         (_G_int32_t): Likewise.
32055         (_G_uint16_t): Likewise.
32056         (_G_uint32_t): Likewise.
32057         (_G_HAVE_BOOL): Likewise.
32058         (_G_HAVE_ATEXIT): Likewise.
32059         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32060         (_G_HAVE_IO_FILE_OPEN): Likewise.
32061
32062 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32063
32064         * csu/libc-tls.c: Update copyright years.
32065
32066 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32067
32068         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32069         [!_G_USING_THUNKS]: Remove conditional code.
32070         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32071         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32072
32073         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32074         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32075         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32076         (_G_VTABLE_LABEL_PREFIX): Likewise.
32077         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32078         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32079         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32080         (_G_VTABLE_LABEL_PREFIX): Likewise.
32081         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32082         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32083         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32084         (_G_VTABLE_LABEL_PREFIX): Likewise.
32085         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32086
32087 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32088
32089         * libio/Makefile: Include ../Makeconfig before tests.
32090         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32091         only if $(build-shared) is yes.
32092
32093         * iconv/gconv_db.c: Update copyright years.
32094
32095 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32096
32097         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32098         unwind info if defined PIC. Fix special cases description.
32099         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32100
32101         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32102         DP_HI_MASK entry.
32103         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32104
32105 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32106
32107         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32108
32109         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32110         is NULL.
32111
32112         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32113         (LDLIBS-tst-chk4): This.
32114         (LDFLAGS-tst-chk5): Renamed to ...
32115         (LDLIBS-tst-chk5): This.
32116         (LDFLAGS-tst-chk6): Renamed to ...
32117         (LDLIBS-tst-chk6): This.
32118         (LDFLAGS-tst-lfschk4): Renamed to ...
32119         (LDLIBS-tst-lfschk4): This.
32120         (LDFLAGS-tst-lfschk5): Renamed to ...
32121         (LDLIBS-tst-lfschk5): This.
32122         (LDFLAGS-tst-lfschk6): Renamed to ...
32123         (LDLIBS-tst-lfschk6): This.
32124
32125         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32126         on $(common-objpfx)soversions.mk.
32127
32128 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32129
32130         [BZ #10014]
32131         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32132         example host name.
32133
32134 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32135
32136         * malloc/arena.c (arena_get_retry): New function that gets
32137         another arena for the caller to try its request on.
32138         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32139         current arena cannot fulfill the request.
32140         (__libc_memalign): Likewise.
32141         (__libc_memalign): Likewise.
32142         (__libc_pvalloc): Likewise.
32143         (__libc_calloc): Likewise.
32144
32145 2012-09-05  John Tobey  <john.tobey@gmail.com>
32146
32147         [BZ #13542]
32148         * manual/arith.texi (Operations on Complex): Fix description
32149         of carg branch cut.
32150
32151 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32152
32153         [BZ #10014]
32154         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32155         host name.
32156
32157         [BZ #10038]
32158         * manual/memory.texi (Memory): Make order of menu items match
32159         order of sections.
32160
32161 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32162
32163         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32164         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32165         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32166
32167 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32168
32169         * csu/libc-tls.c (static_dtv): Renamed to ...
32170         (_dl_static_dtv): This.  Make it global.
32171         (_dl_initial_dtv): Removed.
32172         (__libc_setup_tls): Updated.
32173         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32174         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32175         DL_INITIAL_DTV.
32176
32177 2012-09-06  Petr Machata  <pmachata@redhat.com>
32178
32179         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32180         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32181         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32182         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32183
32184 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32185
32186         [BZ #14545]
32187         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32188         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32189         freeing dtv[-1].
32190
32191 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32192
32193         [BZ #14544]
32194         * Makeconfig (link-static-before-libc): Replace $(+prector)
32195         with $(+prectorT).
32196         (link-static-after-libc): Replace $(+postctor) with
32197         $(+postctorT).
32198         (link-bounded): Replace $(+prector)/$(+postctor) with
32199         $(+prectorT)/$(+postctorT).
32200         (+prectorT): New macro.
32201         (+postctorT): Likewise.
32202
32203 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32204
32205         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32206         (round_str): Handle values above the maximum for IBM long double
32207         as inexact.
32208         * stdlib/tst-strtod-round.c (tests): Regenerated.
32209
32210 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32211
32212         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32213         assembler flag.
32214         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32215         zarch_nohighgprs around the zarch optimized routines.
32216         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32217         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32219         for zarch.
32220
32221 2012-09-05  David S. Miller  <davem@davemloft.net>
32222
32223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32224
32225         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32226         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32227         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32228         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32229         entries.
32230
32231 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32232
32233         * malloc/arena.c: Fold copyright years.
32234         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32235
32236 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32237
32238         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32239
32240 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32241
32242         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32243
32244 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32245
32246         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32247         change internal state upon failure.
32248
32249 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32250
32251         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32252         * malloc/memusage.c (mmap): Likewise.
32253         (mmap64, mremap): Likewise.  Adjust name in comment.
32254
32255 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32256
32257         * libio/fileops.c: Fix typos in comments.
32258         * libio/oldfileops.c: Likewise.
32259         * libio/wfileops.c: Likewise.
32260
32261 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32262
32263         [BZ #1349]
32264         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32265         (tst-malloc-usable-ENV): Set environment for test case.
32266         * malloc/hooks.c (malloc_check_get_size): New function to get
32267         requested size.
32268         * malloc/malloc.c (musable): Use malloc_check_get_size.
32269         * malloc/tst-malloc-usable.c: New test case.
32270
32271 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32272
32273         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32274
32275 2012-09-05  Allan McRae  <allan@archlinux.org>
32276
32277         [BZ #13966]
32278         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32279         determine header location.
32280         * configure: Regenerated.
32281
32282 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32283
32284         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32285         float format.
32286         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32287         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32288         format.
32289         (test): Regenerate.
32290
32291 2012-09-04  David S. Miller  <davem@davemloft.net>
32292
32293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32295         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32296
32297 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32298
32299         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32300         failures.
32301
32302         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32303
32304 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32305
32306         [BZ #9914]
32307         * libio/iogetdelim.c: Include <limits.h>.
32308         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32309         + len + 1 would overflow.
32310
32311 2012-09-03  Andreas Jaeger  <aj@suse.de>
32312
32313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32314         * sysdeps/i386/fpu/libm-test-ulps: Update.
32315
32316 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32317
32318         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32319         Add s_sinf-sse2, s_conf-sse2.
32320
32321         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32322         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32323         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32324         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32325
32326         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32327         for using routine as __sinf_ia32.
32328         Use macro for function declaration and weak_alias.
32329         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32330         for using routine as __cosf_ia32.
32331         Use macro for function declaration and weak_alias.
32332
32333         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32334         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32335
32336         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32337         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32339
32340         * math/libm-test.inc (cos_test): Add more test cases.
32341         (sin_test): Likewise.
32342         (sincos_test): Likewise.
32343
32344 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32345
32346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32347         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32348         hidden.
32349         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32350
32351 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32352
32353         [BZ #14538]
32354         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32355         first element of the GOT.
32356         (elf_machine_load_address): Return the difference between
32357         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32358
32359 2012-09-01  Allan McRae  <allan@archlinux.org>
32360
32361         [BZ #13412]
32362         * configure.in (AWK): Require gawk version 3.0 or later.
32363         * configure: Regenerated.
32364
32365 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32366
32367         * sysdeps/unix/sysv/linux/kernel-features.h
32368         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32369         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32370         [__NR_clock_getres]: Make code unconditional.
32371         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32372         (clock_getcpuclockid): Remove code left unreachable by removal of
32373         conditionals.
32374         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32375         code unconditional.
32376         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32377         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32378         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32379         Make code unconditional.
32380         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32381         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32382         * sysdeps/unix/sysv/linux/clock_settime.c
32383         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32384         conditional code.
32385         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32386         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32387
32388 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32389
32390         [BZ #14476]
32391         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32392         scripts/test-installation.pl.
32393
32394         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32395         and $ld_so_version if it is set.
32396
32397 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32398
32399         [BZ #14516]
32400         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32401         failure if reading from procfs failed.
32402         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32403
32404 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32405
32406         * sysdeps/unix/sysv/linux/kernel-features.h
32407         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32408         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32409         Remove conditional code.
32410         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32411         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32412         Remove conditional code.
32413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32414         * sysdeps/unix/sysv/linux/i386/fxstat.c
32415         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32417         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32418         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32420         * sysdeps/unix/sysv/linux/i386/lxstat.c
32421         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32423         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32424         Remove conditional code.
32425         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32426         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32427         Remove conditional code.
32428         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32429         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32430         <kernel-features.h>.
32431         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32432         Remove.
32433         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32434         Remove conditional code.
32435         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32436         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32437         Remove conditional.
32438
32439 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32440
32441         [BZ #5400]
32442         * NEWS: Add fixed bug number.
32443
32444 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32445
32446         [BZ #14519]
32447         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32448         underflowing exponent in case of negative sign.
32449         * stdlib/tst-strtod-round-data: Add more tests.
32450         * stdlib/tst-strtod-round.c (tests): Regenerated.
32451
32452         [BZ #3479]
32453         * stdlib/strtod_l.c (NDIG): Remove.
32454         (HEXNDIG): Likewise.
32455         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32456         smallest representable value.
32457         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32458         lie within an exact representation of 1/2 ulp of the result.
32459         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32460         unconditionally.
32461         (TENS_P9_IDX): Define unconditionally.
32462         (TENS_P9_SIZE): Likewise.
32463         (TENS_P10_IDX): Likewise.
32464         (TENS_P10_SIZE): Likewise.
32465         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32466         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32467         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32468         entries for 10^2^13 and 10^2^14.
32469         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32470         (TENS_P13_IDX): Define.
32471         (TENS_P13_SIZE): Likewise.
32472         (TENS_P14_IDX): Likewise.
32473         (TENS_P14_SIZE): Likewise.
32474         (_fpioconst_pow10): Change array size to
32475         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32476         unconditional.
32477         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32478         1024]: Add entries for 10^2^13 and 10^2^14.
32479         [LAST_POW10 > _LAST_POW10]: Remove #error.
32480         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32481         (_fpioconst_pow10): Change array size to
32482         FPIOCONST_POW10_ARRAY_SIZE.
32483         * stdlib/gen-fpioconst.c: New file.
32484         * stdlib/gen-tst-strtod-round.c: Likewise.
32485         * stdlib/tst-strtod-round-data: Likewise.
32486         * stdlib/tst-strtod-round.c: Likewise.
32487         * stdlib/Makefile (tests): Add tst-strtod-round.
32488
32489         [BZ #14459]
32490         * stdlib/strtod_l.c: Include <stdint.h>.
32491         (NDEBUG): Do not define.
32492         (round_and_return): Change EXPONENT parameter to type intmax_t.
32493         Rearrange calculations to avoid internal overflow possibilities.
32494         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32495         Rearrange calculations to avoid internal overflow possibilities.
32496         Assert that number fits inside MPNSIZE limbs.
32497         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32498         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32499         calculations and add assertions to avoid internal overflow
32500         possibilities.  Add casts to avoid signed/unsigned operations.
32501         * stdlib/tst-strtod-overflow.c: New file.
32502         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32503
32504 2012-08-25  Marek Polacek  <polacek@redhat.com>
32505
32506         * time/time.h: Fix some typos in comments.
32507
32508 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32509
32510         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32511         * posix/tst-rfc3484-2.c: Likewise.
32512         * posix/tst-rfc3484-3.c: Likewise.
32513
32514 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32515
32516         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32517         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32518
32519 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32520
32521         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32522         #include of fxstatat64.c.
32523
32524 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32525
32526         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32527         * shadow/getspent_r.c: Likewise.
32528         * shadow/getspnam.c: Likewise.
32529         * shadow/getspnam_r.c: Likewise.
32530         * gshadow/getsgent.c: Likewise.
32531         * gshadow/getsgent_r.c: Likewise.
32532         * gshadow/getsgnam.c: Likewise.
32533         * gshadow/getsgnam_r.c: Likewise.
32534         * inet/getnetbyad.c: Likewise.
32535         * inet/getnetbyad_r.c: Likewise.
32536         * inet/getnetbynm.c: Likewise.
32537         * inet/getnetbynm_r.c: Likewise.
32538         * inet/getnetent.c: Likewise.
32539         * inet/getnetent_r.c: Likewise.
32540         * inet/getproto.c: Likewise.
32541         * inet/getproto_r.c: Likewise.
32542         * inet/getprtent.c: Likewise.
32543         * inet/getprtent_r.c: Likewise.
32544         * inet/getprtname.c: Likewise.
32545         * inet/getprtname_r.c: Likewise.
32546         * inet/getrpcbyname.c: Likewise.
32547         * inet/getrpcbyname_r.c: Likewise.
32548         * inet/getrpcbynumber.c: Likewise.
32549         * inet/getrpcbynumber_r.c: Likewise.
32550         * inet/getrpcent.c: Likewise.
32551         * inet/getrpcent_r.c: Likewise.
32552         * inet/getaliasent.c: Likewise.
32553         * inet/getaliasent_r.c: Likewise.
32554         * inet/getaliasname.c: Likewise.
32555         * inet/getaliasname_r.c: Likewise.
32556         * nscd/getgrgid_r.c: Likewise.
32557         * nscd/getgrnam_r.c: Likewise.
32558         * nscd/gethstbyad_r.c: Likewise.
32559         * nscd/gethstbynm3_r.c: Likewise.
32560         * nscd/getpwnam_r.c: Likewise.
32561         * nscd/getpwuid_r.c: Likewise.
32562         * nscd/getsrvbynm_r.c: Likewise.
32563         * nscd/getsrvbypt_r.c: Likewise.
32564         * nscd/gai.c: Likewise.
32565
32566         * configure.in (build_nscd): New substituted variable, set
32567         by --disable-build-nscd and defaults to $use_nscd.
32568         * configure: Regenerated.
32569         * config.make.in (build-nscd): New substituted variable.
32570         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32571         Change conditional to require [$(build-nscd) = yes] as well.
32572         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32573
32574         [BZ# 13696]
32575         * configure.in (use_nscd): New substituted variable, set by
32576         --disable-nscd.  If enabled, define USE_NSCD.
32577         * configure: Regenerated.
32578         * config.h.in: Add USE_NSCD.
32579         * config.make.in (use-nscd): New substituted variable.
32580         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32581         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32582         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32583         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32584         (CFLAGS-getgrnam_r.c): Likewise.
32585         (CFLAGS-initgroups.c): Likewise.
32586         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32587         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32588         Variables removed.
32589         * inet/getnetgrent_r.c
32590         (nscd_setnetgrent): New function, broken out of ...
32591         (setnetgrent): ... here.  Call it.
32592         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32593         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32594         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32595         * nscd/Makefile (routines, aux): Move definitions after include of
32596         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32597         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32598         Conditionalize on [USE_NSCD].
32599         (is_nscd, nscd_init_cb): Likewise.
32600         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32601         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32602         * nss/nss_db/db-init.c: Likewise.
32603         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32604         [USE_NSCD].
32605         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32606         (make_request): Use it.
32607         (cache_valid_p): New function.
32608         (__check_pf): Use it.
32609         * NEWS: Add item for --disable-nscd.
32610
32611 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32612
32613         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32614         to support sed >= 4.2.1-20-ga9bf076.
32615         * configure: Regenerated.
32616
32617 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32618
32619         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32620         Conditionalize whole body on [IREL].
32621
32622 2012-08-22  Jeff Law <law@redhat.com>
32623
32624         [BZ #14505]
32625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32626         if the family is PF_UNSPEC.
32627
32628 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32629
32630         * Makerules (lib-version): Rename from V.
32631         (install-lib-nosubdir): Change V to lib-version.
32632
32633 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32634
32635         [BZ #14252]
32636         * powerpc32/power6/wcschr.c: New file.
32637         * powerpc32/power6/wcscpy.c: New file.
32638         * powerpc32/power6/wcsrchr.c: New file.
32639         * powerpc64/power6/wcschr.c: New file.
32640         * powerpc64/power6/wcscpy.c: New file.
32641         * powerpc64/power6/wcsrchr.c: New file.
32642
32643 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32644
32645         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32646         (two_way_short_needle): Use it.
32647         * string/strstr.c (AVAILABLE1_USES_J): Define.
32648         * string/strcasestr.c: Likewise.
32649
32650         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32651         array references.
32652         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32653
32654         [BZ #11607]
32655         * NEWS: Add an entry.
32656         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32657         define their defaults.
32658         (two_way_short_needle): Detect end-of-string on-the-fly.
32659         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32660         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32661         * string/bug-strcasestr1.c: New test.
32662         * string/Makefile: Run it.
32663
32664 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32665
32666         [BZ #11607]
32667         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32668         the first character.
32669
32670 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32671
32672         * csu/elf-init.c (__libc_csu_irel): Function removed.
32673         * csu/libc-start.c (apply_irel): New function.
32674         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32675
32676 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32677
32678         * sysdeps/unix/sysv/linux/kernel-features.h
32679         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32680         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32681         <kernel-features.h>.
32682         [__NR_fadvise64_64]: Make code unconditional.
32683         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32684         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32685         !__NR_fadvise64_64)]: Likewise.
32686         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32687         !__NR_fadvise64_64))]: Likewise.
32688         [__NR_fadvise64]: Make code unconditional.
32689         [!__NR_fadvise64]: Remove conditional code.
32690         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32691         <kernel-features.h>.
32692         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32693         unconditional.
32694         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32695         conditional code.
32696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32697         not include <kernel-features.h>.
32698         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32699         unconditional.
32700         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32701         conditional code.
32702         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32703         include <kernel-features.h>.
32704         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32705         unconditional.
32706         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32707         conditional code.
32708
32709 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32710
32711         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32712         slight instruction rearrangements per scrollpipe analysis.
32713         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32714
32715 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32716
32717         * manual/syslog.texi (syslog; vsyslog, closelog):
32718         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32719         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32720
32721         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32722         DSOCAPS to match condition on defining it.
32723
32724 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32725
32726         * sysdeps/unix/sysv/linux/kernel-features.h
32727         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32729         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32730         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32732         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32733         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32735         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32736         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32737
32738         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32739         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32740
32741         * sysdeps/unix/sysv/linux/kernel-features.h
32742         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32743         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32744         unconditional.
32745         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32746         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32747         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32748         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32750         Make code unconditional.
32751         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32752         (__mmap64) [!__NR_mmap2]: Likewise.
32753         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32754         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32755         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32756         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32757         [__NR_mmap2]: Make code unconditional.
32758         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32759         (__mmap64) [!__NR_mmap2]: Likewise.
32760
32761 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32762
32763         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32764
32765 2012-08-18  Andreas Jaeger  <aj@suse.de>
32766
32767         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32768
32769 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32770
32771         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32772         * include/unistd.h (__have_sock_cloexec): Likewise.
32773         (__have_pipe2): Likewise.
32774         (__have_dup3): Likewise.
32775
32776 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32777
32778         [BZ #9685]
32779         * include/unistd.h (__have_pipe2): Change define into an extern int.
32780         (__have_dup3): Likewise.
32781         * socket/have_sock_cloexec.c: Include fcntl.h.
32782         (__have_pipe2): New variable.
32783         (__have_dup3): Likewise.
32784
32785 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32786
32787         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32788
32789 2012-08-17  Marek Polacek  <polacek@redhat.com>
32790
32791         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32792         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32793
32794 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32795
32796         * configure.in: Add AC_SUBST for sysheaders.
32797         * configure: Regenerated.
32798         * config.make.in (sysheaders): New substituted variable.
32799
32800         * sysdeps/unix/mkfifo.c: Moved ...
32801         * sysdeps/posix/mkfifo.c: ... here.
32802         * sysdeps/unix/mkfifoat.c: Moved ...
32803         * sysdeps/posix/mkfifoat.c: ... here.
32804
32805         * sysdeps/unix/utime.c: Moved ...
32806         * sysdeps/posix/utime.c: ... here.
32807
32808         * sysdeps/unix/time.c: Moved ...
32809         * sysdeps/posix/time.c: ... here.
32810         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32811         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32812
32813         * sysdeps/unix/nice.c: Moved ...
32814         * sysdeps/posix/nice.c: ... here.
32815
32816         * sysdeps/unix/alarm.c: Moved ...
32817         * sysdeps/posix/alarm.c: ... here.
32818
32819         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32820
32821 2012-08-17  Jeff Law <law@redhat.com>
32822
32823         * intl/Makefile (codeset_mo): New variable.
32824         ($(codeset_mo)): New target.
32825         (tst-codeset.out): Depend on that.  Remove explicit rule.
32826         (tst-gettext3.out, tst-gettext5.out): Likewise.
32827         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32828         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32829         * intl/tst-codeset.sh: Remove.
32830         * intl/tst-gettext3.sh: Likewise.
32831         * intl/tst-gettext5.sh: Likewise.
32832
32833 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32834
32835         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32836         * sysdeps/unix/syscalls.list: ... here.
32837
32838         * sysdeps/posix/getaddrinfo.c
32839         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32840         (gaiconf_init, gaiconf_reload): Use them.
32841         [!_STATBUF_ST_NSEC]
32842         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32843         Define using time_t rather than struct timespec.
32844
32845         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32846         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32847         Macros removed.
32848         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32849         [!NO_THREADS].
32850         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32851         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32852         Likewise.
32853
32854         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32855         __libc_cleanup_push argument.
32856
32857         * bits/param.h: New file.
32858         * misc/sys/param.h: New file.
32859         * include/sys/param.h: New file.
32860         * misc/Makefile (headers): Add bits/param.h.
32861         * sysdeps/generic/sys/param.h: File removed.
32862         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32863         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32864         * sysdeps/mach/hurd/bits/param.h: New file.
32865         * sysdeps/mach/hurd/sys/param.h: File removed.
32866
32867         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32868         last change.
32869
32870         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32871         [_IO_MTSAFE_IO].
32872         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32873         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32874         New macros.
32875
32876         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32877         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32878         rather than -D_IO_MTSAFE_IO conditionally.
32879         * stdio-common/Makefile (CPPFLAGS): Likewise.
32880         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32881         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32882         Use $(libio-mtsafe).
32883         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32884         of -D_IO_MTSAFE_IO.
32885         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32886         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32887         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32888         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32889         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32890         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32891         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32892         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32893         (CFLAGS-fread_u_chk.c): Likewise.
32894         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32895         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32896         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32897         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32898         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32899         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32900         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32901         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32902         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32903
32904         * libio/Makefile: Test [$(libc-reentrant) = yes]
32905         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32906
32907         * Makeconfig
32908         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32909         * sysdeps/pthread/configure: File removed.
32910         * sysdeps/pthread/Makeconfig: New file.
32911         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32912         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32913
32914 2012-08-16  Gary Benson  <gbenson@redhat.com>
32915
32916         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32917         unmapping the first object in a namespace.
32918
32919 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32920
32921         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32922         (__internal_setnetgrent): ... this.  Add internal_function to
32923         definition.  Add libc_hidden_def.
32924         (setnetgrent): Update caller.
32925         (internal_endnetgrent): Renamed to ...
32926         (__internal_endnetgrent): ... this.  Add internal_function to
32927         definition.  Add libc_hidden_def.
32928         (endnetgrent): Update caller.
32929         (internal_getnetgrent_r): Renamed to ...
32930         (__internal_getnetgrent_r): ... this.  Add internal_function to
32931         definition.  Add libc_hidden_def.
32932         (__getnetgrent_r): Update caller.
32933         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32934
32935 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32936
32937         * stdlib/longlong.h: Update from GCC.
32938
32939 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32940
32941         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32942         on _QL, which is set by umul_ppmm but never used.
32943         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32944         variables, which are set by GMP macros but never used.
32945         * stdio-common/_itowa.c (_itowa): Likewise.
32946         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32947         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32948
32949 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32950
32951         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32952         struct La_sh_regs is not constant.
32953         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32954         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32955         and struct La_sparc64_regs are not constant.
32956
32957 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32958
32959         * sysdeps/unix/sysv/linux/kernel-features.h
32960         (__ASSUME_POSIX_TIMERS): Remove.
32961         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32962         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32963         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32964         Make code unconditional.
32965         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32966         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32967         Make code unconditional.
32968         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32969         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32970         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32971         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32972         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32973         Make code unconditional.
32974         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32975         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32976         (__libc_missing_posix_timers): Remove.
32977
32978 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32979
32980         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32981         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32982
32983         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32984
32985         * elf/dl-sym.c: Include <stdlib.h>.
32986
32987         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32988         constants, which avoids warnings in 32-bit builds.
32989
32990         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32991         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32992
32993         * misc/lseek.c: File moved to ...
32994         * io/lseek.c: ... here.
32995
32996         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32997
32998         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32999         shifting LEN more than 31 bits at once.
33000
33001 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33002
33003         [BZ #14195]
33004         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33005         segmentation fault for a case of two empty input strings.
33006         * string/test-strncasecmp.c (check1): Renamed to...
33007         (bz12205): ...this.
33008         (bz14195): Add new testcase for two empty input strings and N > 0.
33009         (test_main): Call new testcase, adapt for renamed function.
33010
33011 2012-08-15  Andreas Jaeger  <aj@suse.de>
33012
33013         [BZ #14090]
33014         * crypt/md5test2.c: New test, based on test supplied by Serge
33015         Belyshev <belyshev@depni.sinp.msu.ru>.
33016         * crypt/Makefile (xtests): Add md5test-giant..
33017         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33018
33019 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33020
33021         [BZ #14090]
33022         * crypt/md5.c (md5_process_block): Don't assume the buffer
33023         length is less than 2**32.
33024         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33025         length is less than 2**64.
33026
33027 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33028
33029         * string/str-two-way.h: Include <sys/param.h>.
33030         (MAX): Macro removed.
33031
33032         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33033         Move #define and #undef of memmove to just before and after
33034         including <string.h>.
33035
33036         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33037         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33038         and after including <string.h>.  Move declarations of
33039         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33040         to before #include "string/memmove.c".
33041
33042         * include/dirent.h: Declare __getdirentries.
33043
33044         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33045         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33046
33047 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33048
33049         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33050         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33051         * sysdeps/i386/configure: Regenerated.
33052         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33053         STABS_CURRENT_FILE, and STABS_FUN.
33054         (END): Remove call to STABS_FUN_END.
33055         (STABS_CURRENT_FILE1): Delete.
33056         (STABS_CURRENT_FILE): Likewise.
33057         (STABS_FUN): Likewise.
33058         (STABS_FUN_END): Likewise.
33059         (STABS_FUN2): Likewise.
33060         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33061         * sysdeps/x86_64/configure: Regenerated.
33062
33063 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33064
33065         * elf/dl-open.c: Include <atomic.h>.
33066         * elf/dl-lookup.c: Likewise.
33067
33068 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33069
33070         * sysdeps/unix/sysv/linux/kernel-features.h
33071         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33072         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33073         unconditionally.
33074         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33075         unconditionally.
33076         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33077         condition on __ASSUME_CLONE_THREAD_FLAGS.
33078
33079 2012-08-14  Andreas Jaeger  <aj@suse.de>
33080
33081         * sysdeps/i386/fpu/libm-test-ulps: Update.
33082
33083 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33084
33085         * include/atomic.h (atomic_exchange_and_add): Split into ...
33086         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33087         New atomic macros.
33088
33089 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33090
33091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33092
33093 2012-08-13  Jeff Law <law@redhat.com>
33094
33095         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33096         null byte in the output string.
33097
33098 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33099
33100         * sysdeps/unix/sysv/linux/kernel-features.h
33101         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33102         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33103         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33104         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33105         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33106         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33107         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33108
33109 2012-08-09  Jeff Law <law@redhat.com>
33110
33111         [BZ #13939]
33112         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33113         When avoid_arena is set, don't retry in the that arena.  Pick the
33114         next one, whatever it might be.
33115         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33116         (arena_lock): Pass in new parameter to arena_get2.
33117         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33118         arena_get2.
33119         (__libc_malloc): Unify retrying after main arena failure with
33120         __libc_memalign version.
33121         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33122
33123 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33124
33125         [BZ #14166]
33126         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33127         to __redirect_strstr.
33128         (__strstr_sse42): Use typeof __redirect_strstr.
33129         (__strstr_ia32): Likewise.
33130         (__libc_strstr): New prototype.
33131         (strstr): Renamed to ...
33132         (__libc_strstr): This.
33133         (strstr): New strong alias of __libc_strstr.
33134         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33135         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33136         __redirect_time.
33137         Include <time.h>.
33138         (__libc_time): New prototype.
33139         (time_ifunc): Replace time with __libc_time.
33140         (time): New strong alias and hidden definition of __libc_time.
33141         (__GI_time): Remove strong alias.
33142         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33143         Include <stddef.h>.
33144         (memmove): Redefined to __redirect_memmove.
33145         (__memmove_sse2): Use typeof __redirect_memmove.
33146         (__memmove_ssse3): Likewise.
33147         (__memmove_ssse3_back): Likewise.
33148         (__libc_memmove): New prototype.
33149         (memmove): Renamed to ...
33150         (__libc_memmove): This.
33151         (memmove): New strong alias of __libc_memmove.
33152
33153 2012-08-08  Mark Salter  <msalter@redhat.com>
33154
33155         * elf/elf.h
33156         (R_MN10300_TLS_GD): Define.
33157         (R_MN10300_TLS_LD): Likewise.
33158         (R_MN10300_TLS_LDO): Likewise.
33159         (R_MN10300_TLS_GOTIE): Likewise.
33160         (R_MN10300_TLS_IE): Likewise.
33161         (R_MN10300_TLS_LE): Likewise.
33162         (R_MN10300_TLS_DTPMOD): Likewise.
33163         (R_MN10300_TLS_DTPOFF): Likewise.
33164         (R_MN10300_TLS_TPOFF): Likewise.
33165         (R_MN10300_SYM_DIFF): Likewise.
33166         (R_MN10300_ALIGN): Likewise.
33167         (R_MN10300_NUM): Update.
33168
33169 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33170
33171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33172         Remove.
33173
33174 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33175
33176         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33177
33178         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33179         sysdeps/unix -> sysdeps/posix move.
33180         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33181
33182 2012-08-07      Allan McRae     <allan@archlinux.org>
33183
33184         [BZ #14303]
33185         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33186         (SUNOS_CPP): Likewise.
33187         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33188         not found.
33189         (open_input): Call CPP using execvp.
33190
33191 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33192
33193         * sysdeps/unix/sysv/linux/kernel-features.h
33194         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33195         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33196         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33197         (__ASSUME_WAITID_SYSCALL): Likewise.
33198         * sysdeps/unix/sysv/linux/dl-execstack.c
33199         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33200         code unconditional.
33201         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33202         conditional code.
33203         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33204         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33205         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33206         code.
33207         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33208         unconditional.
33209         [__ASSUME_WAITID_SYSCALL]: Likewise.
33210         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33211
33212 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33213
33214         * sysdeps/unix/closedir.c: Renamed to ...
33215         * sysdeps/posix/closedir.c: ... here.
33216         * sysdeps/unix/dirfd.c: Renamed to ...
33217         * sysdeps/posix/dirfd.c: ... here.
33218         * sysdeps/unix/dirstream.h: Renamed to ...
33219         * sysdeps/posix/dirstream.h: ... here.
33220         * sysdeps/unix/fdopendir.c: Renamed to ...
33221         * sysdeps/posix/fdopendir.c: ... here.
33222         * sysdeps/unix/opendir.c: Renamed to ...
33223         * sysdeps/posix/opendir.c: ... here.
33224         * sysdeps/unix/readdir.c: Renamed to ...
33225         * sysdeps/posix/readdir.c: ... here.
33226         * sysdeps/unix/readdir_r.c: Renamed to ...
33227         * sysdeps/posix/readdir_r.c: ... here.
33228         * sysdeps/unix/rewinddir.c: Renamed to ...
33229         * sysdeps/posix/rewinddir.c: ... here.
33230         * sysdeps/unix/seekdir.c: Renamed to ...
33231         * sysdeps/posix/seekdir.c: ... here.
33232         * sysdeps/unix/telldir.c: Renamed to ...
33233         * sysdeps/posix/telldir.c: ... here.
33234         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33235         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33236         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33237         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33238
33239         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33240         * bits/fcntl.h: ... here.
33241
33242         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33243         not 0.
33244         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33245         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33246         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33247         (struct flock): Move l_start, l_len to the beginning.
33248         Use __pid_t for l_pid.
33249         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33250         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33251         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33252         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33253         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33254         [__USE_LARGEFILE64] (struct flock64): New type.
33255         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33256
33257         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33258         * bits/dirent.h: ... here.
33259
33260         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33261         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33262
33263 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33264
33265         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33266         Change from 2.6.0 to 2.6.16.
33267         * sysdeps/unix/sysv/linux/configure: Regenerated.
33268         * sysdeps/unix/sysv/linux/kernel-features.h
33269         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33270         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33271         version.
33272         (__ASSUME_UTIMES): Likewise.
33273         (__ASSUME_CLONE_STOPPED): Remove.
33274         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33275         architectures, not kernel version.
33276         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33277         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33278         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33279         (__ASSUME_WAITID_SYSCALL): Likewise.
33280         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33281         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33282         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33283         refer to older versions.
33284
33285 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33286
33287         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33288         Define alphasort64 as an alias.
33289         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33290         Define versionsort64 as an alias.
33291         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33292         Define scandir64 as an alias.
33293         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33294         Define scandirat64 as an alias.
33295         * dirent/alphasort64.c (alphasort64):
33296         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33297         * dirent/versionsort64.c: Likewise.
33298         * dirent/scandir64.c: Likewise.
33299         * dirent/scandirat64.c: Likewise.
33300         * sysdeps/wordsize-64/alphasort.c: File removed.
33301         * sysdeps/wordsize-64/alphasort64.c: File removed.
33302         * sysdeps/wordsize-64/scandir.c: File removed.
33303         * sysdeps/wordsize-64/scandir64.c: File removed.
33304         * sysdeps/wordsize-64/scandirat.c: File removed.
33305         * sysdeps/wordsize-64/scandirat64.c: File removed.
33306         * sysdeps/wordsize-64/versionsort.c: File removed.
33307         * sysdeps/wordsize-64/versionsort64.c: File removed.
33308         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33309         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33310         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33311         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33312         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33313         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33316
33317         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33318         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33319         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33320         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33321         [defined __arch64__ || defined __sparcv9]
33322         (__INO_T_MATCHES_INO64_T): New macro.
33323         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33324         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33325         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33326         * sysdeps/unix/sysv/linux/bits/dirent.h
33327         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33328         (_DIRENT_MATCHES_DIRENT64): New macro.
33329
33330         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33331         Define lockf64 as an alias.
33332         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33333         Define fseeko64 as an alias.
33334         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33335         Define ftello64 as an alias.
33336         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33337         Define _IO_fgetpos64 and fgetpos64 as aliases.
33338         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33339         Define _IO_fsetpos64 and fsetpos64 as aliases.
33340         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33341         Conditionalize body on this.
33342         * libio/fseeko64.c: Likewise.
33343         * libio/ftello64.c: Likewise.
33344         * libio/iofgetpos64.c: Likewise.
33345         * libio/iofsetpos64.c: Likewise.
33346         * sysdeps/wordsize-64/lockf.c: File removed.
33347         * sysdeps/wordsize-64/lockf64.c: File removed.
33348         * sysdeps/wordsize-64/fseeko.c: File removed.
33349         * sysdeps/wordsize-64/fseeko64.c: File removed.
33350         * sysdeps/wordsize-64/ftello.c: File removed.
33351         * sysdeps/wordsize-64/ftello64.c: File removed.
33352         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33353         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33354         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33355         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33356         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33357         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33358         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33359         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33360         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33361         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33362         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33363         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33364         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33365         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33366
33367         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33368         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33369         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33371         [defined __arch64__ || defined __sparcv9]
33372         (__OFF_T_MATCHES_OFF64_T): New macro.
33373         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33374         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33375         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33376         (__OFF_T_MATCHES_OFF64_T): New macro.
33377
33378 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33379
33380         * stdlib/secure-getenv.c (__secure_getenv): Replace
33381         GLIBC_2_16 with GLIBC_2_17.
33382
33383 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33384
33385         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33386         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33387
33388 2012-08-03  David S. Miller  <davem@davemloft.net>
33389
33390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33391
33392 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33393
33394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33395         Remove.
33396         (__ASSUME_CORRECT_SI_PID): Likewise.
33397         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33398         (__ASSUME_TMPFS_NAME): Likewise.
33399         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33400         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33401         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33402         (HAVE_AUX_SECURE): Make definition unconditional.
33403         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33404         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33405
33406 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33407
33408         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33409         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33410         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33411         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33412         __eloop_threshold instead of SYMLOOP_MAX.
33413
33414         * sysdeps/generic/eloop-threshold.h: New file.
33415         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33416         of MAXSYMLINKS.
33417         * elf/chroot_canon.c (chroot_canon): Likewise.
33418
33419 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33420
33421         [BZ #13717]
33422         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33423         Change to 2.6.0 everywhere.
33424         * sysdeps/unix/sysv/linux/configure: Regenerated.
33425         * sysdeps/unix/sysv/linux/kernel-features.h
33426         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33427         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33428         kernel versions.
33429         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33430         (__ASSUME_FUTEX_REQUEUE): Remove.
33431         (__ASSUME_STATFS64): Define unconditionally.
33432         (__ASSUME_AT_SECURE): Likewise.
33433         (__ASSUME_CORRECT_SI_PID): Likewise.
33434         (__ASSUME_TGKILL): Define without depending on kernel version for
33435         i386.
33436         (__ASSUME_UTIMES): Likewise.
33437         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33438         kernel version.
33439         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33440         (__ASSUME_TMPFS_NAME): Likewise.
33441         * README: Update reference to Linux kernel versions.
33442
33443 2012-08-02  Marek Polacek  <polacek@redhat.com>
33444
33445         [BZ# 14150]
33446         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33447         libc_cv_asm_type_prefix with %.
33448         * configure: Regenerated.
33449         * include/libc-symbols.h: Remove comment about
33450         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33451         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33452         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33453         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33454         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33455         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33456         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33457         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33458         * elf/tst-unique2mod1.c: Likewise.
33459         * elf/tst-unique1mod2.c: Likewise.
33460         * elf/tst-unique1mod1.c: Likewise.
33461         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33462         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33463         Replace ASM_TYPE_DIRECTIVE with .type.
33464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33465         * sysdeps/i386/sysdep.h: Likewise.
33466         * sysdeps/x86_64/sysdep.h: Likewise.
33467         * sysdeps/sh/sysdep.h: Likewise.
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33469         Do not define ASM_TYPE_DIRECTIVE.
33470         * sysdeps/powerpc/sysdep.h: Likewise.
33471         * sysdeps/powerpc/powerpc32/sysdep.h:
33472         Replace ASM_TYPE_DIRECTIVE with .type.
33473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33474         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33475         * sysdeps/i386/fpu/e_powf.S: Likewise.
33476         * sysdeps/i386/fpu/e_expl.S: Likewise.
33477         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33478         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33479         * sysdeps/i386/fpu/e_pow.S: Likewise.
33480         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33481         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33482         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33483         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33484         * sysdeps/i386/fpu/e_log2.S: Likewise.
33485         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33486         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33487         * sysdeps/i386/fpu/e_powl.S: Likewise.
33488         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33489         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33490         * sysdeps/i386/fpu/e_logl.S: Likewise.
33491         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33492         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33493         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33494         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33495         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33496         * sysdeps/i386/fpu/e_log.S: Likewise.
33497         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33498         * sysdeps/i386/fpu/e_logf.S: Likewise.
33499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33500         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33501         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33502         * sysdeps/i386/fpu/e_log10.S: Likewise.
33503         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33504         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33505         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33506         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33507         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33508         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33509         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33510         * sysdeps/i386/i686/strtok.S: Likewise.
33511         * sysdeps/i386/i386-mcount.S: Likewise.
33512         * sysdeps/i386/strtok.S: Likewise.
33513         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33514         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33515         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33516         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33517         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33518         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33519         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33520         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33521         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33522         * sysdeps/x86_64/_mcount.S: Likewise.
33523         * sysdeps/x86_64/strtok.S: Likewise.
33524         * sysdeps/sh/_mcount.S: Likewise.
33525
33526 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33527
33528         * libio/iofopen.c: Include <fcntl.h>.
33529         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33530         (_IO_fopen64, fopen64): Define as aliases.
33531         * libio/iofopen64.c: Include <fcntl.h>.
33532         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33533         Conditionalize body on this.
33534         * sysdeps/wordsize-64/iofopen.c: File removed.
33535         * sysdeps/wordsize-64/iofopen64.c: File removed.
33536
33537 2012-08-01  Marek Polacek  <polacek@redhat.com>
33538
33539         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33540         Use dlfcn directly instead of a variable.
33541         (binfmt-subdir): Do not define.
33542         (dlfcn): Likewise.
33543
33544 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33545
33546         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33547         Remove all definitions.
33548         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33549         <kernel-features.h>.
33550         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33551         (miss_F_GETOWN_EX): Remove all definitions.
33552         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33553         macro definition.
33554         [!__ASSUME_FCNTL64]: Remove conditional code.
33555         [__ASSUME_FCNTL64]: Make code unconditional.
33556         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33557         <kernel-features.h>.
33558         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33559         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33560         (lockf64) [__NR_fcntl64]: Make code unconditional.
33561         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33562
33563         * sysdeps/unix/sysv/linux/kernel-features.h
33564         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33565         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33566         Make code unconditional.
33567         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33568         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33570         [__NR_vfork]: Make code unconditional.
33571         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33572         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33574         [__NR_vfork]: Make code unconditional.
33575         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33576         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33577
33578 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33579
33580         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33581         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33582
33583         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33584         Define mkstemp64 as an alias.
33585         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33586         Define mkstemps64 as an alias.
33587         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33588         Define mkostemp64 as an alias.
33589         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33590         Define mkostemps64 as an alias.
33591         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33592         Conditionalize body on this.
33593         * misc/mkostemp64.c: Likewise.
33594         * misc/mkostemps64.c: Likewise.
33595         * misc/mkstemps64.c: Likewise.
33596         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33597         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33598         * sysdeps/wordsize-64/mkostemp.c: File removed.
33599         * sysdeps/wordsize-64/mkstemp.c: File removed.
33600         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33601         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33602         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33603         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33604
33605         [BZ #14138]
33606         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33607         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33608         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33609         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33610
33611         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33612         compat_symbol macros from <shlib-compat.h> rather than the underlying
33613         default_symbol_version and symbol_version macros, so that DEFAULT
33614         lines in shlib-versions are respected.
33615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33616
33617 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33618
33619         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33620         Declare with warn_unused_result.
33621         (setgid, setregid, setegid, setresgid): Likewise.
33622         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33623         Likewise.
33624         * WUR-REPORT: Remove set*id functions.
33625
33626 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33627
33628         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33629
33630 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33631
33632         [BZ #10191]
33633         * include/sys/socket.h (__libc_accept, __libc_accept4):
33634         Add attribute_hidden.
33635         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33636
33637         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33638         use of PTR_MANGLE.
33639         * inet/getnetgrent_r.c (setup): Likewise.
33640
33641         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33642
33643 2012-07-31  David S. Miller  <davem@davemloft.net>
33644
33645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33646
33647 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33648
33649         [BZ #13629]
33650         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33651         value between 1.0 and 2.0 and smaller part has absolute value less
33652         than 1.0.
33653         * math/s_clog10.c (__clog10): Likewise.
33654         * math/s_clog10f.c (__clog10f): Likewise.
33655         * math/s_clog10l.c (__clog10l): Likewise.
33656         * math/s_clogf.c (__clogf): Likewise.
33657         * math/s_clogl.c (__clogl): Likewise.
33658         * math/libm-test.inc (clog_test): Add more tests.
33659         (clog10_test): Likewise.
33660         * sysdeps/i386/fpu/libm-test-ulps: Update.
33661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33662
33663 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33664
33665         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33666         Exit with zero in case no suitable GID is found, and write a
33667         message to standard error.
33668
33669 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33670
33671         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33672         rather than to 1.
33673         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33674         (MAXPATHLEN): Removed.
33675         (NOGROUP, NODEV): New macros.
33676         (setbit, clrbit, isset, isclr): New macros.
33677         (howmany, roundup, powerof2): New macros.
33678         (DEV_BSIZE): New macro.
33679
33680         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33681         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33682
33683         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33684         definition on [!__NO_LONG_DOUBLE_MATH].
33685
33686         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33687         PTR_MANGLE and PTR_DEMANGLE.
33688
33689         * socket/accept4.c (accept4): Rename to __libc_accept4.
33690         Define accept4 as a weak alias.
33691
33692         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33693         on [_DIRENT_HAVE_D_TYPE].
33694         * io/ftw.c (ftw_dir): Likewise.
33695
33696         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33697
33698         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33699
33700         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33701         Use the BSD numbers rather than the arbitrary ones we had.
33702         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33703         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33704         (SIGXCPU, SIGXFSZ): New macros.
33705         (_NSIG): Now 32.
33706
33707         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33708         initializer on [_LIBC_REENTRANT].
33709
33710         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33711         definitions inside [_POSIX_MAPPED_FILES].
33712
33713         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33714
33715         * dirent/opendir.c: Include <fcntl.h>.
33716
33717         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33718         (__libc_getspecific): Likewise.
33719         (__libc_key_create): Likewise.
33720
33721         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33722         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33723         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33724         (tmpfile64): Define as alias.
33725         * sysdeps/wordsize-64/tmpfile.c: File removed.
33726         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33727         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33728         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33729
33730         * stdio-common/vfscanf.c: Include <stdbool.h>.
33731         * nss/makedb.c: Likewise.
33732         * stdio-common/_i18n_number.h: Likewise.
33733         * argp/argp-help.c: Likewise.
33734         * posix/wordexp.c: Likewise.
33735         * sysdeps/posix/spawni.c: Likewise.
33736         * nss/nss_files/files-initgroups.c: Likewise.
33737         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33738         * nss/nss_files/files-initgroups.c: Likewise.
33739         * nss/nss_db/db-netgrp.c: Likewise.
33740         * nss/nss_db/db-initgroups.c: Likewise.
33741         * io/fchmodat.c: Include <sys/stat.h>.
33742
33743         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33744         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33745
33746         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33747         [HAVE_MMAP].
33748
33749         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33750         Add multiple inclusion protection.
33751
33752 2012-07-27  David S. Miller  <davem@davemloft.net>
33753
33754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33755
33756 2012-07-27  Gary Benson  <gbenson@redhat.com>
33757
33758         [BZ #14298]
33759         * elf/rtld.c: Include <stap-probe.h>.
33760         (dl_main): Added static probes "init_start" and "init_complete".
33761         * elf/dl-load.c: Include <stap-probe.h>.
33762         (lose): Take new parameter "nsid".
33763         Added static probe "map_failed".
33764         (_dl_map_object_from_fd): Pass namespace id to lose.
33765         Added static probe "map_start".
33766         (open_verify): Pass namespace id to lose.
33767         * elf/dl-open.c: Include <stap-probe.h>.
33768         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33769         and "reloc_complete".
33770         * elf/dl-close.c: Include <stap-probe.h>.
33771         (_dl_close_worker): Added static probes "unmap_start" and
33772         "unmap_complete".
33773         * elf/rtld-debugger-interface.txt: New file documenting the above.
33774
33775 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33776
33777         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33778         rather than a string variable.
33779         * sunrpc/rpc_main.c (h_output): Likewise.
33780         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33781
33782 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33783
33784         * inet/check_native.c: New file.
33785
33786 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33787
33788         [BZ #13629]
33789         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33790         if larger part has absolute value 1.0.
33791         * math/s_clog10.c (__clog10): Likewise.
33792         * math/s_clog10f.c (__clog10f): Likewise.
33793         * math/s_clog10l.c (__clog10l): Likewise.
33794         * math/s_clogf.c (__clogf): Likewise.
33795         * math/s_clogl.c (__clogl): Likewise.
33796         * math/libm-test.inc (clog_test): Add more tests.
33797         (clog10_test): Likewise.
33798         * sysdeps/i386/fpu/libm-test-ulps: Update.
33799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33800
33801         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33802         (pltexit): Likewise.
33803         (La_regs): Likewise.
33804         (La_retval): Likewise.
33805         (int_retval): Likewise.
33806         Update #error for removed macros to refer only to definitions in
33807         tst-audit.h.
33808         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33809         macro.
33810         (pltexit): Likewise.
33811         (La_regs): Likewise.
33812         (La_retval): Likewise.
33813         (int_retval): Likewise.
33814         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33815         macro.
33816         (pltexit): Likewise.
33817         (La_regs): Likewise.
33818         (La_retval): Likewise.
33819         (int_retval): Likewise.
33820         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33821         macro.
33822         (pltexit): Likewise.
33823         (La_regs): Likewise.
33824         (La_retval): Likewise.
33825         (int_retval): Likewise.
33826         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33827         macro.
33828         (pltexit): Likewise.
33829         (La_regs): Likewise.
33830         (La_retval): Likewise.
33831         (int_retval): Likewise.
33832         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33833         macro.
33834         (pltexit): Likewise.
33835         (La_regs): Likewise.
33836         (La_retval): Likewise.
33837         (int_retval): Likewise.
33838         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33839         macro.
33840         (pltexit): Likewise.
33841         (La_regs): Likewise.
33842         (La_retval): Likewise.
33843         (int_retval): Likewise.
33844         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33845         macro definitions in tst-audit.h.
33846         * sysdeps/i386/tst-audit.h: New file.
33847         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33848         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33849         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33850         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33851         * sysdeps/sh/tst-audit.h: Likewise.
33852         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33853         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33854         * sysdeps/x86_64/tst-audit.h: Likewise.
33855
33856 2012-07-26  Andreas Jaeger  <aj@suse.de>
33857
33858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33859         ptrace.
33860
33861         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33862         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33863         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33864         PTRACE_O_MASK.
33865         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33866         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33867         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33868
33869         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33870         value.
33871
33872         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33873         _sigsys.
33874         (si_call_addr, si_syscall, si_arch): Define new macro.
33875         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33876         _sigsys.
33877         (si_call_addr, si_syscall, si_arch): Define new marcro.
33878         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33879         _sigsys.
33880         (si_call_addr, si_syscall, si_arch): Define new macro.
33881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33882         _sigsys.
33883         (si_call_addr, si_syscall, si_arch): Define new macro.
33884
33885 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33886
33887         [BZ #13717]
33888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33889         Change to 2.4.21 where previously 2.4.1.
33890         * sysdeps/unix/sysv/linux/configure: Regenerated.
33891         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33892         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33893         Linux kernel version.
33894         (__ASSUME_STD_AUXV): Remove.
33895         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33896         kernel version.
33897         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33898         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33899         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33900         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33901         (__ASSUME_NETLINK_SUPPORT): Likewise.
33902         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33903         (__no_netlink_support): Remove conditional definition.
33904         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33905         Remove.
33906         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33907         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33908         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33909         (if_nameindex_ioctl): Remove.
33910         (if_nameindex_netlink): Do not handle __no_netlink_support.
33911         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33912         code.
33913         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33914         Remove conditional code.
33915         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33916         code.
33917         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33918         unconditional.
33919         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33920         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33921         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33922         Remove.
33923         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33924         [!__ASSUME_STD_AUXV]: Remove conditional code.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33926         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33927         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33929         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33930         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33931         code.
33932         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33934         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33935         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33936         conditional code.
33937         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33939         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33940         code.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33942         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33943         conditional code.
33944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33945         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33946         code unconditional.
33947         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33948         conditional code.
33949         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33950         unconditional.
33951         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33952         conditional code.
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33954         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33955         unconditional.
33956         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33957         conditional code.
33958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33959         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33960         code unconditional.
33961         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33962         conditional code.
33963         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33964         unconditional.
33965         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33966         conditional code.
33967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33968         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33969         code unconditional.
33970         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33971         conditional code.
33972         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33973         unconditional.
33974         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33975         conditional code.
33976
33977 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33978
33979         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33980         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33981         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33982         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33983         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33984         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33985         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33986         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33987         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33988         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33989         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33990         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33991         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33992         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33995         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33996         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33997         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33999         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34000         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34002
34003 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34004
34005         * Versions.def: Add GLIBC_2.17.
34006         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34007         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34008         Introduce __libc_secure_getenv.
34009         * stdlib/Versions (2.17): Add secure_getenv
34010         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34011         * stdlib/secure-getenv.c: Rename __secure_getenv to
34012         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34013         symbol __secure_getenv for GLIBC_2.0.
34014         * stdlib/tst-secure-getenv.c: New.
34015         * stdlib/Makefile (tests): Add testcase.
34016         * manual/startup.texi (Environment Access): Document
34017         secure_getenv.
34018         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34019         __libc_secure_getenv.
34020         * inet/ruserpass.c (ruserpass): Likewise.
34021         * malloc/mtrace.c (mtrace): Likewise.
34022         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34023         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34024         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34025         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34026         HAVE_SECURE_GETENV.
34027         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34028         __secure_getenv to __libc_secure_getenv.
34029         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34031         Likewise.
34032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34033         Likewise.
34034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34036         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34041
34042 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34043
34044         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34045         (struct La_i86_retval): Likewise.
34046         (struct La_x86_64_regs): Likewise.
34047         (struct La_x86_64_retval): Likewise.
34048         (struct La_x32_regs): Likewise.
34049         (struct La_x32_retval): Likewise.
34050         (struct La_ppc32_regs): Likewise.
34051         (struct La_ppc32_retval): Likewise.
34052         (struct La_ppc64_regs): Likewise.
34053         (struct La_ppc64_retval): Likewise.
34054         (struct La_sh_regs): Likewise.
34055         (struct La_sh_retval): Likewise.
34056         (struct La_s390_32_regs): Likewise.
34057         (struct La_s390_32_retval): Likewise.
34058         (struct La_s390_64_regs): Likewise.
34059         (struct La_s390_64_retval): Likewise.
34060         (struct La_sparc32_regs): Likewise.
34061         (struct La_sparc32_retval): Likewise.
34062         (struct La_sparc64_regs): Likewise.
34063         (struct La_sparc64_retval): Likewise.
34064         (struct audit_ifaces): Remove architecture-specific pltenter and
34065         pltexit members.
34066         * sysdeps/i386/ldsodefs.h: New file.
34067         * sysdeps/powerpc/ldsodefs.h: Likewise.
34068         * sysdeps/s390/ldsodefs.h: Likewise.
34069         * sysdeps/sh/ldsodefs.h: Likewise.
34070         * sysdeps/sparc/ldsodefs.h: Likewise.
34071         * sysdeps/x86_64/ldsodefs.h: Likewise.
34072
34073 2012-07-25  Marek Polacek  <polacek@redhat.com>
34074
34075         [BZ #6808]
34076         * math/libm-test.inc (yn_test): Add another test.
34077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34078         to ERANGE when the result is +-Inf.
34079         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34080         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34081         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34082         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34083
34084 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34085
34086         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34087         equal to 0.
34088         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34089         clock_t.
34090         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34091
34092 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34093
34094         * configure.in <sysdeps resolving>: Correct printing
34095         Implies_before.
34096         * configure: Regenerate.
34097
34098 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34099
34100         * math/w_ilogb.c: Include <limits.h>.
34101         * math/w_ilogbl.c: Likewise.
34102
34103 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34104
34105         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34106         va_copy.  Document allowing for unavailable va_copy only as
34107         pre-C99 compatibility.
34108         * manual/string.texi (Copying and Concatenation): Use va_copy
34109         instead of __va_copy in concat example.
34110
34111 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34112
34113         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34114         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34115         it if not null.
34116
34117         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34118         with O_NOLINK passed to __file_name_lookup.
34119
34120         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34121         with O_NOLINK passed to __file_name_lookup.
34122
34123         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34124         negative N or less than NGIDS.
34125
34126         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34127         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34128         enough.  Use memcpy instead of strncpy.
34129
34130 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34131
34132         * elf/Makefile (check-data): Remove.
34133         (localplt.data): New vpath directive.
34134         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34135         instead of $(check-data).
34136         * scripts/data/localplt-generic.data: Move to ...
34137         * sysdeps/generic/localplt.data: ... here.
34138         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34139         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34140         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34142         ... here.
34143         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34145         ... here.
34146         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34148         ... here.
34149         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34151         ... here.
34152         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34154         ... here.
34155         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34157         ... here.
34158
34159 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34160
34161         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34162         PPC32 and PPC64 files.
34163         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34164         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34165
34166 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34167
34168         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34169         __makecontext_ret to ...
34170         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34171         ... here and call exit if uc_link is NULL.  New file.
34172         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34173         __makecontext_ret.S.
34174         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34175         __makecontext_ret to ...
34176         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34177         ... here and call exit if uc_link is NULL.  New file.
34178         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34179         __makecontext_ret.S.
34180
34181 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34182
34183         * elf/elf.h (R_390_IRELATIVE): New definition.
34184         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34185         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34186         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34187         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34188         (elf_machine_lazy_rel): Likewise.
34189         * sysdeps/s390/dl-irel.h: New file.
34190         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34191         * sysdeps/s390/s390-64/memset.S: New asm code.
34192         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34193         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34194         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34195         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34196         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34197         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34199         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34200         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34201         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34202         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34203         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34204         * sysdeps/s390/s390-32/memset.S: New asm code.
34205         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34206
34207 2012-07-17  Marek Polacek  <polacek@redhat.com>
34208
34209         [BZ #14349]
34210         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34211         * sysdeps/s390/s390-64/configure.in: Likewise.
34212         * sysdeps/sparc/configure.in: Likewise.
34213         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34214         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34215         * sysdeps/i386/configure.in: Likewise.
34216         * sysdeps/x86_64/configure.in: Likewise.
34217         * sysdeps/sh/configure.in: Likewise.
34218         * sysdeps/s390/s390-32/configure: Regenerated.
34219         * sysdeps/s390/s390-64/configure: Likewise.
34220         * sysdeps/x86_64/configure: Likewise.
34221         * sysdeps/sh/configure: Likewise.
34222         * sysdeps/powerpc/powerpc64/configure: Likewise.
34223         * sysdeps/powerpc/powerpc32/configure: Likewise.
34224         * sysdeps/sparc/configure: Likwise.
34225         * sysdeps/i386/configure: Likewise.
34226
34227         * elf/dl-open.c: Comment fixes.
34228
34229 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34230
34231         * Makefile [CXX] (check-data): Remove.
34232         [CXX] (c++-types.data): New vpath directive.
34233         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34234         vpath.  Do not allow for C++ type data being missing.
34235         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34236         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34237         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34238         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34239         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34240         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34241         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34243         ... here.
34244         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34246         ... here.
34247         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34249         ... here.
34250         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34252         ... here.
34253         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34255         ... here.
34256         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34258         ... here.
34259         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34261         ... here.
34262         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34264
34265         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34266         definitions to architecture-specific files.
34267         (TLS_IE): Likewise.
34268         (TLS_LD): Likewise.
34269         (TLS_GD): Likewise.
34270         * sysdeps/i386/tls-macros.h: New file.
34271         * sysdeps/powerpc/tls-macros.h: Likewise.
34272         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34273         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34274         * sysdeps/sh/tls-macros.h: Likewise.
34275         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34276         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34277         * sysdeps/x86_64/tls-macros.h: Likewise.
34278
34279 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34280
34281         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34282         zero value for regular exit case.
34283
34284         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34285         (__start_context): Preserve zero value for regular exit case.
34286
34287 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34288             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34289
34290         * manual/setjmp.texi (setcontext): Clarify normal process
34291         termination when uc_link is the null pointer.
34292         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34293         exit call.
34294
34295 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34296
34297         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34298         preprocessor.  Test for each exception mask separately.
34299
34300 2012-07-16  Andreas Jaeger  <aj@suse.de>
34301
34302         * po/ru.po: Update from translation team.
34303
34304 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34305
34306         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34307         equal to 0.
34308         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34309         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34310         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34311         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34312         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34313
34314 2012-07-13  Andreas Jaeger  <aj@suse.de>
34315
34316         * po/fr.po: Update from translation team.
34317
34318 2012-07-12  Marek Polacek  <polacek@redhat.com>
34319
34320         [BZ #14173]
34321         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34323         loop condition.
34324
34325 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34326
34327         [BZ #13717]
34328         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34329         Change to 2.4.1 where previously 2.4.0.
34330         * sysdeps/unix/sysv/linux/configure: Regenerated.
34331         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34332         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34333         version.
34334         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34335         (__ASSUME_AT_CLKTCK): Remove.
34336         (__ASSUME_AT_PAGESIZE): Likewise.
34337         (__ASSUME_AT_XID): Likewise.
34338         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34339         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34340         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34341         unconditionally.
34342         (HAVE_AUX_PAGESIZE): Likewise.
34343         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34344         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34345         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34346
34347 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34348
34349         [BZ #14307]
34350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34351         the temporary buffer used to invoke __gethostbyname2_r,
34352         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34353         host_data / struct gaih_addrtuple.
34354         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34355         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34356         header file nss/nsswitch.h.
34357         * nss/nsswitch.h (global scope): Add definition of implementation
34358         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34359         resolv/nss_dns/dns-host.c).
34360
34361 2012-07-11  Andreas Jaeger  <aj@suse.de>
34362
34363         * po/fr.po: Update from translation team.
34364
34365         * po/sv.po: Update from translation team
34366         * po/fr.po: Another update from translation team.
34367
34368 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34369
34370         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34371         for subnormals or multiply small sinh result by itself.
34372         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34374
34375 2012-07-11  David S. Miller  <davem@davemloft.net>
34376
34377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34378
34379 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34380
34381         [BZ #14347]
34382         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34383         (INTERNAL_MARK): Shift it here.
34384
34385 2012-07-10  Marek Polacek  <polacek@redhat.com>
34386
34387         [BZ #14151]
34388         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34389         libc_cv_asm_global_directive with .globl.
34390         * configure: Regenerated.
34391         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34392         with .globl.
34393         * sysdeps/i386/configure: Regenerated.
34394         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34395         with .globl.
34396         * sysdeps/x86_64/configure: Regenerated.
34397         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34398         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34399         * elf/tst-unique2mod2.c: Likewise.
34400         * elf/tst-unique2mod1.c: Likewise.
34401         * elf/tst-unique1mod2.c: Likewise.
34402         * elf/tst-unique1mod1.c: Likewise.
34403         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34404         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34405         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34406         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34407         * sysdeps/mach/sysdep.h: Likewise.
34408         * sysdeps/i386/sysdep.h: Likewise.
34409         * sysdeps/i386/i386-mcount.S: Likewise.
34410         * sysdeps/x86_64/_mcount.S: Likewise.
34411         * sysdeps/x86_64/sysdep.h: Likewise.
34412         * sysdeps/sh/_mcount.S: Likewise.
34413         * sysdeps/sh/sysdep.h: Likewise.
34414         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34415         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34416         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34417         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34418         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34419         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34420         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34421         * locale/localeinfo.h: Likewise.
34422         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34423         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34424
34425 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34426
34427         [BZ #14336]
34428         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34429         system".
34430         * manual/message.texi (The Uniforum approach): Likewise.
34431         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34432         (glibc iconv Implementation): Likewise.
34433
34434 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34435
34436         [BZ #14337]
34437         * math/s_clog.c (__clog): Avoid scaling a value down where that
34438         could result in underflow.
34439         * math/s_clog10.c (__clog10): Likewise.
34440         * math/s_clog10f.c (__clog10f): Likewise.
34441         * math/s_clog10l.c (__clog10l): Likewise.
34442         * math/s_clogf.c (__clogf): Likewise.
34443         * math/s_clogl.c (__clogl): Likewise.
34444         * math/libm-test.inc (clog_test): Add more tests.
34445         (clog10_test): Likewise.
34446         * sysdeps/i386/fpu/libm-test-ulps: Update.
34447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34448
34449 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34450
34451         [BZ #14283]
34452         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34453         by 7 not 8 to examine high bit of fractional part.
34454
34455         [BZ #14042]
34456         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34457         for call to __mcount_internal.
34458         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34459         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34460         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34461
34462 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34463
34464         [BZ #14154]
34465         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34466         approximation for values within 0x1p-13f of an odd multiple of
34467         pi/4.
34468         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34469         exception.  Add more tests.
34470         * sysdeps/i386/fpu/libm-test-ulps: Update.
34471
34472         [BZ #6778]
34473         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34474         inputs and return -1 for them.  Do not check for +Inf in case not
34475         reachable for +Inf.
34476         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34477         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34478         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34479         and return -1 for them.  Do not check for +Inf in case not
34480         reachable for +Inf.
34481         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34482         define.
34483         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34484         and return -1 for them.  Do not check for +Inf in case not
34485         reachable for +Inf.
34486         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34487         spurious underflow.
34488         * sysdeps/i386/fpu/libm-test-ulps: Update.
34489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34490
34491 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34492
34493         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34494
34495 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34496
34497         [BZ #14157]
34498         [BZ #14331]
34499         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34500         could result in spurious underflow.  Scale down values above
34501         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34502         * math/s_csqrtf.c (__csqrtf): Likewise.
34503         * math/s_csqrtl.c (__csqrtl): Likewise.
34504         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34505         spurious underflow.
34506         * sysdeps/i386/fpu/libm-test-ulps: Update.
34507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34508
34509 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34510
34511         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34512         xopen-msg.sed.
34513         * catgets/xopen-msg.awk: New file.
34514         * catgets/xopen-msg.sed: Removed.
34515
34516         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34517         po2text.sed.
34518         * intl/po2test.awk: New file.
34519         * intl/po2test.sed: Removed.
34520
34521 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34522
34523         [BZ #14328]
34524         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34525         or multiply small sinh result by itself.
34526         * math/s_ctanf.c (__ctanf): Likewise.
34527         * math/s_ctanh.c (__ctanh): Likewise.
34528         * math/s_ctanhf.c (__ctanhf): Likewise.
34529         * math/s_ctanhl.c (__ctanhl): Likewise.
34530         * math/s_ctanl.c (__ctanl): Likewise.
34531         * math/libm-test.inc (ctan_test_tonearest): New function.
34532         (ctan_test_towardzero): Likewise.
34533         (ctan_test_downward): Likewise.
34534         (ctan_test_upward): Likewise.
34535         (ctanh_test_tonearest): Likewise.
34536         (ctanh_test_towardzero): Likewise.
34537         (ctanh_test_downward): Likewise.
34538         (ctanh_test_upward): Likewise.
34539         (main): Call these new functions.
34540         * sysdeps/i386/fpu/libm-test-ulps: Update.
34541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34542
34543 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34544
34545         * .gitignore: Delete /ports entry.
34546
34547 2012-07-03  Andreas Jaeger  <aj@suse.de>
34548
34549         * po/bg.po: Update from translation team.
34550         * po/cs.po: Likewise.
34551         * po/de.po: Likewise.
34552         * po/hr.po: Likewise.
34553         * po/nl.pl: Likewise.
34554         * po/pl.po: Likewise.
34555         * po/vi.po: Likewise.
34556
34557 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34558
34559         * Makeconfig [!+link] (+link-before-libc): New variable.
34560         [!+link] (+link-after-libc): Likewise.
34561         [!+link] (+link-tests): Likewise.
34562         [!+link] (+link): Define in terms of $(+link-before-libc) and
34563         $(+link-after-libc).
34564         [!+link-static] (+link-static-before-libc): New variable.
34565         [!+link-static] (+link-static-after-libc): Likewise.
34566         [!+link-static] (+link-static-tests): Likewise.
34567         [!+link-static] (+link-static): Define in terms of
34568         $(+link-static-before-libc) and $(+link-static-after-libc).
34569         [build-shared] (link-libc-before-gnulib): New variable.
34570         [build-shared] (link-libc-tests): Likewise.
34571         [build-shared] (link-libc): Define in terms of
34572         $(link-libc-before-gnulib).
34573         [!build-shared] (link-libc-tests): New variable.
34574         (link-libc-static-tests): New variable.
34575         [!gnulib] (gnulib-arch): New variable.
34576         [!gnulib] (gnulib-tests): Likewise.
34577         [!gnulib] (static-gnulib-arch): Likewise.
34578         [!gnulib] (static-gnulib-tests): Likewise.
34579         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34580         Define with "=" instead of ":=".
34581         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34582         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34583         * Rules (binaries-all-notests): New variable.
34584         (binaries-all-tests): Likewise.
34585         (binaries-static-notests): Likewise.
34586         (binaries-static-tests): Likewise.
34587         (binaries-all): Define using $(binaries-all-notests) and
34588         $(binaries-all-tests).
34589         (binaries-static): Define using $(binaries-static-notests) and
34590         $(binaries-static-tests).
34591         (binaries-shared-tests): New variable.
34592         (binaries-shared-notests): Likewise.
34593         (binaries-shared): Remove variable.
34594         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34595         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34596         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34597         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34598         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34599         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34600         * elf/Makefile (sln-modules): New variable.
34601         (extra-objs): Add $(sln-modules:=.o).
34602         (ldconfig-modules): Add static-stubs.
34603         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34604         * elf/static-stubs.c: New file.
34605
34606         [BZ #14283]
34607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34608         by 7 not 8 to examine high bit of fractional part.  Use volatile
34609         variables when splitting into final array of floats if
34610         __FLT_EVAL_METHOD__ != 0.
34611         * math/libm-test.inc (cos_test): Add another test.
34612         (sin_test): Likewise.
34613         * sysdeps/i386/fpu/libm-test-ulps: Update.
34614
34615         [BZ #14273]
34616         * math/libm-test.inc (cosh_test): Add more tests.
34617
34618         * version.h (RELEASE): Set to "development".
34619         (VERSION): Set to "2.16.90".
34620
34621 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34622
34623         * NEWS: Update copyright. Remove last-updated date.
34624         Mention math library bug fixes and timezone data changes.
34625         * README: Mention GNU/Hurd, x32, and HPPA support status.
34626
34627 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34628
34629         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34630
34631 2012-06-27  Andreas Jaeger  <aj@suse.de>
34632
34633         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34634
34635 2012-06-25  Andreas Jaeger  <aj@suse.de>
34636
34637         * sysdeps/s390/fpu/libm-test-ulps: Update.
34638
34639 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34640             Thomas Schwinge  <thomas@codesourcery.com>
34641
34642         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34643         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34645         fanotify_mark.
34646
34647 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34648
34649         * sysdeps/mach/start.c: Remove file.
34650         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34651         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34652         * sysdeps/sh/init-first.c: Likewise.
34653
34654         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34655         registers for frame unwinding purposes, add CFI directives.
34656         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34657         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34658         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34659         Likewise.
34660
34661         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34662         __fortify_fail returning.
34663         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34664
34665         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34666         sysdeps/sh/____longjmp_chk.S.
34667         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34668         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34669         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34670         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34671
34672         * sysdeps/sh/abort-instr.h: New file.
34673         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34674         process in case exit returns.
34675
34676         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34677         initialize the GOT register before use.
34678
34679         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34680         calculation of ARGC > 4.
34681
34682         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34683         meaningful names to some local labels.
34684
34685 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34686             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34687
34688         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34689         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34690         (__arch_compare_and_exchange_val_16_acq): Likewise.
34691         (__arch_compare_and_exchange_val_32_acq): Likewise.
34692         (atomic_exchange_and_add): Fix gUSA sequence.
34693         (atomic_add): Likewise.
34694         (atomic_add_negative): Likewise.
34695         (atomic_add_zero): Likewise.
34696         (atomic_bit_test_set): Likewise.
34697
34698 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34699
34700         [BZ #13579]
34701         * include/link.h (struct link_map): Add l_free_initfini.
34702         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34703         l_initfini.
34704         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34705         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34706         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34707         set.
34708
34709 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34710
34711         * configure.in: Use AC_LANG_SOURCE.
34712         * configure: Regenerate.
34713
34714 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34715
34716         * configure.in (libc_cv_localstatedir): New substituted variable.
34717         * configure: Regenerated.
34718         * config.make.in (localstatedir): New variable, substituted from
34719         libc_cv_localstatedir.
34720         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34721         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34722         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34723         * sysdeps/gnu/configure: Regenerated.
34724
34725 2012-06-21  Jeff Law  <law@redhat.com>
34726
34727         [BZ #14277]
34728         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34729         free.  Simplify list management for _LIBC case.
34730
34731 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34732
34733         [BZ #14273]
34734         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34735         Clear sign bit of 64-bit integer value before comparing against
34736         overflow value.
34737
34738         * sysdeps/mach/configure: Regenerated.
34739
34740 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34741
34742         [BZ #14278]
34743         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34744
34745 2012-06-21  Jeff Law  <law@redhat.com>
34746
34747         [BZ #13882]
34748         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34749         uint16_t for elements in the "seen" array to avoid char overflows.
34750         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34751         * elf/dl-open.c (dl_open_worker): Likewise.
34752
34753 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34754
34755         * scripts/list-sources.sh: Scan PORTS for translations.
34756         * po/libc.pot: Regenerated.
34757
34758 2012-06-21  Andreas Jaeger  <aj@suse.de>
34759
34760         [BZ #12194]
34761         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34762         warning.
34763         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34764         * bits/byteswap-16.h (__bswap_16): Likewise.
34765         * bits/byteswap.h (__bswap_constant_16): Likewise.
34766
34767 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34768
34769         [BZ #14117]
34770         * sysdeps/i386/fpu_control.h: Removed.
34771         * sysdeps/x86_64/fpu_control.h: Moved to ...
34772         * sysdeps/x86/fpu_control.h: Here.
34773
34774         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34775         (_FPU_SETCW): Likewise.
34776
34777 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34778
34779         [BZ #14117]
34780         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34781         * sysdeps/x86/fpu/bits/mathinline.h: This.
34782         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34783
34784         [BZ #14050]
34785         [BZ #14117]
34786         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34787         functions if __x86_64__ is defined.
34788
34789 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34790
34791         * string/endian.h: Add !__ASSEMBLER__ condition for including
34792         conversion interfaces.
34793
34794 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34795
34796         [BZ #14241]
34797         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34798         of ABS(x) in calculating zero to negative powers other than odd
34799         integers.
34800         * math/libm-test.inc (pow_test): Add more tests.
34801
34802 2012-06-15  Andreas Jaeger  <aj@suse.de>
34803
34804         * manual/contrib.texi (Contributors): Update entry of Liubov
34805         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34806         Machado Filho.
34807
34808 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34809
34810         * string/string.h: Add __wur to GNU version of strerror_r.
34811
34812 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34813
34814         [BZ #14229]
34815         * string/Makefile (tests): Add tst-strtok_r.
34816         * string/tst-strtok_r.c: New file.
34817         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34818         RAX_LP/RDX_LP on SAVE_PTR.
34819
34820 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34821
34822         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34823
34824 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34825
34826         * libm_test.inc (csqrt_test): Allow more spurious underflow
34827         exceptions.
34828         (j0_test): Likewise.
34829         (j1_test): Likewise.
34830         (y0_test): Likewise.
34831         (y1_test): Likewise.
34832
34833 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34834
34835         * po/Makefile (libc.pot): Use UTF-8 charset.
34836
34837 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34838
34839         [BZ #14210]
34840         Suppress sign-conversion warning from FD_SET.
34841         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34842         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34843         not unsigned long int.
34844         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34845
34846 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34847
34848         [BZ #14050]
34849         [BZ #14117]
34850         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34851         __extern_always_inline instead of __extern_inline.
34852         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34853         (__signbit): Likewise.
34854         (__signbitl): Support C++ namespace.
34855         (lrintf): New inline function.
34856         (lrint): Likewise.
34857         (llrintf): Likewise.
34858         (llrint): Likewise.
34859         (fmaxf): Likewise.
34860         (fmax): Likewise.
34861         (fminf): Likewise.
34862         (fmin): Likewise.
34863         (rint): Likewise.
34864         (rintf): Likewise.
34865         (ceil): Likewise.
34866         (ceilf): Likewise.
34867         (floor): Likewise.
34868         (floorf): Likewise.
34869         (nearbyint): Likewise.
34870         (nearbyintf): Likewise.
34871
34872 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34873
34874         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34875         non-default versions.
34876
34877 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34878
34879         [BZ #14218]
34880         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34881
34882 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34883
34884         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34885         (FE_UPWARD, FE_DOWNWARD): Don't define.
34886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34887         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34888
34889         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34890         reading it.
34891         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34892         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34893
34894 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34895
34896         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34898         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34900
34901 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34902
34903         [BZ #14117]
34904         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34905         * sysdeps/i386/fpu/Implies: New file.
34906         * sysdeps/x86_64/fpu/Implies: Likewise.
34907         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34908         * sysdeps/x86/fpu/bits/fenv.h: This.
34909
34910         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34911         __SSE_MATH__.
34912
34913 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914
34915         [BZ #14134]
34916         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34917         character 0xffff that matches the last element of the
34918         conversion table.
34919
34920 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34921
34922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34923         fmodl commit.
34924
34925 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34926
34927         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34928         values higher than 25.6283.
34929
34930 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34931
34932         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34933         subnormal exponent extraction and add some __builtin_expect.
34934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34935         Fix for subnormal mantissa calculation.
34936
34937 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34938
34939         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34940         cpu2 is -1 and errno is not ENOSYS.
34941
34942 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34943
34944         [BZ #14117]
34945         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34946         * sysdeps/x86/bits/string.h: This.
34947         * sysdeps/x86_64/bits/string.h: Removed.
34948
34949         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34950         if not compiling for x86-64, but compiling for >= i486.
34951
34952         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34953         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34954
34955         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34956         New macro from Linux kernel 3.4.0.
34957         (FP_XSTATE_MAGIC2): Likewise.
34958         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34959         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34960         (struct _fpx_sw_bytes): New struct.
34961         (struct _xsave_hdr): Likewise.
34962         (struct _ymmh_state): Likewise.
34963         (struct _xstate): Likewise.
34964
34965         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34966         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34967         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34968         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34969         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34970         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34971
34972         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34973         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34974         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34975         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34976         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34977         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34978
34979 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34980
34981         [BZ #13743]
34982         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34983         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34984         (sysdep_headers): Include sys/platform/ppc.h.
34985         * sysdeps/powerpc/test-gettimebase.c: Test for
34986         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34987         * manual/Makefile (appendices): Include platform.texi.
34988         * manual/contrib.texi (Contributors): Update @node pointers.
34989         * manual/maint.texi (Maintenance): Likewise.
34990         (Platform): New node.
34991         * manual/platform.texi: New file.  Document the new features.
34992
34993 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34994             Jakub Jelinek  <jakub@redhat.com>
34995
34996         [BZ #14188]
34997         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34998         where __builtin_expect is unavailable.
34999
35000 2012-06-03  David S. Miller  <davem@davemloft.net>
35001
35002         * stdlib/longlong.h: Updated from GCC.
35003
35004 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35005
35006         [BZ #14042]
35007         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35008         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35009         __mcount_internal.
35010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35011         (GLIBC_2.16): Likewise.
35012
35013 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35014
35015         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35016
35017 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35018
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35020         (default-abi): New variable.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35022         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35023         variable.
35024         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35025         Likewise.
35026         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35027         Likewise.
35028         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35029         Likewise.
35030
35031         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35032         definition.  Document in comment.
35033
35034 2012-06-01  David S. Miller  <davem@davemloft.net>
35035
35036         * stdlib/longlong.h: Updated from GCC.
35037
35038 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35039
35040         [BZ #14117]
35041         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35042         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35043         sys/debugreg.h sys/io.h here.
35044         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35045         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35046         sys/io.h.
35047         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35048         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35049         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35050         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35051         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35052         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35053
35054         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35055         Define only if __x86_64__ is defined.
35056
35057 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35058
35059         [BZ #14048]
35060         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35061         Use int64_t for variable i.
35062         * math/libm-test.inc (fmod_test): Add more tests.
35063
35064         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35065         z computation is not scheduled after fetestexcept.
35066         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35067         Use math_force_eval instead of asm to ensure calculation scheduled
35068         before exception test.
35069         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35070         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35071
35072 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35073
35074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35075         computation is not scheduled after fetestexcept.
35076
35077 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35078
35079         [BZ #14117]
35080         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35081         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35082
35083 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35084
35085         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35086         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35087
35088 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35089
35090         [BZ #14117]
35091         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35092         <bits/wordsize.h>.
35093         (__WCHAR_MIN): Support __WORDSIZE == 64.
35094         (__WCHAR_MAX): Likewise.
35095
35096         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35097         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35098
35099         [BZ #14183]
35100         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35101         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35102
35103         [BZ #14117]
35104         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35105         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35106
35107         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35108         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35109
35110         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35111         Defined to 1 if __x86_64__ isn't defined.
35112         (_STAT_VER_LINUX_OLD): New.
35113         (st_atime): Remove duplicate.
35114         (st_mtime): Likewise.
35115         (st_ctime): Likewise.
35116
35117 2012-05-31  David S. Miller  <davem@davemloft.net>
35118
35119         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35120         entries.
35121
35122 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35123
35124         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35125         gen-libm-test.pl.
35126
35127         [BZ #14132]
35128         * elf/dl-reloc.c: Include <_itoa.h>.
35129         (_dl_reloc_bad_type): Remove use of INTUSE.
35130         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35131         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35132         * stdio-common/psiginfo.c (psiginfo): Likewise.
35133         * stdio-common/psignal.c (psignal): Likewise.
35134         * string/strsignal.c (strsignal): Likewise.
35135         * include/signal.h (_sys_siglist): Declare hidden proto.
35136         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35137         INTVARDEF with libc_hidden_data_def.
35138         * stdio-common/itoa-udigits.c: Likewise.
35139         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35140         (_itoa_lower_digits_internal): Remove declaration.
35141         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35142         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35143         (_sys_sigabbrev_internal): Remove aliases.
35144         (_sys_siglist): Define hidden alias.
35145
35146 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35147
35148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35149         bits/sysctl.h.
35150
35151 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35152
35153         [BZ #14117]
35154         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35155         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35156
35157         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35158         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35159         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35160         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35161         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35162         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35163
35164         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35165         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35166         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35167
35168         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35169         with __addr.
35170         (insw): Likewise.
35171         (insl): Likewise.
35172         (outsb): Likewise.
35173         (outsw): Likewise.
35174         (outsl): Likewise.
35175
35176         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35177         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35178         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35179
35180         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35181         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35182         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35183         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35184         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35185         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35186
35187         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35188         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35189
35190         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35191         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35192
35193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35194         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35195         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35196
35197         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35198         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35199         to ...
35200         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35201
35202         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35203         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35204         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35205
35206         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35207         for x86-64.
35208         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35209
35210 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35211
35212         * math/math.h (M_El): Use two more decimal places.
35213         (M_LOG2El): Likewise.
35214         (M_LOG10El): Likewise.
35215         (M_LN2l): Likewise.
35216         (M_LN10l): Likewise.
35217         (M_PIl): Likewise.
35218         (M_PI_2l): Likewise.
35219         (M_PI_4l): Likewise.
35220         (M_1_PIl): Likewise.
35221         (M_2_PIl): Likewise.
35222         (M_2_SQRTPIl): Likewise.
35223         (M_SQRT2l): Likewise.
35224         (M_SQRT1_2l): Likewise.
35225
35226 2012-05-31  David S. Miller  <davem@davemloft.net>
35227
35228         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35229         values between float registers.
35230         * sysdeps/sparc/sparc64/memset.S: Likewise.
35231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35232
35233 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35234
35235         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35236         -D_FORTIFY_SOURCE=1.
35237         (CPPFLAGS-tst-longjmp_chk.c): Define.
35238         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35239         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35240         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35241         CFLAGS-tst-wchar-h.c.
35242
35243 2012-05-31  Marek Polacek  <polacek@redhat.com>
35244
35245         [BZ #14132]
35246         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35247         __endmntent_internal): Remove declaration.
35248         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35249         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35250         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35251
35252 2012-05-30  David S. Miller  <davem@davemloft.net>
35253
35254         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35255         (___Q_simulate_exceptions): Use real FP ops rather than writing
35256         into the %fsr.
35257         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35258         Likewise.
35259
35260 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35261
35262         [BZ #14117]
35263         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35264         * sysdeps/x86/bits/xtitypes.h: This.
35265
35266         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35267         * sysdeps/x86/bits/wordsize.h: This.
35268
35269         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35270         * sysdeps/x86/bits/huge_vall.h: This.
35271
35272         * sysdeps/i386/bits/select.h: Removed.
35273         * sysdeps/x86_64/bits/select.h: Renamed to ...
35274         * sysdeps/x86/bits/select.h: This.
35275
35276         * sysdeps/i386/bits/setjmp.h: Removed.
35277         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35278         * sysdeps/x86/bits/setjmp.h: This.
35279
35280         * sysdeps/i386/bits/mathdef.h: Removed.
35281         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35282         * sysdeps/x86/bits/mathdef.h: This.
35283
35284 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35285
35286         [BZ #14132]
35287         * include/sys/socket.h (__connect_internal)
35288         (__libc_sa_len_internal): Remove declaration.
35289         (__connect, __libc_sa_len): Declare hidden_proto.
35290         (SA_LEN): Remove use of INTUSE.
35291         * socket/connect.c: Add libc_hidden_def.
35292         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35293         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35294         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35295         alias.
35296         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35297         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35298         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35299         of adding _internal alias.
35300
35301 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35302
35303         [BZ #14117]
35304         * sysdeps/i386/bits/link.h: Removed.
35305         * sysdeps/i386/bits/linkmap.h: Likewise.
35306         * sysdeps/x86_64/bits/link.h: Renamed to ...
35307         * sysdeps/x86/bits/link.h: This.
35308         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35309         * sysdeps/x86/bits/linkmap.h: This.
35310
35311         * sysdeps/i386/bits/endian.h: Removed.
35312         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35313         * sysdeps/x86/bits/endian.h: This.
35314
35315         * sysdeps/i386/bits/byteswap.h: Removed.
35316         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35317         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35318         * sysdeps/x86/bits/byteswap.h: This.
35319         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35320         * sysdeps/x86/bits/byteswap-16.h: This.
35321         * sysdeps/i386/Implies: Add x86.
35322         * sysdeps/x86_64/Implies: Likewise.
35323
35324 2012-05-30  David S. Miller  <davem@davemloft.net>
35325
35326         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35327         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35328         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35329         (FP_TRAPPING_EXCEPTIONS): Define.
35330         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35331         (FP_TRAPPING_EXCEPTIONS): Define.
35332         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35333         subnormals only when inexact has been signalled or underflow
35334         exceptions are enabled.
35335         (_FP_PACK_CANONICAL): Likewise.
35336
35337 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35338
35339         [BZ #14183]
35340         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35341         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35342
35343 2012-05-30  Richard Henderson  <rth@twiddle.net>
35344
35345         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35346         with #ifndef NOT_IN_libc.
35347
35348         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35349         marked to avoid plt entry.
35350
35351 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35352
35353         [BZ #14112]
35354         * Makeconfig (default-abi): New macro.
35355         (abi-includes): Likewise.
35356         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35357         $(abi-$(default-abi)-lib-soname) for soname if defined.
35358         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35359         abi-variants.
35360         * Makefile (installed-stubs): Likewise.
35361         * include/stubs-biarch.h: Removed.
35362         * scripts/lib-names.awk: Only handle one library at a time.
35363         * scripts/soversions.awk: Remove WORDSIZE support.
35364         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35365         entries.
35366         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35367         Removed.
35368         (syscall-list-default-condition): Likewise.
35369         (syscall-list-default-condition): Likewise.
35370         (syscall-list-includes): Likewise.
35371         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35372         syscall-list-* with abi-*.  Handle undefined abi-variants.
35373         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35374         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35375         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35376         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35377         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35378         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35379         Removed.
35380         (syscall-list-32-options): Likewise.
35381         (syscall-list-32-condition): Likewise.
35382         (syscall-list-64-options): Likewise.
35383         (syscall-list-64-condition): Likewise.
35384         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35385         macro.
35386         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35387         Renamed to ...
35388         (abi-*): This.
35389         (abi-64-ld-soname): New macro.
35390         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35391         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35392         Renamed to ...
35393         (abi-*): This.
35394         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35395         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35396
35397 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35398
35399         * sysdeps/unix/sysv/linux/kernel-features.h
35400         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35401         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35402         include <kernel-features.h>.
35403         [!__NR_ftruncate64]: Remove conditional code.
35404         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35405         [__NR_ftruncate64]: Make code unconditional.
35406         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35407         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35408         include <kernel-features.h>.
35409         [!__NR_ftruncate64]: Remove conditional code.
35410         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35411         [__NR_ftruncate64]: Make code unconditional.
35412         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35414         include <kernel-features.h>.
35415         [!__NR_ftruncate64]: Remove conditional code.
35416         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35417         [__NR_ftruncate64]: Make code unconditional.
35418         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35420         include <kernel-features.h>.
35421         [!__NR_ftruncate64]: Remove conditional code.
35422         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35423         [__NR_ftruncate64]: Make code unconditional.
35424         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35425
35426         * configure.in (libc_cv_fpie): Weaken to a compile test using
35427         LIBC_TRY_CC_OPTION.
35428         * configure: Regenerated.
35429
35430 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35431
35432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35436         Refreshed.
35437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35443         Refreshed.
35444
35445 2012-05-27  David S. Miller  <davem@davemloft.net>
35446
35447         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35448         (___Q_zero): New.
35449         (__Q_simulate_exceptions): Return void.  Change to simulate
35450         exceptions by writing into the %fsr.
35451         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35452         (__Qp_handle_exceptions): Likewise.
35453         (numbers): Delete.
35454         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35455         __Qp_handle_exceptions.
35456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35457         __Qp_handle_exceptions.
35458         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35459         as unused and give dummy FP_RND_NEAREST initializer.
35460         (FP_INHIBIT_RESULTS): Define.
35461         (___Q_simulate_exceptions): Update declaration.
35462         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35463         formatting.
35464         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35465         as unused and give dummy FP_RND_NEAREST initializer.
35466         (__Qp_handle_exceptions): Update declaration.
35467         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35468         formatting.
35469
35470 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35471
35472         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35473         the temporary FPU control word.
35474         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35475         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35476         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35477         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35478         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35479         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35480         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35481         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35482         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35483         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35484         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35485
35486 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35487
35488         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35489         fields.
35490
35491 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35492
35493         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35494         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35495         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35496         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35497         Likewise.
35498         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35499         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35500         Likewise.
35501
35502 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35503
35504         * po/h.po: Update from translation team.
35505
35506 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35507
35508         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35509
35510         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35511         handling of denormals.
35512         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35513         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35514         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35515         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35519         Likewise.
35520
35521 2012-05-26  Marek Polacek  <polacek@redhat.com>
35522
35523         [BZ #14152]
35524         * math/libm-test.inc (fma_test): Don't always expect underflow
35525         exception.
35526
35527 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35528
35529         [BZ #12416]
35530         * elf/tst-execstack.c: Include stackinfo.h.
35531         (do_test): Adjust test case to ensure that pthread_getattr_np
35532         behaviour remains the same after marking stack executable.
35533
35534 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35535
35536         * sysdeps/unix/sysv/linux/kernel-features.h
35537         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35538         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35539         kernel-features.h.
35540         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35541         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35542         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35543         kernel-features.h.
35544         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35545         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35546
35547 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35548
35549         * configure.in: Define the default includes to being none.
35550         * configure: Regenerated.
35551
35552 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35553
35554         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35555         * sysdeps/x86_64/setjmp.S: Likewise.
35556         * sysdeps/i386/bsd-setjmp.S: Likewise.
35557         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35558         * sysdeps/i386/setjmp.S: Likewise.
35559         * sysdeps/i386/__longjmp.S: Likewise.
35560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35561         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35562
35563         * include/stap-probe.h: New file.
35564         * configure.in: Handle --enable-systemtap.
35565         * configure: Regenerated.
35566         * config.h.in (USE_STAP_PROBE): New #undef.
35567         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35568         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35569         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35570
35571 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35572
35573         [BZ #13717]
35574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35575         to 2.4.0 where earlier.
35576         * sysdeps/unix/sysv/linux/configure: Regenerated.
35577         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35578         <kernel-features.h>.
35579         [__ASSUME_32BITUIDS]: Make code unconditional.
35580         [!__ASSUME_32BITUIDS]: Remove conditional code.
35581         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35582         <kernel-features.h>.
35583         [__ASSUME_32BITUIDS]: Make code unconditional.
35584         [!__ASSUME_32BITUIDS]: Remove conditional code.
35585         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35586         [__ASSUME_32BITUIDS]: Make code unconditional.
35587         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35588         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35589         <kernel-features.h>.
35590         [__ASSUME_32BITUIDS]: Make code unconditional.
35591         [!__ASSUME_32BITUIDS]: Remove conditional code.
35592         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35593         <kernel-features.h>.
35594         [__ASSUME_32BITUIDS]: Make code unconditional.
35595         [!__ASSUME_32BITUIDS]: Remove conditional code.
35596         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35597         <kernel-features.h>.
35598         [__ASSUME_32BITUIDS]: Make code unconditional.
35599         [!__ASSUME_32BITUIDS]: Remove conditional code.
35600         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35601         <kernel-features.h>.
35602         [__ASSUME_32BITUIDS]: Make code unconditional.
35603         [!__ASSUME_32BITUIDS]: Remove conditional code.
35604         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35605         <kernel-features.h>.
35606         [__ASSUME_32BITUIDS]: Make code unconditional.
35607         [!__ASSUME_32BITUIDS]: Remove conditional code.
35608         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35609         <kernel-features.h>.
35610         [__ASSUME_32BITUIDS]: Make code unconditional.
35611         [!__ASSUME_32BITUIDS]: Remove conditional code.
35612         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35613         <kernel-features.h>.
35614         [__ASSUME_32BITUIDS]: Make code unconditional.
35615         [!__ASSUME_32BITUIDS]: Remove conditional code.
35616         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35617         <kernel-features.h>.
35618         [__ASSUME_32BITUIDS]: Make code unconditional.
35619         [!__ASSUME_32BITUIDS]: Remove conditional code.
35620         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35621         <kernel-features.h>.
35622         [__ASSUME_32BITUIDS]: Make code unconditional.
35623         [!__ASSUME_32BITUIDS]: Remove conditional code.
35624         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35625         <kernel-features.h>.
35626         [__ASSUME_32BITUIDS]: Make code unconditional.
35627         [!__ASSUME_32BITUIDS]: Remove conditional code.
35628         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35629         <kernel-features.h>.
35630         [__NR_setresgid] (__setresgid): Do not declare.
35631         [__ASSUME_32BITUIDS]: Make code unconditional.
35632         [!__ASSUME_32BITUIDS]: Remove conditional code.
35633         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35634         <kernel-features.h>.
35635         [__NR_setresuid] (__setresuid): Do not declare.
35636         [__ASSUME_32BITUIDS]: Make code unconditional.
35637         [!__ASSUME_32BITUIDS]: Remove conditional code.
35638         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35639         <kernel-features.h>.
35640         [__ASSUME_32BITUIDS]: Make code unconditional.
35641         [!__ASSUME_32BITUIDS]: Remove conditional code.
35642         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35643         <kernel-features.h>.
35644         [__ASSUME_32BITUIDS]: Make code unconditional.
35645         [!__ASSUME_32BITUIDS]: Remove conditional code.
35646         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35647         <kernel-features.h>.
35648         [__ASSUME_32BITUIDS]: Make code unconditional.
35649         [!__ASSUME_32BITUIDS]: Remove conditional code.
35650         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35651         <kernel-features.h>.
35652         [__ASSUME_32BITUIDS]: Make code unconditional.
35653         [!__ASSUME_32BITUIDS]: Remove conditional code.
35654         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35655         <kernel-features.h>.
35656         [__ASSUME_32BITUIDS]: Make code unconditional.
35657         [!__ASSUME_32BITUIDS]: Remove conditional code.
35658         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35659         <kernel-features.h>.
35660         [__ASSUME_32BITUIDS]: Make code unconditional.
35661         [!__ASSUME_32BITUIDS]: Remove conditional code.
35662         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35663         <kernel-features.h>.
35664         [__ASSUME_32BITUIDS]: Make code unconditional.
35665         [!__ASSUME_32BITUIDS]: Remove conditional code.
35666         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35667         <kernel-features.h>.
35668         [__ASSUME_32BITUIDS]: Make code unconditional.
35669         [!__ASSUME_32BITUIDS]: Remove conditional code.
35670         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35671         <kernel-features.h>.
35672         [__ASSUME_32BITUIDS]: Make code unconditional.
35673         [!__ASSUME_32BITUIDS]: Remove conditional code.
35674         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35675         <kernel-features.h>.
35676         [__ASSUME_32BITUIDS]: Make code unconditional.
35677         [!__ASSUME_32BITUIDS]: Remove conditional code.
35678         * sysdeps/unix/sysv/linux/kernel-features.h
35679         (__ASSUME_SETRESUID_SYSCALL): Remove.
35680         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35681         (__ASSUME_32BITUIDS): Likewise.
35682         (__ASSUME_LDT_WORKS): Likewise.
35683         (__ASSUME_O_DIRECTORY): Likewise.
35684         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35685         architecture but not kernel version.
35686         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35687         (__ASSUME_MMAP2_SYSCALL): Likewise.
35688         (__ASSUME_STAT64_SYSCALL): Likewise.
35689         (__ASSUME_IPC64): Likewise.
35690         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35691         <kernel-features.h>.
35692         [__ASSUME_32BITUIDS]: Make code unconditional.
35693         [!__ASSUME_32BITUIDS]: Remove conditional code.
35694         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35695         <kernel-features.h>.
35696         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35697         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35698         132096]: Remove conditional code.
35699         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35700         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35701         <kernel-features.h>.
35702         [__ASSUME_32BITUIDS]: Make code unconditional.
35703         [!__ASSUME_32BITUIDS]: Remove conditional code.
35704         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35705         <kernel-features.h>.
35706         [__ASSUME_32BITUIDS]: Make code unconditional.
35707         [!__ASSUME_32BITUIDS]: Remove conditional code.
35708         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35709         <kernel-features.h>.
35710         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35711         unconditional.
35712         (__setresgid): Do not declare.
35713         [__ASSUME_32BITUIDS]: Make code unconditional.
35714         [!__ASSUME_32BITUIDS]: Remove conditional code.
35715         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35716         <kernel-features.h>.
35717         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35718         unconditional.
35719         (__setresuid): Do not declare.
35720         [__ASSUME_32BITUIDS]: Make code unconditional.
35721         [!__ASSUME_32BITUIDS]: Remove conditional code.
35722         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35723         <kernel-features.h>.
35724         [__ASSUME_32BITUIDS]: Make code unconditional.
35725         [!__ASSUME_32BITUIDS]: Remove conditional code.
35726         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35727         <kernel-features.h>.
35728         [__ASSUME_32BITUIDS]: Make code unconditional.
35729         [!__ASSUME_32BITUIDS]: Remove conditional code.
35730
35731 2012-05-25  Richard Henderson  <rth@twiddle.net>
35732
35733         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35734         dl_hwcap to ifunc resolver.
35735         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35736         elf_ifunc_invoke.
35737         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35738         dl_hwcap to ifunc resolver.
35739         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35740
35741 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35742
35743         [BZ #14153]
35744         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35745         for |x| <= 2**-26, not 2**-57.
35746         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35747         exception.
35748
35749 2012-05-24  Jeff Law  <law@redhat.com>
35750
35751         * stdio-common/Makefile (tests): Add bug25.
35752         * stdio-common/bug25.c: New test.
35753
35754 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35755
35756         [BZ #13576]
35757         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35758         multiple of MALLOC_ALIGNMENT in size.
35759         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35760
35761 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35762
35763         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35764         Require >= 256.
35765         (FILENAME_MAX): Use macro-int-constant.
35766         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35767         (_IOFBF): Use macro-int-constant.
35768         (_IOLBF): Likewise.
35769         (_IONBF): Likewise.
35770         (SEEK_CUR): Likewise.
35771         (SEEK_END): Likewise.
35772         (SEEK_SET): Likewise.
35773         (TMP_MAX): Likewise.
35774         (EOF): Use macro-int-constant.  Require < 0.
35775         (NULL): Use macro-constant.  Require == 0.
35776         (stdin): Require type to be FILE *.
35777         (stdout): Likewise.
35778         (stderr): Likewise.
35779         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35780         macro-int-constant.
35781         (EXIT_SUCCESS): Likewise.
35782         (NULL): Use macro-constant.  Require == 0.
35783         (RAND_MAX): Use macro-int-constant.
35784         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35785         [C99-based standards] (strtof): Require function.
35786         [C99-based standards] (strtold): Likewise.
35787         [C99-based standards] (strtoll): Likewise.
35788         [C99-based standards] (strtoull): Likewise.
35789         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35790         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35791         [ISO || ISO99 || ISO11] (math.h): Likewise.
35792         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35793         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35795
35796 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35797
35798         [BZ #14132]
35799         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35800         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35801         * intl/dgettext.c (DCGETTEXT): Likewise.
35802         * intl/gettext.c (DCGETTEXT): Likewise.
35803         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35804         * posix/regex_internal.h (gettext): Likewise.
35805         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35806         Remove declaration.
35807         * include/argz.h (__argz_count_internal)
35808         (__argz_stringify_internal): Remove declaration.
35809         (__argz_count, __argz_stringify): Declare hidden proto.
35810         * intl/dcgettext.c: Remove use of INTDEF.
35811         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35812         * string/argz-stringify.c: Likewise.
35813         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35814         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35815         Declare hidden proto.
35816         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35817         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35818         Declare hidden proto.
35819         * include/stdio.h (__asprintf_internal): Don't declare.
35820         (__asprintf): Don't define as macro.  Declare hidden proto.
35821         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35822         (__fsetlocking): Declare hidden proto.
35823         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35824         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35825         hidden proto.
35826         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35827         (_IO_setlinebuf): Remove use of INTUSE.
35828         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35829         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35830         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35831         Remove declaration.
35832         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35833         (_IO_do_flush): Remove use of INTUSE.
35834         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35835         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35836         (_IO_adjust_column, _IO_least_wmarker)
35837         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35838         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35839         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35840         (_IO_default_doallocate, _IO_wdefault_doallocate)
35841         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35842         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35843         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35844         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35845         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35846         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35847         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35848         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35849         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35850         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35851         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35852         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35853         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35854         proto.
35855         (_IO_flush_all_internal, _IO_adjust_column_internal)
35856         (_IO_default_uflow_internal, _IO_default_finish_internal)
35857         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35858         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35859         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35860         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35861         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35862         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35863         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35864         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35865         (_IO_file_close_internal, _IO_file_close_it_internal)
35866         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35867         (_IO_file_init_internal, _IO_file_attach_internal)
35868         (_IO_file_fopen_internal, _IO_file_read_internal)
35869         (_IO_file_sync_internal, _IO_file_seek_internal)
35870         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35871         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35872         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35873         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35874         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35875         (_IO_list_all_internal, _IO_link_in_internal)
35876         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35877         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35878         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35879         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35880         (_IO_do_write_internal, _IO_padn_internal)
35881         (_IO_getline_info_internal, _IO_getline_internal)
35882         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35883         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35884         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35885         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35886         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35887         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35888         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35889         with libc_hidden_ver, remove use of INTUSE.
35890         * libio/genops.c: Likewise.
35891         * libio/freopen.c: Likewise.
35892         * libio/freopen64.c: Likewise.
35893         * libio/iofclose.c: Likewise.
35894         * libio/iofdopen.c: Likewise.
35895         * libio/iofflush.c: Likewise.
35896         * libio/iofflush_u.c: Likewise.
35897         * libio/iofgets.c: Likewise.
35898         * libio/iofgets_u.c: Likewise.
35899         * libio/iofopen.c: Likewise.
35900         * libio/iofopncook.c: Likewise.
35901         * libio/iofread.c: Likewise.
35902         * libio/iofread_u.c: Likewise.
35903         * libio/ioftell.c: Likewise.
35904         * libio/iofwrite.c: Likewise.
35905         * libio/iogetline.c: Likewise.
35906         * libio/iogets.c: Likewise.
35907         * libio/iogetwline.c: Likewise.
35908         * libio/iopadn.c: Likewise.
35909         * libio/iopopen.c: Likewise.
35910         * libio/ioseekoff.c: Likewise.
35911         * libio/ioseekpos.c: Likewise.
35912         * libio/iosetbuffer.c: Likewise.
35913         * libio/iosetvbuf.c: Likewise.
35914         * libio/ioungetc.c: Likewise.
35915         * libio/ioungetwc.c: Likewise.
35916         * libio/iovdprintf.c: Likewise.
35917         * libio/iovsprintf.c: Likewise.
35918         * libio/iovsscanf.c: Likewise.
35919         * libio/memstream.c: Likewise.
35920         * libio/obprintf.c: Likewise.
35921         * libio/oldfileops.c: Likewise.
35922         * libio/oldiofclose.c: Likewise.
35923         * libio/oldiofdopen.c: Likewise.
35924         * libio/oldiofopen.c: Likewise.
35925         * libio/oldiopopen.c: Likewise.
35926         * libio/oldstdfiles.c: Likewise.
35927         * libio/putc.c: Likewise.
35928         * libio/setbuf.c: Likewise.
35929         * libio/setlinebuf.c: Likewise.
35930         * libio/stdfiles.c: Likewise.
35931         * libio/strops.c: Likewise.
35932         * libio/vasprintf.c: Likewise.
35933         * libio/vscanf.c: Likewise.
35934         * libio/vsnprintf.c: Likewise.
35935         * libio/vswprintf.c: Likewise.
35936         * libio/wfiledoalloc.c: Likewise.
35937         * libio/wfileops.c: Likewise.
35938         * libio/wgenops.c: Likewise.
35939         * libio/wmemstream.c: Likewise.
35940         * libio/wstrops.c: Likewise.
35941         * libio/__fpurge.c: Likewise.
35942         * libio/__fsetlocking.c: Likewise.
35943         * assert/assert.c: Likewise.
35944         * debug/fgets_chk.c: Likewise.
35945         * debug/fgets_u_chk.c: Likewise.
35946         * debug/fread_chk.c: Likewise.
35947         * debug/fread_u_chk.c: Likewise.
35948         * debug/gets_chk.c: Likewise.
35949         * debug/obprintf_chk.c: Likewise.
35950         * debug/vasprintf_chk.c: Likewise.
35951         * debug/vdprintf_chk.c: Likewise.
35952         * debug/vsnprintf_chk.c: Likewise.
35953         * debug/vsprintf_chk.c: Likewise.
35954         * malloc/mtrace.c: Likewise.
35955         * misc/error.c: Likewise.
35956         * misc/syslog.c: Likewise.
35957         * stdio-common/asprintf.c: Likewise.
35958         * stdio-common/fxprintf.c: Likewise.
35959         * stdio-common/getw.c: Likewise.
35960         * stdio-common/isoc99_fscanf.c: Likewise.
35961         * stdio-common/isoc99_scanf.c: Likewise.
35962         * stdio-common/isoc99_vfscanf.c: Likewise.
35963         * stdio-common/isoc99_vscanf.c: Likewise.
35964         * stdio-common/isoc99_vsscanf.c: Likewise.
35965         * stdio-common/printf-prs.c: Likewise.
35966         * stdio-common/printf_fp.c: Likewise.
35967         * stdio-common/printf_fphex.c: Likewise.
35968         * stdio-common/printf_size.c: Likewise.
35969         * stdio-common/putw.c: Likewise.
35970         * stdio-common/scanf.c: Likewise.
35971         * stdio-common/sprintf.c: Likewise.
35972         * stdio-common/tmpfile.c: Likewise.
35973         * stdio-common/vfprintf.c: Likewise.
35974         * stdio-common/vfscanf.c: Likewise.
35975         * stdlib/strfmon_l.c: Likewise.
35976         * sunrpc/openchild.c: Likewise.
35977         * sunrpc/xdr_stdio.c: Likewise.
35978         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35979         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35980
35981 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35982
35983         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35984
35985         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35986         in the third column, to generate for the shared library an IFUNC
35987         that uses _dl_vdso_vsym.
35988         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35989         * Makeconfig (object-suffixes-noshared): New variable.
35990
35991         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35992         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35993         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35994         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35995
35996         [BZ #14132]
35997         * include/sys/time.h (__gettimeofday): Remove macro.
35998         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35999         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36000         Remove INTDEF.
36001         (__gettimeofday): Add libc_hidden_def.
36002         (gettimeofday): Add libc_hidden_weak.
36003         * sysdeps/mach/gettimeofday.c: Likewise.
36004         * sysdeps/posix/gettimeofday.c: Likewise.
36005         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36006         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36007         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36008         (__gettimeofday_internal): Remove strong_alias.
36009         (__gettimeofday): Add libc_hidden_def.
36010         (gettimeofday): Add libc_hidden_weak.
36011         * sysdeps/unix/syscalls.list (gettimeofday):
36012         Remove __gettimeofday_internal alias.
36013
36014 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36015             H.J. Lu  <hongjiu.lu@intel.com>
36016
36017         [BZ #12495]
36018         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36019         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36020         (largebin_index_32_big): New.
36021         (largebin_index): Use it for 16-byte alignment.
36022         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36023         correction with front_misalign.
36024
36025 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36026
36027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36029         Likewise.
36030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36031         Likewise.
36032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36033         Likewise.
36034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36035         Likewise.
36036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36037         Likewise.
36038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36039         Likewise.
36040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36041         Likewise.
36042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36043         Likewise.
36044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36045         Likewise.
36046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36047         Likewise.
36048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36049         Likewise.
36050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36051         Likewise.
36052
36053         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36054         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36055
36056 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36057
36058         [BZ #10846]
36059         [BZ #14036]
36060         * math/libm-test.inc (exp_test): Add test from bug 14036.
36061         (pow_test): Add test from bug 10846.
36062
36063         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36064         and other flags.
36065         (special_function): Do not include flags in test name.
36066         (parse_args): Likewise.
36067         * sysdeps/i386/fpu/libm-test-ulps: Update.
36068         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36069         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36070         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36072
36073         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36074         exceptions.
36075         * math/libm-test.inc ("Philosophy"): Update comment about
36076         exception testing.
36077         (UNDERFLOW_EXCEPTION): New macro.
36078         (UNDERFLOW_EXCEPTION_OK): Likewise.
36079         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36080         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36081         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36082         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36083         (INVALID_EXCEPTION_OK): Update value.
36084         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36085         (OVERFLOW_EXCEPTION_OK): Likewise.
36086         (IGNORE_ZERO_INF_SIGN): Likewise.
36087         (test_exceptions): Handle underflow exceptions.
36088         (acos_test): Update for underflow exception expectations.
36089         (cexp_test): Likewise.
36090         (clog_test): Likewise.
36091         (clog10_test): Likewise.
36092         (csqrt_test): Likewise.
36093         (ctan_test): Likewise.
36094         (ctanh_test): Likewise.
36095         (exp_test): Likewise.
36096         (exp10_test): Likewise.
36097         (exp2_test): Likewise.
36098         (expm1_test): Likewise.
36099         (fma_test): Likewise.
36100         (j0_test): Likewise.
36101         (jn_test): Likewise.
36102         (nexttoward_test): Likewise.
36103         (pow_test): Likewise.
36104         (scalbn_test): Likewise.
36105         (scalbln_test): Likewise.
36106         (tan_test): Likewise.
36107         (y1_test): Likewise.
36108         * sysdeps/i386/fpu/libm-test-ulps: Update.
36109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36110
36111 2012-05-23  David S. Miller  <davem@davemloft.net>
36112
36113         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36114         (__libc_sigaction): Remove unused local variables.
36115
36116 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36117
36118         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36119
36120 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36121
36122         mktime: avoid signed integer overflow
36123         * time/mktime.c (__mktime_internal): Do not mishandle the case
36124         where diff == INT_MIN.
36125
36126         mktime: simplify computation of average
36127         * time/mktime.c (ranged_convert): Use new time_t_avg function
36128         instead of rolling our own (probably-slower) code.
36129
36130         mktime: do not assume signed right shift propagates sign bit
36131         * time/mktime.c (isdst_differ): New static function.
36132         (__mktime_internal): No need to normalize tm_isdst now.
36133         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36134         tm_isdst values.
36135
36136         mktime: merge another wrapv change from gnulib
36137         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36138         from some compilers.
36139
36140         mktime: remove incorrect attempt at unusual arithmetics
36141         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36142         The code didn't really work on such machines anyway.
36143         (TYPE_MINIMUM): Assume two's complement.
36144         (twos_complement_arithmetic): Verify that long_int and time_t
36145         are two's complement (or unsigned, in the latter case).
36146
36147         mktime: check signed shifts on long_int and time_t, too
36148         * time/mktime.c (SHR): Check that shifts work as desired
36149         on the types long_int and time_t too, as SHR is used on
36150         such types.
36151
36152         mktime: do not assume 'long' is wide enough
36153         * time/mktime.c (verify): Move decl up.
36154         (long_int): New type.
36155         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36156         to remove assumption in the code that 'long' is wide enough to
36157         store year values.  This assumption is not true on x32 and on
36158         some non-glibc platforms.
36159
36160         mktime: merge wrapv change from gnulib
36161         * time/mktime.c (WRAPV): New macro.
36162         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36163         (guess_time_tm, __mktime_internal): Do not assume that signed
36164         integer overflow wraps around; modern compilers generate code
36165         where this assumption is no longer valid.
36166
36167 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36168
36169         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36170         Replace "jmp L(pseudo_end)" with "ret".
36171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36172         Likewise.
36173
36174 2012-05-23  Andreas Jaeger  <aj@suse.de>
36175
36176         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36177         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36178
36179 2012-05-23  Andreas Jaeger  <aj@suse.de>
36180             Maximilian Attems  <max@stro.at>
36181
36182         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36183         New macros.
36184
36185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36186
36187         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36188         code so that pseudo_end is just ret and the stack pointer is
36189         correct also for static library in error case.
36190
36191 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36192
36193         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36194         move to syscalls.list.
36195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36199
36200         * manual/install.texi (Running make install): Do not mention Linux
36201         kernel version for which pt_chown is not needed.
36202         (Linux): Do not mention problems with nscd with 2.0 kernels.
36203         * INSTALL: Regenerated.
36204
36205 2012-05-23  Andreas Jaeger  <aj@suse.de>
36206
36207         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36208         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36209         macro.
36210         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36211         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36212         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36213         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36214         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36215         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36217         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36218         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36219         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36220         * sysdeps/unix/sysv/linux/bits/in.h
36221         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36222
36223 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36224
36225         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36226         (PREPARE_VERSION): Just use assert instead, it will be elided
36227         under [NDEBUG] anyway.
36228
36229 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36230
36231         * sysdeps/unix/sysv/linux/Makefile: Include
36232         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36233         (sysdep_routines): Remove sysctl.
36234         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36235         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36236         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36237         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36238         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36239
36240 2012-05-22  Andreas Jaeger  <aj@suse.de>
36241
36242         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36243         that pseudo_end is just ret and the stack pointer is correct also
36244         for static library in error case.
36245
36246 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36247
36248         [BZ #14122]
36249         * nss/nsswitch.c (defconfig_entries): New variable.
36250         (__nss_database_lookup): Don't leak defconfig entries.
36251         (nss_parse_service_list): Don't leak on error paths.
36252         (free_database_entries): New function.
36253         (free_defconfig): New function.
36254         (free_mem): Move common code to free_database_entries.
36255
36256 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36257
36258         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36259         Add arch_prctl.
36260         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36261
36262         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36263         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36265         New macro.
36266         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36267         (INTERNAL_SYSCALL_TYPES): Likewise.
36268         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36269         (LOAD_REGS_TYPES_[1-6]): Likewise.
36270         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36271         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36272
36273 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36274
36275         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36276         copysignl for GLIBC_2_0.
36277         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36278         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36280         logbl for GLIBC_2_0.
36281         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36282         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36283
36284 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36285
36286         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36287         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36288
36289         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36290         Use "neg %eax".
36291
36292         * time/mktime.c: Update copyright years.
36293
36294 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36295
36296         mktime: merge comment-quoting-style change from gnulib
36297         * time/mktime.c: Quote 'like this' in comments.
36298         The GNU coding standards suggest that we no longer quote `like this',
36299         as "`" and "'" are typically rendered asymmetrically nowadays.
36300         The typical gnulib style is to quote 'like this' when quoting
36301         code, and "like this" when quoting English.
36302
36303         * time/mktime.c (compile-command): Add "-I.".
36304
36305         mktime: merge mktime-internal.h change from gnulib
36306         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36307
36308         mktime: merge time_r change from gnulib
36309         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36310
36311         mktime: merge DEBUG change from gnulib
36312         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36313         case system <time.h> has a #define.
36314
36315         mktime: merge <sys/types.h> change from gnulib
36316         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36317         since <time.t> is now guaranteed to define time_t.
36318
36319         mktime: merge HAVE_CONFIG_H change from gnulib
36320         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36321
36322 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36323
36324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36325         Use "neg %eax".
36326
36327         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36328         __rlim_t cast.
36329         (struct rusage): Use anonymous union to pad each field to
36330         __syscall_slong_t.
36331
36332 2012-05-21  David S. Miller  <davem@davemloft.net>
36333
36334         * Makefules (o-iterator): Remove .s cases.
36335         (compile-command.s): Delete.
36336         (COMPILE.s): Delete.
36337         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36338
36339 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36340
36341         * configure.in (libc_cv_predef_stack_protector): Only consider
36342         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36343         * configure: Regenerated.
36344
36345 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36346
36347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36348         New macro.  Use R*LP on int and pointer.
36349         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36350         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36351         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36352         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36353
36354         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36355         [__WORDSIZE_TIME64_COMPAT32] instead of
36356         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36357         (struct utmp): Likewise.
36358         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36359         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36360         Renamed to ...
36361         (__WORDSIZE_TIME64_COMPAT32): This.
36362         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36363         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36364         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36365         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36366         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36367         (__WORDSIZE_TIME64_COMPAT32): New macro.
36368
36369 2012-05-21  Andreas Jaeger  <aj@suse.de>
36370
36371         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36372         only if [SHARED]. Add prototype for __wcschr_ia32.
36373
36374 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36375
36376         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36377         of %rbp unmolested in the jmp_buf while mangling the low bits.
36378         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36379         unmolested high bits of %rbp while demangling the low bits.
36380         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36381
36382 2012-05-21  Andreas Jaeger  <aj@suse.de>
36383
36384         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36385         * sunrpc/svc_simple.c: Use it for registerrpc.
36386         * sunrpc/xcrypt.c: Use it for passwd2des.
36387
36388         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36389
36390 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36391
36392         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36393         Don't define if [__SYSCALL_WORDSIZE != 32].
36394         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36395         New macro.
36396
36397 2012-05-21  Bruno Haible  <bruno@clisp.org>
36398             Andreas Jaeger  <aj@suse.de>
36399
36400         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36401         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36402         inptr and inend for must_buffer_ch.
36403         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36404         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36405         * stdio-common/Makefile (tests): Remove bug15.
36406         (bug15-ENV): Remove macro.
36407         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36408         anymore.
36409
36410 2012-05-19  Andreas Jaeger  <aj@suse.de>
36411             Roland McGrath  <roland@hack.frob.com>
36412
36413         * manual/contrib.texi: Completely rewritten. It contains now an
36414         alphabetical list of contributors and their contributions.
36415
36416 2012-05-21  Richard Henderson  <rth@twiddle.net>
36417
36418         * misc/getauxval.c (__getauxval): Use unsigned long int.
36419         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36420         (getauxval): Use unsigned long int.
36421
36422 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36423
36424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36425
36426 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36427
36428         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36429         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36430         __alignof__ (long double).
36431
36432 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36433
36434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36435
36436 2012-05-20  Richard Henderson  <rth@twiddle.net>
36437
36438         * misc/getauxval.c: New file.
36439         * misc/sys/auxv.h: New file.
36440         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36441         (routines): Add getauxval.
36442         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36443         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36444         * elf/dl-sysdep.c (_dl_auxv): Remove.
36445         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36446         * elf/dl-support.c (_dl_auxv): New variable.
36447         (_dl_aux_init): Initialize it.
36448         * manual/startup.texi (Auxiliary Vector): New node.
36449         * sysdeps/generic/bits/hwcap.h: New file.
36450         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36451         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36452         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36453         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36454         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36455         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36457         Update.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36466
36467 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36468
36469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36470
36471 2012-05-19  David S. Miller  <davem@davemloft.net>
36472
36473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36474
36475 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36476
36477         [BZ #14123]
36478         * math/s_ccosh.c: Include <float.h>
36479         (__ccosh): Avoid internal overflow calculating sinh and cosh
36480         values before multiplying by sin and cos values.
36481         * math/s_ccoshf.c: Likewise.
36482         * math/s_ccoshl.c: Likewise.
36483         * math/s_csin.c: Likewise.
36484         * math/s_csinf.c: Likewise.
36485         * math/s_csinl.c: Likewise.
36486         * math/s_csinh.c: Likewise.
36487         * math/s_csinhf.c: Likewise.
36488         * math/s_csinhl.c: Likewise.
36489         * math/libm-test.inc (ccos_test): Add more tests.
36490         (ccosh_test): Likewise.
36491         (csin_test): Likewise.
36492         (csinh_test): Likewise.
36493         * sysdeps/i386/fpu/libm-test-ulps: Update.
36494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36495
36496 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36497
36498         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36499         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36500
36501         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36502
36503 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36504
36505         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36506         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36507         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36508         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36509         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36510         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36511         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36512         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36513         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36514         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36515         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36516         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36517         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36518         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36519         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36520         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36521         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36522         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36523         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36524         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36525         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36526         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36527         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36528         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36529         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36530         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36531         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36532         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36533         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36534         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36535         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36536
36537 2012-05-18  Andreas Jaeger  <aj@suse.de>
36538
36539         * csu/.gitignore: Delete.
36540
36541 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36542
36543         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36544         (timex): Use __syscall_slong_t.
36545
36546 2012-05-18  Andreas Jaeger  <aj@suse.de>
36547             Carlos O'Donell  <carlos_odonell@mentor.com>
36548
36549         * manual/install.texi (Configuring and compiling): Update
36550         description about files modified in the source directory.
36551         * INSTALL: Regenerated.
36552
36553 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36554
36555         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36556         value.  Use "or" to set return value to -1.
36557         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36558         negate return value.
36559
36560 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36561
36562         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36563         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36564         failure if the compiler has Graphite support disabled.
36565         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36566         Likewise.
36567         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36568         (CFLAGS-memmove.c): Likewise.
36569         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36570         Likewise.
36571
36572 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36573
36574         * sysdeps/x86_64/x32/_itoa.h: New file.
36575
36576         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36577         getdents system call only if kernel and user dirents have the
36578         same d_ino and d_off.
36579
36580         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36581         LLONG_MAX != LONG_MAX.
36582         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36583         (_fitoa_word): Likewise.
36584
36585         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36586         years.
36587         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36588         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36589         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36590
36591         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36592         include <bits/wordsize.h>.  Check __x86_64__ instead of
36593         __WORDSIZE.
36594         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36595         if __x86_64__ is defined.  Use anonymous union on fpstate.
36596
36597         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36598         anonymous union.
36599
36600 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36601
36602         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36603         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36605         Refer to _rtld_local_ro instead of _rtld_global_ro.
36606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36607         Likewise.
36608         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36609         Likewise.
36610         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36611         Likewise.
36612         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36613         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36614         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36615
36616         * sysdeps/powerpc/powerpc32/dl-machine.c
36617         (__elf_machine_runtime_setup) [PROF]: Don't reference
36618         _dl_prof_resolve.
36619
36620 2012-05-18  Andreas Jaeger  <aj@suse.de>
36621
36622         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36623         function only available for GCCs before 3.4 since GCC 3.4
36624         introduced a builtin.
36625         (lrint): Likewise.
36626         (llrintf): Likewise.
36627         (llrint): Likewise.
36628         (fmaxf): Likewise.
36629         (fmax): Likewise.
36630         (fminf): Likewise.
36631         (fmin): Likewise.
36632         (rint): Likewise.
36633         (rintf): Likewise.
36634         (nearbyint): Likewise.
36635         (nearbyintf): Likewise.
36636         (ceil): Likewise.
36637         (ceilf): Likewise.
36638         (floor): Likewise.
36639         (floorf): Likewise.
36640
36641 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36642
36643         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36644         on both fields and cast pointer to __syscall_ulong_t.
36645
36646         * bits/types.h (__fsword_t): New type.
36647         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36648         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36650         (__FSWORD_T_TYPE): Likewise.
36651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36652         (__FSWORD_T_TYPE): Likewise.
36653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36654         (__FSWORD_T_TYPE): Likewise.
36655         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36656         (__FSWORD_T_TYPE): Likewise.
36657         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36658         __SWORD_TYPE with __fsword_t.
36659         (statfs64): Likewise.
36660
36661 2012-05-17  David S. Miller  <davem@davemloft.net>
36662
36663         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36664
36665 2012-05-17  Andreas Jaeger  <aj@suse.de>
36666
36667         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36668         warning.
36669
36670 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36671
36672         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36673
36674 2012-05-17  Andreas Jaeger  <aj@suse.de>
36675
36676         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36677         when it is used.
36678
36679 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36680
36681         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36682
36683 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36684
36685         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36686         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36687
36688 2012-05-17  Andreas Jaeger  <aj@suse.de>
36689             Carlos O'Donell  <carlos_odonell@mentor.com>
36690
36691         [BZ #14059]
36692         * sysdeps/x86_64/multiarch/init-arch.h
36693         (bit_YMM_Usable): Rename to...
36694         (bit_AVX_Usable): ... this.
36695         (bit_FMA4_Usable): New macro.
36696         (bit_XMM_state): New macro.
36697         (bit_YMM_state): New macro.
36698         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36699         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36700         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36701         (CPUID_OSXSAVE): New macro.
36702         (CPUID_AVX): New macro.
36703         (CPUID_FMA4): New macro.
36704         (index_YMM_Usable): Rename to...
36705         (index_AVX_Usable): ... this.
36706         (HAS_AVX): Use HAS_ARCH_FEATURE.
36707         (HAS_FMA4): Likewise.
36708         (HAS_YMM_USABLE): Remove.
36709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36710         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36711         are present.
36712         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36713         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36714         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36715         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36716         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36717
36718 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36719
36720         * math/libm-test.c: Support platforms without multiple rounding modes.
36721         * math/bug-nextafter.c: Support platforms without FP exceptions.
36722         * math/bug-nexttoward.c: Likewise.
36723         * math/test-fenv.c: Likewise.
36724         * math/test-misc.c: Likewise.
36725         * stdlib/bug-getcontext.c: Likewise.
36726
36727 2012-05-17  Andreas Jaeger  <aj@suse.de>
36728
36729         * manual/examples/search.c (critter_cmp): Change signature to
36730         avoid warnings.
36731         * manual/string.texi (Collation Functions): Likewise.
36732
36733 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36734
36735         * bits/types.h: Fold copyright years.
36736         * bits/typesizes.h: Likewise.
36737         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36740         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36741         * time/time.h: Likewise.
36742
36743 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36744
36745         [BZ #208]
36746         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36747         in instead of returning them.  Return void.
36748         (__libc_mallinfo): Accumulate over all arenas.
36749         (__malloc_stats): Adjust for change in int_mallinfo interface.
36750
36751 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36752
36753         [BZ #10375]
36754         * configure.in (NM): Add AC_CHECK_TOOL for it.
36755         (libc_extra_cflags): New substituted variable.
36756         Check for -fstack-protector being used implicitly.
36757         * configure: Regenerated.
36758         * config.make.in (config-extra-cflags): New variable,
36759         gets @libc_extra_cflags@.
36760         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36761
36762         [BZ #10375]
36763         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36764         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36765         * configure: Regenerated.
36766         * config.make.in (CPPUNDEFS): New substituted variable.
36767         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36768         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36769         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36770
36771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36772
36773         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36774         (mq_attr): Use __syscall_slong_t.
36775
36776 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36777
36778         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36779         Check __x86_64__ instead of __WORDSIZE.
36780         (_STAT_VER_LINUX): Likewise.
36781         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36782         __syscall_ulong_t and __syscall_slong_t.
36783         (stat64): Likewise.
36784
36785 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36786
36787         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36788
36789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36790
36791         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36792
36793 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36794
36795         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36796         __syscall_ulong_t.
36797
36798         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36799         include <bits/wordsize.h>.  Check __x86_64__ instead of
36800         __WORDSIZE.
36801         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36802         defined.
36803         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36804
36805         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36806         include <bits/wordsize.h>.  Check __x86_64__ instead of
36807         __WORDSIZE.
36808         (user_regs_struct): Use "__extension__ unsigned long long"
36809         instead of "unsigned long" if __x86_64__ is defined.
36810         (user): Likewise.  Pad after pointer field if __ILP32__ is
36811         defined.
36812
36813 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36814
36815         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36816         versions 5 to 9.
36817         * configure: Regenerated.
36818         * manual/install.texi (texinfo): Increase version requirement to
36819         4.5 or later.
36820         * INSTALL: Regenerated.
36821
36822         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36823
36824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36825
36826         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36827
36828         * sysdeps/x86_64/x32/ffs.c: New file.
36829
36830         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36831         __syscall_ulong_t.
36832         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36833         defined.  Use __syscall_ulong_t.
36834         (shminfo): Use __syscall_ulong_t.
36835         (shm_info): Likewise.
36836
36837         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36838         __syscall_ulong_t.
36839
36840         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36841         <bits/wordsize.h>.
36842         (msgqnum_t): Use __syscall_ulong_t.
36843         (msglen_t): Likewise.
36844         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36845         __syscall_ulong_t.
36846
36847         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36848         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36849
36850         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36851
36852         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36853         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36854
36855         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36856         __syscall_slong_t.
36857
36858         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36859         include <bits/wordsize.h>.  Check __x86_64__ instead of
36860         __WORDSIZE.
36861
36862         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36863         "unsigned long long int" if __x86_64__ is defined.
36864         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36865
36866         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36867         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36868         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36869
36870         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36871         <stdint.h>.
36872         (GET_PC): Cast to uintptr_t first.
36873         (GET_FRAME): Likewise.
36874         (GET_STACK): Likewise.
36875
36876         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36877         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36878         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36879         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36880         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36881         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36882         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36883         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36884         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36885         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36886         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36887         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36888         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36889         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36890         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36891         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36892         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36893         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36894         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36895         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36896         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36897         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36898         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36899         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36900         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36901         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36902         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36903         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36904         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36905
36906 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36907
36908         * Makerules (+depfiles): Also collect depfiles from .oS in
36909         $(extra-objs).
36910         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36911         .oS, $(libnldbl-routines)).
36912
36913         * Makerules (native-compile-mkdep-flags): Define.
36914         * sunrpc/Makefile (extra-objs): Add $(addprefix
36915         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36916         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36917         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36918         calling $(make-target-directory).
36919
36920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36921
36922         * bits/types.h (__snseconds_t): Removed.
36923         * time/time.h (struct timespec): Replace __snseconds_t with
36924         __syscall_slong_t.
36925         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36926         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36927         Likewise.
36928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36929         (__SNSECONDS_T_TYPE): Likewise.
36930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36931         (__SNSECONDS_T_TYPE): Likewise.
36932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36933         (__SNSECONDS_T_TYPE): Likewise.
36934
36935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36936
36937         * sysdeps/mach/hurd/bits/typesizes.h
36938         (__SYSCALL_SLONG_TYPE): New macro.
36939         (__SYSCALL_ULONG_TYPE): Likewise.
36940
36941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36942
36943         * bits/types.h (__syscall_slong_t): New type.
36944         (__syscall_ulong_t): Likewise.
36945
36946         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36947         (__SYSCALL_ULONG_TYPE): Likewise.
36948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36949         (__SYSCALL_SLONG_TYPE): Likewise.
36950         (__SYSCALL_ULONG_TYPE): Likewise.
36951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36952         (__SYSCALL_SLONG_TYPE): Likewise.
36953         (__SYSCALL_ULONG_TYPE): Likewise.
36954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36955         (__SYSCALL_SLONG_TYPE): Likewise.
36956         (__SYSCALL_ULONG_TYPE): Likewise.
36957
36958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36959
36960         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36961         Add sigaltstack-offsets.sym.
36962         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36963         <sigaltstack-offsets.h>.
36964         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36965         longjmp_msg pointer.
36966         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36967         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36968         signal stack.
36969         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36970
36971 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36972
36973         * elf/stackguard-macros.h: Remove file.
36974         * sysdeps/generic/stackguard-macros.h: New file.
36975         * sysdeps/i386/stackguard-macros.h: Likewise.
36976         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36977         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36978         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36979         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36980         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36981         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36982         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36983         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36984         <elf/stackguard-macros.h>.
36985
36986         [BZ #14109]
36987         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36988         __aligned__ in attribute.
36989         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36990         (gregset_t): Likewise.
36991
36992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36993
36994         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36995         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36996         * sysdeps/x86_64/x32/Implies-after: New file.
36997
36998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36999
37000         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37001         and access return value for _dl_profile_fixup.  Use R10_LP to
37002         load frame size.
37003
37004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37005
37006         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37007
37008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37009
37010         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37011         * sysdeps/x86_64/x32/sysdep.h: New file.
37012
37013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37014
37015         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37016         * sysdeps/x86_64/setjmp.S: Likewise.
37017
37018 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37019
37020         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37021         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37022         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37023         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37024         remove unused global constant.
37025
37026 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37027
37028         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37029         include of <not-cancel.h>.
37030
37031 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37032
37033         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37034
37035 2012-05-15  Jeff Law  <law@redhat.com>
37036             Andreas Jaeger  <aj@suse.de>
37037
37038         [BZ #13594]
37039         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37040         out from...
37041         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37042         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37043         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37044         code changing __hst_map_handle.map.
37045
37046 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37047
37048         * configure.in (sysnames): Look for Implies-before and Implies-after
37049         files.
37050         * configure: Regenerated.
37051
37052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37053
37054         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37055         8-byte data alignment with LP_SIZE alignment.
37056
37057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37058
37059         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37060         into R10_LP.
37061
37062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37063
37064         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37065
37066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37067
37068         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37069         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37071         Likewise.
37072         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37073
37074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37075
37076         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37077         (stackinfo_sub_sp): Likewise.
37078
37079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37080
37081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37082         RAX_LP.
37083
37084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37085
37086         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37087         into R*_LP.
37088
37089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37090
37091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37092         sizes into R*_LP.
37093
37094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37095
37096         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37097
37098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37099
37100         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37101         into R11_LP and load __x86_64_shared_cache_size_half into
37102         R8_LP.
37103
37104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37105
37106         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37107         R8_LP.
37108
37109 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37110
37111         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37112         logb for POWER7.
37113         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37114         logbf for POWER7.
37115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37116         logbl for POWER7.
37117         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37118         powerpc32/power7/fpu/s_logb.c via #include.
37119         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37120         powerpc32/power7/fpu/s_logbf.c via #include.
37121         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37122         powerpc32/power7/fpu/s_logbl.c via #include.
37123
37124 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37125
37126         * README.libm: Remove file.
37127
37128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37129
37130         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37131         count for x32.  Use R*_LP and omit operand-size suffix.
37132
37133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37134
37135         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37136         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37137         * sysdeps/x86_64/x32/shlib-versions: New file.
37138
37139 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37140
37141         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37142         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37143         Use _dl_fatal_printf instead.
37144
37145 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37146
37147         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37148         set if not set by the user.  Do not allow for being unset.
37149         * sysdeps/unix/sysv/linux/configure: Regenerated.
37150
37151 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37152
37153         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37154         the `q' suffix from lea and replace .quad with ASM_ADDR.
37155
37156 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37157
37158         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37159         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37160         instead of $17.
37161         (PTR_DEMANGLE): Likewise.
37162
37163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37164
37165         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37166         (LP_OP): Likewise.
37167         (ASM_ADDR): Likewise.
37168         (RAX_LP): Likewise.
37169         (RBP_LP): Likewise.
37170         (RBX_LP): Likewise.
37171         (RCX_LP): Likewise.
37172         (RDI_LP): Likewise.
37173         (RSI_LP): Likewise.
37174         (RSP_LP): Likewise.
37175         (R8_LP): Likewise.
37176         (R9_LP): Likewise.
37177         (R10_LP): Likewise.
37178         (R10_LP): Likewise.
37179         (R11_LP): Likewise.
37180         (R12_LP): Likewise.
37181         (R13_LP): Likewise.
37182         (R14_LP): Likewise.
37183         (R15_LP): Likewise.
37184
37185 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37186
37187         * sysdeps/x86_64/x32/dl-machine.h: New file.
37188
37189 2012-05-14  Andreas Jaeger  <aj@suse.de>
37190
37191         * manual/Makefile (subdir): Remove export of subdir.
37192         (all): Remove target.
37193         (.PHONY): Remove all from list.
37194         (mkinstalldirs): Remove.
37195         (.PHONY): Remove installdirs from list.
37196         ($(inst_infodir)/libc.info): Use make-target-directory.
37197         (installdirs): Remove.
37198         (subdir_%): Remove.
37199         (glibc-targets): Remove.
37200         (lib): Remove.
37201         (stubs): Remove.
37202         ($(objpfx)stubs ../po/manual.pot): Remove.
37203         ($(objpfx)stamp%): Remove.
37204         (make-target-directory): Remove.
37205         (subdir_install): Remove.
37206         (routines): Remove.
37207         (aux): Remove.
37208         (sources): Remove.
37209         (objects): Remove.
37210         (headers): Remove.
37211
37212         [BZ #13750]
37213         * manual/.gitignore: Remove, it's not needed anymore.
37214         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37215         all files in it.
37216         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37217         directory.
37218         (texis): Renamed to $(objpfx)texis.
37219         (texis-path): New, contains path to generated files.
37220         (chapters.%): Use texis-path for complete path, add extra argument
37221         libc-texinfo.sh.
37222         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37223         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37224         (summary,texi, stamp-summary): Use complete path of
37225         files. Generate files in build dir.
37226         (dir-add.texi): Build in build dir.
37227         (libm-err.texi,stamp-libm-err): Likewise.
37228         (version.texi, stamp-version): Likewise.
37229         (.%c.texi): Likewise.
37230         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37231         (mostlyclean): Remove target.
37232         (realclean): Remove target.
37233         (generated): Add new variable with contents from mostlyclean and
37234         realclean, remove entries duplicated in common-mostlyclean, add
37235         stamp-libm-err and stamp-version.
37236         (generated-dirs): Add libc directory.
37237         ($(inst_infodir)/libc.info): Install files from build dir.
37238
37239         * manual/install.texi (Configuring and compiling): Adjust since
37240         the info files are not part of the tar ball anymore.
37241
37242 2012-05-14  Andreas Jaeger  <aj@suse.de>
37243
37244         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37245         variable.
37246
37247 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37248
37249         [BZ #13717]
37250         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37251         to 2.2.0 where earlier.
37252         * sysdeps/unix/sysv/linux/configure: Regenerated.
37253         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37254         Remove conditional code.
37255         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37256         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37257         Remove conditional code.
37258         [!__NR_lchown]: Likewise.
37259         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37260         [__NR_lchown]: Likewise.
37261         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37262         comment referencing __ASSUME_LCHOWN_SYSCALL.
37263         * sysdeps/unix/sysv/linux/i386/sigaction.c
37264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37266         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37267         Remove conditional code.
37268         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37269         (__protocol_available): Remove #if 0 code.
37270         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37271         conditional code.
37272         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37273         * sysdeps/unix/sysv/linux/kernel-features.h
37274         (__ASSUME_GETCWD_SYSCALL): Don't define.
37275         (__ASSUME_REALTIME_SIGNALS): Likewise.
37276         (__ASSUME_PREAD_SYSCALL): Likewise.
37277         (__ASSUME_PWRITE_SYSCALL): Likewise.
37278         (__ASSUME_POLL_SYSCALL): Likewise.
37279         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37280         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37281         non-SPARC.
37282         (__ASSUME_SIOCGIFNAME): Don't define.
37283         (__ASSUME_MSG_NOSIGNAL): Likewise.
37284         (__ASSUME_SENDFILE): Define unconditionally.
37285         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37286         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37287         conditional code.
37288         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37289         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37290         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37291         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37292         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37293         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37294         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37296         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37297         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37299         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37300         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37302         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37303         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37305         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37306         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37308         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37309         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37311         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37312         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37314         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37315         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37317         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37318         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37319         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37320         Remove conditional code.
37321         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37322         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37323         Remove conditional code.
37324         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37325         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37326         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37327         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37328         Remove conditional code.
37329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37330         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37331         Remove conditional code.
37332         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37333         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37334         Remove conditional code.
37335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37336         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37337         Remove conditional code.
37338         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37339         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37340         Remove conditional code.
37341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37342         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37343         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37344         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37345         * sysdeps/unix/sysv/linux/sigaction.c
37346         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37347         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37348         * sysdeps/unix/sysv/linux/sigpending.c
37349         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37350         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37351         * sysdeps/unix/sysv/linux/sigprocmask.c
37352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37354         * sysdeps/unix/sysv/linux/sigsuspend.c
37355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37357         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37358         (__libc_missing_rt_sigs): Remove.
37359         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37360         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37361         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37362         Remove conditional code.
37363         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37364         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37365         return 1.
37366         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37367         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37368         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37369         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37370
37371 2012-05-14  Andreas Jaeger  <aj@suse.de>
37372
37373         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37374         it's not used in glibc.
37375         (__coshm1): Likewise.
37376         (__acosh1p): Likewise.
37377         (__sgn): Likewise.
37378
37379         * manual/string.texi (Copying and Concatenation): Add missing
37380         variable in concat example.
37381         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37382
37383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37384
37385         [BZ #14103]
37386         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37387         __builtin_clzl with __builtin_clzll.
37388
37389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37390
37391         [BZ #14104]
37392         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37393         libc_freeres_ptr.
37394
37395 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37396
37397         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37398         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37399         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37400         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37401
37402 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37403
37404         * NEWS: Update ia64 info.
37405
37406 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37407
37408         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37409         used as bcopy.
37410
37411 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37412
37413         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37414         * sysdeps/unix/syscalls.list (dup3): Likewise.
37415         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37416         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37417
37418 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37419
37420         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37421         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37422
37423 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37424
37425         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37426         thread pointer.
37427         (TLS_IE): Use mov/add instead of movq/addq to load thread
37428         pointer.
37429         (TLS_GD_PREFIX): New.
37430         (TLS_GD): Use it.
37431
37432 2012-05-11  David S. Miller  <davem@davemloft.net>
37433
37434         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37435         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37436         (_FPU_SETCW): Likewise.
37437
37438 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37439
37440         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37441         is 32-byte aligned.
37442
37443 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37444
37445         [BZ #11837]
37446         * iconvdata/gb18030.c: Update tables.
37447         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37448         characters specially.
37449         (BODY for TO_LOOP): Add encoding of missing ranges.
37450
37451 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37452
37453         [BZ #13673]
37454         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37455         * sysdeps/mach/hurd/dup3.c: Likewise.
37456         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37457         * sysdeps/powerpc/memmove.c:: Likewise.
37458
37459 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37460
37461         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37462         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37463
37464 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37465
37466         * elf/elf.h (R_X86_64_RELATIVE64): New.
37467         (R_X86_64_NUM): Updated.
37468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37469         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37470         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37471         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37472         tst-quad1pie tst-quad2pie
37473         (modules-names): Add tst-quadmod1 tst-quadmod2.
37474         ($(objpfx)tst-quad1): New dependency.
37475         ($(objpfx)tst-quad2): Likewise.
37476         ($(objpfx)tst-quad1pie): Likewise.
37477         ($(objpfx)tst-quad2pie): Likewise.
37478         * sysdeps/x86_64/tst-quad1.c: New file.
37479         * sysdeps/x86_64/tst-quad1pie.c: New file.
37480         * sysdeps/x86_64/tst-quad2.c: Likewise.
37481         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37482         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37483         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37484         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37485         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37486
37487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37488
37489         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37490         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37491         * streams/stropts.h (t_scalar_t): Define type.
37492
37493         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37494         (_PATH_PRESERVE): Set to "/var/lib".
37495         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37496
37497         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37498         instead of int.
37499
37500         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37501         if __dir_mkfile succeeded.
37502
37503         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37504         checking for _hurd_dtablesize.  Unlock it right after having
37505         finished _hurd_dtable allocation.
37506
37507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37508
37509         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37510         * sysdeps/mach/hurd/configure: Regenerated.
37511         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37512         special-casing to...
37513         * sysdeps/gnu/configure.in: ... this new file.
37514         * sysdeps/unix/sysv/linux/configure: Regenerated.
37515         * sysdeps/gnu/configure: New generated file.
37516
37517         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37518         for Linux: use nsec instead of usec, as well as:
37519         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37520         members of type struct timespec.
37521         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37522         New macros.
37523         (struct stat64): Likewise.
37524         (_STATBUF_ST_NSEC): New macro.
37525         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37526
37527         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37528         __strtoul_internal rather than strtoul.
37529
37530 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37531
37532         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37533         and reject them.
37534
37535 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37536
37537         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37538         which preserves existing values.
37539         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37540
37541 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37542
37543         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37544         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37545         greater than FD_SETSIZE.
37546
37547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37548
37549         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37550         allocated, call __vm_protect to finish enabling the existing space, and
37551         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37552         allocate the remainder.
37553
37554 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37555
37556         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37557         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37558
37559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37560
37561         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37562         sysdeps/mach/hurd/readlink.c.
37563
37564         * posix/tst-sysconf.c (posix_options): Only use
37565         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37566         _POSIX_SYNCHRONIZED_IO when they are defined
37567         * sysdeps/mach/hurd/bits/posix_opt.h:
37568         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37569         (_XOPEN_REALTIME): Undefine macro.
37570         (_XOPEN_REALTIME_THREADS): Undefine macro.
37571         (_XOPEN_SHM): Undefine macro.
37572         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37573         macro to -1.
37574         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37575         macro to -1.
37576         (_POSIX_ASYNC_IO): Undefine macro.
37577         (_POSIX_PRIORITIZED_IO): Undefine macro.
37578         (_POSIX_SPIN_LOCKS): Define macro to -1.
37579
37580         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37581         SA_NODEFER, SA_RESETHAND.
37582         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37583         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37584         F_DUPFD_CLOEXEC.
37585
37586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37587
37588         * elf/Makefile (pldd-modules): Define unconditionally.
37589
37590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37591
37592         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37593
37594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37595
37596         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37597         Return ENOENT when name is empty.
37598         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37599
37600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37601
37602         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37603
37604         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37605
37606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37607
37608         Fix mlock in all cases except non-readable pages.
37609         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37610         instead of VM_PROT_ALL as parameter to __vm_wire function.
37611
37612         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37613         (__mkdir): When path is `/', just fail with EEXIST.
37614         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37615
37616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37617
37618         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37619         <sys/uio.h> (for writev).
37620         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37621         and <sys/param.h> (for MIN).
37622
37623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37624
37625         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37626         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37627         if interrupted.
37628
37629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37630
37631         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37632         Depend on against $(link-rpcuserlibs).
37633
37634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37635
37636         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37637         (__libc_stack_end): Do not use attribute_relro.
37638         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37639         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37640         to libthread-provided value.
37641         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37642         attribute_relro.
37643
37644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37645
37646         [BZ #3748]
37647         * bits/libc-lock.h (__libc_once_get): New macro.
37648         * sysdeps/mach/bits/libc-lock.h: Likewise.
37649         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37650         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37651         instead of using implementation details.
37652
37653         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37654         * libio/freopen.c: Likewise.
37655         * libio/freopen64.c: Likewise.
37656         * misc/syslog.c: Likewise.
37657         * nscd/connections.c: Likewise.
37658         * nscd/netgroupcache.c: Likewise.
37659         * sysdeps/posix/getcwd.c: Likewise.
37660
37661 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37662
37663         * math/w_ilogbf.c: Add #include <limits.h>.
37664
37665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37666
37667         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37668         path instead of returning without unlocking.
37669
37670         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37671         immediate-write ioctls.
37672         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37673
37674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37675
37676         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37677         __builtin_frame_address instead of making assumptions about the
37678         location of the return address relative to DATA.  Force early load of
37679         the return address.
37680         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37681         __builtin_frame_address.
37682
37683         dup3 for GNU Hurd.
37684         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37685         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37686         implement dup3 and do some further code clean-ups.
37687         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37688         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37689
37690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37691
37692         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37693
37694         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37695         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37696         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37697         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37698         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37699         d->port.lock.
37700
37701         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37702         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37703         when handler == SIG_ERR, not when handler != SIG_ERR.
37704
37705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37706
37707         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37708         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37709         definitions.
37710
37711         accept4 for GNU Hurd.
37712         * include/sys/socket.h (__libc_accept4): New prototype.
37713         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37714         to implement __libc_accept4.
37715         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37716         __libc_accept4.
37717         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37718
37719         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37720         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37721         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37722         signal-defines.sym.
37723
37724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37725
37726         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37727
37728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37729
37730         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37731         assertion on O_CLOEXEC flag.
37732         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37733         * hurd/intern-fd.c: Likewise.
37734         * hurd/port2fd.c: Likewise.
37735
37736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37737
37738         [BZ #3906]
37739         * bits/in.h (IPV6_PKTINFO): Define new macro.
37740         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37741
37742 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37743
37744         [BZ #13954]
37745         [BZ #13955]
37746         [BZ #13956]
37747         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37748         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37749         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37750         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37751         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37752         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37753         * math/libm-test.inc (logb_test) : Additional logb tests.
37754
37755 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37756             Andreas Jaeger  <aj@suse.de>
37757
37758         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37759         * configure: Regenerated.
37760         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37761         * config.make.in (link-obsolete-rpc): New substituted variable.
37762         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37763         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37764         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37765         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37766         so that libc.a contains the symbols.
37767         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37768         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37769         * sunrpc/auth_none.c: Likewise.
37770         * sunrpc/auth_unix.c: Likewise.
37771         * sunrpc/authdes_prot.c: Likewise.
37772         * sunrpc/authuxprot.c: Likewise.
37773         * sunrpc/clnt_gen.c: Likewise.
37774         * sunrpc/clnt_perr.c: Likewise.
37775         * sunrpc/clnt_raw.c: Likewise.
37776         * sunrpc/clnt_simp.c: Likewise.
37777         * sunrpc/clnt_tcp.c: Likewise.
37778         * sunrpc/clnt_udp.c: Likewise.
37779         * sunrpc/clnt_unix.c: Likewise.
37780         * sunrpc/des_crypt.c: Likewise.
37781         * sunrpc/des_soft.c: Likewise.
37782         * sunrpc/get_myaddr.c: Likewise.
37783         * sunrpc/key_call.c: Likewise.
37784         * sunrpc/key_prot.c: Likewise.
37785         * sunrpc/netname.c: Likewise.
37786         * sunrpc/pm_getmaps.c: Likewise.
37787         * sunrpc/pm_getport.c: Likewise.
37788         * sunrpc/pmap_clnt.c: Likewise.
37789         * sunrpc/pmap_prot.c: Likewise.
37790         * sunrpc/pmap_prot2.c: Likewise.
37791         * sunrpc/pmap_rmt.c: Likewise.
37792         * sunrpc/publickey.c: Likewise.
37793         * sunrpc/rpc_cmsg.c: Likewise.
37794         * sunrpc/rpc_common.c: Likewise.
37795         * sunrpc/rpc_dtable.c: Likewise.
37796         * sunrpc/rpc_prot.c: Likewise.
37797         * sunrpc/rpc_thread.c: Likewise.
37798         * sunrpc/rtime.c: Likewise.
37799         * sunrpc/svc.c: Likewise.
37800         * sunrpc/svc_auth.c: Likewise.
37801         * sunrpc/svc_raw.c: Likewise.
37802         * sunrpc/svc_run.c: Likewise.
37803         * sunrpc/svc_tcp.c: Likewise.
37804         * sunrpc/svc_udp.c: Likewise.
37805         * sunrpc/svc_unix.c: Likewise.
37806         * sunrpc/svcauth_des.c: Likewise.
37807         * sunrpc/xcrypt.c: Likewise.
37808         * sunrpc/xdr.c: Likewise.
37809         * sunrpc/xdr_array.c: Likewise.
37810         * sunrpc/xdr_float.c: Likewise.
37811         * sunrpc/xdr_intXX_t.c: Likewise.
37812         * sunrpc/xdr_mem.c: Likewise.
37813         * sunrpc/xdr_rec.c: Likewise.
37814         * sunrpc/xdr_ref.c: Likewise.
37815         * sunrpc/xdr_sizeof.c: Likewise.
37816         * sunrpc/xdr_stdio.c: Likewise.
37817
37818 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37819
37820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37821         change.  Update copyright years.
37822
37823 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37824
37825         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37826
37827 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37828             Joseph Myers  <joseph@codesourcery.com>
37829             Paul Pluzhnikov  <ppluzhnikov@google.com>
37830
37831         [BZ #14012]
37832         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37833         requiring rpcgen.
37834         [cross-compiling] (extra-libs): Likewise.
37835         [cross-compiling] (extra-libs-others): Likewise.
37836         [cross-compiling] (librpcsvc-routines): Likewise.
37837         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37838         [cross-compiling] (omit-deps): Likewise.
37839         (sunrpc-CPPFLAGS): New variable.
37840         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37841         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37842         (cross-rpcgen-objs): New variable.
37843         (extra-objs): Append $(cross-rpcgen-objs).
37844         ($(cross-rpcgen-objs)): New rule.
37845         ($(objpfx)cross-rpcgen): Likewise.
37846         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37847         comment.
37848         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37849         ($(objpfx)x%.stmp): Likewise.
37850         * sunrpc/proto.h [IS_IN_build] (_): Define.
37851         [IS_IN_build] (_libc_intl_domainname): Likewise.
37852
37853 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37854
37855         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37856         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37857         and R_X86_64_TPOFF64.
37858
37859 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37860
37861         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37862         sysdeps/unix/sysv/syscalls.list.
37863         (stime): Likewise.
37864         (utime): Likewise.
37865         * sysdeps/unix/sysv/syscalls.list: Remove file.
37866
37867 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37868
37869         [BZ #3440]
37870         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37871         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37872         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37873         (__LC_IDENTIFICATION): Make these macros useful in #if
37874         expressions, as required by C99.
37875
37876 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37877
37878         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37879         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37880         after this.
37881
37882 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37883
37884         * stdlib/longlong.h: Updated from GCC.
37885
37886 2012-05-09  Andreas Jaeger  <aj@suse.de>
37887
37888         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37889         default is first entry.
37890         (run_mode): Set type.
37891         (main): Remove informal message about syslog.
37892         (options): Fix typo.
37893
37894         [BZ #14053]
37895         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37896         to asm.
37897         (lrint): Likewise.
37898         (llrintf): Likewise.
37899         (llrint): Likewise.
37900         (rint): Likewise.
37901         (rintf): Likewise.
37902         (nearbyint): Likewise.
37903         (nearbyintf): Likewise.
37904
37905 2012-05-09  Andreas Jaeger  <aj@suse.de>
37906             Pedro Alves  <palves@redhat.com>
37907
37908         * nscd/nscd.c (run_mode): Use enum.
37909         (main): Cleanup coding style issue.
37910
37911 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37912             Andreas Jaeger  <aj@suse.de>
37913
37914         * nscd/nscd.c (go_background): Replaced with...
37915         (run_mode): ... this.
37916         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37917         (options): Add -F --foreground.
37918         (main): Implement it.
37919         (parse_opt): Parse it.
37920
37921 2012-05-09  Andreas Jaeger  <aj@suse.de>
37922
37923         [BZ #14083]
37924         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37925         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37926         -Wconversion warning.
37927         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37928         Likewise.
37929
37930 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37931
37932         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37933         == 0.
37934         (LC_ALL): Use macro-int-constant.
37935         (LC_COLLATE): Likewise.
37936         (LC_CTYPE): Likewise.
37937         (LC_MESSAGES): Likewise.
37938         (LC_MONETARY): Likewise.
37939         (LC_NUMERIC): Likewise.
37940         (LC_TIME): Likewise.
37941         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37942         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37943         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37944         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37945         Specify type.
37946         [C99-based standards] (float_t): Expect type.
37947         [C99-based standards] (double_t): Expect type.
37948         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37949         type.
37950         [C99-based standards] (HUGE_VALL): Likewise.
37951         [C99-based standards] (INFINITY): Likewise.
37952         [C99-based standards] (NAN): Likewise.
37953         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37954         [C99-based standards] (FP_NAN): Likewise.
37955         [C99-based standards] (FP_NORMAL): Likewise.
37956         [C99-based standards] (FP_SUBNORMAL): Likewise.
37957         [C99-based standards] (FP_ZERO): Likewise.
37958         [C99-based standards] (FP_FAST_FMA): Use
37959         optional-macro-int-constant.  Specify type.  Require == 1.
37960         [C99-based standards] (FP_FAST_FMAF): Likewise.
37961         [C99-based standards] (FP_FAST_FMAL): Likewise.
37962         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37963         [C99-based standards] (FP_ILOGBNAN): Likewise.
37964         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37965         Specify type.
37966         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37967         [C99-based standards] (math_errhandling): Specify type.
37968         [ISO99 || ISO11] (signgam): Do not allow.
37969         [non-C99-based standards] (copysignf): Do not allow.
37970         [non-C99-based standards] (exp2f): Likewise.
37971         [non-C99-based standards] (log2f): Likewise.
37972         [non-C99-based standards] (modff): Allow.
37973         [non-C99-based standards] (erff): Do not allow.
37974         [non-C99-based standards] (erfcf): Likewise.
37975         [non-C99-based standards] (gammaf): Likewise.
37976         [non-C99-based standards] (hypotf): Likewise.
37977         [non-C99-based standards] (j0f): Likewise.
37978         [non-C99-based standards] (j1f): Likewise.
37979         [non-C99-based standards] (jnf): Likewise.
37980         [non-C99-based standards] (lgammaf): Likewise.
37981         [non-C99-based standards] (tgammaf): Likewise.
37982         [non-C99-based standards] (y0f): Likewise.
37983         [non-C99-based standards] (y1f): Likewise.
37984         [non-C99-based standards] (ynf): Likewise.
37985         [non-C99-based standards] (isnanf): Likewise.
37986         [non-C99-based standards] (acoshf): Likewise.
37987         [non-C99-based standards] (asinhf): Likewise.
37988         [non-C99-based standards] (atanhf): Likewise.
37989         [non-C99-based standards] (cbrtf): Likewise.
37990         [non-C99-based standards] (expm1f): Likewise.
37991         [non-C99-based standards] (ilogbf): Likewise.
37992         [non-C99-based standards] (log1pf): Likewise.
37993         [non-C99-based standards] (logbf): Likewise.
37994         [non-C99-based standards] (nextafterf): Likewise.
37995         [non-C99-based standards] (remainderf): Likewise.
37996         [non-C99-based standards] (rintf): Likewise.
37997         [non-C99-based standards] (scalbf): Likewise.
37998         [non-C99-based standards] (copysignl): Likewise.
37999         [non-C99-based standards] (exp2l): Likewise.
38000         [non-C99-based standards] (log2l): Likewise.
38001         [non-C99-based standards] (modfl): Allow.
38002         [non-C99-based standards] (erfl): Do not allow.
38003         [non-C99-based standards] (erfcl): Likewise.
38004         [non-C99-based standards] (gammal): Likewise.
38005         [non-C99-based standards] (hypotl): Likewise.
38006         [non-C99-based standards] (j0l): Likewise.
38007         [non-C99-based standards] (j1l): Likewise.
38008         [non-C99-based standards] (jnl): Likewise.
38009         [non-C99-based standards] (lgammal): Likewise.
38010         [non-C99-based standards] (tgammal): Likewise.
38011         [non-C99-based standards] (y0l): Likewise.
38012         [non-C99-based standards] (y1l): Likewise.
38013         [non-C99-based standards] (ynl): Likewise.
38014         [non-C99-based standards] (isnanl): Likewise.
38015         [non-C99-based standards] (acoshl): Likewise.
38016         [non-C99-based standards] (asinhl): Likewise.
38017         [non-C99-based standards] (atanhl): Likewise.
38018         [non-C99-based standards] (cbrtl): Likewise.
38019         [non-C99-based standards] (expm1l): Likewise.
38020         [non-C99-based standards] (ilogbl): Likewise.
38021         [non-C99-based standards] (log1pl): Likewise.
38022         [non-C99-based standards] (logbl): Likewise.
38023         [non-C99-based standards] (nextafterl): Likewise.
38024         [non-C99-based standards] (remainderl): Likewise.
38025         [non-C99-based standards] (rintl): Likewise.
38026         [non-C99-based standards] (scalbl): Likewise.
38027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38028         [non-C99-based standards] (FP_*): Do not allow.
38029         [C99-based standards] (FP_*): Change to
38030         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38031         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38032         allow.
38033         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38034         (SIG_ERR): Likewise.
38035         [X/Open-based standards] (SIG_HOLD): Likewise.
38036         (SIG_IGN): Likewise.
38037         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38038         positive value.
38039         (SIGFPE): Likewise.
38040         (SIGILL): Likewise.
38041         (SIGINT): Likewise.
38042         (SIGSEGV): Likewise.
38043         (SIGTER): Likewise.
38044         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38045         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38046         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38047         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38048         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38049         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38050         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38051         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38052         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38053         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38054         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38055         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38056         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38057         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38058         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38059         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38060         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38061         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38062         [X/Open-based standards] (SIGTRAP): Likewise.
38063         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38064         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38065         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38066         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38067         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38068         allow.
38069
38070 2012-05-08  Ian Wienand  <ianw@vmware.com>
38071
38072         [BZ #14080]
38073         * time/tzset.c (__tzset_parse_tz): Update default rules for
38074         daylight time changes in the Energy Policy Act of 2005.
38075
38076 2012-05-09  Andreas Jaeger  <aj@suse.de>
38077
38078         [BZ #13983]
38079         * elf/ldconfig.c (parse_conf): Change string to make clear that
38080         ldconfig only issued a warning if ld.so.conf does not exist.
38081
38082 2012-05-08  David S. Miller  <davem@davemloft.net>
38083
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38085         movxtod instead of popping the value on the stack.
38086
38087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38088
38089 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38090
38091         * config.h.in: Add HAVE_ARM_PCS_VFP.
38092
38093 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38094
38095         [BZ #13979]
38096         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38097         checking but the checks are disabled for any reason.
38098
38099 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38100
38101         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38102         and ELF64_R_TYPE with ELFW(R_TYPE).
38103
38104 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38105
38106         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38107         (ulimit): Likewise.
38108
38109         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38110         (settimeofday): Likewise.
38111
38112 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38113
38114         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38115         a struct th_u2 inside the union, and move tu_block/tu_code into
38116         a new th_u3 union of tu_block/tu_code inside of that.  Move
38117         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38118         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38119         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38120         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38121         (th_stuff): Change to th_u1.tu_stuff.
38122         (th_data): Define.
38123         (th_msg): Change to th_u1.th_u2.tu_data.
38124
38125 2012-05-07  David S. Miller  <davem@davemloft.net>
38126
38127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38128
38129         [BZ #14074]
38130         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38131         (SETUP_PIC_REG): Use it.
38132         (SETUP_PIC_REG_LEAF): Use it.
38133
38134 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38135
38136         [BZ #13885]
38137         [BZ #13923]
38138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38139         USE_AS_EXPM1L.
38140         (EXPL_FINITE): Likewise.
38141         (FLDLOG): Likewise.
38142         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38143         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38144         e_expl.S.
38145         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38146         USE_AS_EXPM1L.
38147         (EXPL_FINITE): Likewise.
38148         (FLDLOG): Likewise.
38149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38150         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38151         e_expl.S.
38152         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38153         test of -max_value argument for long double.
38154         * sysdeps/i386/fpu/libm-test-ulps: Update.
38155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38156
38157 2012-05-06  David S. Miller  <davem@davemloft.net>
38158
38159         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38160         quad soft-float symbols whose references which are compiler
38161         generated.
38162         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38163
38164 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38165
38166         [BZ #13884]
38167         [BZ #13914]
38168         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38169         USE_AS_EXP10L.
38170         (EXPL_FINITE): Likewise.
38171         (FLDLOG): Likewise.
38172         (c0): Likewise.
38173         (c1): Likewise.
38174         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38175         Adjust comments for base varying.
38176         (__expl_finite): Change alias to EXPL_FINITE.
38177         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38178         e_expl.S.
38179         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38180         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38181         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38182         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38183         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38184         USE_AS_EXP10L.
38185         (EXPL_FINITE): Likewise.
38186         (FLDLOG): Likewise.
38187         (c0): Likewise.
38188         (c1): Likewise.
38189         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38190         Adjust comments for base varying.
38191         (__expl_finite): Change alias to EXPL_FINITE.
38192         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38193         tests for bugs.
38194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38195
38196         [BZ #14064]
38197         * math/libm-test.inc (check_float_internal): Correct ulp
38198         calculation for subnormal expected results.
38199
38200 2012-05-06  Andreas Jaeger  <aj@suse.de>
38201
38202         * Makeconfig (+math-flags): New, set to -frounding-math.
38203         (+cflags): Add +math-flags so that all of glibc gets compiled with
38204         it.
38205
38206         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38207
38208 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38209
38210         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38211         Disable one test.
38212
38213         [BZ #13787]
38214         [BZ #13922]
38215         [BZ #14036]
38216         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38217         (__ieee754_expl): Allow for and saturate large arguments.
38218         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38219         (u_threshold): Likewise.
38220         (__exp): Call __ieee754_exp before checking for overflow and
38221         underflow.
38222         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38223         (u_threshold): Likewise.
38224         (__expf): Call __ieee754_expf before checking for overflow and
38225         underflow.
38226         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38227         (u_threshold): Likewise.
38228         (__expl): Call __ieee754_expl before checking for overflow and
38229         underflow.
38230         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38231         (__ieee754_expl): Allow for and saturate large arguments.
38232         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38233         missing overflow exception on overflow.
38234         (expm1_test): Do not allow missing overflow exception on overflow.
38235
38236         * sysdeps/i386/fpu/e_expl.c: Move to ...
38237         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38238         rather than using inline asm.
38239         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38240         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38241         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38242
38243         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38244         (nice): Likewise.
38245         (poll): Likewise.
38246         (signal): Likewise.
38247         (time): Likewise.
38248         (times): Likewise.
38249
38250 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38251
38252         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38253         sysdeps/unix/common/syscalls.list.
38254         (fchmod): Likewise.
38255         (fchown): Likewise.
38256         (ftruncate): Likewise.
38257         (getrusage): Likewise.
38258         (gettimeofday): Likewise.
38259         (setpgid): Likewise.
38260         (setregid): Likewise.
38261         (setreuid): Likewise.
38262         (sigaction): Likewise.
38263         (truncate): Likewise.
38264         (vhangup): Likewise.
38265         * sysdeps/unix/common/syscalls.list: Remove file.
38266         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38267         * sysdeps/unix/sysv/linux/Implies: Likewise.
38268
38269 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38270
38271         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38273         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38274         Moved to ...
38275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38276         Here.
38277         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38278         to ...
38279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38280         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38281         to ...
38282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38283         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38284         to ...
38285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38286         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38287         to ...
38288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38289         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38290         to ...
38291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38292         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38293         to ...
38294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38295         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38296         to ...
38297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38298         Here.
38299         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38300         to ...
38301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38302         Here.
38303         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38304         to ...
38305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38306         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38307         Moved to ...
38308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38309         Here.
38310         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38311         to ...
38312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38313
38314 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38315
38316         * sysdeps/unix/common/bits/dirent.h: Remove file.
38317         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38318
38319         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38320         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38321         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38322         * sysdeps/unix/bsd/isatty.c: Likewise.
38323         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38324         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38325         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38326
38327 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38328
38329         [BZ #13563]
38330         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38331         long double comparison inaccuracies.
38332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38334
38335 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38336
38337         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38338         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38339
38340 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38341
38342         [BZ #14049]
38343         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38344         nonzero digits before rounding a hex value.
38345         * stdlib/tst-strtod.c (tests): Add another test.
38346
38347 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38348
38349         * sysdeps/s390/fpu/libm-test-ulps: Update.
38350
38351 2012-05-03  Andreas Jaeger  <aj@suse.de>
38352
38353         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38354         does not get optimized out.
38355         (malloc_opt_barrier): New.
38356
38357 2012-05-03  Andreas Jaeger  <aj@suse.de>
38358             Roland McGrath  <roland@hack.frob.com>
38359
38360         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38361         intermediate file deletion.
38362         (generated): Add .symlist files.
38363
38364 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38365
38366         [BZ #13775]
38367         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38368         Redirect under this condition.
38369         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38370         [__USE_GNU] (__dprintf_chk): Not under this condition.
38371         [__USE_GNU] (__vdprintf_chk): Likewise.
38372         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38373         under this condition.
38374         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38375         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38376         [__USE_XOPEN2K8] (vdprintf): Likewise.
38377         [__USE_GNU] (__dprintf_chk): Not under this condition.
38378         [__USE_GNU] (__vdprintf_chk): Likewise.
38379         [__USE_GNU] (dprintf): Likewise.
38380         [__USE_GNU] (vdprintf): Likewise.
38381
38382 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38383
38384         * elf/Makefile (common-generated): Set this instead of generated for
38385         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38386         $(all-built-dso)-derived lists.
38387
38388 2012-05-03  Andreas Jaeger  <aj@suse.de>
38389
38390         * sysdeps/i386/fpu/libm-test-ulps: Update.
38391
38392         * FAQ: Removed.
38393         * FAQ.in: Likewise.
38394         * scripts/gen-FAQ.pl: Likewise.
38395         * manual/install.texi (Installation): Point to online location of
38396         FAQ.
38397         * Makefile (files-for-dist): Remove FAQ.
38398         (FAQ): Remove.
38399
38400 2012-05-02  Allan McRae  <allan@archlinux.org>
38401
38402         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38403         (LDFLAGS-reldepmod5.so): Likewise.
38404         (LDFLAGS-reldep6mod1.so): Likewise.
38405         (LDFLAGS-reldep6mod4.so): Likewise.
38406         (LDFLAGS-reldep8mod3.so): Likewise.
38407         (LDFLAGS-unload4mod1.so): Likewise.
38408         (LDFLAGS-unload4mod2.so): Likewise.
38409         (LDFLAGS-tst-initorder): Likewise.
38410         (LDFLAGS-tst-initordera2.so): Likewise.
38411         (LDFLAGS-tst-initordera3.so): Likewise.
38412         (LDFLAGS-tst-initordera4.so): Likewise.
38413         (LDFLAGS-tst-initorderb2.so): Likewise.
38414         (LDFLAGS-noload): Likewise.
38415         (LDFLAGS-next): Likewise.
38416         (LDFLAGS-order2mod1.so): Likewise.
38417         (LDFLAGS-order2mod2.so): Likewise.
38418         (LDFLAGS-tst-initorder2): Likewise.
38419         (LDFLAGS-tst-initorder2a.so): Likewise.
38420         (LDFLAGS-tst-initorder2b.so): Likewise.
38421         (LDFLAGS-tst-initorder2c.so): Likewise.
38422         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38423
38424 2012-05-02  David S. Miller  <davem@davemloft.net>
38425
38426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38427
38428 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38429
38430         [BZ #14055]
38431         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38432
38433 2012-05-02  Andreas Jaeger  <aj@suse.de>
38434
38435         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38436         since we manipulate rounding mode.
38437         (CPPFLAGS-test-idouble.c): Likewise.
38438         (CPPFLAGS-test-ifloat.c): Likewise.
38439         (CFLAGS-test-ldouble.c): Likewise.
38440         (CFLAGS-test-double.c): Likewise.
38441         (CFLAGS-test-float.c): Likewise.
38442         (CFLAGS-test-misc.c): Likewise.
38443         (CFLAGS-test-test-fenv.c): Likewise.
38444
38445 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38446
38447         [BZ #2550]
38448         [BZ #2570]
38449         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38450         comparisons to determine direction to adjust input.
38451
38452 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38453
38454         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38455         output to the target.
38456
38457         * scripts/localplt.awk: New file.
38458         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38459         (check-localplt-CFLAGS): Variable removed.
38460         ($(all-built-dso:=.jmprel)): New static pattern rule.
38461         (generated): Add those targets.
38462         (localplt-built-dso): New variable.
38463         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38464
38465         * elf/check-localplt.c: File removed.
38466
38467         * scripts/check-execstack.awk: New file.
38468         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38469         (check-execstack-CFLAGS): Variable removed.
38470         ($(objpfx)check-execstack.h): Target removed.
38471         ($(objpfx)execstack-default): New target.
38472         (generated): Add that instead of check-execstack.h.
38473         ($(all-built-dso:=.phdr)): New static pattern rule.
38474         (generated): Add those targets.
38475         * elf/check-execstack.c: File removed.
38476
38477         * scripts/check-textrel.awk: New file.
38478         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38479         (check-textrel-CFLAGS): Variable removed.
38480         (all-built-dso): Use := to define.o
38481         ($(all-built-dso:=.dyn)): New static pattern rule.
38482         (generated): Add those targets.
38483         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38484         * config.make.in (READELF): New substituted variable.
38485         * elf/check-textrel.c: File removed.
38486
38487 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38488
38489         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38490         allow.
38491         * conform/data/ctype.h-data [C99-based standards] (isblank):
38492         Expect function.
38493         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38494         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38495         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38496         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38497         Specify type.  Require positive value.
38498         (EILSEQ): Likewise.
38499         (ERANGE): Likewise.
38500         [ISO || POSIX] (EILSEQ): Do not expect.
38501         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38502         Specify type.  Require positive value.
38503         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38504         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38505         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38506         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38507         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38508         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38509         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38510         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38511         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38512         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38513         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38514         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38515         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38516         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38517         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38518         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38519         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38520         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38521         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38522         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38523         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38524         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38525         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38526         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38527         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38528         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38529         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38530         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38531         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38532         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38533         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38534         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38535         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38536         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38537         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38538         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38539         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38540         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38541         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38542         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38543         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38544         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38545         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38546         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38547         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38548         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38549         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38550         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38551         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38552         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38553         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38554         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38555         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38556         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38557         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38558         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38559         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38560         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38561         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38562         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38563         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38564         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38565         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38566         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38567         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38568         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38569         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38570         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38571         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38572         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38573         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38574         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38575         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38576         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38577         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38578         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38579         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38580         Require >= 2.
38581         (FLT_ROUNDS): Expect as macro, not constant.
38582         (FLT_MANT_DIG): Use macro-int-constant.
38583         (DBL_MANT_DIG): Likewise.
38584         (LDBL_MANT_DIG): Likewise.
38585         (FLT_DIG): Likewise.
38586         (DBL_DIG): Likewise.
38587         (LDBL_DIG): Likewise.
38588         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38589         (DBL_MIN_EXP): Likewise.
38590         (LDBL_MIN_EXP): Likewise.
38591         (FLT_MAX_EXP): Use macro-int-constant.
38592         (DBL_MAX_EXP): Likewise.
38593         (LDBL_MAX_EXP): Likewise.
38594         (FLT_MAX_10_EXP): Likewise.
38595         (DBL_MAX_10_EXP): Likewise.
38596         (LDBL_MAX_10_EXP): Likewise.
38597         (FLT_MAX): Use macro-constant.
38598         (DBL_MAX): Likewise.
38599         (LDBL_MAX): Likewise.
38600         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38601         (DBL_EPSILON): Likewise.
38602         (LDBL_EPSILON): Likewise.
38603         (FLT_MIN): Likewise.
38604         (DBL_MIN): Likewise.
38605         (LDBL_MIN): Likewise.
38606         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38607         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38608         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38609         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38610         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38611         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38612         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38613         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38614         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38615         [ISO11] (FLT_TRUE_MIN): Likewise.
38616         [ISO11] (LDBL_TRUE_MIN): Likewise.
38617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38618         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38619         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38620         (SCHAR_MAX): Likewise.
38621         (UCHAR_MAX): Likewise.
38622         (CHAR_MIN): Likewise.
38623         (CHAR_MAX): Likewise.
38624         (MB_LEN_MAX): Use macro-int-constant.
38625         (SHRT_MIN): Use macro-int-constant.  Specify type.
38626         (SHRT_MAX): Likewise.
38627         (USHRT_MAX): Likewise.
38628         (INT_MAX): Likewise.
38629         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38630         bound negative.
38631         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38632         bound with "U".
38633         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38634         bound with "L".
38635         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38636         bound negative.  Suffix upper bound with "L".
38637         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38638         bound with "UL".
38639         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38640         Specify type.
38641         [C99-based standards] (LLONG_MAX): Likewise.
38642         [C99-based standards] (ULLONG_MAX): Likewise.
38643         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38644         == 0.
38645         [ISO11] (max_align_t): Require type.
38646         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38647
38648         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38649         from $CFLAGS, without defining away __attribute__ calls.
38650         (checknamespace): Use $CFLAGS_namespace.
38651
38652         * conform/conformtest.pl (@keywords): Only include C99 keywords
38653         for standards based on C99 or C11.
38654
38655         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38656         Disable tests.
38657         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38658         UNIX98]: Likewise.
38659
38660         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38661         usability of symbols in #if.
38662
38663         * conform/conformtest.pl: If macro or constant types start
38664         "promoted:", expect the symbol to be of the following type
38665         promoted by the integer promotions.
38666
38667         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38668         in one place.  Also handle "macro-constant".
38669
38670         * conform/conformtest.pl: Only accept expected macro values with
38671         "==".  Parse all "macro" lines in one place.
38672         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38673
38674         * conform/conformtest.pl: Handle braced types on "constant" lines
38675         instead of handling "typed-constant".
38676         * conform/data/signal.h-data: Use "constant" instead of
38677         "typed-constant".
38678
38679         * conform/conformtest.pl: Handle "optional-" at start of lines in
38680         one place rather than duplicating several cases.  Handle each
38681         format of "macro" line with initial "optional-".
38682
38683         * conform/conformtest.pl: Only accept expected constant or
38684         optional-constant values with "==".  Parse all "constant" lines in
38685         one place.  Parse all "optional-constant" lines in one place.
38686         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38687         * conform/data/fmtmsg.h-data: Likewise.
38688         * conform/data/netinet/in.h-data: Likewise.
38689         * conform/data/tar.h-data: Likewise.
38690         * conform/data/limits.h-data: Use "==" form on "constant" and
38691         "optional-constant" lines.
38692
38693         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38694         Use -std=c99 for XOPEN2K.
38695         (@knownproblems): Remove.
38696         (newtoken): Don't check %isknown.
38697
38698         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38699         Do not expect macro.
38700         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38701         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38702         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38703         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38704         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38705         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38706         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38707         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38708         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38709         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38710         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38711         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38712         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38713         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38714         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38715         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38716         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38717         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38718         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38719         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38720         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38721         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38722         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38723         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38724         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38725         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38726         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38727         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38728         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38729         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38730         [XPG3] (acosh): Likewise.
38731         [XPG3] (asinh): Likewise.
38732         [XPG3] (atanh): Likewise.
38733         [XPG3] (cbrt): Likewise.
38734         [XPG3] (expm1): Likewise.
38735         [XPG3] (ilogb): Likewise.
38736         [XPG3] (log1p): Likewise.
38737         [XPG3] (logb): Likewise.
38738         [XPG3] (nextafter): Likewise.
38739         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38740         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38741         [XPG3] (remainder): Likewise.
38742         [XPG3] (rint): Likewise.
38743         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38744         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38745         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38746         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38747         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38748         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38749         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38750         [UNIX98 || XOPEN2K] (scalb): Expect.
38751         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38752         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38753         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38754         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38755         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38756         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38757         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38758         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38759         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38760         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38761         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38762         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38763         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38764         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38765         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38766         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38767         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38768         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38769         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38770         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38771         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38772         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38773         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38774         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38775         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38776         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38777         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38778         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38779         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38780         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38781         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38782         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38783         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38784         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38785         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38786         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38787         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38788         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38789         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38790         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38791         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38792         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38793         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38794         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38795         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38796         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38797         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38798         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38799         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38800         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38801         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38802         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38803         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38804         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38805         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38806         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38807         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38808         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38809         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38810         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38811         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38812         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38813         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38814         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38815         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38816         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38817         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38818         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38819         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38820         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38821         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38822         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38823         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38824         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38825         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38826         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38827         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38828         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38829         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38830         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38831         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38832         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38833         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38834         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38835         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38836         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38837         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38838         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38839         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38840         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38841         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38842         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38843         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38844         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38845         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38846         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38847         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38848         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38849         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38850         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38851         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38852         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38853         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38854         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38855         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38856         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38857         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38858         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38859         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38860         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38861         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38862         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38863         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38864         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38865         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38866         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38867         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38868         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38869         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38870         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38871         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38872         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38873         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38874         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38875         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38876         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38877         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38878         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38879         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38880         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38881         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38882         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38883         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38884         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38885         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38886         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38887         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38888
38889         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38890         _XOPEN_SOURCE_EXTENDED for XPG4.
38891
38892         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38893
38894         * Makeconfig (localtime): Remove variable.
38895         (inst_localtime-file): Likewise.
38896
38897 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38898
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38900         Update.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38902         Update.
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38904         Update.
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38906         Update.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38908         Update.
38909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38910         Update.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38912         Update.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38914         Update.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38916         Update.
38917
38918 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38919
38920         [BZ #2550]
38921         [BZ #2570]
38922         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38923         comparisons to determine direction to adjust input.
38924         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38925         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38927         Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38929         Likewise.
38930         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38931         Likewise.
38932         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38933         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38934         Likewise.
38935         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38936         Likewise.
38937         * math/libm-test.inc (nexttoward_test): Add more tests.
38938
38939 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38940
38941         [BZ #14040]
38942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38943         in version GLIBC_2.1, not GLIBC_2.0.
38944         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38945         Likewise.
38946
38947 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38948
38949         [BZ #13942]
38950         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38951         (1 - x) * (1 + x).
38952         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38953         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38954         * math/libm-test.inc (acos_test): Add more tests.
38955         (asin_test): Likewise.
38956         * sysdeps/i386/fpu/libm-test-ulps: Update.
38957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38958
38959         [BZ #14034]
38960         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38961         of square root.
38962         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38963         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38964         * math/libm-test.inc (acos_test_tonearest): New function.
38965         (acos_test_towardzero): Likewise.
38966         (acos_test_downward): Likewise.
38967         (acos_test_upward): Likewise.
38968         (asin_test_tonearest): Likewise.
38969         (asin_test_towardzero): Likewise.
38970         (asin_test_downward): Likewise.
38971         (asin_test_upward): Likewise.
38972         (main): Call the new functions.
38973         * sysdeps/i386/fpu/libm-test-ulps: Update.
38974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38975
38976         [BZ #13884]
38977         [BZ #13924]
38978         * math/e_exp10.c: Include <float.h>.
38979         (__ieee754_exp10): Handle underflow here rather than multiplying
38980         large negative argument by M_LN10.
38981         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38982         of __ieee754_expf.
38983         * math/e_exp10l.c: Include <float.h>.
38984         (__ieee754_exp10l): Handle underflow here rather than multiplying
38985         large negative argument by M_LN10l.
38986         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38987         spurious overflow exception on underflow.
38988
38989 2012-04-29  Marek Polacek  <polacek@redhat.com>
38990
38991         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38992         (__fortify_function): New macro.
38993         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38994         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38995         __extern_always_inline.
38996         * libio/bits/stdio2.h: Likewise.
38997         * libio/bits/stdio.h: Likewise.
38998         * string/string.h: Likewise.
38999         * string/bits/string3.h: Likewise.
39000         * include/stdio.h: Likewise.
39001         * stdlib/bits/stdlib.h: Likewise.
39002         * stdlib/stdlib.h: Likewise.
39003         * rt/bits/mqueue2.h: Likewise.
39004         * rt/mqueue.h: Likewise.
39005         * posix/bits/unistd.h: Likewise.
39006         * posix/unistd.h: Likewise.
39007         * io/bits/poll2.h: Likewise.
39008         * io/bits/fcntl2.h: Likewise.
39009         * io/fcntl.h: Likewise.
39010         * io/sys/poll.h: Likewise.
39011         * misc/bits/syslog.h: Likewise.
39012         * misc/bits/syslog-ldbl.h: Likewise.
39013         * misc/sys/syslog.h: Likewise.
39014         * socket/bits/socket2.h: Likewise.
39015         * socket/sys/socket.h: Likewise.
39016         * debug/tst-chk1.c: Likewise.
39017         * wcsmbs/bits/wchar2.h: Likewise.
39018         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39019         * wcsmbs/wchar.h: Likewise.
39020
39021 2012-04-29  Andreas Jaeger  <aj@suse.de>
39022
39023         * Makerules (tests): Remove enable-check-abi protection.
39024         (check-abi-warn): Remove.
39025         (check-abi-%): Remove check-abi-warn usage.
39026
39027         * configure.in: Remove check-abi configure option.
39028         * configure: Regenerated.
39029         * config.make.in (enable-check-abi): Remove.
39030
39031 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39032
39033         [BZ #14033]
39034         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39035         double functions to double *_finite functions.
39036
39037         [BZ #13941]
39038         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39039         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39040         LDBL_MIN_EXP.
39041         * stdio-common/Makefile (tests): Add tst-sprintf3.
39042         * stdio-common/tst-sprintf3.c: New file.
39043
39044         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39045         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39046
39047 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39048
39049         * conform/conformtest.pl: Remove duplicate typed-constant
39050         handling.
39051
39052 2012-04-28  David S. Miller  <davem@davemloft.net>
39053
39054         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39055         (check-abi-%): Remove AWK script prerequisite and explicit
39056         abilist directory.
39057         (check-abi): Rewrite to just diff the symlist with the abilist.
39058         (config-tls, config-abi-config): Delete, no longer used.
39059         (update-abi-%): Remove AWK script and explicit abilist directory.
39060         (update-abi): Rewrite to simply compare and conditionally copy the
39061         symlist and the sysdep abilist file.  Remove update-abi-config
39062         checks.
39063         * abilist/ld.abilist: Remove.
39064         * abilist/libBrokenLocale.abilist: Remove.
39065         * abilist/libanl.abilist: Remove.
39066         * abilist/libcrypt.abilist: Remove.
39067         * abilist/libdl.abilist: Remove.
39068         * abilist/librt.abilist: Remove.
39069         * abilist/libthread_db.abilist: Remove.
39070         * abilist/libutil.abilist: Remove.
39071         * scripts/extract-abilist.awk: Remove.
39072         * scripts/merge-abilist.awk: Remove.
39073         * sysdeps/generic/libcidn.abilist: New file.
39074         * sysdeps/generic/libnss_compat.abilist: New file.
39075         * sysdeps/generic/libnss_db.abilist: New file.
39076         * sysdeps/generic/libnss_dns.abilist: New file.
39077         * sysdeps/generic/libnss_files.abilist: New file.
39078         * sysdeps/generic/libnss_hesiod.abilist: New file.
39079         * sysdeps/generic/libnss_nis.abilist: New file.
39080         * sysdeps/generic/libnss_nisplus.abilist: New file.
39081         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39082         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39083         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39084         file.
39085         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39086         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39087         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39088         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39089         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39090         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39091         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39092         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39093         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39094         file.
39095         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39096         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39097         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39098         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39099         file.
39100         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39101         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39102         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39103         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39104         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39105         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39106         file.
39107         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39108         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39109         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39110         file.
39111         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39113         New file.
39114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39115         New file.
39116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39117         New file.
39118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39119         New file.
39120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39121         New file.
39122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39123         New file.
39124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39125         New file.
39126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39127         New file.
39128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39129         New file.
39130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39131         New file.
39132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39133         New file.
39134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39135         New file.
39136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39137         New file.
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39139         file.
39140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39141         New file.
39142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39143         New file.
39144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39145         file.
39146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39147         New file.
39148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39149         New file.
39150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39151         file.
39152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39153         New file.
39154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39155         New file.
39156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39157         New file.
39158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39159         New file.
39160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39161         New file.
39162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39163         New file.
39164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39166         file.
39167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39168         New file.
39169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39170         file.
39171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39172         file.
39173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39174         file.
39175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39176         file.
39177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39178         file.
39179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39180         New file.
39181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39182         file.
39183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39184         file.
39185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39186         New file.
39187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39188         file.
39189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39191         file.
39192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39193         New file.
39194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39195         file.
39196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39197         file.
39198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39199         file.
39200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39201         file.
39202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39203         file.
39204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39205         New file.
39206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39207         file.
39208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39209         file.
39210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39211         New file.
39212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39213         file.
39214         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39215         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39216         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39217         file.
39218         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39219         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39220         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39221         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39222         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39223         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39224         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39225         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39226         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39227         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39230         file.
39231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39232         New file.
39233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39234         file.
39235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39236         file.
39237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39238         file.
39239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39240         file.
39241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39242         file.
39243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39244         New file.
39245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39246         New file.
39247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39248         file.
39249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39250         New file.
39251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39252         file.
39253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39255         file.
39256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39257         New file.
39258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39259         file.
39260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39261         file.
39262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39263         file.
39264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39265         file.
39266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39267         file.
39268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39269         New file.
39270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39271         New file.
39272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39273         file.
39274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39275         New file.
39276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39277         file.
39278
39279 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39280
39281         * conform/conformtest.pl: Fix typo in handling typed-constant from
39282         allow-header.
39283
39284 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39285
39286         * README: Cut down references to pre-2.6 Linux kernels and
39287         Linuxthreads.  Update lists of configurations in libc and ports
39288         and sort alphabetically.  Say "or newer" with Linux kernel version
39289         requirements.
39290
39291         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39292
39293 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39294
39295         [BZ #887]
39296         * math/libm-test.inc (logb_test_downward): New test to expose
39297         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39298         rounding mode.
39299
39300 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39301
39302         [BZ #14027]
39303         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39304         to be done.
39305         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39306         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39307
39308 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39309
39310         * sysdeps/unix/i386/brk.S: Remove file.
39311         * sysdeps/unix/i386/dl-brk.S: Likewise.
39312         * sysdeps/unix/i386/pipe.S: Likewise.
39313         * sysdeps/unix/i386/sigreturn.S: Likewise.
39314         * sysdeps/unix/i386/syscall.S: Likewise.
39315         * sysdeps/unix/i386/vfork.S: Likewise.
39316         * sysdeps/unix/i386/wait.S: Likewise.
39317
39318         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39319         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39320
39321         * configure.in (arm*-none*): Do not allow without
39322         --enable-hacker-mode.
39323         (netbsd*): Remove case setting base_os.
39324         (386bsd*): Likewise.
39325         (freebsd*): Likewise.
39326         (bsdi*): Likewise.
39327         (osf*): Likewise.
39328         (sunos*): Likewise.
39329         (ultrix*): Likewise.
39330         (newsos*): Likewise.
39331         (dynix*): Likewise.
39332         (*bsd*): Likewise.
39333         (sysv*): Likewise.
39334         (isc*): Likewise.
39335         (esix*): Likewise.
39336         (sco*): Likewise.
39337         (minix*): Likewise.
39338         (irix4*): Likewise.
39339         (irix6*): Likewise.
39340         (solaris[2-9]*): Likewise.
39341         (none): Likewise.
39342         * configure: Regenerated.
39343
39344 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39345
39346         [BZ #11521]
39347         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39348         overflow or cancellation in calculating denominator.
39349         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39350         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39351         down expression to avoid unexpected rounding in newer GCCs.
39352         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39353
39354 2012-04-26  David S. Miller  <davem@davemloft.net>
39355
39356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39357         long-double compat symbols.
39358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39371
39372 2012-04-25  David S. Miller  <davem@davemloft.net>
39373
39374         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39375         HWCAP_* values only after the memory barriers have been defined.
39376         (atomic_full_barrier): Define.
39377         (atomic_read_barrier): Define.
39378         (atomic_write_barrier): Define.
39379
39380 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39381
39382         * shlib-versions: Add libgcc_s version information.
39383         * sysdeps/generic/libgcc_s.h: Remove.
39384         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39385         libgcc_s.h.
39386         * sysdeps/gnu/unwind-resume.c: Likewise.
39387         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39388
39389 2012-04-25  David S. Miller  <davem@davemloft.net>
39390
39391         * sysdeps/unix/sparc/brk.S: Delete.
39392         * sysdeps/unix/sparc/dl-brk.S: Delete.
39393         * sysdeps/unix/sparc/pipe.S: Delete.
39394         * sysdeps/unix/sparc/sysdep.S: Delete.
39395         * sysdeps/unix/sparc/sysdep.h: Delete.
39396         * sysdeps/unix/sparc/vfork.S: Delete.
39397         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39398         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39399         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39400         (ret_ERRVAL, r0, r1, MOVE): Define.
39401         (JUMPTARGET): Remove.
39402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39403         sysdeps/unix/sparc/sysdep.h
39404         (ENTRY, END): Remove.
39405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39406
39407 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39408
39409         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39410         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39411         -DIS_IN_build.
39412
39413         * timezone/README: Update upstream location and email address for
39414         tzcode and tzdata.
39415         * timezone/zdump.c: Update from tzcode 2012b.
39416         * timezone/zic.c: Likewise.
39417
39418         * configure.in (libc_cv_as_needed): Remove test.
39419         * configure: Regenerated.
39420         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39421         conditional definition.
39422         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39423         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39424         * config.make.in (have-as-needed): Remove variable.
39425
39426 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39427             Paul Pluzhnikov  <ppluzhnikov@google.com>
39428
39429         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39430         strings correctly.
39431
39432 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39433
39434         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39435         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39436         * sysdeps/sh/strlen.S: Likewise.
39437
39438 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39439
39440         * sysdeps/unix/fork.S: Remove file.
39441         * sysdeps/unix/i386/fork.S: Likewise.
39442         * sysdeps/unix/sparc/fork.S: Likewise.
39443
39444         * sysdeps/unix/system.c: Remove file.
39445         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39446
39447         * sysdeps/unix/getegid.S: Remove file.
39448         * sysdeps/unix/geteuid.S: Likewise.
39449
39450 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39451
39452         * scripts/check-localplt.awk: New file.
39453         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39454         of diff.
39455         * scripts/data/localplt-generic.data: Add a comment.
39456
39457         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39458         NODE when __dir_mkfile failed.
39459         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39460         Reported by Ludovic Courtès <ludo@gnu.org>.
39461
39462 2012-04-24  Andreas Jaeger  <aj@suse.de>
39463
39464         * Makerules (common-clean): Also remove gen-as-const-headers
39465         files.
39466
39467 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39468
39469         * Makerules (native-compile): Do not change working directory for
39470         build.  Use $(OUTPUT_OPTION) in command.
39471         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39472
39473 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39474
39475         [BZ #13886]
39476         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39477         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39478         * math/libm-test.inc (floor_test): Add more tests.
39479         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39480
39481 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39482
39483         * sysdeps/unix/getdents.c: Remove file.
39484         * sysdeps/unix/sysv/getdents.c: Likewise.
39485         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39486
39487         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39488         sysdeps/unix/mman/syscalls.list.
39489         (mmap): Likewise.
39490         (mprotect): Likewise.
39491         (msync): Likewise.
39492         (munmap): Likewise.
39493         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39494         * sysdeps/unix/mman/syscalls.list: Remove.
39495         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39496
39497         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39498         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39499         * configure: Regenerated.
39500         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39501         $(libgcc_s_suffix).
39502         * config.make.in (libgcc_s_suffix): Remove variable.
39503
39504 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39505
39506         * sysdeps/unix/sysv/gethostname.c: Move to ...
39507         * sysdeps/posix/gethostname.c: ... here.
39508
39509         * sysdeps/unix/execve.S: Remove file.
39510
39511         * sysdeps/unix/_exit.S: Remove file.
39512
39513 2012-04-23  Andreas Jaeger  <aj@suse.de>
39514
39515         [BZ #13739]
39516         * manual/Makefile: Remove make dist support, there's no
39517         need for a stand-alone documentation tar ball.
39518         (TEXI2DVI): Define always, it's not in Makeconfig.
39519         (dist): Removed.
39520         (tar-it): Removed.
39521         (edition): Removed.
39522         (glibc-doc-$(edition).tar): Removed
39523         (%.Z): Removed.
39524         (%.gz): Removed.
39525         (%.uu): Removed.
39526         (ETAGS): Remove, it's in Makeconfig.
39527         (move-if-change): Remove, it's in Makeconfig.
39528
39529 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39530
39531         [BZ #13970]
39532         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39533         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39534         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39535         (strtod_l, strtof_l, strtold_l): Remove __wur.
39536         It is not necessarily an error to ignore strtol's return value.
39537         One can reliably look at the stored endptr to decide whether
39538         the number had valid syntax.
39539
39540 2012-04-21  Andreas Jaeger  <aj@suse.de>
39541
39542         [BZ #13739]
39543         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39544
39545 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39546
39547         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39548         * sysdeps/unix/sysv/Versions: Remove file.
39549
39550 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39551
39552         [BZ #13927]
39553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39554
39555 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39556
39557         [BZ #7064]
39558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39559         version from __vm86.
39560
39561 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39562
39563         * sysdeps/unix/common/lxstat.c: Remove file.
39564         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39565
39566         * sysdeps/unix/sysv/Makefile: Remove file.
39567
39568         * sysdeps/unix/sysv/direct.h: Remove file.
39569
39570         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39571         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39572         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39573         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39574         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39575         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39576         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39577
39578         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39579
39580         * sysdeps/unix/xmknod.c: Remove file.
39581         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39582
39583         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39584
39585         * sysdeps/unix/sysv/i386/time.S: Remove file.
39586
39587         * sysdeps/unix/fxstat.c: Remove file.
39588         * sysdeps/unix/xstat.c: Likewise.
39589         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39590
39591         * sysdeps/unix/sysv/sigaction.c: Remove file.
39592
39593         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39594         (sysdep_headers): Remove variable.
39595         [termio.h not in sysdep_headers] (generated): Likewise.
39596         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39597         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39598         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39599         * sysdeps/unix/sysv/tcflow.c: Likewise.
39600         * sysdeps/unix/sysv/tcflush.c: Likewise.
39601         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39602         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39603         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39604         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39605         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39606
39607         * sysdeps/unix/siglist.c: Remove file.
39608
39609         * sysdeps/unix/getppid.S: Remove file.
39610
39611         * sysdeps/unix/mkdir.c: Remove file.
39612         * sysdeps/unix/rmdir.c: Likewise.
39613
39614 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39615
39616         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39617         ERR_MAX value.
39618         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39619         errlist-compat value.
39620
39621 2012-04-18  David S. Miller  <davem@davemloft.net>
39622
39623         * sysdeps/generic/memcopy.h (reg_char): Delete.
39624         * debug/strcat_chk.c: Use char, not reg_char.
39625         * debug/strcpy_chk.c: Likewise.
39626         * debug/strncat_chk.c: Likewise.
39627         * debug/strncpy_chk.c: Likewise.
39628         * string/memchr.c: Likewise.
39629         * string/memrchr.c: Likewise.
39630         * string/rawmemchr.c: Likewise.
39631         * string/strcat.c: Likewise.
39632         * string/strchr.c: Likewise.
39633         * string/strchrnul.c: Likewise.
39634         * string/strcmp.c: Likewise.
39635         * string/strcpy.c: Likewise.
39636         * string/strncat.c: Likewise.
39637         * string/strncmp.c: Likewise.
39638         * string/strncpy.c: Likewise.
39639
39640 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39641
39642         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39643         __builtin_memcopy is called when src and dest ranges are known to not
39644         overlap.
39645
39646 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39647
39648         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39649         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39650         fwd_align_merge macro call.
39651         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39652         bwd_align_merge macro call.
39653         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39654
39655 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39656
39657         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39658         bwd_align_merge macros.
39659         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39660         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39661         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39662
39663 2012-04-18  David S. Miller  <davem@davemloft.net>
39664
39665         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39666
39667 2012-04-18  Andreas Jaeger  <aj@suse.de>
39668
39669         [BZ# 6794]
39670         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39671         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39672         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39673
39674         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39675         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39676         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39677
39678         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39679         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39680         Adjust for changed ldbl-128 files.
39681
39682         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39683         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39684         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39685
39686 2012-04-17  David S. Miller  <davem@davemloft.net>
39687
39688         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39689
39690 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39691
39692         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39693         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39694         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39695         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39696         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39697         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39698
39699 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39700
39701         [BZ #6794]
39702         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39703         * math/libm-test.inc: Add ilogb errno and exception tests.
39704         * math/w_ilogb.c: New file: ilogb wrapper.
39705         * math/w_ilogbf.c: New file: ilogbf wrapper.
39706         * math/w_ilogbl.c: New file: ilogbl wrapper.
39707         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39708         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39709         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39710         exception being thrown with 0.0 as argument.
39711         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39712         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39713         exception being thrown with 0.0 as argument.
39714         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39715         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39716         exception being thrown with 0.0 as argument.
39717         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39718         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39719         exception being thrown with 0.0 as argument.
39720         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39721         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39722         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39723         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39724         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39725         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39726         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39727         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39728         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39729
39730 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39731
39732         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39733         with altivec.
39734
39735 2012-04-16  Marek Polacek  <polacek@redhat.com>
39736
39737         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39738
39739 2012-04-16  Marek Polacek  <polacek@redhat.com>
39740
39741         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39742         operands of fdivp instruction.
39743
39744 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39745
39746         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39747         * elf/tst-auditmod3b.c: Likewise.
39748         * elf/tst-auditmod4b.c: Likewise.
39749         * elf/tst-auditmod5b.c: Likewise.
39750         * elf/tst-auditmod6b.c: Likewise.
39751         * elf/tst-auditmod6c.c: Likewise.
39752         * elf/tst-auditmod7b.c: Likewise.
39753         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39754         * sysdeps/x86_64/preconfigure.in: Likewise.
39755         * sysdeps/x86_64/preconfigure: Regenerated.
39756
39757 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39758
39759         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39760         __ILP32__.
39761
39762 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39763
39764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39765         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39766
39767 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39768
39769         [BZ #13973]
39770         * locale/iso-639.def: Fix gl language name. Spotted by
39771         Yaron Shahrabani.
39772
39773 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39774
39775         [BZ #2074]
39776         * libio/libio.h (__io_write_fn): Update comment.
39777
39778 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39779
39780         [BZ #2074]
39781         * stdio.texi (Hook Functions): The user provided writer function
39782         is not allowed to return -1.
39783
39784 2012-04-11  David S. Miller  <davem@davemloft.net>
39785
39786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39787
39788 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39789
39790         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39791         Add a leading slash to rtkaio.
39792
39793 2012-04-11  Jim Meyering  <meyering@redhat.com>
39794
39795         [BZ #11959]
39796         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39797         It is not necessarily an error to ignore fwrite's return
39798         value.  One can reliably use ferror to test for errors after
39799         the fact.
39800
39801 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39802
39803         * bits/types.h (__snseconds_t): New type.
39804         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39805
39806         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39807         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39808         (__SNSECONDS_T_TYPE): Likewise.
39809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39810         (__SNSECONDS_T_TYPE): Likewise.
39811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39812         (__SNSECONDS_T_TYPE): Likewise.
39813
39814 2012-04-10  Andreas Jaeger  <aj@suse.de>
39815
39816         [BZ #2636]
39817         * manual/time.texi (Processor Time): Return type of times is
39818         elapsed real time since an arbitrary point in the past.
39819         (CPU Time): Move CLK_TCK from here...
39820         (Processor Time): ...to here.  Correct description.
39821         * manual/conf.texi (Constants for Sysconf): Correct description of
39822         _SC_CLK_TCK.
39823
39824 2012-04-10  David S. Miller  <davem@davemloft.net>
39825
39826         [BZ #13967]
39827         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39828         where the is a gap between DT_REL(A) and DT_JMPREL.
39829
39830 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39831
39832         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39833         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39834         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39835
39836 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39837
39838         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39839         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39840         (dl_main): Handle --inhibit-cache.
39841         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39842         _dl_inhibit_cache.
39843         * elf/dl-load.c (_dl_map_object): Use it.
39844         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39845
39846 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39847
39848         [BZ #13872]
39849         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39850         (__ieee754_powl): Saturate large exponents rather than testing for
39851         overflow of y*log2(x).
39852         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39853         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39854         exceptions.
39855
39856         [BZ #11521]
39857         * math/s_ctan.c: Include <float.h>.
39858         (__ctan): Avoid internal overflow or cancellation in calculating
39859         denominator.
39860         * math/s_ctanf.c: Likewise.
39861         * math/s_ctanl.c: Likewise.
39862         * math/s_ctanh.c: Likewise.
39863         * math/s_ctanhf.c: Likewise.
39864         * math/s_ctanhl.c: Likewise.
39865         * math/libm-test.inc (ctan_test): Add more tests.
39866         (ctanh_test): Likewise.
39867         * sysdeps/i386/fpu/libm-test-ulps: Update.
39868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39869
39870 2012-04-09  Andreas Jaeger  <aj@suse.de>
39871
39872         [BZ #6894]
39873         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39874         is an optional BSD extension.
39875
39876         [BZ #10254]
39877         * manual/stdio.texi (Opening Streams): Document additional fopen
39878         parameters.
39879
39880 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39881
39882         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39883         %eax without telling the compiler.
39884
39885 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39886
39887         [BZ # 13963]
39888         * manual/install.texi: Use sourceware.org.
39889
39890 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39891
39892         [BZ #13873]
39893         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39894         (__ieee754_pow): Generate overflow and underflow using huge*huge
39895         and tiny*tiny rather than just returning constant infinity or zero
39896         for large exponents.
39897         * math/libm-test.inc (pow_test): Require overflow exceptions for
39898         applicable cases of large exponents.
39899
39900         [BZ #706]
39901         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39902         (__ieee754_pow): Use iterative multiplication algorithm only for
39903         integer exponents with absolute value below 1024.  Check for odd
39904         integer exponents when using algorithm for real exponents.
39905         * math/libm-test.inc (pow_test): Add more tests.
39906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39907
39908 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39909
39910         [BZ #13705]
39911         * math/libm-test.inc (exp_test): Do not allow overflow exception
39912         on underflow test.
39913
39914 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39915
39916         [BZ #13705]
39917         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39918         instead of __kernel_standard_f.
39919
39920 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39921
39922         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39923         * sysdeps/x86_64/memset_chk.S: Likewise.
39924
39925 2012-04-08  Andreas Jaeger  <aj@suse.de>
39926
39927         [BZ #10153]
39928         * manual/startup.texi (Environment Access): Describe return value
39929         for putenv and setenv.
39930
39931         [BZ #6895]
39932         * manual/filesys.texi (Directory Entries): Add description for
39933         DT_LNK.
39934
39935         [BZ #6890]
39936         * manual/filesys.texi (Directory Entries): Clarify that it's file
39937         system not operating system in the description of DT_UNKNOWN.
39938
39939         [BZ #6578]
39940         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39941
39942 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39943
39944         [BZ #6649]
39945         * manual/llio.texi (Opening and Closing Files): Add cross
39946         reference to explain mode argument.
39947
39948 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39949
39950         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39951         * sysdeps/x86_64/memset_chk.S: Likewise.
39952
39953 2012-04-07  David S. Miller  <davem@davemloft.net>
39954
39955         * elf/elf.h (R_SPARC_WDISP10): Define.
39956         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39957         R_SPARC_SIZE32.
39958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39959         R_SPARC_SIZE64 and R_SPARC_H34.
39960
39961 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39962
39963         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39964         conditions and remove no longer applicable assertion.
39965
39966 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39967
39968         * bits/byteswap.h: Include <features.h>.
39969         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39970         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39971
39972 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39973
39974         * bits/byteswap.h (__bswap_16): Removed.
39975         Include <bits/byteswap-16.h> to get __bswap_16.
39976         * sysdeps/i386/bits/byteswap.h: Likewise.
39977         * sysdeps/s390/bits/byteswap.h: Likewise.
39978         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39979         * bits/byteswap-16.h: New file.
39980         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39981         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39982         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39983         * string/Makefile (headers): Add bits/byteswap-16.h.
39984
39985 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39986
39987         [BZ #13895]
39988         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39989         extra indirection.
39990         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39991         * nss/tst-nss-static.c: New.
39992
39993 2012-04-06  Robert Millan  <rmh@gnu.org>
39994
39995         [BZ #6486]
39996         * manual/llio.texi (File Position Primitive): lseek
39997         refers to WHENCE when it really means OFFSET.
39998
39999 2012-04-06  Andreas Jaeger  <aj@suse.de>
40000
40001         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40002         strncmp declarations.
40003
40004         * abilist/libc.abilist: Add __poll and __ppoll.
40005
40006 2012-04-05  David S. Miller  <davem@davemloft.net>
40007
40008         * scripts/check-local-headers.sh: Accept a host triplet in the
40009         path matched by the exclude regexp.
40010
40011         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40012         definition.
40013         * sysdeps/powerpc/powerpc32/dl-machine.h
40014         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40015         * sysdeps/s390/s390-32/dl-machine.h
40016         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40017         * sysdeps/sparc/sparc32/dl-machine.h
40018         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40019         * sysdeps/sparc/sparc64/dl-machine.h
40020         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40021
40022         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40023         lazy binding.
40024         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40025         undefined symbol errors.
40026
40027         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40028         DT_NEEDED entries.
40029
40030 2012-04-05  Michael Matz  <matz@suse.de>
40031
40032         [BZ #13592]
40033         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40034
40035 2012-04-05  Andreas Jaeger  <aj@suse.de>
40036
40037         [BZ #13908]
40038         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40039         comment.
40040
40041 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40042
40043         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40044         which ROUND is no valid rounding mode.
40045
40046 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40047
40048         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40049         read again.
40050         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40051
40052 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40053
40054         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40055         an exception using FPU order intentionally.
40056
40057 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40058
40059         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40060         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40061         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40062         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40063
40064 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40065
40066         [BZ #12340]
40067         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40068         EINVAL when BUFLEN is too smal.
40069
40070 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40071
40072         [BZ #13553]
40073         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40074         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40075
40076 2012-04-03  Andreas Jaeger  <aj@suse.de>
40077
40078         [BZ #13938]
40079         * manual/setjmp.texi (System V contexts): Fix sentence.
40080
40081         [BZ #13926]
40082         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40083         New macro for this case.
40084         [!__GNUC__] (__bswap_64): New inline function for this case.
40085         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40086         * bits/byteswap.h: Likewise.
40087         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40088         ull, guard with __GLIBC_HAVE_LONG_LONG.
40089
40090         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40091         __GLIBC_HAVE_LONG_LONG.
40092
40093         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40094         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40095
40096 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40097
40098         [BZ #13691]
40099         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40100         inptr and inend, rather than using last_ch.
40101
40102 2012-04-02  David S. Miller  <davem@davemloft.net>
40103
40104         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40105         * stdio-common/printf-parse.h (read_int): Change return type to
40106         'int', return -1 on INT_MAX overflow.
40107         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40108         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40109         overflows INT_MAX.  Check for overflow of in-format-string precision
40110         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40111         SIZE_MAX not INT_MAX for integer overflow test.
40112         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40113         skip the construct in the format string but do not record anything.
40114         * stdio-common/bug22.c: Adjust to test both width/prevision
40115         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40116         explicitly for proper errno values.
40117
40118 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40119
40120         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40121         CHAR_MAX.
40122         * string/test-strcmp.c [! WIDE]: Likewise.
40123         * time/tst-mktime2.c: Likewise for INT_MAX.
40124         * string/test-string.h: #include <sys/param.h> for MIN.
40125
40126         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40127         * sysdeps/i386/init-first.c (init): Likewise.
40128         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40129         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40130         * sysdeps/sh/init-first.c (init): Likewise.
40131
40132 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40133
40134         * po/ru.po: Update from translation team.
40135         * po/vi.po: Likewise.
40136
40137 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40138
40139         * resolv/nss_dns/dns-host.c: Merge copyright years.
40140
40141 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40142
40143         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40144         Optimize memcpy with prefetch if
40145         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40146         src, dst pointers have unequal 16 byte alignments.
40147
40148 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40149
40150         [BZ #13928]
40151         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40152         from a CNAME entry and return the minimum ttl for the query.
40153         (gaih_getanswer_slice): Likewise.
40154
40155 2012-03-30  Jeff Law  <law@redhat.com>
40156
40157         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40158         due to long keys.
40159         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40160         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40161
40162         * resolv/nss_dns/dns-host.c: Update copyright year.
40163
40164 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40165
40166         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40167         requests to save a system call.  Fix check that all bytes are sent.
40168
40169         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40170         comments for sendmmsg.
40171
40172 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40173
40174         [BZ #13691]
40175         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40176         with only 1 character between 0x0041 and 0x01b0.
40177         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40178         * wcsmbs/tst-mbsnrtowcs.c: New file.
40179
40180 2012-03-29  David S. Miller  <davem@davemloft.net>
40181
40182         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40183         small copies by hand.
40184
40185 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40186
40187         [BZ #13761]
40188         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40189         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40190         group memberships.
40191
40192 2012-03-28  David S. Miller  <davem@davemloft.net>
40193
40194         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40195         that branches into memcpy.
40196         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40197         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40199         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40200         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40201         bits.
40202         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40203         implementation too.
40204         * sysdeps/sparc/mempcpy.S: New file.
40205
40206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40207         the IFUNC routine in the libc case.
40208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40209
40210         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40211         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40212         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40213         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40214         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40215         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40216         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40217         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40218
40219         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40220         loop to 256 bytes instead of 64 bytes and fix test signedness.
40221
40222         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40223         * sysdeps/sparc/sparc32/Makefile: rather than here...
40224         * sysdeps/sparc/sparc64/Makefile: and here.
40225
40226 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40227
40228         * malloc/mallocbug.c: Avoid warnings about unused variables.
40229
40230 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40231
40232         [BZ #13760]
40233         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40234         in the right place. Discard and retry query if response is
40235         larger than input buffer size.
40236
40237 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40238
40239         [BZ #369]
40240         [BZ #2678]
40241         [BZ #3866]
40242         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40243         x for large integer exponent.
40244         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40245         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40246         sign of result as needed afterwards.
40247         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40248         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40249         result for underflowing pow the same as for overflow.
40250         (__kernel_standard_l): Handle powl overflow and underflow here
40251         rather than calling __kernel_standard.
40252         * math/libm-test.inc (pow_test): Add more tests.
40253
40254         [BZ #3868]
40255         [BZ #13879]
40256         [BZ #13910]
40257         [BZ #13911]
40258         [BZ #13912]
40259         [BZ #13913]
40260         [BZ #13915]
40261         [BZ #13916]
40262         [BZ #13917]
40263         [BZ #13918]
40264         [BZ #13919]
40265         [BZ #13920]
40266         [BZ #13921]
40267         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40268         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40269         (__kernel_standard_l): New function.
40270         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40271         __kernel_standard.
40272         * math/w_acosl.c (__acosl): Likewise.
40273         * math/w_asinl.c (__asinl): Likewise.
40274         * math/w_atan2l.c (__atan2l): Likewise.
40275         * math/w_atanhl.c (__atanhl): Likewise.
40276         * math/w_coshl.c (__coshl): Likewise.
40277         * math/w_exp10l.c (__exp10l): Likewise.
40278         * math/w_exp2l.c (__exp2l): Likewise.
40279         * math/w_fmodl.c (__fmodl): Likewise.
40280         * math/w_hypotl.c (__hypotl): Likewise.
40281         * math/w_j0l.c (__j0l, __y0l): Likewise.
40282         * math/w_j1l.c (__j1l, __y1l): Likewise.
40283         * math/w_jnl.c (__jnl, __ynl): Likewise.
40284         * math/w_lgammal.c (__lgammal): Likewise.
40285         * math/w_log10l.c (__log10l): Likewise.
40286         * math/w_log2l.c (__log2l): Likewise.
40287         * math/w_logl.c (__logl): Likewise.
40288         * math/w_powl.c (__powl): Likewise.
40289         * math/w_remainderl.c (__remainderl): Likewise.
40290         * math/w_scalbl.c (sysv_scalbl): Likewise.
40291         * math/w_sinhl.c (__sinhl): Likewise.
40292         * math/w_sqrtl.c (__sqrtl): Likewise.
40293         * math/w_tgammal.c (__tgammal): Likewise.
40294         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40295         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40296         * math/libm-test.inc (acos_test): Add more tests.
40297         (acosh_test): Likewise.
40298         (asin_test): Likewise.
40299         (atanh_test): Likewise.
40300         (exp_test): Likewise.
40301         (exp10_test): Likewise.
40302         (exp2_test): Likewise.
40303         (expm1_test): Likewise.
40304         (lgamma_test): Likewise.
40305         (log_test): Likewise.
40306         (log10_test): Likewise.
40307         (log1p_test): Likewise.
40308         (log2_test): Likewise.
40309         (pow_test): Do not allow some spurious overflow exceptions.
40310         (sqrt_test): Add more tests.
40311         (tgamma_test): Likewise.
40312         (y0_test): Likewise.
40313         (y1_test): Likewise.
40314         (yn_test): Likewise.
40315
40316 2012-03-27  Anton Blanchard  <anton@samba.org>
40317
40318         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40319         MAP_HUGETLB.
40320         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40321         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40322         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40323
40324 2012-03-27  David S. Miller  <davem@davemloft.net>
40325
40326         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40327
40328         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40329         have-as-vis3 check.
40330
40331 2012-03-27  Andreas Jaeger  <aj@suse.de>
40332
40333         * sysdeps/x86_64/elf/configure.in: Moved to ...
40334         * sysdeps/x86_64/configure.in: ... here.
40335         * sysdeps/x86_64/elf/start.S: Moved to ...
40336         * sysdeps/x86_64/start.S: ... here.
40337         * sysdeps/x86_64/elf/configure: Delete.
40338
40339         * sysdeps/x86_64/configure.in: Merge contents from
40340         sysdeps/i386/configure.in (without i686 check).
40341
40342         * sysdeps/i386/elf/Versions: Merge into ...
40343         * sysdeps/i386/Versions: ... this.
40344         * sysdeps/i386/elf/Versions: Delete file.
40345         * sysdeps/i386/elf/start.S: Moved to ...
40346         * sysdeps/i386/start.S: ...here.
40347         * sysdeps/i386/elf/configure.in: Merge into...
40348         * sysdeps/i386/configure.in: ...here.
40349         * sysdeps/i386/elf/configure.in: Delete file.
40350         * sysdeps/i386/elf/configure: Delete file.
40351
40352         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40353         * debug/backtracesyms.c: ... here.
40354         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40355         * debug/backtracesymsfd.c: ... here.
40356         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40357         * sysdeps/generic/ifunc-sel.h: ... here.
40358
40359         * sysdeps/unix/i386/start.c: Delete file.
40360         * sysdeps/unix/sparc/start.c: Delete file.
40361         * sysdeps/unix/start.c: Delete file.
40362
40363         * sysdeps/sh/elf/configure.in: Moved to ...
40364         * sysdeps/sh/configure.in: ... here.
40365         * sysdeps/sh/elf/start.S: Moved to ...
40366         * sysdeps/sh/start.S: ... here.
40367         * sysdeps/sh/elf/configure: Delete file.
40368
40369         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40370         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40371         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40372         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40373         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40374         * sysdeps/powerpc/powerpc64/start.S: here.
40375         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40376         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40377         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40378         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40379         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40380
40381         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40382         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40383         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40384         * sysdeps/powerpc/powerpc32/start.S: ... here.
40385         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40386         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40387         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40388
40389         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40390         * sysdeps/powerpc/ifunc-sel.h: ... here.
40391         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40392         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40393
40394         * sysdeps/sparc/elf/configure.in: Moved to ...
40395         * sysdeps/sparc/configure.in: ... here.
40396         * sysdeps/sparc/elf/configure: Delete file.
40397         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40398         * sysdeps/sparc/sparc32/start.S: ... here.
40399         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40400         * sysdeps/sparc/sparc64/start.S: ... here.
40401         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40402         * sysdeps/sparc/sparc32/Makefile: ... this.
40403         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40404         * sysdeps/sparc/sparc64/Makefile: ... this.
40405
40406         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40407         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40408         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40409         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40410         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40411         * sysdeps/s390/s390-32/setjmp.S: ... here.
40412         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40413         * sysdeps/s390/s390-32/configure.in: ... here.
40414         * sysdeps/s390/s390-32/elf/configure: Delete file.
40415         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40416         * sysdeps/s390/s390-32/start.S: ... here.
40417
40418         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40419         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40420         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40421         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40422         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40423         * sysdeps/s390/s390-64/setjmp.S: ... here.
40424         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40425         * sysdeps/s390/s390-64/configure.in: ... here
40426         * sysdeps/s390/s390-64/elf/configure: Delete file.
40427         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40428         * sysdeps/s390/s390-64/start.S: ... here.
40429         * sysdeps/s390/s390-64/elf/configure: Delete.
40430
40431         * configure.in: Remove support for elf directories in sysdeps.
40432
40433         * configure: Regenerated.
40434         * sysdeps/i386/configure: Regenerated.
40435         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40436         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40437         * sysdeps/s390/s390-32/configure: Regenerated.
40438         * sysdeps/s390/s390-64/configure: Regenerated.
40439         * sysdeps/sh/configure: Regenerated.
40440         * sysdeps/sparc/configure: Regenerated.
40441         * sysdeps/x86_64/configure: Regenerated.
40442
40443 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40444
40445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40446
40447         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40448         denormal result into account.
40449
40450 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40451
40452         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40453         Reported by Allan McRae <allan@archlinux.org>.
40454
40455 2012-03-23  Jeff Law  <law@redhat.com>
40456
40457         * nss/getnssent.c (__nss_getent): Fix typo.
40458
40459 2012-03-23  David S. Miller  <davem@davemloft.net>
40460
40461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40462
40463 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40464
40465         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40466         to pad to uint64_t for each field.
40467         (dl_tls_index): Replace unsigned long with uint64_t.
40468
40469 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40470         Paul Pluzhnikov  <ppluzhnikov@google.com>
40471
40472         [BZ #6528]
40473         * grp/Makefile (otherlibs): Don't set it.
40474         * inet/Makefile (otherlibs): Likewise.
40475         * login/Makefile (otherlibs): Likewise.
40476         * nscd/Makefile (otherlibs): Likewise.
40477         * posix/Makefile (otherlibs): Likewise.
40478         * pwd/Makefile (otherlibs): Likewise.
40479         * rt/Makefile (otherlibs): Likewise.
40480         * sunrpc/Makefile (otherlibs): Likewise.
40481         * nss/Makefile (otherlibs): Likewise.
40482         Add libnss_files to routines and static-only-routines.
40483         ($(objpfx)getent): Remove rule.
40484         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40485         static-only-routines.
40486
40487 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40488
40489         [BZ #13892]
40490         * math/s_cexp.c: Include <float.h>.
40491         (__cexp): Handle exp result overflowing not necessarily
40492         overflowing both real and imaginary parts of result.
40493         * math/s_cexpf.c: Likewise.
40494         * math/s_cexpl.c: Likewise.
40495         * math/libm-test.inc (cexp_test): Add more tests.
40496         * sysdeps/i386/fpu/libm-test-ulps: Update.
40497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40498
40499 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40500
40501         * include/link.h (ELFW): New macro.
40502         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40503         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40504
40505 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40506
40507         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40508         with uint64_t.
40509
40510 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40511
40512         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40513         declaration.
40514         (struct La_x32_retval): Likewise.
40515
40516 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40517
40518         * sysdeps/x86_64/preconfigure.in: New file.
40519         * sysdeps/x86_64/preconfigure: New generated file.
40520
40521 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40522
40523         [BZ #13824]
40524         * math/e_exp2l.c: Include <float.h>.
40525         (__ieee754_exp2l): Handle overflow and underflow cases
40526         separately.  Only pass fractional part of argument to
40527         __ieee754_expl.
40528         * math/libm-test.inc (exp2_test): Add more tests.
40529
40530         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40531         negating x to take absolute value.
40532         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40533         Likewise.
40534         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40535         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40536         Likewise.
40537         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40538         computing low part if x was negated.
40539         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40540
40541 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40542
40543         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40544         la_x32_gnu_pltexit.
40545         (pltexit): Cast int_retval to ptrdiff_t.
40546         * elf/tst-auditmod3b.c: Likewise.
40547         * elf/tst-auditmod4b.c: Likewise.
40548         * elf/tst-auditmod5b.c: Likewise.
40549         * elf/tst-auditmod6b.c: Likewise.
40550         * elf/tst-auditmod6c.c: Likewise.
40551         * elf/tst-auditmod7b.c: Likewise.
40552
40553         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40554         and x32_gnu_pltexit.
40555
40556         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40557         __ELF_NATIVE_CLASS.
40558         (La_x32_regs): New macro.
40559         (La_x32_retval): Likewise.
40560         (la_x32_gnu_pltenter): New function prototype.
40561         (la_x32_gnu_pltexit): Likewise.
40562
40563 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40564
40565         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40566         exponent.
40567
40568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40569
40570         * configure.in (libc_cv_cc_nofma): Check for option to disable
40571         generation of FMA instructions.
40572         * configure: Regenerate.
40573         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40574         * sysdeps/ieee754/dbl-64/Makefile: New file.
40575         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40576         Remove brandred-fma4.
40577         (CFLAGS-brandred-fma4.c): Remove.
40578         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40579         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40580         define.
40581         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40582         define.
40583
40584 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40585
40586         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40587         LLONG_MAX != LONG_MAX.
40588         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40589         (_fitoa_word): Likewise.
40590         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40591         LLONG_MAX != LONG_MAX.
40592         * stdio-common/_itowa.h: Include <_itoa.h>.
40593         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40594         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40595         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40596         only if not defined.
40597         (_ITOA_WORD_TYPE): Likewise.
40598         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40599         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40600
40601 2012-03-21  David S. Miller  <davem@davemloft.net>
40602
40603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40604
40605 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40606
40607         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40608         of x86_64 when setting libc_cv_slibdir, libdir and
40609         libc_cv_localedir.
40610         * sysdeps/unix/sysv/linux/configure: Regenerated.
40611
40612 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40613
40614         * manual/lang.texi (Old Varargs): Remove section.
40615         (How Variadic): Update menu.
40616         (va_start): Do not mention varargs.h.
40617
40618 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40619             Joseph Myers  <joseph@codesourcery.com>
40620
40621         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40622         link test.
40623         * configure: Regenerated.
40624
40625 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40626
40627         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40628         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40629         conformtest.pl
40630
40631 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40632
40633         * NOTES: Remove.
40634         * Makefile (files-for-dist): Remove NOTES.
40635         (NOTES): Remove rule.
40636         * README: Don't refer to NOTES.
40637         * manual/creature.texi: Don't include macros.texi.
40638         * manual/intro.texi (creature.texi): Remove comment referring to
40639         NOTES.
40640
40641         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40642         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40643         * configure: Regenerated.
40644         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40645         LIBC_TRY_CC_OPTION.
40646         (libc_cv_as_i686): Likewise.
40647         (libc_cv_cc_avx): Likewise.
40648         (libc_cv_cc_sse2avx): Likewise.
40649         (libc_cv_cc_fma4): Likewise.
40650         (libc_cv_cc_novzeroupper): Likewise.
40651         * sysdeps/i386/configure: Regenerated.
40652
40653         [BZ #13883]
40654         * sysdeps/i386/fpu/s_cexp.S: Remove.
40655         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40656         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40657         * math/libm-test.inc (cexp_test): Add more tests.
40658         * sysdeps/i386/fpu/libm-test-ulps: Update.
40659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40660
40661 2012-03-21  Allan McRae  <allan@archlinux.org>
40662
40663         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40664
40665 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40666
40667         [BZ #13871]
40668         * math/w_exp2.c: Do not include <float.h>.
40669         (o_threshold, u_threshold): Remove.
40670         (__exp2): Calculate result before checking finiteness and calling
40671         __kernel_standard.
40672         * math/w_exp2f.c: Likewise.
40673         * math/w_exp2l.c: Likewise.
40674         * math/libm-test.inc (exp2_test): Require overflow exception for
40675         1e6 input.
40676
40677         [BZ #3866]
40678         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40679         range of signed 64-bit integers before using fistpll.  Remove
40680         checks for whether integers fit in mantissa bits.
40681         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40682         the range of signed 32-bit integers before using fistpl.  Remove
40683         checks for whether integers fit in mantissa bits.
40684         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40685         (__ieee754_powl): Test for y outside the range of signed 64-bit
40686         integers before using fistpll.  Reduce 64-bit values to 63-bit
40687         ones as needed.
40688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40689         divide-by-zero is raised for zero to large negative powers.
40690         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40691         (__ieee754_powl): Test for y outside the range of signed 64-bit
40692         integers before using fistpll.  Reduce 64-bit values to 63-bit
40693         ones as needed.
40694         * math/libm-test.inc (pow_test): Add more tests.
40695
40696 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40697
40698         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40699         <stdio-common/_itoa.h>.
40700         * debug/segfault.c: Likewise.
40701         * elf/dl-cache.c: Likewise.
40702         * elf/dl-minimal.c: Likewise.
40703         * elf/dl-misc.c: Likewise.
40704         * elf/dl-sysdep.c: Likewise.
40705         * elf/dl-version.c: Likewise.
40706         * elf/rtld.c: Likewise.
40707         * hurd/hurdsock.c: Likewise.
40708         * hurd/lookup-retry.c: Likewise.
40709         * malloc/malloc.c: Likewise.
40710         * malloc/mtrace.c: Likewise.
40711         * nscd/nscd_getgr_r.c: Likewise.
40712         * nscd/nscd_getpw_r.c: Likewise.
40713         * nscd/nscd_getserv_r.c: Likewise.
40714         * posix/getopt_init.c: Likewise.
40715         * posix/wordexp.c: Likewise.
40716         * stdio-common/_itoa.c: Likewise.
40717         * stdio-common/printf_fphex.c: Likewise.
40718         * stdio-common/vfprintf.c: Likewise.
40719         * string/_strerror.c: Likewise.
40720         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40721         * sysdeps/i386/i686/hp-timing.h: Likewise.
40722         * sysdeps/mach/_strerror.c: Likewise.
40723         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40724         * sysdeps/mach/hurd/sethostid.c: Likewise.
40725         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40726         * sysdeps/mach/xpg-strerror.c: Likewise.
40727         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40728         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40729         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40730         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40731         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40732         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40733         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40734         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40735         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40736         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40737         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40738         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40739         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40740         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40741         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40742         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40743         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40744         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40745         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40746         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40747         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40748
40749         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40750
40751         * stdio-common/_itoa.h: Moved to ...
40752         * sysdeps/generic/_itoa.h: Here.
40753
40754         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40755
40756         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40757         instead of "_itoa.h" and "_itowa.h".
40758         * stdio-common/vfprintf.: Likewise.
40759
40760 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40761
40762         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40763         <bits/wordsize.h>.
40764         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40765         (__signbit): Likwise.
40766         (llrintf): Likwise.
40767         (llrint): Likwise.
40768
40769 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40770
40771         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40772         __WORDSIZE != 64.
40773
40774 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40775
40776         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40777         OVERFLOW_EXCEPTION_OK.
40778         * math/libm-test.inc ("Philosophy"): Update comment about
40779         exception testing.
40780         (OVERFLOW_EXCEPTION): Define.
40781         (OVERFLOW_EXCEPTION_OK): Likewise.
40782         (INVALID_EXCEPTION_OK): Renumber.
40783         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40784         (IGNORE_ZERO_INF_SIGN): Likewise.
40785         (test_exceptions): Handle FE_OVERFLOW.
40786         (exp10_test): Expect overflow exceptions.
40787         (exp2_test): Likewise.
40788         (expm1_test): Likewise.
40789         (nextafter_test): Likewise.
40790         (pow_test): Likewise.
40791         (scalbn_test): Likewise.
40792         (scalbln_test): Likewise.
40793
40794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40795
40796         * sysdeps/x86_64/bits/atomic.h
40797         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40798         64bit integer.
40799         (atomic_exchange_acq): Likewise.
40800         (__arch_exchange_and_add_body): Likewise.
40801         (__arch_add_body): Likewise.
40802         (atomic_add_negative): Likewise.
40803         (atomic_add_zero): Likewise.
40804
40805 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40806
40807         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40808         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40809
40810 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40811
40812         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40813         Check __x86_64__ instead of __WORDSIZE.
40814
40815 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40816
40817         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40818
40819 2012-03-19  David S. Miller  <davem@davemloft.net>
40820
40821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40822
40823         * sysdeps/sparc/fpu/fenv_private.h: New file.
40824         * sysdeps/sparc/fpu/math_private.h: Use it.
40825         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40826         Remove.
40827         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40828         (libc_feholdexcept_setroundl): Remove.
40829         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40830         Remove.
40831         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40832         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40833
40834 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40835
40836         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40837         int64_t instead of long int.
40838         (INSERT_WORDS64): Likwise.
40839
40840 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40841
40842         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40843         _Unwind_GetCFA return to _Unwind_Ptr first.
40844
40845 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40846
40847         [BZ #13629]
40848         * math/s_clog.c: Include <float.h>.
40849         (__clog): Scale large or subnormal inputs.
40850         * math/s_clogf.c: Likewise.
40851         * math/s_clogl.c: Likewise.
40852         * math/s_clog10.c: Include <float.h>.
40853         (M_LOG10_2): Define.
40854         (__clog10): Scale large or subnormal inputs.
40855         * math/s_clog10f.c: Likewise.
40856         * math/s_clog10l.c: Likewise.
40857         * math/libm-test.inc (clog_test): Add more tests.
40858         (clog10_test): Likewise.
40859         * sysdeps/i386/fpu/libm-test-ulps: Update.
40860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40861
40862         [BZ #11451]
40863         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40864         x and y.
40865         * math/libm-test.inc (atan2_test): Add another test.
40866
40867         * Makerules (common-objdir-compile): Remove.
40868         * sysdeps/unix/Makefile (config-generated): Do not add
40869         $(unix-generated) to variable.
40870         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40871         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40872         Remove rule.
40873         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40874         Likewise.
40875         [generic bits/local_lim.h] (before-compile): Do not append to
40876         variable.
40877         [generic bits/local_lim.h] (common-generated): Likewise.
40878         [generic sys/param.h] (before-compile): Do not append to variable.
40879         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40880         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40881         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40882         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40883         include.
40884         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40885         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40886         [generic sys/param.h] ($(addprefix
40887         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40888         [generic sys/param.h] (common-generated): Do not append to
40889         variable.
40890         [generic sys/param.h] (sysdep_headers): Likewise.
40891         [generic bits/errno.h] (before-compile): Do not append to
40892         variable.
40893         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40894         rule.
40895         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40896         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40897         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40898         [generic bits/errno.h] (common-generated): Do not append to
40899         variable.
40900         [generic bits/ioctls.h] (before-compile): Do not append to
40901         variable.
40902         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40903         rule.
40904         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40905         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40906         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40907         rule.
40908         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40909         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40910         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40911         [generic bits/ioctls.h] (common-generated): Do not append to
40912         variable.
40913         [generic sys/syscall.h] (syscall.h): Remove variable.
40914         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40915         rule.
40916         [generic sys/syscall.h] (before-compile): Do not append to
40917         variable.
40918         [generic sys/syscall.h] (common-generated): Likewise.
40919         * sysdeps/unix/errnos-tmpl.c: Remove file.
40920         * sysdeps/unix/errnos.awk: Likewise.
40921         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40922         * sysdeps/unix/ioctls.awk: Likewise.
40923         * sysdeps/unix/mk-local_lim.c: Likewise.
40924         * sysdeps/unix/snarf-ioctls: Likewise.
40925
40926 2012-03-19  Richard Henderson  <rth@twiddle.net>
40927
40928         * sysdeps/i386/fpu/fenv_private.h: New file.
40929         * sysdeps/i386/fpu/math_private.h: Use it.
40930         (math_opt_barrier, math_force_eval): Remove.
40931         (libc_feholdexcept_setround_53bit): Remove.
40932         (libc_feupdateenv_53bit): Remove.
40933         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40934         (math_opt_barrier, math_force_eval): Remove.
40935         (libc_feholdexcept): Remove.
40936         (libc_feholdexcept_setround): Remove.
40937         (libc_fetestexcept, libc_fesetenv): Remove.
40938         (libc_feupdateenv_test): Remove.
40939         (libc_feupdateenv, libc_feholdsetround): Remove.
40940         (libc_feresetround): Remove.
40941
40942         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40943         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40944
40945         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40946         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40947         (libc_feupdateenv_testl): New.
40948         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40949         (libc_feupdateenv_testf): New.
40950         (libc_feupdateenv): Use libc_feupdateenv_test.
40951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40952         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40953
40954         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40955         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40956         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40957         (libc_feresetround_noex): New.
40958         (libc_feresetround_noexf): New.
40959         (libc_feresetround_noexl): New.
40960         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40961         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40962         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40963         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40964         SET_RESTORE_ROUND.
40965         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40967         (__cos): Likewise.
40968         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40969         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40970         SET_RESTORE_ROUND_NOEX.
40971         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40972         SET_RESTORE_ROUND_NOEXF.
40973         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40974         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40975         (libc_feholdsetroundf): New.
40976         (libc_feresetround, libc_feresetroundf): New.
40977
40978         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40979         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40980         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40981
40982         * sysdeps/generic/math_private.h: Include <fenv.h>.
40983         (default_libc_feholdexcept): New.
40984         (default_libc_feholdexcept_setround): New.
40985         (default_libc_fesetenv, default_libc_feupdateenv): New.
40986         (libc_feholdexcept): Only define if undefined.
40987         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40988         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40989         (libc_feholdexcept_setroundl): Likewise.
40990         (libc_feholdexcept_setround_53bit): Likewise.
40991         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40992         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40993         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40994         (libc_feupdateenv_53bit): Likewise.
40995         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40996         (libc_feholdexcept): Convert from macro to inline function.
40997         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40998         (libc_fesetenv, libc_feupdateenv): Likewise.
40999
41000         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41001         not previously defined.
41002         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41003         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41004         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41005         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41006         * sysdeps/ieee754/flt-32/math_private.h: New file.
41007         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41008         math_private.h below SET_FLOAT_WORD.
41009         (__isnan, __isinf_ns, __finite): Remove.
41010         (__isnanf, __isinf_nsf, __finitef): Remove.
41011
41012 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41013
41014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41015
41016 2012-03-17  David S. Miller  <davem@davemloft.net>
41017
41018         [BZ #6471]
41019         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41020         for 2.16.
41021
41022 2012-03-16  David S. Miller  <davem@davemloft.net>
41023
41024         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41025         warnings.
41026
41027         [BZ #6471]
41028         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41029         properly.
41030         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41031         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41032         sysdep_routines when subdir is sysvipc.
41033         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41034         __getshmlba helper.
41035
41036         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41037
41038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41039
41040         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41041         [__LP64__].
41042
41043 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41044
41045         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41046         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41047         (__lround): Renamed to ...
41048         (__llround): This.  Replace long int with long long int.
41049         Define lround functions as aliases of llround functions.
41050         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41051
41052 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41053
41054         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41055         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41056         adresses to uintptr_t.  Replace "long int" and "unsigned long
41057         int" with "greg_t" on va_arg.
41058
41059 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41060
41061         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41062         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41063
41064         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41065         Move e_machine check before EI_CLASS check.  Handle x32
41066         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41067         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41068         SKIP_EM_IA_64 and include
41069         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41070
41071         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41072         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41073         (add_system_dir): New macro.
41074
41075         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41076         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41077
41078 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41079
41080         [BZ #2551]
41081         [BZ #2552]
41082         [BZ #2553]
41083         [BZ #2554]
41084         [BZ #2562]
41085         [BZ #2563]
41086         [BZ #2565]
41087         [BZ #2566]
41088         [BZ #2576]
41089         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41090         (y0): Likewise.
41091         * math/w_j0f.c (j0f): Likewise.
41092         (y0f): Likewise.
41093         * math/w_j0l.c (__j0l): Likewise.
41094         (__y0l): Likewise.
41095         * math/w_j1.c (j1): Likewise.
41096         (y1): Likewise.
41097         * math/w_j1f.c (j1f): Likewise.
41098         (y1f): Likewise.
41099         * math/w_j1l.c (__j1l): Likewise.
41100         (__y1l): Likewise.
41101         * math/w_jn.c (jn): Likewise.
41102         (yn): Likewise.
41103         * math/w_jnf.c (jnf): Likewise.
41104         (ynf): Likewise.
41105         * math/w_jnl.c (__jnl): Likewise.
41106         (__ynl): Likewise.
41107         * math/libm-test.inc (j0_test): Add more tests.
41108         (j1_test): Likewise.
41109         (jn_test): Likewise.  Add trailing semicolon to existing test.
41110         (y0_test): Likewise.
41111         (y1_test): Likewise.
41112         * sysdeps/i386/fpu/libm-test-ulps: Update.
41113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41114
41115         [BZ #13851]
41116         [BZ #13854]
41117         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41118         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41119         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41120         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41121         (__tanl): Set errno for infinite argument.
41122         * sysdeps/i386/fpu/mptan.c: Remove.
41123         * sysdeps/i386/fpu/s_tan.S: Likewise.
41124         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41125         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41126         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41127         * math/libm-test.inc (tan_test): Add more tests and enable more
41128         tests for double and long double.
41129         * sysdeps/i386/fpu/libm-test-ulps: Update.
41130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41131
41132 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41133
41134         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41135         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41136
41137 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41138
41139         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41140         * configure.in: Use it for both main tree and add-ons.
41141         * configure: Regenerated.
41142
41143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41144
41145         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41146
41147 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41148
41149         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41150         in comment.
41151
41152         [BZ #13851]
41153         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41154         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41156         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41158         infinite argument.
41159         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41161         != 0 for prec == 2.
41162         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41163         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41164         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41165         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41166         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41167         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41168         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41169         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41170         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41171         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41172         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41173         * math/libm-test.inc (cos_test): Add more tests and enable more
41174         tests for long double.
41175         (sin_test): Likewise.
41176         (sincos_test): Likewise.
41177         * sysdeps/i386/fpu/libm-test-ulps: Update.
41178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41179
41180 2012-03-16  David S. Miller  <davem@davemloft.net>
41181
41182         * sysdeps/sparc/fpu/math_private.h: New file.
41183
41184 2012-03-15  David S. Miller  <davem@davemloft.net>
41185
41186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41187         file.
41188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41190         file.
41191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41196         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41197         sysdep routines.
41198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41199
41200         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41201         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41202
41203         * sysdeps/sparc/sparc-ifunc.h: New file.
41204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41205         sparc-ifunc.h
41206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41208         Likewise.
41209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41210         Likewise.
41211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41215         Likewise.
41216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41221         Likewise.
41222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41223         Likewise.
41224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41231         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41242         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41243         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41244         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41245         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41246         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41247         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41248
41249 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41250
41251         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41252         scaling.
41253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41254
41255 2012-03-15  Andreas Jaeger  <aj@suse.de>
41256
41257         [BZ #13852]
41258         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41259         ieee754/flt-32 implementation for sin, cos and sincos.
41260         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41261         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41262         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41263         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41264         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41265         ieee754/flt-32 implementation for tan.
41266
41267         * math/libm-test.inc (cos_test): Enable some large input tests for
41268         float as well
41269         (sin_test): Likewise.
41270         (sincos_test): Likewise.
41271         (tan_test): Add tests for large input.
41272
41273         * sysdeps/i386/fpu/libm-test-ulps: Update.
41274
41275 2012-03-15  Andreas Jaeger  <aj@suse.de>
41276
41277         [BZ #13658]
41278         * math/libm-test.inc (cos_test): Add more test cases.
41279         (sin_test): Likewise.
41280         (sincos_test): Likewise.
41281
41282 2012-03-15  Andreas Jaeger  <aj@suse.de>
41283
41284         [BZ #13837]
41285         * math/libm-test.inc (cos_test): Add a test case for large input
41286         value.
41287         (sin_test): Likewise.
41288         (sincos_test): Likewise.
41289
41290 2012-03-15  Andreas Jaeger  <aj@suse.de>
41291             Joseph Myers  <joseph@codesourcery.com>
41292
41293         [BZ #13658]
41294         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41295         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41296         * sysdeps/i386/fpu/branred.c: Likewise.
41297         * sysdeps/i386/fpu/dosincos.c: Likewise.
41298         * sysdeps/i386/fpu/mpa.c: Likewise.
41299         * sysdeps/i386/fpu/s_cos.S: Likewise.
41300         * sysdeps/i386/fpu/s_sin.S: Likewise.
41301         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41302         * sysdeps/i386/fpu/sincos32.c: Likewise.
41303
41304         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41305         Define.
41306         (libc_feupdateenv_53bit): Define.
41307         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41308         Define.
41309         (libc_feupdateenv_53bit): Define.
41310
41311         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41312         53 bit (without extend i386 double precision).
41313
41314         * math/libm-test.inc (sincos_test): Add tests for large input.
41315         (sin): Likewise.
41316         (cos): Likewise.
41317
41318         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41319
41320 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41321
41322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41323
41324 2012-03-15  David S. Miller  <davem@davemloft.net>
41325
41326         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41327         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41328         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41329         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41342         file.
41343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41345         file.
41346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41348         file.
41349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41351         file.
41352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41354         fmin/fmax sysdep routines.
41355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41356
41357 2012-03-14  David S. Miller  <davem@davemloft.net>
41358
41359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41363         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41364         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41365         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41366         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41376         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41379         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41380         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41381         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41382         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41384         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41385         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41386         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41387         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41388         routines.
41389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41390         file.
41391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41393         file.
41394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41396         file.
41397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41399         file.
41400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41402         file.
41403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41405         file.
41406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41407         file.
41408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41409         file.
41410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41411         file.
41412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41413         New file.
41414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41415         file.
41416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41417         file.
41418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41420         file.
41421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41423         file.
41424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41426         file.
41427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41429         VIS3 routines.
41430
41431         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41432         New file.
41433
41434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41435
41436         * sysdeps/sparc/configure.in: New file.
41437         * sysdeps/sparc/configure: Generate.
41438         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41439         * configure: Regenerate.
41440         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41441         * config.make.in (have-as-vis3): New.
41442         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41443         available use -Av9d instead of -Av9a.
41444         * sysdeps/sparc/sparc64/Makefile: Likewise.
41445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41447         New file.
41448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41449         file.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41451         New file.
41452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41453         file.
41454         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41455         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41456         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41457         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41458         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41459
41460         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41461         fzeros/fnegs to load 0x80000000 into a float register instead of
41462         using the stack.
41463         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41464
41465 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41466
41467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41468         bits/syscall.h.
41469         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41470         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41471         ($(inst_includedir)/bits/syscall.h): Remove rule.
41472         ($(objpfx)bits/syscall.d): Include instead of
41473         $(objpfx)syscall-list.d.
41474         (generated): Change syscall-list.h and syscall-list.d to
41475         bits/syscall.h and bits/syscall.d.
41476
41477 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41478
41479         [BZ #13846]
41480         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41481
41482 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41483
41484         [BZ #13841]
41485         * math/s_csqrt.c: Include <float.h>.
41486         (__csqrt): Scale large or subnormal inputs.
41487         * math/s_csqrtf.c: Likewise.
41488         * math/s_csqrtl.c: Likewise.
41489         * math/libm-test.inc (csqrt_test): Add more tests.
41490         * sysdeps/i386/fpu/libm-test-ulps: Update.
41491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41492
41493         [BZ #13840]
41494         * math/libm-test.inc (hypot_test): Add more tests.
41495
41496 2012-03-13  David S. Miller  <davem@davemloft.net>
41497
41498         [BZ #13840]
41499         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41500         double-precision for the calculation instead of scaling.
41501
41502 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41503
41504         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41505         manipulate bits before adding and subtracting TWO52[sx].
41506         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41507         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41508         Likewise.
41509         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41510
41511 2012-03-13  David S. Miller  <davem@davemloft.net>
41512
41513         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41514         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41516         rtld-global-offsets.h
41517         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41518
41519         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41520         large parameters.
41521
41522         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41523
41524         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41525         'err' in the ifdef scope in which it is actually used.
41526
41527         * nss/nss_db/db-init.c: Include string.h
41528
41529 2012-03-12  David S. Miller  <davem@davemloft.net>
41530
41531         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41532         masking out of the most significant byte of random value used.
41533         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41534         Fix coding style in previous change.
41535
41536         * sysdeps/unix/sysv/linux/kernel-features.h
41537         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41538         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41539         expression.
41540         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41541         later.
41542
41543 2012-03-11  David S. Miller  <davem@davemloft.net>
41544
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41546         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41547         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41548         for 'resultvar' otherwise things get truncated on 64-bit.
41549
41550         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41551         Fix masking out of the most significant byte of random value used.
41552
41553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41554
41555 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41556
41557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41558
41559 2012-03-09  David S. Miller  <davem@davemloft.net>
41560
41561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41562         variables with appropriate CPP guards.
41563         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41564         from the frame pointer, not the stack pointer.  Correct layout
41565         comments.  Fix test on resulting framesize and the management of
41566         the outregs buffer for pltexit.  Preserve floating point return
41567         values across _dl_call_pltexit call.
41568         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41569         framesize and the management of the outregs buffer for pltexit.
41570         Preserve floating point return values across _dl_call_pltexit
41571         call.
41572         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41573         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41574         (la_sparc64_gnu_pltexit): New functions.
41575         (print_exit): Fix format string for return register value.
41576
41577 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41578
41579         * sunrpc/Makefile (others): Add rpcgen.
41580         ($(objpfx)rpcgen): Remove special build rule and dependency on
41581         libc.
41582         * sunrpc/rpcgen.c: New file.
41583
41584 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41585
41586         [BZ #13673]
41587         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41588         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41589         * sysdeps/i386/crti.S: Likewise.
41590         * sysdeps/i386/crtn.S: Likewise.
41591         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41592         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41593         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41594         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41595         * sysdeps/sh/crti.S: Likewise.
41596         * sysdeps/sh/crtn.S: Likewise.
41597         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41598
41599         [BZ #13673]
41600         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41601         with URL.
41602         * locale/programs/locfile-kw.gperf: Likewise.
41603         * locale/programs/charmap-kw.h: Regenerated.
41604         * locale/programs/locfile-kw.h: Likewise.
41605
41606         [BZ #13673]
41607         * intl/plural.y: Replace FSF snail mail address with URL.
41608         * intl/plural.c: Regenerated.
41609
41610 2012-03-09  Richard Henderson  <rth@twiddle.net>
41611
41612         * include/math_private.h: Remove file.
41613         * math/math_private.h: Move file ...
41614         * sysdeps/generic/math_private.h: ... here.
41615
41616         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41617         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41618         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41619
41620         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41621         and <math_private.h>.
41622         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41623         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41624         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41625         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41626         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41627         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41628         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41630         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41631         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41633         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41634         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41636         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41637         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41638         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41639         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41640         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41641         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41643         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41644         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41645         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41646         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41647         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41648         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41649         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41650         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41651         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41652         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41654         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41665         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41666         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41677         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41678         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41679         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41680         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41681         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41682         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41683         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41685         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41686         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41687         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41688         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41689         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41691         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41692         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41693         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41700         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41701         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41702         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41703         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41705         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41706         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41708         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41709         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41710         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41711         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41712         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41713         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41714         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41715         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41716         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41717         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41718         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41719         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41720         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41721         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41722         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41723         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41724         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41725         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41726         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41727         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41728         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41729         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41730         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41732         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41733         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41734         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41735         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41736         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41737         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41738         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41739         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41740         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41741         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41742         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41743         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41744         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41745         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41746         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41747         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41748         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41749         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41750         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41751         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41752         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41753         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41754         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41755         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41756         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41757         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41758         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41759         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41760         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41761         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41762         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41763         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41764         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41765         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41766         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41767         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41768         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41769         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41770         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41771         * sysdeps/ieee754/k_standard.c: Likewise.
41772         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41773         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41774         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41775         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41776         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41777         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41778         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41779         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41780         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41782         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41783         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41784         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41785         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41786         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41787         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41788         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41789         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41790         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41791         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41792         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41795         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41796         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41797         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41798         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41799         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41800         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41801         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41802         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41803         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41804         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41805         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41806         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41807         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41808         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41809         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41810         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41811         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41812         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41813         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41814         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41815         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41816         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41817         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41818         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41819         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41820         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41821         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41822         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41823         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41824         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41825         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41826         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41827         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41828         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41829         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41830         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41831         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41832         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41833         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41834         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41835         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41836         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41837         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41838         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41839         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41840         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41841         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41842         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41844         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41848         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41849         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41850         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41851         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41852         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41853         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41854         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41855         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41856         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41857         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41858         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41859         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41860         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41862         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41863         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41864         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41865         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41866         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41867         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41868         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41869         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41870         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41871         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41873         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41874         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41876         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41877         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41879         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41880         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41881         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41883         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41884         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41885         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41886         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41887         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41891         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41892         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41894         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41895         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41899         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41904         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41905         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41906         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41907         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41908         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41909         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41910         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41911         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41912         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41913         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41914         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41915         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41916         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41917         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41918         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41919         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41920         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41921         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41922         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41923         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41924         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41925         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41926         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41927         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41928         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41929         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41930         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41931         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41932         * sysdeps/ieee754/s_lib_version.c: Likewise.
41933         * sysdeps/ieee754/s_matherr.c: Likewise.
41934         * sysdeps/ieee754/s_signgam.c: Likewise.
41935         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41936         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41937         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41938         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41939         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41940         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41941         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41942         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41943         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41944         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41945         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41946         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41947         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41948         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41949         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41950         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41951         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41952         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41953         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41954         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41955         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41956
41957 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41958
41959         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41960         * sunrpc/rpc_main.c: Likewise.
41961         * sunrpc/rpc_svcout.c: Likewise.
41962
41963 2012-03-09  David S. Miller  <davem@davemloft.net>
41964
41965         * include/math_private.h: New file.
41966
41967 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41968
41969         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41970         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41971         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41972         from <bits/socket_type.h>.
41973         (enum __socket_type): Don't define here.
41974         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41975         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41976         bits/socket_type.h.
41977
41978         [BZ #13566]
41979         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41980         checking __USE_GNU.
41981
41982         * Makerules ($(inst_includedir)/%.h): New rule.
41983         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41984         (install-others): Remove variable setting.
41985         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41986
41987 2012-03-08  Richard Henderson  <rth@twiddle.net>
41988
41989         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41990         from macro to inline function; merge with the
41991         !__LIBC_INTERNAL_MATH_INLINES version.
41992         (__ieee754_sqrtf): Likewise.
41993
41994         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41995         to inline function.
41996         (__rintf, __floor, __floorf): Likewise.
41997
41998         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41999         macro to inline function.
42000         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42001
42002         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42003         not <math/math_private.h>.
42004
42005 2012-03-08  David S. Miller  <davem@davemloft.net>
42006
42007         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42008         copyright year.
42009         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42010
42011 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42012
42013         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42014         normalization.
42015         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42016         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42017
42018 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42019
42020         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42021         be defined individually, they must be defined as a block.  Define
42022         S for printing a string instead of hidint the different by using a
42023         macro for adding the 'l'.
42024         * stdio-common/tst-fphex-wide.c: Adjust.
42025
42026 2012-03-07  Marek Polacek  <polacek@redhat.com>
42027
42028         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42029
42030 2012-03-08  Marek Polacek  <polacek@redhat.com>
42031
42032         [BZ #13806]
42033         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42034         * stdio-common/tst-fphex.c: Define a few macros to make the
42035         test reusable.  Use them.
42036         * stdio-common/tst-fphex-wide.c: New file.
42037
42038 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42039
42040         [BZ #6911]
42041         * manual/macros.texi (gnusystems): New macro.
42042         (nongnusystems): Likewise.
42043         (gnulinuxhurdsystems): Likewise.
42044         (gnuhurdsystems): Likewise..
42045         (gnulinuxsystems): Likewise.
42046         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42047         variants of the GNU system, not "GNU system".
42048         * manual/conf.texi: Likewise.
42049         * manual/errno.texi: Likewise.  Update example of errno macro
42050         expansion.
42051         * manual/filesys.texi: Likewise.
42052         (getumask): Document as specific to GNU/Hurd.
42053         * manual/install.texi: Likewise.  Reword some references to
42054         GNU/Linux.
42055         * manual/intro.texi: Likewise.
42056         * manual/io.texi: Likewise.
42057         (File Name Portability): Detail which constraints are inapplicable
42058         to all GNU systems and which are only inapplicable to GNU/Hurd.
42059         * manual/job.texi: Likewise.
42060         * manual/llio.texi: Likewise.
42061         (O_NOCTTY): Document as present on GNU/Linux.
42062         * manual/maint.texi: Likewise.
42063         * manual/memory.texi: Likewise.
42064         * manual/pattern.texi: Likewise.
42065         * manual/pipe.texi: Likewise.
42066         * manual/process.texi: Likewise.
42067         * manual/resource.texi: Likewise.
42068         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42069         child on GNU/Hurd.
42070         * manual/setjmp.texi: Likewise.
42071         * manual/signal.texi: Likewise.
42072         * manual/startup.texi: Likewise.
42073         * manual/stdio.texi: Likewise.
42074         * manual/terminal.texi: Likewise.
42075         (ONLCR): Document as POSIX.
42076         (OXTABS): Document availability on GNU/Linux as XTABS.
42077         (ONOEOT): Document availability separately from other bits.
42078         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42079         * manual/time.texi: Likewise.
42080         * manual/users.texi: Likewise.
42081         * INSTALL: Regenerated.
42082         * sysdeps/gnu/errlist.c: Regenerated.
42083
42084         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42085         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42086         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42087         puts.
42088         * configure: Regenerated.
42089
42090 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42091
42092         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42093         default includes instead of AC_HEADER_CHECK.
42094         * sysdeps/i386/configure: Regenerated.
42095
42096         [BZ #10716]
42097         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42098         * math/s_cacoshf.c (__cacoshf): Likewise.
42099         * math/s_cacoshl.c (__cacoshl): Likewise.
42100         * math/s_casinh.c (__casinh): Set signs of result from argument.
42101         * math/s_casinhf.c (__casinhf): Likewise.
42102         * math/s_casinhl.c (__casinhl): Likewise.
42103         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42104         (casinh_test): Add more tests.
42105         * sysdeps/i386/fpu/libm-test-ulps: Update.
42106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42107
42108 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42109
42110         * po/zh_TW.po: Update from translation team.
42111
42112         * login/Makefile (distribute): Remove variable.
42113         * catgets/Makefile: Likewise.
42114         * mach/Makefile: Likewise.
42115         * malloc/Makefile: Likewise.
42116         * misc/Makefile: Likewise.
42117         * iconv/Makefile: Likewise.
42118         * nscd/Makefile: Likewise.
42119         * hurd/Makefile: Likewise.
42120         * manual/Makefile: Likewise.
42121         * locale/Makefile: Likewise.
42122         * intl/Makefile: Likewise.
42123         * conform/Makefile: Likewise.
42124         * nss/Makefile: Likewise.
42125         * time/Makefile: Likewise.
42126         * soft-fp/Makefile: Likewise.
42127         * dirent/Makefile: Likewise.
42128         * gmon/Makefile: Likewise.
42129         * po/Makefile: Likewise.
42130         * rt/Makefile: Likewise.
42131         * socket/Makefile: Likewise.
42132         * math/Makefile: Likewise.
42133         * signal/Makefile: Likewise.
42134         * debug/Makefile: Likewise.
42135         * elf/Makefile: Likewise.
42136         * timezone/Makefile: Likewise.
42137         * stdlib/Makefile: Likewise.
42138         * iconvdata/Makefile: Likewise.
42139         * sunrpc/Makefile: Likewise.
42140         * io/Makefile: Likewise.
42141         * argp/Makefile: Likewise.
42142         * inet/Makefile: Likewise.
42143         * hesiod/Makefile: Likewise.
42144         * grp/Makefile: Likewise.
42145         * csu/Makefile: Likewise.
42146         * wctype/Makefile: Likewise.
42147         * crypt/Makefile: Likewise.
42148         * libio/Makefile: Likewise.
42149         * string/Makefile: Likewise.
42150         * nis/Makefile: Likewise.
42151         * resolv/Makefile: Likewise.
42152         * stdio-common/Makefile: Likewise.
42153         * wcsmbs/Makefile: Likewise.
42154         * dlfcn/Makefile: Likewise.
42155         * posix/Makefile: Likewise.
42156
42157         [BZ #6959]
42158         * timezone/Makefile: Don't install timezone files, just the programs
42159         and scripts.
42160
42161 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42162
42163         * nss/databases.def: Add missing gshadow entry.
42164
42165         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42166
42167 2012-03-06  Marek Polacek  <polacek@redhat.com>
42168
42169         [BZ #13726]
42170         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42171         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42172         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42173         * stdio-common/tst-long-dbl-fphex.c: New file.
42174
42175 2012-03-06  David S. Miller  <davem@davemloft.net>
42176
42177         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42178         (set_obp_int): New function.
42179         (get_obp_int): New function.
42180         (__get_clockfreq_via_dev_openprom): Likewise.
42181         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42182         Avoid unused variable warnings on 'val' and use builtin_expect.
42183         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42184         __builtin_expect.
42185         (INLINE_CLONE_SYSCALL): Likewise.
42186
42187 2012-03-05  David S. Miller  <davem@davemloft.net>
42188
42189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42190
42191 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42192
42193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42194
42195         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42196         only for |x| >= 40.
42197         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42198
42199 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42200
42201         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42202         Replace gettimeofday with __vdso_gettimeofday.
42203
42204         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42205         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42206         __vdso_clock_gettime and __vdso_getcpu.
42207
42208         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42209         time with __vdso_time.
42210
42211 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42212
42213         * manual/lang.texi (size_t): Note types to which size_t may be
42214         equivalent with the GNU C Library, but do not describe when
42215         differences between them are significant.
42216
42217 2012-03-05  Andreas Jaeger  <aj@suse.de>
42218
42219         * sysdeps/i386/fpu/libm-test-ulps: Update.
42220
42221 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42222
42223         [BZ #3976]
42224         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42225         (__ieee754_pow): Save and restore rounding mode and use
42226         round-to-nearest for main computations.
42227         * math/libm-test.inc (pow_test_tonearest): New function.
42228         (pow_test_towardzero): Likewise.
42229         (pow_test_downward): Likewise.
42230         (pow_test_upward): Likewise.
42231         (main): Call the new functions.
42232         * sysdeps/i386/fpu/libm-test-ulps: Update.
42233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42234
42235         [BZ #3976]
42236         * math/libm-test.inc (cosh_test_tonearest): New function.
42237         (cosh_test_towardzero): Likewise.
42238         (cosh_test_downward): Likewise.
42239         (cosh_test_upward): Likewise.
42240         (sinh_test_tonearest): Likewise.
42241         (sinh_test_towardzero): Likewise.
42242         (sinh_test_downward): Likewise.
42243         (sinh_test_upward): Likewise.
42244         (main): Call the new functions.
42245         * sysdeps/i386/fpu/libm-test-ulps: Update.
42246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42247
42248 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42249
42250         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42251         default stack guard is set in last bytes.
42252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42253
42254 2012-03-05  Kees Cook  <keescook@chromium.org>
42255
42256         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42257
42258         [BZ #13656]
42259         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42260         possibly allocate from heap instead of stack.
42261         * stdio-common/bug-vfprintf-nargs.c: New file.
42262         * stdio-common/Makefile (tests): Add nargs overflow test.
42263
42264 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42265
42266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42267
42268 2012-03-03  Marek Polacek  <polacek@redhat.com>
42269
42270         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42271         * math/math_private.h: Likewise.
42272         * stdlib/tst-strtod.c: Likewise.
42273         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42274         * sysdeps/x86_64/bits/atomic.h: Likewise.
42275
42276 2012-03-02  David S. Miller  <davem@davemloft.net>
42277
42278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42282         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42283         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42284         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42285         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42286
42287 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42288
42289         [BZ #13792]
42290         * manual/examples/README: New file, says the example source files
42291         can be used under GPL>=2.
42292         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42293         line containing just "*/".
42294         * manual/examples/add.c: Add copyright header (GPL>=2).
42295         * manual/examples/argp-ex1.c: Likewise.
42296         * manual/examples/argp-ex2.c: Likewise.
42297         * manual/examples/argp-ex3.c: Likewise.
42298         * manual/examples/argp-ex4.c: Likewise.
42299         * manual/examples/atexit.c: Likewise.
42300         * manual/examples/db.c: Likewise.
42301         * manual/examples/dir.c: Likewise.
42302         * manual/examples/dir2.c: Likewise.
42303         * manual/examples/execinfo.c: Likewise.
42304         * manual/examples/filecli.c: Likewise.
42305         * manual/examples/filesrv.c: Likewise.
42306         * manual/examples/fmtmsgexpl.c: Likewise.
42307         * manual/examples/genpass.c: Likewise.
42308         * manual/examples/inetcli.c: Likewise.
42309         * manual/examples/inetsrv.c: Likewise.
42310         * manual/examples/isockad.c: Likewise.
42311         * manual/examples/longopt.c: Likewise.
42312         * manual/examples/memopen.c: Likewise.
42313         * manual/examples/memstrm.c: Likewise.
42314         * manual/examples/mkfsock.c: Likewise.
42315         * manual/examples/mkisock.c: Likewise.
42316         * manual/examples/mygetpass.c: Likewise.
42317         * manual/examples/pipe.c: Likewise.
42318         * manual/examples/popen.c: Likewise.
42319         * manual/examples/rprintf.c: Likewise.
42320         * manual/examples/search.c: Likewise.
42321         * manual/examples/select.c: Likewise.
42322         * manual/examples/setjmp.c: Likewise.
42323         * manual/examples/sigh1.c: Likewise.
42324         * manual/examples/sigusr.c: Likewise.
42325         * manual/examples/stpcpy.c: Likewise.
42326         * manual/examples/strdupa.c: Likewise.
42327         * manual/examples/strftim.c: Likewise.
42328         * manual/examples/strncat.c: Likewise.
42329         * manual/examples/subopt.c: Likewise.
42330         * manual/examples/swapcontext.c: Likewise.
42331         * manual/examples/termios.c: Likewise.
42332         * manual/examples/testopt.c: Likewise.
42333         * manual/examples/testpass.c: Likewise.
42334         * manual/examples/timeval_subtract.c: Likewise.
42335
42336         [BZ #13792]
42337         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42338         function to ...
42339         * manual/timeval_subtract.c.texi: ... here, new file.
42340
42341 2012-03-02  David S. Miller  <davem@davemloft.net>
42342
42343         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42344
42345 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42346
42347         [BZ #3976]
42348         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42349         (__sin): Save and restore rounding mode and use round-to-nearest
42350         for all computations.
42351         (__cos): Save and restore rounding mode and use round-to-nearest
42352         for all computations.
42353         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42354         <fenv.h>.
42355         (tan): Save and restore rounding mode and use round-to-nearest for
42356         all computations.
42357         * math/libm-test.inc (cos_test_tonearest): New function.
42358         (cos_test_towardzero): Likewise.
42359         (cos_test_downward): Likewise.
42360         (cos_test_upward): Likewise.
42361         (sin_test_tonearest): Likewise.
42362         (sin_test_towardzero): Likewise.
42363         (sin_test_downward): Likewise.
42364         (sin_test_upward): Likewise.
42365         (tan_test_tonearest): Likewise.
42366         (tan_test_towardzero): Likewise.
42367         (tan_test_downward): Likewise.
42368         (tan_test_upward): Likewise.
42369         (main): Call the new functions.
42370         * sysdeps/i386/fpu/libm-test-ulps: Update.
42371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42372
42373         [BZ #10135]
42374         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42375         small n, then large n, before computing and testing k+n.
42376         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42377         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42378         Likewise.
42379         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42380         Likewise.
42381         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42382         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42383         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42384         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42387         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42388         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42389         * math/libm-test.inc (scalbn_test): Add more tests.
42390         (scalbln_test): Likewise.
42391
42392         * manual/filesys.texi (mode_t): Describe constraints on size and
42393         signedness, not exact equivalence to a particular type.
42394         (ino_t): Likewise.
42395         (ino64_t): Likewise.
42396         (dev_t): Likewise.
42397         (nlink_t): Likewise.
42398         (blkcnt_t): Likewise.
42399         (blkcnt64_t): Likewise.
42400         * manual/llio.texi (off_t): Likewise.
42401
42402         [BZ #3976]
42403         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42404         (__ieee754_exp): Save and restore rounding mode and use
42405         round-to-nearest for all computations.
42406         * math/libm-test.inc (exp_test_tonearest): New function.
42407         (exp_test_towardzero): Likewise.
42408         (exp_test_downward): Likewise.
42409         (exp_test_upward): Likewise.
42410         (main): Call the new functions.
42411         * sysdeps/i386/fpu/libm-test-ulps: Update.
42412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42413
42414 2012-03-01  Chris Demetriou  <cgd@google.com>
42415
42416         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42417         have predictable order.
42418
42419 2012-03-01  David S. Miller  <davem@davemloft.net>
42420
42421         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42422
42423         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42424         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42425         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42426         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42427
42428         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42429         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42430         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42432         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42433         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42434         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42435         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42436         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42437
42438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42439
42440         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42441         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42442         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42443
42444         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42445         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42446         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42447         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42448         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42449         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42450         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42451         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42452         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42453         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42454         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42455         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42457         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42458         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42460         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42461         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42462         * sysdeps/sparc/elf/configure: Regenerated.
42463
42464 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42465
42466         * configure.in (AS, LD): Require binutils 2.20 or later.
42467         * configure: Regenerated.
42468         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42469         as required minimum version.
42470         * INSTALL: Regenerated.
42471
42472         [BZ #2541]
42473         [BZ #4108]
42474         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42475         before squaring exponent.
42476         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42477         bottom long double and 27 bits of top long double before squaring
42478         exponent.
42479         * math/libm-test.inc (erfc_test): Add more tests.
42480         * sysdeps/i386/fpu/libm-test-ulps: Update.
42481         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42483
42484 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42485
42486         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42487         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42488         containing bit-fields.
42489         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42490         * soft-fp/single.h (_FP_UNION_S): Likewise.
42491         * soft-fp/double.h (_FP_UNION_D): Likewise.
42492
42493 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42494
42495         [BZ #13786]
42496         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42497         not include ../strcmp.S.
42498         [USE_AS_STRNCASECMP_L]: Likewise.
42499         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42500         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42501         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42502         (__strncasecmp_l_ia32): Define as alias to
42503         __strncasecmp_l_nonascii.
42504
42505         [BZ #5794]
42506         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42507         * sysdeps/i386/fpu/libm-test-ulps: Update.
42508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42509
42510         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42512
42513 2012-02-29  Jeff Law  <law@redhat.com>
42514
42515         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42516         out of bounds read.
42517
42518 2012-02-29  Marek Polacek  <polacek@redhat.com>
42519
42520         [BZ #13706]
42521         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42522         * elf/Makefile: Add rules to run tst-unused-dep.out.
42523
42524 2012-02-28  David S. Miller  <davem@davemloft.net>
42525
42526         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42527         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42530         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42531         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42532
42533 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42534
42535         * math/libm-test.inc (llround_test): Move one test from
42536         lround_test.  Use TEST_f_L in moved test.
42537         (lround_test): Move misplaced test to llround_test.  Add testcase
42538         from bug 2561.
42539
42540 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42541
42542         * sysdeps/x86_64/fpu/e_expf.S: New file.
42543         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42544
42545 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42546
42547         [BZ #13637]
42548         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42549         of remain_len that may cause incomplete multi-byte character and
42550         false match.
42551         * posix/bug-regex33.c: New file.
42552         * posix/Makefile (tests): Add bug-regex33.
42553
42554 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42555
42556         * manual/macros.texi: New file.
42557         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42558         * manual/libc.texinfo: Include macros.texi.
42559         * manual/creatute.texi: Likewise.
42560         * manual/install.texi: Likewise.
42561         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42562         @glibcadj{} in references to the GNU C Library.
42563         * manual/charset.texi: Likewise.
42564         * manual/conf.texi: Likewise.
42565         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42566         when not using those macros.
42567         * manual/creature.texi: Likewise.
42568         * manual/crypt.texi: Likewise.
42569         * manual/errno.texi: Likewise.
42570         * manual/filesys.texi: Likewise.
42571         * manual/header.texi: Likewise.
42572         * manual/install.texi: Likewise.
42573         * manual/intro.texi: Likewise.
42574         * manual/io.texi: Likewise.
42575         * manual/job.texi: Likewise.
42576         * manual/lang.texi: Likewise.
42577         * manual/libc.texiinfo: Likewise.
42578         * manual/llio.texi: Likewise.
42579         * manual/locale.texi: Likewise.
42580         * manual/maint.texi: Likewise.
42581         * manual/math.texi: Likewise.
42582         * manual/memory.texi: Likewise.
42583         * manual/message.texi: Likewise.
42584         * manual/nss.texi: Likewise.
42585         * manual/pattern.texi: Likewise.
42586         * manual/process.texi: Likewise.
42587         * manual/resource.texi: Likewise.
42588         * manual/search.texi: Likewise.
42589         * manual/setjmp.texi: Likewise.
42590         * manual/signal.texi: Likewise.
42591         * manual/socket.texi: Likewise.
42592         * manual/startup.texi: Likewise.
42593         * manual/stdio.texi: Likewise.
42594         * manual/string.texi: Likewise.
42595         * manual/sysinfo.texi: Likewise.
42596         * manual/syslog.texi: Likewise.
42597         * manual/terminal.texi: Likewise.
42598         * manual/time.texi: Likewise.
42599         * manual/users.texi: Likewise.
42600         * INSTALL: Regenerated.
42601         * NOTES: Regenerated.
42602         * sysdeps/gnu/errlist.c: Regenerated.
42603
42604 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42605
42606         * include/dirent.h: Include <dirstream.h> before
42607         <dirent/dirent.h>.
42608
42609 2012-02-28  David S. Miller  <davem@davemloft.net>
42610
42611         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42612         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42613         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42614         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42615
42616 2012-02-27  David S. Miller  <davem@davemloft.net>
42617
42618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42620         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42621         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42622
42623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42624         frame pointer instead of stack pointer relative arg slot.
42625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42626         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42627         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42628
42629 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42630
42631         [BZ #3992]
42632         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42633
42634 2012-02-27  David S. Miller  <davem@davemloft.net>
42635
42636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42640         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42641         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42642         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42643         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42644
42645 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42646
42647         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42648         later.  Allow versions 5-9.
42649         * configure: Regenerated.
42650         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42651         required minimum version and 4.6 as recommended version.  Do not
42652         mention bugs in GCC 2.7 and 2.8.
42653         * INSTALL: Regenerated.
42654
42655 2012-02-27  David S. Miller  <davem@davemloft.net>
42656
42657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42661         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42662         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42663         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42664         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42665
42666         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42667         manipulate bits before adding and subtracting TWO112[sx].
42668         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42669
42670 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42671
42672         [BZ #13775]
42673         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42674         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42675         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42676         being in POSIX, because they are in 1003.1-2008.
42677
42678         * rt/tst-aio.c: Include <fcntl.h>.
42679         * rt/tst-aio7.c: Likewise.
42680         * rt/tst-aio64.c: Likewise.
42681
42682         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42683
42684 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42685
42686         * manual/install.texi (--with-headers): Describe headers as
42687         interface headers, not private headers.
42688         (Specific advice for GNU/Linux systems): Describe use of headers
42689         from "make headers_install", not private headers from older
42690         kernels.
42691         * INSTALL: Regenerated.
42692         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42693         Change to 2.6.19.
42694         * sysdeps/unix/sysv/linux/configure: Regenerated.
42695
42696         * manual/llio.texi (fclean): Remove documentation.
42697
42698         * manual/Makefile (libc-texi-generated): New variable.  Include
42699         version.texi.
42700         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42701         $(libc-texi-generated), not duplicated list of files.
42702         (version.texi, stamp-version): New rules.
42703         (realclean): Remove $(libc-texi-generated), not individual files
42704         from that list.  Do not remove dir-add.texinfo.
42705         * manual/libc.texinfo: Comment out uses of edition numbers and
42706         references to printed manual.  Remove last-updated dates.
42707         (EDITION): Comment out.
42708         (ISBN): Likewise.
42709         (VERSION, UPDATED): Remove.
42710         (version.texi): Include.
42711
42712 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42713
42714         * sysdeps/posix/spawni.c: Include <signal.h>.
42715         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42716         * sysdeps/pthread/aio_fsync.c: Likewise.
42717
42718 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42719
42720         * conform/Makefile (tests): Run only when not cross-compiling and
42721         when fast-check is not defined.
42722
42723         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42724         * conform/data/limits.h-data: Fixes for POSIX2008.
42725         * conform/run-conformtest.sh: Run all tests.
42726         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42727         headers.
42728         * include/bits/dlfcn.h: Likewise.
42729         * include/langinfo.h: Likewise.
42730         * include/monetary.h: Likewise.
42731         * include/sys/poll.h: Likewise.
42732
42733         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42734         for __USE_GNU.
42735         * posix/spawn.h: Define __need_sigset_t.
42736         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42737         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42738         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42739         to get sigevent_t only.
42740         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42741         only for __USE_GNU.
42742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42743         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42744         process_vm_writev only for __USE_GNU.
42745         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42746
42747         * conform/Makefile: For now ignore errors from run-conformtest.
42748         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42749         POSIX to avoid namespace pollution.  Don't prepend headers.
42750         * conform/data/aio.h-data: Fixes for POSIX testing.
42751         * conform/data/fcntl.h-data: Likewise.
42752         * conform/data/glob.h-data: Likewise.
42753         * conform/data/grp.h-data: Likewise.
42754         * conform/data/pthread.h-data: Likewise.
42755         * conform/data/pwd.h-data: Likewise.
42756         * conform/data/signal.h-data: Likewise.
42757         * conform/data/spawn.h-data: Likewise.
42758         * conform/data/stdio.h-data: Likewise.
42759         * conform/data/stdlib.h-data: Likewise.
42760         * conform/data/stropts.h-data: Likewise.
42761         * conform/data/sys/mman.h-data: Likewise.
42762         * conform/data/sys/stat.h-data: Likewise.
42763         * conform/data/sys/types.h-data: Likewise.
42764         * conform/data/sys/wait.h-data: Likewise.
42765         * conform/data/time.h-data: Likewise.
42766         * conform/data/unistd.h-data: Likewise.
42767         * conform/data/utime.h-data: Likewise.
42768
42769         * io/sys/stat.h: fchmod was always in POSIX.
42770         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42771         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42772         * rt/aio.h: Define __need_timespec before including <time.h>.
42773         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42774         struct.  Add forward declaration of pthread_attr_t and use it in
42775         sigevent.
42776         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42777         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42778         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42779         always remove CLK_TCK definition.
42780
42781 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42782
42783         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42784
42785 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42786
42787         * conform/run-conformtest.sh: New file.
42788         * conform/Makefile: Run run-conformtest for tests.
42789         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42790         support.
42791
42792         * conform/data/uchar.h-data: New file.
42793         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42794         * conform/data/arpa/inet.h-data: Likewise.
42795         * conform/data/assert.h-data: Likewise.
42796         * conform/data/complex.h-data: Likewise.
42797         * conform/data/cpio.h-data: Likewise.
42798         * conform/data/ctype.h-data: Likewise.
42799         * conform/data/dirent.h-data: Likewise.
42800         * conform/data/dlfcn.h-data: Likewise.
42801         * conform/data/errno.h-data: Likewise.
42802         * conform/data/fcntl.h-data: Likewise.
42803         * conform/data/float.h-data: Likewise.
42804         * conform/data/fmtmsg.h-data: Likewise.
42805         * conform/data/fnmatch.h-data: Likewise.
42806         * conform/data/ftw.h-data: Likewise.
42807         * conform/data/glob.h-data: Likewise.
42808         * conform/data/grp.h-data: Likewise.
42809         * conform/data/iconv.h-data: Likewise.
42810         * conform/data/inttypes.h-data: Likewise.
42811         * conform/data/langinfo.h-data: Likewise.
42812         * conform/data/libgen.h-data: Likewise.
42813         * conform/data/limits.h-data: Likewise.
42814         * conform/data/locale.h-data: Likewise.
42815         * conform/data/math.h-data: Likewise.
42816         * conform/data/monetary.h-data: Likewise.
42817         * conform/data/mqueue.h-data: Likewise.
42818         * conform/data/ndbm.h-data: Likewise.
42819         * conform/data/net/if.h-data: Likewise.
42820         * conform/data/netdb.h-data: Likewise.
42821         * conform/data/netinet/in.h-data: Likewise.
42822         * conform/data/nl_types.h-data: Likewise.
42823         * conform/data/poll.h-data: Likewise.
42824         * conform/data/pthread.h-data: Likewise.
42825         * conform/data/pwd.h-data: Likewise.
42826         * conform/data/regex.h-data: Likewise.
42827         * conform/data/sched.h-data: Likewise.
42828         * conform/data/search.h-data: Likewise.
42829         * conform/data/semaphore.h-data: Likewise.
42830         * conform/data/setjmp.h-data: Likewise.
42831         * conform/data/signal.h-data: Likewise.
42832         * conform/data/spawn.h-data: Likewise.
42833         * conform/data/stdarg.h-data: Likewise.
42834         * conform/data/stdio.h-data: Likewise.
42835         * conform/data/stdlib.h-data: Likewise.
42836         * conform/data/string.h-data: Likewise.
42837         * conform/data/strings.h-data: Likewise.
42838         * conform/data/stropts.h-data: Likewise.
42839         * conform/data/sys/ipc.h-data: Likewise.
42840         * conform/data/sys/mman.h-data: Likewise.
42841         * conform/data/sys/msg.h-data: Likewise.
42842         * conform/data/sys/resource.h-data: Likewise.
42843         * conform/data/sys/select.h-data: Likewise.
42844         * conform/data/sys/sem.h-data: Likewise.
42845         * conform/data/sys/shm.h-data: Likewise.
42846         * conform/data/sys/socket.h-data: Likewise.
42847         * conform/data/sys/stat.h-data: Likewise.
42848         * conform/data/sys/statvfs.h-data: Likewise.
42849         * conform/data/sys/time.h-data: Likewise.
42850         * conform/data/sys/timeb.h-data: Likewise.
42851         * conform/data/sys/times.h-data: Likewise.
42852         * conform/data/sys/types.h-data: Likewise.
42853         * conform/data/sys/uio.h-data: Likewise.
42854         * conform/data/sys/un.h-data: Likewise.
42855         * conform/data/sys/utsname.h-data: Likewise.
42856         * conform/data/sys/wait.h-data: Likewise.
42857         * conform/data/syslog.h-data: Likewise.
42858         * conform/data/tar.h-data: Likewise.
42859         * conform/data/termios.h-data: Likewise.
42860         * conform/data/utime.h-data: Likewise.
42861         * conform/data/utmpx.h-data: Likewise.
42862         * conform/data/varargs.h-data: Likewise.
42863         * conform/data/wchar.h-data: Likewise.
42864         * conform/data/wctype.h-data: Likewise.
42865         * conform/data/wordexp.h-data: Likewise.
42866
42867         * include/stropts.h: New file.
42868         * include/uchar.h: New file.
42869         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42870         * include/assert.h: Likewise.
42871         * include/ctype.h: Likewise.
42872         * include/dirent.h: Likewise.
42873         * include/dlfcn.h: Likewise.
42874         * include/fcntl.h: Likewise.
42875         * include/fnmatch.h: Likewise.
42876         * include/glob.h: Likewise.
42877         * include/grp.h: Likewise.
42878         * include/libio.h: Likewise.
42879         * include/locale.h: Likewise.
42880         * include/math.h: Likewise.
42881         * include/net/if.h: Likewise.
42882         * include/netdb.h: Likewise.
42883         * include/netinet/in.h: Likewise.
42884         * include/pthread.h: Likewise.
42885         * include/pwd.h: Likewise.
42886         * include/regex.h: Likewise.
42887         * include/sched.h: Likewise.
42888         * include/search.h: Likewise.
42889         * include/setjmp.h: Likewise.
42890         * include/signal.h: Likewise.
42891         * include/stdio.h: Likewise.
42892         * include/stdlib.h: Likewise.
42893         * include/string.h: Likewise.
42894         * include/sys/cdefs.h: Likewise.
42895         * include/sys/mman.h: Likewise.
42896         * include/sys/msg.h: Likewise.
42897         * include/sys/resource.h: Likewise.
42898         * include/sys/select.h: Likewise.
42899         * include/sys/socket.h: Likewise.
42900         * include/sys/stat.h: Likewise.
42901         * include/sys/statvfs.h: Likewise.
42902         * include/sys/time.h: Likewise.
42903         * include/sys/times.h: Likewise.
42904         * include/sys/uio.h: Likewise.
42905         * include/sys/utsname.h: Likewise.
42906         * include/sys/wait.h: Likewise.
42907         * include/termios.h: Likewise.
42908         * include/time.h: Likewise.
42909         * include/ulimit.h: Likewise.
42910         * include/unistd.h: Likewise.
42911         * include/utime.h: Likewise.
42912         * include/wchar.h: Likewise.
42913         * include/wctype.h: Likewise.
42914         * include/wordexp.h: Likewise.
42915
42916         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42917
42918         * time/time.h: TIME_UTC must be a macro.
42919         Make timespec_get available for ISO C11 only as well.
42920
42921 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42922
42923         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42924         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42925
42926 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42927
42928         * configure.in: Use -o not -a in test for unsupported multi-arch.
42929
42930 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42931
42932         * manual/texinfo.tex: Update to version 2012-01-19.16.
42933
42934 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42935
42936         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42937
42938 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42939
42940         [BZ #13738]
42941         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42942         * manual/fdl-1.3.texi: New file.
42943         * manual/fdl-1.1.texi: File removed.
42944
42945         [BZ #13738]
42946         * manual/libc.texinfo (FDL_VERSION): New @set.
42947         Use it for mention of FDL in cover text.
42948         (Documentation License): Use it in @include file name.
42949
42950 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42951             Roland McGrath  <roland@hack.frob.com>
42952
42953         [BZ #5461]
42954         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42955         (not LONG_LONG_MAX and LONG_LONG_MIN.
42956         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42957         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42958         name.
42959         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42960
42961 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42962
42963         [BZ #2547]
42964         [BZ #11365]
42965         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42966         manipulate bits before adding and subtracting TWO23[sx].
42967         * math/libm-test.inc (nearbyint_test): Add more tests.
42968
42969 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42970
42971         [BZ #2548]
42972         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42973         bits before adding and subtracting TWO23[sx].
42974         * math/libm-test.inc (rint_test): Add more tests.
42975         (rint_test_tonearest): Likewise.
42976         (rint_test_towardzero): Likewise.
42977         (rint_test_downward): Likewise.
42978         (rint_test_upward: Likewise.
42979
42980 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42981
42982         [BZ #10110]
42983         * include/stdc-predef.h: New file.  Extracted from features.h.
42984         * include/features.h: Include stdc-predef.h.
42985         * Makefile (headers): Add stdc-predef.h.
42986         * CONFORMANCE (Compiler limitations): Update.
42987
42988 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42989
42990         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42991
42992 2012-02-21  David S. Miller  <davem@davemloft.net>
42993
42994         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42995         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42996
42997 2012-02-20  David S. Miller  <davem@davemloft.net>
42998
42999         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43000         using a normal save/restore sequence, rather than allocating a
43001         dummy stack frame just to store a frame pointer and restore.
43002         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43003
43004 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43005
43006         * manual/install.texi: Fix stray word in line-wrapped comment.
43007
43008 2012-02-20  David S. Miller  <davem@davemloft.net>
43009
43010         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43011         both binutils and gcc support GOTDATA.
43012
43013         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43014         "rd %pc" in the PIC register setup sequences.
43015
43016         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43017         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43018         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43019         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43020         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43022         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43023         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43025         (SYSCALL_ERROR_HANDLER): Likewise.
43026         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43027         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43029         (SYSCALL_ERROR_HANDLER): Likewise.
43030
43031         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43032         (HAVE_GCC_GOTDATA): New.
43033         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43034         relocation support in both binutils and gcc.
43035         * sysdeps/sparc/elf/configure: Regenerate.
43036
43037         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43038         * sysdeps/sparc/sparc32/elf/configure: Delete.
43039         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43040         * sysdeps/sparc/sparc64/elf/configure: Delete.
43041         * sysdeps/sparc/elf/configure.in: New file.
43042         * sysdeps/sparc/elf/configure: Generate.
43043
43044         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43045         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43046         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43047         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43048         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43049
43050 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43051
43052         * manual/install.texi: Do not mention specific glibc version
43053         numbers.
43054         * manual/libc.texinfo (VERSION, UPDATED): Update.
43055         (@copying): Use @copyright{} and range of years.
43056
43057 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43058
43059         [BZ #13695]
43060         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43061         [crti.S not in sysdirs] (generated): Do not append.
43062         [crti.S not in sysdirs] (omit-deps): Likewise.
43063         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43064         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43065         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43066         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43067         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43068         Likewise.
43069         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43070         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43071         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43072         * csu/defs.awk: Remove file.
43073         * sysdeps/generic/initfini.c: Likewise.
43074         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43075         variable.
43076         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43077         Likewise.
43078
43079 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43080
43081         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43082         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43083         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43084         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43085         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43086         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43087         <bits/epoll.h>.
43088         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43089         (__EPOLL_PACKED): Define to empty if not defined by
43090         <bits/epoll.h>.
43091         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43093         bits/epoll.h.
43094
43095 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43096
43097         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43098         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43099         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43100         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43101         <bits/timerfd.h>.
43102         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43104         bits/timerfd.h.
43105
43106 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43107
43108         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43109         in C locale.
43110         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43111         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43112         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43114
43115 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43116
43117         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43118         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43119
43120 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43121
43122         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43123         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43124         defined.
43125         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43126         Likewise.
43127         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43128         entry for 2.16.
43129
43130 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43131
43132         * math/w_acos.c: Use non-signaling floating-point comparisons.
43133         * math/w_acosf.c: Likewise.
43134         * math/w_acosh.c: Likewise.
43135         * math/w_acoshf.c: Likewise.
43136         * math/w_acoshl.c: Likewise.
43137         * math/w_acosl.c: Likewise.
43138         * math/w_asin.c: Likewise.
43139         * math/w_asinf.c: Likewise.
43140         * math/w_asinl.c: Likewise.
43141         * math/w_atanh.c: Likewise.
43142         * math/w_atanhf.c: Likewise.
43143         * math/w_atanhl.c: Likewise.
43144         * math/w_exp2.c: Likewise.
43145         * math/w_exp2f.c: Likewise.
43146         * math/w_exp2l.c: Likewise.
43147         * math/w_j0.c: Likewise.
43148         * math/w_j0f.c: Likewise.
43149         * math/w_j0l.c: Likewise.
43150         * math/w_j1.c: Likewise.
43151         * math/w_j1f.c: Likewise.
43152         * math/w_j1l.c: Likewise.
43153         * math/w_jn.c: Likewise.
43154         * math/w_jnf.c: Likewise.
43155         * math/w_log.c: Likewise.
43156         * math/w_log10.c: Likewise.
43157         * math/w_log10f.c: Likewise.
43158         * math/w_log10l.c: Likewise.
43159         * math/w_log2.c: Likewise.
43160         * math/w_log2f.c: Likewise.
43161         * math/w_log2l.c: Likewise.
43162         * math/w_logf.c: Likewise.
43163         * math/w_logl.c: Likewise.
43164         * math/w_sqrt.c: Likewise.
43165         * math/w_sqrtf.c: Likewise.
43166         * math/w_sqrtl.c: Likewise.
43167         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43168         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43169         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43170         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43171         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43172
43173 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43174
43175         [BZ #9739]
43176         * manual/string.texi (strnlen): Use correct parameter name in
43177         equivalent expression.
43178
43179 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43180
43181         [BZ #11174]
43182         * manual/users.texi (seteuid): Consistently use neweuid for
43183         argument name.
43184
43185 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43186
43187         [BZ #13704]
43188         * manual/nss.texi (Services in the NSS configuration): Correct
43189         list of services in example configuration file.
43190
43191 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43192
43193         [BZ #11322]
43194         * manual/arith.texi: Remove statements about negative zero
43195         behaving identically to zero.
43196
43197 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43198
43199         [BZ #5993]
43200         * manual/install.texi: Do not document upgrading from libc5.
43201
43202 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43203
43204         [BZ #4596]
43205         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43206
43207 2012-02-18  David S. Miller  <davem@davemloft.net>
43208
43209         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43210         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43211         %o7 across the call.
43212         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43213         instead.
43214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43215         SETUP_PIC_REG_LEAF.
43216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43217         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43218         * sysdeps/sparc/crtn.S: Likewise.
43219
43220 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43221
43222         * aout/Makefile: Remove.
43223
43224 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43225
43226         [BZ #13058]
43227         * manual/examples/argp-ex1.c (main): Format definition in GNU
43228         style.
43229         * manual/examples/argp-ex2.c (main): Likewise.
43230         * manual/examples/argp-ex3.c (main): Likewise.
43231         * manual/examples/argp-ex4.c (main): Likewise.
43232         * manual/examples/longopt.c (main): Use new-style prototype
43233         definition.
43234         * manual/examples/strncat.c (main): Specify return type and use
43235         (void) for arguments.
43236         * manual/examples/subopt.c (main): Use char **argv argument.
43237
43238 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43239
43240         [BZ #5077]
43241         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43242         rounding modes.
43243
43244 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43245
43246         [BZ #6907]
43247         * manual/string.texi (strchr): Change when strchrnul is
43248         recommended.
43249
43250 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43251
43252         [BZ #174]
43253         * manual/locale.texi (setlocale): Document LOCPATH.
43254
43255 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43256
43257         [BZ #10210]
43258         * manual/process.texi (execle): Move @dots{} before last argument.
43259
43260 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43261
43262         [BZ #12047]
43263         * manual/charset.texi (Generic Charset Conversion): Fix typo
43264         (LC_TYPE -> LC_CTYPE).
43265
43266 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43267
43268         [BZ #5805]
43269         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43270         (scalbnf): Likewise.
43271         (scalbnl): Likewise.
43272         (scalbln): Likewise.
43273         (scalblnf): Likewise.
43274         (scalblnl): Likewise.
43275         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43276         (vwarnx): Likewise.
43277         (verr): Likewise.
43278         (verrx): Likewise.
43279         * manual/filesys.texi (telldir): Use braces around return type.
43280         * manual/llio.texi (mmap): Add space after comma.
43281         (mmap64): Likewise.
43282         * manual/math.texi (jn): Use @var{} on parameter names.
43283         (jnf): Likewise.
43284         (jnl): Likewise.
43285         (yn): Likewise.
43286         (ynf): Likewise.
43287         (ynl): Likewise.
43288         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43289         line.
43290         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43291         "...".
43292         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43293         (sched_get_priority_max): Likewise.
43294         * manual/signal.texi (sigvec): Add space after comma.
43295         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43296         names.
43297         (if_indextoname): Likewise.
43298         (if_freenameindex): Likewise.
43299         (sendto): Use ',' instead of '.' in prototype.
43300         * manual/startup.texi (syscall): Use @dots{} instead of literal
43301         "...".
43302         * manual/stdio.texi (__fpending): Separate initial words of
43303         paragraph from @deftypefun line.
43304         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43305         "...".
43306         (vsyslog): Use @var{} on parameter names.
43307         * manual/terminal.texi (stty): Use @var{} on parameter names.
43308         * manual/users.texi (getutmp): Use @var{} on parameter names.
43309         (getutmpx): Likewise.
43310
43311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43312
43313         [BZ #6884]
43314         * manual/stdio.texi (fopen): Fix typos in description of
43315         ",ccs=STRING".
43316
43317 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43318
43319         [BZ #4026]
43320         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43321         get clock_id definition.
43322
43323 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43324
43325         [BZ #4822]
43326         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43327         (madvise): Cast every argument to void on its own.
43328
43329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43330
43331         [BZ #9902]
43332         * manual/startup.texi (Exit Status): Fix typo.
43333
43334 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43335
43336         [BZ #10140]
43337         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43338         * manual/examples/argp-ex2.c: Likewise.
43339         * manual/examples/argp-ex3.c: Likewise.
43340
43341 2012-02-16  Richard Henderson  <rth@redhat.com>
43342
43343         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43344         * sysdeps/s390/s390-32/initfini.c: Remove.
43345         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43346         * sysdeps/s390/s390-64/initfini.c: Remove.
43347
43348 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43349
43350         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43351         compiler output for sysdeps/generic/initfini.c.
43352         * sysdeps/sh/elf/initfini.c: Remove file.
43353
43354 2012-02-16  David S. Miller  <davem@davemloft.net>
43355
43356         [BZ #11494]
43357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43358
43359         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43360         * sysdeps/sparc/crti.S: New file.
43361         * sysdeps/sparc/crtn.S: New file.
43362         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43363         * sysdeps/sparc/sparc64/Makefile: Likewise.
43364
43365 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43366
43367         [BZ #3335]
43368         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43369
43370 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43371
43372         [BZ #4822]
43373         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43374
43375         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43376         (write, read, close): Likewise.
43377         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43378
43379 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43380
43381         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43382         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43383         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43384         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43385         <bits/signalfd.h>.
43386         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43388         bits/signalfd.h.
43389
43390 2012-02-14  Marek Polacek  <polacek@redhat.com>
43391
43392         * sysdeps/x86_64/crti.S: New file.
43393         * sysdeps/x86_64/crtn.S: New file.
43394         * sysdeps/x86_64/elf/initfini.c: Remove file.
43395
43396 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43397
43398         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43399         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43400         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43401         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43402         <bits/inotify.h>.
43403         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43405         bits/inotify.h.
43406
43407 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43408
43409         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43410         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43411         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43412         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43413         <bits/eventfd.h>.
43414         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43416         bits/eventfd.h.
43417
43418 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43419
43420         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43421         __feraiseexcept instead of feraiseexcept.
43422
43423         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43424         nanosleep invocations.
43425         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43426         strings, and add error checking for a nanosleep invocations.
43427
43428 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43429
43430         Replace FSF snail mail address with URLs, as per GNU coding standards.
43431         Most of the snail mail addresses were wrong anyway, and omitting
43432         them makes the source code easier to maintain.  Almost all of the
43433         changes are to license notices and to locale LC_IDENTIFICATION
43434         addresses, except for this one:
43435         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43436         not its snail mail address.
43437
43438 2012-02-09  Richard Henderson  <rth@twiddle.net>
43439
43440         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43441         of kernel-features.h.
43442
43443         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43444
43445 2012-02-08  Marek Polacek  <polacek@redhat.com>
43446
43447         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43448         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43449         * sysdeps/gnu/_G_config.h: Likewise.
43450         * sysdeps/generic/_G_config.h: Likewise.
43451
43452 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43453
43454         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43455         tests.
43456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43457
43458         * sysdeps/powerpc/powerpc32/crti.S: New file.
43459         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43460         * sysdeps/powerpc/powerpc64/crti.S: New file.
43461         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43462
43463         * Makeconfig (have-initfini): Don't set.
43464         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43465         * configure.in (nopic_initfini): Don't substitute.
43466         * config.h.in (HAVE_INITFINI): Don't #undef.
43467         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43468         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43469
43470 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43471
43472         Support crti.S and crtn.S provided directly by architectures.
43473         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43474         [crti.S in sysdirs] (omit-deps): Likewise.
43475         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43476         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43477         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43478         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43479         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43480         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43481         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43482         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43483         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43484         compiler output for sysdeps/generic/initfini.c.
43485         * sysdeps/i386/elf/Makefile: Remove file.
43486         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43487
43488 2012-02-07  Marek Polacek  <polacek@redhat.com>
43489
43490         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43491         * sysdeps/gnu/_G_config.h: Likewise.
43492         * sysdeps/mach/hurd/_G_config.h: Likewise.
43493
43494 2012-02-07  Marek Polacek  <polacek@redhat.com>
43495
43496         * math/Makefile (tests): Add tst-CMPLX2.
43497         * math/tst-CMPLX2.c: New file.
43498
43499 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43500
43501         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43502
43503         * math/libm-test.inc (jn_test): Add missing L suffix.
43504
43505 2012-02-06  Marek Polacek  <polacek@redhat.com>
43506
43507         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43508         * sysdeps/i386/fpu/e_powf.S: Likewise.
43509         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43510         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43511         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43512         * sysdeps/i386/fpu/e_pow.S: Likewise.
43513         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43514         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43515         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43516         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43517         * sysdeps/i386/fpu/e_log2.S: Likewise.
43518         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43519         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43520         * sysdeps/i386/fpu/e_powl.S: Likewise.
43521         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43522         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43523         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43524         * sysdeps/i386/fpu/e_logl.S: Likewise.
43525         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43526         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43527         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43528         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43529         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43530         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43531         * sysdeps/i386/fpu/e_log.S: Likewise.
43532         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43533         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43534         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43535         * sysdeps/i386/fpu/e_logf.S: Likewise.
43536         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43537         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43538         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43539         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43540         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43541         * sysdeps/i386/fpu/e_log10.S: Likewise.
43542         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43543         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43544         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43545         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43546         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43547         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43548         * sysdeps/i386/asm-syntax.h: Likewise.
43549         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43550         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43551         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43552         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43553         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43554         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43555         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43556         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43557         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43558         * sysdeps/powerpc/sysdep.h: Likewise.
43559         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43560         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43561
43562 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43563
43564         [BZ #411]
43565         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43566
43567 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43568
43569         * sysdeps/i386/sysdep.h: Include <features.h>.
43570         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43571         version.
43572
43573 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43574
43575         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43576         Define.
43577         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43578         LOAD_PIC_REG_STR.
43579
43580 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43581
43582         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43583         (SETUP_PIC_REG): Use GET_PC_THUNK.
43584         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43585         macro.
43586
43587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43588
43589         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43590         for non-PIC compilation.
43591         (SETUP_PIC_REG): Add .p2align directive.
43592         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43593         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43594         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43595         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43596         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43597         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43598         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43599         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43600         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43601         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43602         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43603         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43604         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43605         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43606         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43607         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43608         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43609         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43610         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43611         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43612         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43613         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43614         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43615         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43616         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43617         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43618         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43619         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43620         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43621         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43622         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43623         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43624         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43625         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43626         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43627         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43628         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43629         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43630         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43631         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43632         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43633
43634 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43635
43636         * math/tst-CMPLX.c: Include <stdio.h>.
43637
43638 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43639
43640         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43641         float.
43642         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43643         * sysdeps/sparc/bits/mathdef.h: Likewise.
43644
43645 2012-01-31  Marek Polacek  <polacek@redhat.com>
43646
43647         * libio/libio.h: Don't define _PARAMS.
43648         * locale/programs/config.h: Don't define PARAMS.
43649         * stdlib/strtol_l.c: Likewise.
43650         (__strtol_l): Remove PARAMS from the prototype.
43651
43652 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43653
43654         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43655         names.  Just use the correct names.  Remove unnecessary wrapper
43656         functions.
43657         * malloc/arena.c: Likewise.
43658         * malloc/hooks.c: Likewise.
43659
43660         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43661         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43662         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43663
43664 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43665
43666         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43667         into tail calls.
43668         (update_get_addr): New function.
43669         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43670         GET_ADDR_MODULE parameter.
43671
43672 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43673
43674         * crypt/cert.c: Remove __STDC__ conditionals.
43675         * crypt/crypt-entry.c: Likewise.
43676         * crypt/crypt_util.c: Likewise.
43677         * libio/filedoalloc.c: Likewise.
43678         * libio/fileops.c: Likewise.
43679         * libio/genops.c: Likewise.
43680         * libio/iofclose.c: Likewise.
43681         * libio/iofdopen.c: Likewise.
43682         * libio/iofopen.c: Likewise.
43683         * libio/iofopen64.c: Likewise.
43684         * libio/iogetdelim.c: Likewise.
43685         * libio/iopopen.c: Likewise.
43686         * libio/obprintf.c: Likewise.
43687         * libio/oldfileops.c: Likewise.
43688         * libio/oldiofclose.c: Likewise.
43689         * libio/oldiofdopen.c: Likewise.
43690         * libio/oldiofopen.c: Likewise.
43691         * libio/oldiopopen.c: Likewise.
43692         * libio/wfiledoalloc.c: Likewise.
43693         * libio/wgenops.c: Likewise.
43694         * locale/programs/xmalloc.c: Likewise.
43695         * misc/syslog.c: Likewise.
43696         * stdio-common/xbug.c: Likewise.
43697         * string/memchr.c: Likewise.
43698         * string/memcmp.c: Likewise.
43699         * string/memrchr.c: Likewise.
43700         * string/rawmemchr.c: Likewise.
43701         * sysdeps/posix/getcwd.c: Likewise.
43702         * time/strftime_l.c: Likewise.
43703
43704 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43705
43706         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43707         * config.make.in (config-cflags-sse2avx): Define.
43708         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43709         Fix typo.
43710
43711 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43712
43713         * scripts/config.guess: Update from upstream config git repository.
43714         * scripts/config.sub: Likewise.
43715
43716 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43717
43718         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43719         (EM_NUM): Update.
43720         (R_TILEPRO_*, R_TILEGX_*): New macros.
43721
43722         * scripts/firstversions.awk: Fix bug in version range handling.
43723
43724         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43725
43726         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43727
43728         * include/sys/epoll.h: New file.
43729         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43730         libc_hidden_def.
43731
43732 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43733
43734         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43735         Avoid unnecessary __WORDSIZE == 64 test.
43736         (fmaxf): Use VEX format if possible.
43737         (fmax): Likewise.
43738         (fminf): Likewise.
43739         (fmin): Likewise.
43740
43741         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43742         * math/math_private.h: Remove libc_fegetround* and
43743         libc_fesetround*.
43744         * sysdeps/i386/configure.in: Check for -msse2avx.
43745         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43746         also if SSE2AVX is defined.
43747         Remove libc_fegetround* and libc_fesetround*.
43748         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43749         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43750         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43751         of HAS_YMM_USABLE.
43752         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43753         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43754         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43755         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43756         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43757
43758         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43759
43760 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43761
43762         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43763         size is not set.
43764         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43765
43766 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43767
43768         [BZ #13618]
43769         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43770         relocation.
43771         * Makeconfig (libm): Define.
43772         * elf/Makefile: Add rules to build and run tst-relsort1.
43773         * elf/tst-relsort1.c: New file.
43774         * elf/tst-relsort1mod1.c: New file.
43775         * elf/tst-relsort1mod2.c: New file.
43776
43777 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43778
43779         * math/s_ldexp.c: Remove __STDC__ conditionals.
43780         * math/s_ldexpf.c: Likewise.
43781         * math/s_ldexpl.c: Likewise.
43782         * math/s_nextafter.c: Likewise.
43783         * math/s_nexttowardf.c: Likewise.
43784         * math/s_significand.c: Likewise.
43785         * math/s_significandf.c: Likewise.
43786         * math/s_significandl.c: Likewise.
43787         * math/w_jnl.c: Likewise.
43788         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43789         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43790         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43791         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43792         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43794         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43795         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43797         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43798         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43800         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43801         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43802         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43803         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43804         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43805         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43807         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43808         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43809         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43810         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43811         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43812         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43813         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43815         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43816         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43817         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43818         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43819         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43820         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43821         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43822         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43823         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43824         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43825         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43826         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43827         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43828         * sysdeps/ieee754/k_standard.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43847         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43855         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43856         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43861         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43866         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43868         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43869         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43871         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43872         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43873         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43878         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43881         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43883         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43884         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43885         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43886         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43888         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43889         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43890         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43895         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43896         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43903         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43904         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43908         * sysdeps/ieee754/s_matherr.c: Likewise.
43909         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43910         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43911         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43913
43914 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43915
43916         * crypt/md5.h: Remove __STDC__ conditionals.
43917         * libio/libioP.h: Likewise.
43918         * locale/programs/config.h: Likewise.
43919         * sysdeps/generic/sysdep.h: Likewise.
43920         * sysdeps/i386/asm-syntax.h: Likewise.
43921         * sysdeps/s390/asm-syntax.h: Likewise.
43922         * sysdeps/unix/sysdep.h: Likewise.
43923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43925
43926 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43927
43928         * libio/libio.h: Remove __STDC__ conditionals.
43929         * malloc/obstack.h: Likewise.
43930         * math/complex.h: Likewise.
43931         * math/math.h: Likewise.
43932         * sysdeps/generic/_G_config.h: Likewise.
43933         * sysdeps/gnu/_G_config.h: Likewise.
43934         * sysdeps/mach/hurd/_G_config.h: Likewise.
43935         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43936         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43937         * sysdeps/sparc/bits/mathdef.h: Likewise.
43938
43939 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43940
43941         [BZ #13583]
43942         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43943         Clean up HAS_* macros.
43944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43945         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43946         possible.
43947         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43948         HAS_AVX.
43949         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43950         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43951         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43952         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43953         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43954
43955 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43956
43957         * elf/tst-unique3.cc (gets): Remove declaration.
43958         * elf/tst-unique3lib.cc (gets): Likewise.
43959         * elf/tst-unique3lib2.cc (gets): Likewise.
43960         * elf/tst-unique4.cc (gets): Likewise.
43961
43962 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43963
43964         * include/stdio.h: Add C++ protection.  Add gets declarations and
43965         definitions.
43966         * debug/tst-chk1.c: Don't declare gets here.
43967         * stdio-common/tst-gets.c: Likewise.
43968
43969 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43970
43971         * posix/glob: Remove directory.
43972
43973 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43974
43975         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43976
43977 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43978
43979         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43980         of the non-standard EPFNOSUPPORT.
43981
43982 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43983
43984         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43985         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43986         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43987
43988 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43989
43990         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43991
43992 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43993
43994         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43995         transient errors.
43996         * nscd/grpcache.c (cache_addgr): Likewise.
43997         * nscd/hstcache.c (cache_addhst): Likewise.
43998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43999         * nscd/pwdcache.c (cache_addpw): Likewise.
44000         * nscd/servicescache.c (cache_addserv): Likewise.
44001
44002 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44003
44004         * malloc/malloc.c: Various cleanups.
44005         * malloc/hooks.c: Likewise.
44006
44007         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44008         * stdlib/bug-fmtmsg1.c: New file.
44009
44010         * stdlib/fmtmsg.c (init): Add missing unlock.
44011         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44012
44013 2012-01-12  Marek Polacek  <polacek@redhat.com>
44014
44015         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44016         and _GNU_SOURCE.
44017
44018 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44019
44020         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44021         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44022         macro to ensure uniqueness of label name.
44023         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44024         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44025
44026 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44027
44028         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44029
44030         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44031         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44032         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44034
44035 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44036
44037         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44038
44039         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44040         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44041         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44042
44043         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44044
44045         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44046         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44047         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44048         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44049
44050         * math/bits/math-finite.h: Add ldexp support.
44051
44052 2012-01-10  Marek Polacek  <polacek@redhat.com>
44053
44054         * locale/programs/localedef.h (show_archive_content): Add noreturn
44055         attribute.
44056
44057 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44058
44059         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44060
44061 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44062
44063         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44064
44065         * io/Makefile (headers): Add bits/poll2.h.
44066
44067 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44068
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44070         typo #include statement.
44071
44072 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44073
44074         * include/sys/cdefs.h: Define __attribute_alloc_size.
44075         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44076         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44077         * elf/pldd.c: Likewise.
44078         * iconv/iconv_charmap.c: Likewise.
44079         * iconv/iconvconfig.c: Likewise.
44080         * iconv/strtab.c: Likewise.
44081         * locale/programs/locale.c: Likewise.
44082         * locale/programs/localedef.h: Likewise.
44083         * locale/programs/simple-hash.c: Likewise.
44084         * nscd/nscd.h: Likewise.
44085         * nss/makedb.c: Likewise.
44086         * sysdeps/generic/ldconfig.h: Likewise.
44087         * locale/programs/localedef.c: Remove xmalloc prototype.
44088         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44089
44090 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44091
44092         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44093         appropriate.
44094
44095 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44096
44097         * math/Makefile (tests): Add tst-CMPLX.
44098         * math/tst-CMPLX.c: New file.
44099
44100         * math/complex.h (CMPLXL): Fix typo.
44101
44102         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44103         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44104         GLIBC_2.16.
44105         * debug/tst-chk1.c: Add poll and ppoll tests.
44106         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44107         * include/sys/poll.h: Add hidden proto for ppoll.
44108         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44109         * sysdeps/mach/hurd/ppoll.c: Likewise.
44110         * io/ppoll.c: Likewise.
44111         * debug/poll_chk.c: New file.
44112         * debug/ppoll_chk.c: New file.
44113         * include/bits/poll2.h: New file.
44114         * io/bits/poll2.h: New file.
44115
44116         [BZ #1350]
44117         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44118
44119         * configure.in: static is always set to yes.  Remove.
44120         * config.make.in: Don't set build-static.
44121         * Makeconfig: Remove use of build-static.
44122         * dlfcn/Makefile: Likewise.
44123         * elf/Makefile: Likewise.
44124         * math/Makefile: Likewise.
44125         * misc/Makefile: Likewise.
44126         * nptl/Makefile: Likewise.
44127         * sysdeps/mach/hurd/Makefile: Likewise.
44128
44129         * configure.in: PWD_P is not used anymore.
44130         * config.make.in: Remove PWD_P entry.
44131
44132         * configure.in: Remove last remnants of RANLIB.
44133         No need to check for signed size_t anymore.
44134         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44135         and IA-64.
44136         Remove __builtin_expect test because we require at least gcc 3.4.
44137         * aclocal.m4: Likewise.
44138
44139         * wcsmbs/mbrtoc16.c: Implement using towc function.
44140         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44141         * wcsmbs/wcsmbsload.c: Likewise.
44142         * iconv/gconv_simple.c: Likewise.
44143         * iconv/gconv_int.h: Likewise.
44144         * iconv/gconv_builtin.h: Likewise.
44145         * iconv/iconv_prog.c: Remove CHAR16 handling.
44146
44147         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44148
44149         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44150
44151         * configure.in: Remove --with-elf and --enable-bounded options.
44152         Dont set base_machine for ia64.  More non-ELF conditions removed.
44153         Remove testing and setting of leading underscore information.
44154         * config.make.in (build-bounded): Set to no.
44155         * config.h.in: Remove NO_UNDERSCORES entry.
44156         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44157         them.
44158         * csu/start.c: Remove !NO_UNDERSCORE code.
44159         * locale/localeinfo.h: Likewise.
44160         * sysdeps/generic/machine-gmon.h: Likewise.
44161         * sysdeps/generic/sysdep.h: Likewise.
44162         * sysdeps/i386/sysdep.h: Likewise.
44163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44164         * sysdeps/mach/sysdep.h: Likewise.
44165         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44166         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44167         * sysdeps/sh/sysdep.h: Likewise.
44168         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44169         * sysdeps/unix/i386/sysdep.S: Likewise.
44170         * sysdeps/unix/sparc/start.c: Likewise.
44171         * sysdeps/unix/sparc/sysdep.S: Likewise.
44172         * sysdeps/unix/sparc/sysdep.h: Likewise.
44173         * sysdeps/unix/start.c: Likewise.
44174         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44175         * sysdeps/x86_64/sysdep.h: Likewise.
44176
44177 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44178
44179         [BZ #13553]
44180         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44181         for non-gcc.
44182         * argp/argp-fmtstream.h: Use const instead __const.
44183         * argp/argp.h: Likewise.
44184         * assert/assert.h: Likewise.
44185         * bits/fenv.h: Likewise.
44186         * bits/sched.h: Likewise.
44187         * bits/sigset.h: Likewise.
44188         * bits/sigthread.h: Likewise.
44189         * catgets/nl_types.h: Likewise.
44190         * conform/data/pthread.h-data: Likewise.
44191         * crypt/crypt-private.h: Likewise.
44192         * crypt/crypt.h: Likewise.
44193         * crypt/crypt_util.c: Likewise.
44194         * ctype/ctype.h: Likewise.
44195         * debug/execinfo.h: Likewise.
44196         * debug/mbsnrtowcs_chk.c: Likewise.
44197         * debug/mbsrtowcs_chk.c: Likewise.
44198         * debug/wcsnrtombs_chk.c: Likewise.
44199         * debug/wcsrtombs_chk.c: Likewise.
44200         * debug/wcstombs_chk.c: Likewise.
44201         * dirent/dirent.h: Likewise.
44202         * dlfcn/dlfcn.h: Likewise.
44203         * elf/neededtest4.c: Likewise.
44204         * grp/grp.h: Likewise.
44205         * gshadow/gshadow.h: Likewise.
44206         * iconv/gconv.h: Likewise.
44207         * iconv/gconv_int.h: Likewise.
44208         * iconv/gconv_simple.c: Likewise.
44209         * iconv/iconv.h: Likewise.
44210         * iconv/loop.c: Likewise.
44211         * iconv/skeleton.c: Likewise.
44212         * include/aio.h: Likewise.
44213         * include/aliases.h: Likewise.
44214         * include/argz.h: Likewise.
44215         * include/arpa/inet.h: Likewise.
44216         * include/assert.h: Likewise.
44217         * include/dirent.h: Likewise.
44218         * include/dlfcn.h: Likewise.
44219         * include/execinfo.h: Likewise.
44220         * include/fcntl.h: Likewise.
44221         * include/fenv.h: Likewise.
44222         * include/glob.h: Likewise.
44223         * include/grp.h: Likewise.
44224         * include/libintl.h: Likewise.
44225         * include/mntent.h: Likewise.
44226         * include/netdb.h: Likewise.
44227         * include/pwd.h: Likewise.
44228         * include/rpc/netdb.h: Likewise.
44229         * include/sched.h: Likewise.
44230         * include/search.h: Likewise.
44231         * include/shadow.h: Likewise.
44232         * include/signal.h: Likewise.
44233         * include/stdio.h: Likewise.
44234         * include/stdlib.h: Likewise.
44235         * include/string.h: Likewise.
44236         * include/sys/socket.h: Likewise.
44237         * include/sys/stat.h: Likewise.
44238         * include/sys/statfs.h: Likewise.
44239         * include/sys/statvfs.h: Likewise.
44240         * include/sys/syslog.h: Likewise.
44241         * include/sys/time.h: Likewise.
44242         * include/sys/uio.h: Likewise.
44243         * include/time.h: Likewise.
44244         * include/unistd.h: Likewise.
44245         * include/utmp.h: Likewise.
44246         * include/wchar.h: Likewise.
44247         * include/wctype.h: Likewise.
44248         * inet/aliases.h: Likewise.
44249         * inet/arpa/inet.h: Likewise.
44250         * inet/netinet/ether.h: Likewise.
44251         * inet/netinet/in.h: Likewise.
44252         * intl/libintl.h: Likewise.
44253         * io/bits/fcntl2.h: Likewise.
44254         * io/fcntl.h: Likewise.
44255         * io/ftw.h: Likewise.
44256         * io/sys/poll.h: Likewise.
44257         * io/sys/stat.h: Likewise.
44258         * io/sys/statfs.h: Likewise.
44259         * io/sys/statvfs.h: Likewise.
44260         * io/utime.h: Likewise.
44261         * libio/bits/stdio.h: Likewise.
44262         * libio/bits/stdio2.h: Likewise.
44263         * libio/libio.h: Likewise.
44264         * libio/libioP.h: Likewise.
44265         * libio/stdio.h: Likewise.
44266         * locale/lc-ctype.c: Likewise.
44267         * locale/locale.h: Likewise.
44268         * login/utmp.h: Likewise.
44269         * malloc/arena.c: Likewise.
44270         * malloc/malloc.c: Likewise.
44271         * malloc/malloc.h: Likewise.
44272         * malloc/mcheck.c: Likewise.
44273         * malloc/mtrace.c: Likewise.
44274         * math/bits/mathcalls.h: Likewise.
44275         * math/fenv.h: Likewise.
44276         * math/math_private.h: Likewise.
44277         * misc/bits/error.h: Likewise.
44278         * misc/bits/syslog.h: Likewise.
44279         * misc/err.h: Likewise.
44280         * misc/error.h: Likewise.
44281         * misc/fstab.h: Likewise.
44282         * misc/mntent.h: Likewise.
44283         * misc/regexp.h: Likewise.
44284         * misc/search.h: Likewise.
44285         * misc/sgtty.h: Likewise.
44286         * misc/sys/mman.h: Likewise.
44287         * misc/sys/syslog.h: Likewise.
44288         * misc/sys/uio.h: Likewise.
44289         * misc/sys/xattr.h: Likewise.
44290         * misc/ttyent.h: Likewise.
44291         * nis/rpcsvc/ypclnt.h: Likewise.
44292         * nss/nss.h: Likewise.
44293         * posix/bits/unistd.h: Likewise.
44294         * posix/fnmatch.h: Likewise.
44295         * posix/glob.h: Likewise.
44296         * posix/sched.h: Likewise.
44297         * posix/spawn.h: Likewise.
44298         * posix/sys/wait.h: Likewise.
44299         * posix/unistd.h: Likewise.
44300         * posix/wordexp.h: Likewise.
44301         * pwd/pwd.h: Likewise.
44302         * resolv/netdb.h: Likewise.
44303         * resource/sys/resource.h: Likewise.
44304         * rt/aio.h: Likewise.
44305         * rt/bits/mqueue2.h: Likewise.
44306         * rt/mqueue.h: Likewise.
44307         * shadow/shadow.h: Likewise.
44308         * signal/signal.h: Likewise.
44309         * socket/send.c: Likewise.
44310         * socket/sendto.c: Likewise.
44311         * socket/sys/socket.h: Likewise.
44312         * stdio-common/printf.h: Likewise.
44313         * stdlib/bits/stdlib.h: Likewise.
44314         * stdlib/fmtmsg.h: Likewise.
44315         * stdlib/monetary.h: Likewise.
44316         * stdlib/stdlib.h: Likewise.
44317         * stdlib/ucontext.h: Likewise.
44318         * streams/stropts.h: Likewise.
44319         * string/argz.h: Likewise.
44320         * string/bits/string2.h: Likewise.
44321         * string/string.h: Likewise.
44322         * string/strings.h: Likewise.
44323         * sunrpc/rpc/auth.h: Likewise.
44324         * sunrpc/rpc/auth_des.h: Likewise.
44325         * sunrpc/rpc/clnt.h: Likewise.
44326         * sunrpc/rpc/netdb.h: Likewise.
44327         * sunrpc/rpc/pmap_clnt.h: Likewise.
44328         * sunrpc/rpc/xdr.h: Likewise.
44329         * sysdeps/generic/inttypes.h: Likewise.
44330         * sysdeps/generic/net/if.h: Likewise.
44331         * sysdeps/generic/sys/swap.h: Likewise.
44332         * sysdeps/gnu/net/if.h: Likewise.
44333         * sysdeps/gnu/utmpx.h: Likewise.
44334         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44335         * sysdeps/i386/i486/bits/string.h: Likewise.
44336         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44337         * sysdeps/s390/bits/string.h: Likewise.
44338         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44339         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44340         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44341         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44342         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44343         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44344         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44345         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44346         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44347         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44348         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44349         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44350         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44351         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44352         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44353         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44354         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44356         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44357         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44358         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44359         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44360         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44361         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44362         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44363         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44364         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44365         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44366         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44367         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44368         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44369         * sysvipc/sys/ipc.h: Likewise.
44370         * sysvipc/sys/msg.h: Likewise.
44371         * sysvipc/sys/sem.h: Likewise.
44372         * sysvipc/sys/shm.h: Likewise.
44373         * termios/termios.h: Likewise.
44374         * time/sys/time.h: Likewise.
44375         * time/time.h: Likewise.
44376         * wcsmbs/bits/wchar2.h: Likewise.
44377         * wcsmbs/uchar.h: Likewise.
44378         * wcsmbs/wchar.h: Likewise.
44379         * wctype/wctype.h: Likewise.
44380
44381         [BZ #13551]
44382         * Makeconfig: Remove all but ELF support including AIX support.
44383         * Makerules: Likewise.
44384         * config.h.in: Likewise.
44385         * config.make.in: Likewise.
44386         * configure: Likewise.
44387         * configure.in: Likewise.
44388         * csu/Makefile: Likewise.
44389         * csu/version.c: Likewise.
44390         * debug/Makefile: Likewise.
44391         * dlfcn/Makefile: Likewise.
44392         * elf/Makefile: Likewise.
44393         * extra-lib.mk: Likewise.
44394         * iconv/Makefile: Likewise.
44395         * include/libc-symbols.h: Likewise.
44396         * include/shlib-compat.h: Likewise.
44397         * resolv/Makefile: Likewise.
44398         * resolv/res_libc.c: Likewise.
44399         * rt/Makefile: Likewise.
44400         * sysdeps/i386/asm-syntax.h: Likewise.
44401         * sysdeps/i386/sysdep.h: Likewise.
44402         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44403         * sysdeps/mach/sysdep.h: Likewise.
44404         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44405         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44406         * sysdeps/s390/asm-syntax.h: Likewise.
44407         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44408         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44409         * sysdeps/sh/sysdep.h: Likewise.
44410         * sysdeps/unix/sparc/sysdep.h: Likewise.
44411         * sysdeps/wordsize-32/divdi3.c: Likewise.
44412         * sysdeps/x86_64/sysdep.h: Likewise.
44413
44414         * argp/Versions: Remove _argp_unlock_xxx.
44415
44416         [BZ #13559]
44417         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44418         * abilist/libBrokenLocale.abilist: Likewise.
44419         * abilist/libanl.abilist: Likewise.
44420         * abilist/libc.abilist: Likewise.
44421         * abilist/libcrypt.abilist: Likewise.
44422         * abilist/libdl.abilist: Likewise.
44423         * abilist/libm.abilist: Likewise.
44424         * abilist/libnsl.abilist: Likewise.
44425         * abilist/libpthread.abilist: Likewise.
44426         * abilist/libresolv.abilist: Likewise.
44427         * abilist/librt.abilist: Likewise.
44428         * abilist/libthread_db.abilist: Likewise.
44429         * abilist/libutil.abilist: Likewise.
44430         * abilist/libnss_db.abilist: New file.
44431
44432         * scripts/abilist.awk: Add support for indirect functions.
44433
44434         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44435
44436         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44437
44438         * shlib-versions: Remove entries for ports architectures.
44439
44440         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44441         files in ports.
44442         * elf/stackguard-macros.h: Remove support for IA-64.
44443         * elf/tst-auditmod1.c: Likewise.
44444         * sysdeps/generic/ldsodefs.h: Likewise.
44445
44446         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44447         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44448         configure files.
44449
44450         [BZ #13552]
44451         * configure.in: Remove --enable-omitfp support.
44452         * FAQ.in: Adjust.
44453         * config.make.in: Likewise.
44454         * Makeconfig: Likewise.
44455         * manual/install.texi: Likewise.
44456
44457         In case anyone cares, the IA-64 architecture could move to ports.
44458         * sysdeps/ia64/*: Removed.
44459         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44460         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44461
44462         [BZ #13555]
44463         * configure.in: Remove entries for unsupported architectures.
44464
44465         [BZ #13533]
44466         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44467         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44468         routines.
44469         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44470         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44471         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44472         fall back to using wcrtomb.
44473         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44474         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44475         renaming.
44476         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44477         * wcsmbs/tst-c16c32-1.c: New file.
44478
44479         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44480         local variable.
44481
44482         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44483
44484         * elf/tst-unique3.cc: Add explicit declaration of gets.
44485         * elf/tst-unique3lib.cc: Likewise.
44486         * elf/tst-unique3lib2.cc: Likewise.
44487         * elf/tst-unique4.cc: Likewise.
44488
44489         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44490
44491 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44492
44493         [BZ #13566]
44494         * assert/assert.h (static_assert): Don't define for C++.
44495         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44496         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44497
44498 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44499
44500         * iconv/loop.c (single loop): Fix assertion in storing of
44501         remaining bytes.
44502
44503         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44504
44505 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44506
44507         * posix/getconf.c: Update copyright year.
44508         * nss/getent.c: Likewise.
44509         * nss/makedb.c: Likewise.
44510         * iconv/iconvconfig.c: Likewise.
44511         * iconv/iconv_prog.c: Likewise.
44512         * elf/ldconfig.c: Likewise.
44513         * elf/pldd.c: Likewise.
44514         * elf/sotruss.ksh: Likewise.
44515         * catgets/gencat.c: Likewise.
44516         * csu/version.c: Likewise.
44517         * elf/ldd.bash.in: Likewise.
44518         * elf/sprof.c (print_version): Likewise.
44519         * locale/programs/locale.c: Likewise.
44520         * locale/programs/localedef.c: Likewise.
44521         * login/programs/pt_chown.c: Likewise.
44522         * nscd/nscd.c (print_version): Likewise.
44523         * debug/xtrace.sh: Likewise.
44524         * malloc/memusage.sh: Likewise.
44525         * malloc/mtrace.pl: Likewise.
44526         * debug/catchsegv.sh: Likewise.
44527
44528 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44529
44530         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44531         pure attribute.
44532
44533 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44534
44535         [BZ #13533]
44536         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44537         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44538         transformations.
44539         * iconv/gconv_int.h: Likewise.
44540         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44541         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44542         from libc for GLIBC_2.16.
44543         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44544         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44545         * wcsmbs/uchar.h: Really define mbstate_t.
44546         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44547         * wcsmbs/c16rtomb.c: New file.
44548         * wcsmbs/mbrtoc16.c: New file.
44549         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44550         for C/POSIX locale.
44551         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44552         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44553
44554         * wcsmbs/wchar.h: Add missing __restrict.
44555
44556 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44557
44558         [BZ #13532]
44559         * time/Makefile (routines): Add timespec_get.
44560         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44561         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44562         timespec for ISO C11.
44563         * time/timespec_get.c: New file.
44564         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44565         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44566
44567         [BZ #13531]
44568         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44569         * stdlib/stdlib.h: Declare aligned_alloc.
44570         * Versions.def: Add GLIBC_2.16 for libc.
44571         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44572
44573         [BZ 13527]
44574         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44575         ISO C11.
44576
44577         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44578         code.
44579
44580         [BZ #13528]
44581         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44582
44583         [BZ #13529]
44584         * assert/assert.h (static_assert): Define.
44585
44586         * version.h: Update for 2.16 development version.
44587
44588         [BZ #13526]
44589         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44590         _ISOC11_SOURCE.
44591
44592         * version.h (RELEASE): Bump for 2.15 release.
44593         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44594
44595         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44596         Patch by Marek Polacek <mpolacek@redhat.com>.
44597
44598         * bits/byteswap.h: Protect long long constants with __extension__.
44599         * sysdeps/i386/bits/byteswap.h: Likewise.
44600         * sysdeps/ia64/bits/byteswap.h: Likewise.
44601         * sysdeps/s390/bits/byteswap.h: Likewise.
44602         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44603
44604 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44605
44606         [BZ #13540]
44607         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44608         destination buffer.
44609         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44610
44611 2011-12-23  Marek Polacek  <polacek@redhat.com>
44612
44613         * elf/dl-addr.c (determine_info): Add inline keyword.
44614         * elf/tst-auditmod4b.c (check_avx): Likewise.
44615         * elf/tst-auditmod6b.c (check_avx): Likewise.
44616         * elf/tst-auditmod6c.c (check_avx): Likewise.
44617         * elf/tst-auditmod7b.c (check_avx): Likewise.
44618
44619 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44622         !__SSE_MATH__.
44623
44624 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44625
44626         [BZ #13540]
44627         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44628         processing for last bytes.
44629
44630 2011-08-06  Bruno Haible  <bruno@clisp.org>
44631
44632         [BZ #13061]
44633         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44634         U+0385, not to U+1FEE.
44635
44636         [BZ #13062]
44637         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44638         entry for U+00A5 U+0301.
44639
44640 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44641
44642         [BZ #13166]
44643         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44644         buffer for the output is too small.
44645
44646         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44647         optimization.
44648
44649         [BZ #13185]
44650         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44651         SSE flags if possible.
44652
44653 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44654
44655         [BZ #13540]
44656         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44657         processing for last bytes.
44658
44659 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44660
44661         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44662         (syscall-list-default-options, syscall-list-default-condition)
44663         (syscall-list-includes): Define.
44664         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44665         list of ABIs and options and #if conditions for each ABI.  Do not
44666         handle common syscalls between ABIs specially.
44667         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44668         Remove.
44669         (syscall-list-variants, syscall-list-32bit-options)
44670         (syscall-list-32bit-condition, syscall-list-64bit-options)
44671         (syscall-list-64bit-condition): Define.
44672         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44673         (syscall-list-variants, syscall-list-32bit-options)
44674         (syscall-list-32bit-condition, syscall-list-64bit-options)
44675         (syscall-list-64bit-condition): Define.
44676         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44677         Remove.
44678         (syscall-list-variants, syscall-list-32bit-options)
44679         (syscall-list-32bit-condition, syscall-list-64bit-options)
44680         (syscall-list-64bit-condition): Define.
44681         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44682         Remove.
44683         (syscall-list-variants, syscall-list-32bit-options)
44684         (syscall-list-32bit-condition, syscall-list-64bit-options)
44685         (syscall-list-64bit-condition): Define.
44686
44687 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44688
44689         * locale/iso-639.def: Add brx entry.
44690
44691         [BZ #13328]
44692         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44693         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44694
44695         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44696         __feraiseexcept_renamed.
44697
44698 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44699
44700         [BZ #13538]
44701         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44702         EPOLLET with unsigned values.
44703         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44704         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44705
44706         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44707         to large cancellation.
44708         * math/s_cacoshf.c: Likewise.
44709         * math/s_cacoshl.c: Likewise.
44710
44711 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44712
44713         [BZ #13305]
44714         [BZ #12786]
44715         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44716         * math/s_cacoshf.c: Likewise.
44717         * math/s_cacoshl.c: Likewise.
44718
44719 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44720
44721         [BZ #13439]
44722         * iconv/gconv.h: Define __GCONV_SWAP.
44723         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44724         * iconvdata/utf-16.c: Likewise.
44725         * iconvdata/utf-32.c: Likewise.
44726
44727 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44728
44729         [BZ #13524]
44730         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44731         numerator after shifting it by one limb.
44732
44733 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44734
44735         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44736         under [__USE_EXTERN_INLINES].
44737
44738 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44739
44740         [BZ #13446]
44741         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44742
44743 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44744
44745         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44746         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44747         optimized code.
44748         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44749         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44750         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44751         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44752         for strncasecmp/strncasecmp_l compilation.
44753         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44754         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44755
44756 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44757
44758         [BZ #13484]
44759         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44760         of __asm__.
44761
44762 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44763
44764         [BZ #13506]
44765         * time/tzfile.c (__tzfile_read): Check values from file header.
44766
44767 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44768
44769         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44770         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44771         * powerpc/powerpc32/dl-start.S: Likewise.
44772         * powerpc/powerpc32/elf/start.S: Likewise.
44773         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44774         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44775         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44776         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44777         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44778         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44779         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44780         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44781         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44782         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44783         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44784         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44785         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44786         * powerpc/powerpc32/memset.S: Likewise.
44787         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44788         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44789         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44790         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44791         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44792         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44793         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44794         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44795         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44796         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44797         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44798         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44799         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44800
44801 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44802
44803         * math/libm-test.inc: Added more nearbyint tests.
44804         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44805         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44807         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44808
44809 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44810
44811         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44812         FD_CLOEXEC.
44813
44814 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44815
44816         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44817         Add wcscpy-ssse3 wcscpy-c.
44818         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44819         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44820         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44821         * sysdeps/x86_64/wcschr.S: New file.
44822         * sysdeps/x86_64/wcsrchr.S: New file.
44823         * string/test-strcmp.c: Remove checking of wcscmp function for
44824         wrong alignments.
44825         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44826         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44827         wcsrchr-sse2 wcsrchr-c.
44828         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44829         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44830         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44831         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44832         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44833         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44834         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44835         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44836         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44837         * wcsmbc/wcschr.c (WCSCHR): New macro.
44838
44839 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44840
44841         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44842         * wcsmbs/test-wcsrchr.c: New file.
44843         * string/test-strrchr.c: Add wcsrchr support.
44844         (WIDE): New macro.
44845         * wcsmbs/test-wcscpy.c: New file.
44846         * string/test-strcpy.c: Add wcscpy support.
44847         (WIDE): New macro.
44848
44849 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44850
44851         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44852         the inner loop.
44853
44854 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44855
44856         [BZ #13472]
44857         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44858
44859 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44860
44861         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44862         Minor optimizations.
44863
44864         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44865         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44866         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44867
44868 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44869
44870         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44871         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44872         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44873         for gcc to avoid warnings.
44874         * inet/Makefile (tests): Add tst-checks.
44875         * inet/tst-checks.c: New file.
44876
44877         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44878         warning.
44879
44880         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44881         __wmemcmp_sse2.
44882
44883         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44884         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44885
44886         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44887
44888 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44889
44890         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44891         problem.
44892
44893         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44894
44895 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44896
44897         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44898         conditional on GCC version.
44899         (__arch_compare_and_exchange_val_8_acq)
44900         (__arch_compare_and_exchange_val_16_acq)
44901         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44902         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44903         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44904
44905 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44906
44907         * sysdeps/sh/backtrace.c: New file.
44908
44909 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44910
44911         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44912         parenthesis.
44913
44914 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44915
44916         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44917         falling back to utime.
44918
44919 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44920
44921         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44922         expectations for float.
44923
44924 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44925
44926         * locale/weight.h (findidx): Add parameter len.
44927         * locale/weightwc.h (findidx): Likewise.
44928         * posix/fnmatch_loop.c (FCT): Adjust caller.
44929         * posix/regcomp.c (build_equiv_class): Likewise.
44930         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44931         * posix/regexec.c (check_node_accept_bytes): Likewise.
44932         * string/strcoll_l.c (STRCOLL): Likewise.
44933         * string/strxfrm_l.c (STRXFRM): Likewise.
44934
44935 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44936
44937         * Makefile.in: Remove CVSOPT handling.
44938         * configure.in: Remove use of AC_REVISION.
44939         * iconvdata/Makefile (distribute): No need to filter out CVS.
44940         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44941         handling.
44942
44943 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44944
44945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44946         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44947         [USE_AS_STRNCASECMP_L]: Likewise.
44948         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44949         NO_TLS_DIRECT_SEG_REFS.
44950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44951         Fix argument offsets for non-PIC.
44952         [USE_AS_STRNCASECMP_L]: Likewise.
44953         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44954         NO_TLS_DIRECT_SEG_REFS.
44955
44956 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44957
44958         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44959         O_CLOEXEC.
44960         * locale/loadlocale.c (_nl_load_locale): Likewise.
44961
44962 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44963
44964         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44965         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44966         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44967         (SYSCALL_GETTIME): Set errno on error.
44968
44969         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44970         count references to noai6ai_cached.
44971
44972 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44973
44974         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44975
44976         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44977         FD_CLOEXEC for /proc/self/maps.
44978
44979         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44980         FD_CLOEXEC for /proc/meminfo.
44981
44982         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44983         gai.conf.
44984
44985         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44986         FD_CLOEXEC for given file.
44987
44988         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44989
44990         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44991         FD_CLOEXEC for /etc/hosts.
44992         (_gethtent): Likewise.
44993
44994         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44995
44996         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44997         cancellation and set FD_CLOEXEC for /etc/netgroup.
44998
44999         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45000         reading /etc/publickey.
45001
45002         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45003         allow cancellation when reading /etc/group.
45004
45005         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45006         cancellation.
45007         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45008
45009         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45010         when using data file.
45011
45012         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45013
45014         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45015         (write_nis_obj): Use "c" and "e" in fopen.
45016
45017         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45018
45019         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45020
45021         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45022
45023         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45024
45025         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45026         locale.alias.
45027
45028         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45029
45030         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45031
45032         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45033
45034         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45035         file parsing and set FD_CLOEXEC.
45036
45037 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45038
45039         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45040
45041 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45042
45043         * malloc/arena.c (arena_get2): Don't call reused_arena when
45044         _int_new_arena failed.
45045
45046 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45047
45048         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45049         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45050         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45051         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45052         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45053         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45054         to compile strcasecmp and strncasecmp.
45055         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45056         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45057
45058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45059
45060 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45061
45062         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45063         locale-defines.sym to gen-as-const-headers.
45064         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45065         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45066         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45067         to compile strcasecmp and strncasecmp.
45068         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45069         strcasecmp_l and strncasecmp_l.
45070         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45071         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45072         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45073         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45074         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45075         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45076         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45077         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45078         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45079         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45080         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45081
45082 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45083
45084         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45085         result of SYSDEP_GETTIME_CPU to retval.
45086         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45087         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45088
45089         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45090         variable.
45091
45092         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45093         mantissa words.
45094         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45095
45096         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45097         from unused variable.
45098
45099         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45100         DWARF definitions.
45101         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45102         for assembling.
45103
45104         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45105         over namespaces.
45106
45107         * sunrpc/rpc_prot.c (rejected): Fix case value.
45108
45109         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45110         unsigned long long int to avoid warnings in shift.
45111
45112         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45113         of use of trans.
45114         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45115         variable tmp.
45116
45117         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45118         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45119         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45120
45121         * nis/nis_table.c (nis_list): Use variable of correct type for
45122         result of __follow_path call.
45123
45124 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45125
45126         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45127         of math functions ceil, trunc, floor, round, and sqrt, when
45128         avaliable on the platform.
45129         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45130         name clash.
45131         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45132         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45133         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45134
45135 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45136
45137         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45138         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45139
45140 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45141
45142         * include/unistd.h: Fix __readlink return type.
45143         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45144
45145 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45146
45147         * stdlib/ucontext.h: Undo last change for makecontext.
45148
45149 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45150
45151         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45152
45153         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45154         * setjmp/setjmp.h: Mark functions as non-leaf.
45155         * setjmp/bits/setjmp2.h: Likewise.
45156         * stdlib/ucontext.h: Likewise.
45157
45158 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45159
45160         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45161         (reused_arena): Don't check arena limit.
45162         (arena_get2): Atomically check arena limit.
45163
45164 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45165
45166         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45167         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45168
45169         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45170         instructions.
45171
45172 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45173
45174         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45175         handler when locking.
45176
45177         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45178         Fix size of allocated buffer.
45179
45180 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45181
45182         [BZ #10103]
45183         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45184         declarations for long double functions.
45185         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45186
45187         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45188
45189 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45190
45191         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45192         installed.
45193
45194         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45195         is disabled.
45196
45197 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45198
45199         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45200
45201 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45202
45203         * include/alloca.h (stackinfo_alloca_round): Define.
45204         (extend_alloca): Use it.
45205         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45206         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45207         here.
45208
45209         * scripts/check-local-headers.sh: Ignore libaudit.h.
45210
45211         * nscd/Makefile (extra-objs): Make recursively expanded.
45212
45213 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45214
45215         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45216         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45217
45218         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45219         * posix/tst-rfc3484-2.c: Likewise.
45220         * posix/tst-rfc3484-3.c: Likewise.
45221
45222         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45223         process_vm_writev.
45224         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45225         process_vm_writev.
45226         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45227         process_vm_writev from libc using GLIBC_2.15 version.
45228
45229         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45230
45231 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45232
45233         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45234         stack usage.
45235
45236 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45237
45238         [BZ #13367]
45239         * nss/getent.c (initgroups_keys): Show error message in case no group
45240         names are given.
45241
45242         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45243         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45244         __bump_nl_timestamp.
45245         * nscd/connections (nscd_init): When host database is served open
45246         netlink socket and request notification about configuration changes.
45247         (main_loop_poll): Track netlink file descriptor and bump timestamp
45248         in case data becomes available.
45249         (main_loop_epoll): Likewise.
45250         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45251         (database_pers_head): Add extra_data fileds.
45252         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45253         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45254         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45255         Adjust caller.
45256         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45257         in6ai data, call __free_in6ai.
45258         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45259         Add -DHAVE_NETLINK.
45260         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45261         interface information.  Reuse previous data if netlink timestamp
45262         is not changed.
45263         (__bump_nl_timestamp): New function.
45264         (__free_in6ai): New function.
45265
45266 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45267
45268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45269         close_not_cancel_no_status here.
45270         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45271
45272 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45273
45274         [BZ #13276]
45275         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45276         return value.
45277
45278         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45279         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45280         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45281
45282 2011-07-03  Andreas Jaeger  <aj@suse.de>
45283
45284         [BZ #10709]
45285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45286         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45287         * math/libm-test.inc (sin_test): Add test case.
45288
45289 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45290
45291         [BZ #13337]
45292         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45293         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45294
45295         * elf/chroot_canon.c (chroot_canon): Cleanups.
45296
45297         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45298
45299         [BZ #13335]
45300         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45301         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45302
45303         * string/test-strchr.c: Make usable for strchrnul testing.
45304         * string/test-strchrnul.c: New file.
45305         * string/Makefile (strop-tests): Add strchrnul.
45306
45307         * po/it.po: Update from translation team.
45308         * po/es.po: Likewise.
45309
45310 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45311
45312         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45313         the three constants needed as parameters.  Drop the others.
45314         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45315         __m128i_strloadu_tolower.
45316         Create and initialize variable zero and use it in all the places
45317         where _mm_setzero_si128 was used.
45318
45319         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45320         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45321         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45322         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45323         anymore.
45324         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45325         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45326         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45327         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45328         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45329         __mpranred, __mptan.
45330         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45331         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45332         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45333         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45334         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45335         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45336         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45337         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45338         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45339
45340 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45341
45342         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45343         redefine if SHARED.
45344         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45345
45346         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45347         wide char related routines to wcsmbs subdir.
45348
45349 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45350
45351         [BZ #13344]
45352         * misc/sys/cdefs.h (__THROWNL): Define.
45353         * posix/unistd.h: Use __THREADNL instead of __THREAD
45354         for memory synchronization functions.
45355
45356 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45357
45358         [BZ #13349]
45359         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45360         doesn't exist.
45361         * manual/stdio.texi (Obstack Streams): Node removed.
45362
45363 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45364
45365         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45366         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45367         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45368
45369         * math/math_private.h (math_force_eval): Allow non-addressable
45370         arguments.
45371         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45372
45373 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45374
45375         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45376         file is not needed.
45377
45378         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45379         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45380         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45381         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45382         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45383         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45384         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45385         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45386         Add AVX variants.
45387         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45388         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45389         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45390         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45391         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45392         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45393         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45394         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45395         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45396         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45397         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45398         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45400         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45401         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45402         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45403         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45404         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45405         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45406
45407         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45408         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45409
45410         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45411         place.  Use VEX encoding when compiling for AVX.
45412
45413 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45414
45415         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45416         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45417
45418         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45419
45420 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45421
45422         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45423         useless if() expression.
45424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45427         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45428         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45429         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45430         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45431         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45432         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45433         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45434         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45435         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45436         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45437         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45438         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45439         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45440         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45442         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45443
45444         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45445
45446 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45447
45448         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45449         condition.
45450         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45451
45452 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45453
45454         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45455         .text section.  Avoid duplicate constants.
45456         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45458         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45464         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45466         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45467         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45468         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45469         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45470         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45471         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45472         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45473         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45474         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45479         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45480         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45481         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45482         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45483         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45484         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45485         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45486         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45487         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45488         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45489         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45490         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45491         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45492         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45493         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45494         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45495         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45496         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45497         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45498         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45499         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45500         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45501
45502 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45503
45504         * sysdeps/x86_64/dla.h: Move to ...
45505         * sysdeps/x86_64/fpu/dla.h: ...here.
45506         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45507         situations.  Use __builtin_fma only for gcc 4.6 and up.
45508
45509         * config.make.in: Add have-mfma4 entry.
45510         * configure.in: Substitute libc_cv_cc_fma4.
45511         * math/Makefile (dbl-only-routines): Add sincostab.
45512         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45513         Use __sincostab not sincos.
45514         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45515         name is a macro.
45516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45519         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45520         using __copysign.
45521         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45522         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45523         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45524         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45525         and __inv.
45526         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45527         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45528         __copysign.
45529         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45530         define aliases when function name is a macro.
45531         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45532         sysdeps/ieee754/dbl-64/sincos.tbl.
45533         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45534         fma4-enabled routines.
45535         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45536         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45537         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45538         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45539         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45540         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45541         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45542         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45543         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45544         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45545         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45546         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45547         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45548         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45549         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45550         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45551         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45552         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45553         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45554         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45555         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45556         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45557         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45558         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45559         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45560         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45561         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45562         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45563         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45564         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45565
45566         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45567         rename.
45568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45571         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45573         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45575         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45576
45577 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45578
45579         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45580
45581 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45582
45583         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45584
45585         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45586         prediction.
45587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45588
45589         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45590         Remove unused variable magic_bits.
45591         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45592
45593         * string/strnlen.c: Define and use STRNLEN macro.
45594         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45595         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45596         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45597         * wcsmbs/wcslen.c: Define and use WCSLEN.
45598         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45599         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45600         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45601         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45602         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45603         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45604         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45605
45606 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45607
45608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45609         strnlen-sse2-no-bsf.
45610         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45612         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45613         Add strnlen support.
45614         (USE_AS_STRNLEN): New macro.
45615         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45616         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45617         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45618         * sysdeps/x86_64/wcslen.S: New file.
45619
45620 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45621
45622         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45623         XMM-moves are used for copying on small sizes.
45624
45625 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45626
45627         * wcsmbs/Makefile (strop-tests): Add wcschr.
45628         * wcsmbs/test-wcschr.c: New file.
45629         * string/test-strchr.c: Update.
45630         Add wcschr support.
45631         (WIDE): New macro.
45632
45633 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45634
45635         * wcsmbs/Makefile (strop-tests): Add wcslen.
45636         * wcsmbs/test-wcslen.c: New file.
45637         * string/test-strlen.c: Update.
45638         Add wcslen support.
45639         (WIDE): New macro.
45640
45641 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45642
45643         * po/it.po: Update from translation team.
45644
45645 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45646
45647         * sysdeps/x86_64/wcscmp.S: Update.
45648         Fix wrong comparison semantics.
45649         wcscmp shall use signed comparison not unsigned.
45650         Don't use substraction to avoid overflow bug.
45651         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45652         * wcsmbc/wcscmp.c: Likewise.
45653         * string/test-strcmp.c: Likewise.
45654         Add new tests to check cases with negative values.
45655
45656 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45657
45658         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45659         * sysdeps/x86_64/dla.h: ...here.  New file.
45660         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45667         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45669
45670 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45671
45672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45673         __ynl_finite aliases.
45674
45675 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45676
45677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45678
45679         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45680         define DLA_FMA.
45681         [DLA_FMA] (EMULV): Use DLA_FMA.
45682         [DLA_FMA] (MUL12): Use EMULV.
45683         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45684         that are not needed.
45685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45691         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45692
45693 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45694
45695         * math/s_nan.c: Undef __nan.
45696         * math/s_nanf.c: Undef __nanf.
45697         * math/s_nanl.c: Undef __nanl.
45698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45699         "math_private.h".
45700
45701 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45702
45703         * math/s_catan.c: Add branch predictions.
45704         * math/s_catanf.c: Likewise.
45705         * math/s_catanh.c: Likewise.
45706         * math/s_catanhf.c: Likewise.
45707         * math/s_catanhl.c: Likewise.
45708         * math/s_catanl.c: Likewise.
45709         * math/s_cexp.c: Likewise.
45710         * math/s_cexpf.c: Likewise.
45711         * math/s_cexpl.c: Likewise.
45712         * math/s_clog.c: Likewise.
45713         * math/s_clog10.c: Likewise.
45714         * math/s_clog10f.c: Likewise.
45715         * math/s_clog10l.c: Likewise.
45716         * math/s_clogf.c: Likewise.
45717         * math/s_clogl.c: Likewise.
45718         * math/s_csqrt.c: Likewise.
45719         * math/s_csqrtf.c: Likewise.
45720         * math/s_csqrtl.c: Likewise.
45721         * math/s_ctanf.c: Likewise.
45722         * math/s_ctanh.c: Likewise.
45723         * math/s_ctanhf.c: Likewise.
45724         * math/s_ctanhl.c: Likewise.
45725         * math/s_ctanl.c: Likewise.
45726
45727         * math/math_private.h: Define __nan, __nanf, __nanl.
45728         * math/s_cacosh.c: Include <math_private.h>.
45729         * math/s_cacoshl.c: Likewise.
45730         * math/s_casinh.c: Likewise.
45731         * math/s_casinhf.c: Likewise.
45732         * math/s_casinhl.c: Likewise.
45733         * math/s_ccos.c: Rely entire on ccosh.
45734         * math/s_ccosf.c: Rely entire on ccoshf.
45735         * math/s_ccosl.c: Rely entirely on ccoshl.
45736         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45737         Remove tests for FE_INVALID.
45738         * math/s_ccoshf.c: Likewise.
45739         * math/s_ccoshl.c: Likewise.
45740         * math/s_csin.c: Likewise.
45741         * math/s_csinf.c: Likewise.
45742         * math/s_csinh.c Likewise.
45743         * math/s_csinhf.c: Likewise.
45744         * math/s_csinhl.c: Likewise.
45745         * math/s_csinl.c: Likewise.
45746         * math/s_ctan.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45748         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45749         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45750
45751 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45752
45753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45754         compilation problems.
45755
45756         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45757         __builtin_expect.
45758
45759 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45760
45761         * sysdeps/i386/configure.in: Test for -mfma4 option.
45762         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45763         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45764         COMMON_CPUID_INDEX_80000001.
45765         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45766         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45767         use it if FMA3 is not supported.
45768         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45769
45770         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45771         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45772
45773 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45774
45775         [BZ #12892]
45776         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45777         it would create a cycle with a link time dependency.
45778
45779 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45780
45781         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45782         instruction.
45783         * string/Makefile (strop-tests): Add rawmemchr.
45784         * string/test-rawmemchr.c: New file.
45785
45786         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45787         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45788         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45789         when compiling str{,n}casecmp and when AVX is available.  Hook up
45790         new optimized code in initializers.
45791
45792 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45793
45794         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45795         __feraiseexcept instead of feraiseexcept.
45796
45797 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45798
45799         * math/math_private.h: Define defaults for libc_fetestexcept and
45800         libc_feupdateenv.
45801         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45802         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45803         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45804         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45805         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45806         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45807         libc_fetestexcept and libc_feupdateenv.
45808
45809         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45810         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45811         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45812         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45813         libc_feholdexcept_setround.
45814
45815         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45816         Add s_nearbyint-c and s_nearbyintf-c.
45817         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45818         nearbyintf inlines.
45819         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45820         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45821         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45822         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45823
45824         * math/math_private.h: Define defaults for libc_fegetround,
45825         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45826         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45827         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45828         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45829         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45830         standard functions.
45831         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45832         Remove comments and hacks for old compiler versions.
45833         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45834         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45835         libc_feholdexceptl.
45836
45837 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45838
45839         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45840         (__feraiseexcept_renamed): Add __NTH.
45841         (feraiseexcept): Add __NTH.  Rename local variables to fix
45842         namespace violations.
45843
45844 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45845
45846         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45847
45848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45849
45850         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45851         recently added interfaces.
45852         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45853
45854         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45855         about macro parameter expansion.
45856
45857         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45858         __NO_MATH_INLINES is defined.  Cleanups.
45859
45860         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45861         and __floorf is target has SSE4.1.
45862         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45863         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45864         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45865         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45866
45867         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45868         name.
45869         (floorf): Likewise.
45870
45871         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45872
45873 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45874
45875         * misc/sys/cdefs.h: Fix last change.
45876
45877         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45878         database lookup.
45879
45880 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45881
45882         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45883
45884         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45885         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45886         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45887         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45888         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45889         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45890         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45891         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45892         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45893         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45894         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45895         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45896         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45897         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45898         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45899         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45900         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45901         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45902         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45903         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45904         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45905         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45906
45907         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45908         ceil, ceilf, floor, floorf.
45909
45910         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45911         Perform IRELATIVE relocations last.
45912
45913         * elf/do-rel.h: Add another parameter nrelative, replacing the
45914         local variable with the same name.  Change name of the function
45915         to end in Rel or Rela (uppercase).
45916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45917         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45918         elf_dynamic_do_##reloc function.
45919
45920 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45921
45922         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45923         is sufficient, at least on modern CPUs.
45924
45925         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45926
45927         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45928         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45929
45930         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45931         __expl_finite.
45932         * math/bits/math-finite.h: Add entries for exp.
45933         * math/e_expl.c: Add __*_finite alias.
45934         * sysdeps/i386/fpu/e_exp.S: Likewise.
45935         * sysdeps/i386/fpu/e_expf.S: Likewise.
45936         * sysdeps/i386/fpu/e_expl.c: Likewise.
45937         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45938         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45939         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45940         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45941         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45942         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45943         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45944
45945         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45946         is sufficient, at least on modern CPUs.
45947
45948         * ctype/ctype-info.c (__ctype_init): Define.
45949         * include/ctype.h (__ctype_init): Declare.
45950         (__ctype_b_loc): The variable is always initialized.
45951         (__ctype_toupper_loc): Likewise.
45952         (__ctype_tolower_loc): Likewise.
45953         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45954         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45955
45956 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45957
45958         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45959
45960         * configure.in: Also look in $cxxmachine/include for C++ system
45961         headers.
45962
45963 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45964
45965         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45966         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45967         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45968         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45969         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45970         (USE_AS_WMEMCMP): New macro.
45971         Fixing indents.
45972         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45973         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45974         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45975         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45976         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45977         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45978         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45979         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45980         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45981         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45982         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45983         (USE_AS_WMEMCMP): New macro.
45984         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45985         * sysdeps/string/test-memcmp.c: Update.
45986         Fix simple_wmemcmp.
45987         Add new tests.
45988         * wcsmbs/wmemcmp.c: Update.
45989         (WMEMCMP): New macro.
45990         Fix overflow bug.
45991
45992 2011-10-12  Andreas Jaeger  <aj@suse.de>
45993
45994         [BZ #13268]
45995         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45996
45997 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45998
45999         * libio/iofwide.c (do_length): Avoid warning.
46000
46001         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46002
46003 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46004
46005         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46006
46007         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46008         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46009         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46010         * sysdeps/i386/i686/fpu/e_log.S: New file.
46011         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46012         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46013
46014         * ctype/ctype.h: Add support for inlined isXXX functions when
46015         compiling C++ code.
46016
46017 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46018
46019         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46020
46021         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46022
46023 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46024
46025         [BZ #13291]
46026         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46027
46028 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46029
46030         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46031         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46032         feraiseexcept.
46033
46034         * sysdeps/x86_64/memrchr.S: Check for zero size.
46035
46036         * string/stratcliff.c: Add memrchr tests.
46037
46038 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46039
46040         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46041         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46042         rawmemchr-sse2 rawmemchr-sse2-bsf.
46043         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46044         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46045         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46046         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46047         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46048         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46049         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46050         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46051         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46052         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46053         * string/memrchr.c (MEMRCHR): New macro.
46054
46055 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46056
46057         Add integration with gcc's -ffinite-math-only and optimize wrapper
46058         functions in libm.
46059         * Versions.def: Define GLIBC_2.15 version for libm.
46060         * math/Makefile (headers): Add bits/math-finite.h.
46061         * math/bits/math-finite.h: New file.
46062         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46063         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46064         * math/e_acoshl.c: Add __*_finite alias.
46065         * math/e_acosl.c: Likewise.
46066         * math/e_asinl.c: Likewise.
46067         * math/e_atan2l.c: Likewise.
46068         * math/e_atanhl.c: Likewise.
46069         * math/e_coshl.c: Likewise.
46070         * math/e_exp10.c: Likewise.
46071         * math/e_exp10f.c: Likewise.
46072         * math/e_exp10l.c: Likewise.
46073         * math/e_exp2l.c: Likewise.
46074         * math/e_fmodl.c: Likewise.
46075         * math/e_gammal_r.c: Likewise.
46076         * math/e_hypotl.c: Likewise.
46077         * math/e_j0l.c: Likewise.
46078         * math/e_j1l.c: Likewise.
46079         * math/e_jnl.c: Likewise.
46080         * math/e_lgammal_r.c: Likewise.
46081         * math/e_log10l.c: Likewise.
46082         * math/e_log2l.c: Likewise.
46083         * math/e_logl.c: Likewise.
46084         * math/e_powl.c: Likewise.
46085         * math/e_sinhl.c: Likewise.
46086         * math/e_sqrtl.c: Likewise.
46087         * math/e_scalb.c: Completely rewritten and optimized.
46088         * math/e_scalbf.c: Likewise.
46089         * math/e_scalbl.c: Likewise.
46090         * math/w_acos.c: Likewise.
46091         * math/w_acosf.c: Likewise.
46092         * math/w_acosl.c: Likewise.
46093         * math/w_acosh.c: Likewise.
46094         * math/w_acoshf.c: Likewise.
46095         * math/w_acoshl.c: Likewise.
46096         * math/w_asin.c: Likewise.
46097         * math/w_asinf.c: Likewise.
46098         * math/w_asinl.c: Likewise.
46099         * math/w_atan2.c: Likewise.
46100         * math/w_atan2f.c: Likewise.
46101         * math/w_atan2l.c: Likewise.
46102         * math/w_atanh.c: Likewise.
46103         * math/w_atanhf.c: Likewise.
46104         * math/w_atanhl.c: Likewise.
46105         * math/w_exp10.c: Likewise.
46106         * math/w_exp10f.c: Likewise.
46107         * math/w_exp10l.c: Likewise.
46108         * math/w_fmod.c: Likewise.
46109         * math/w_fmodf.c: Likewise.
46110         * math/w_fmodl.c: Likewise.
46111         * math/w_j0.c: Likewise.
46112         * math/w_j0f.c: Likewise.
46113         * math/w_j0l.c: Likewise.
46114         * math/w_j1.c: Likewise.
46115         * math/w_j1f.c: Likewise.
46116         * math/w_j1l.c: Likewise.
46117         * math/w_jn.c: Likewise.
46118         * math/w_jnf.c: Likewise.
46119         * math/w_log.c: Likewise.
46120         * math/w_logf.c: Likewise.
46121         * math/w_logl.c: Likewise.
46122         * math/w_log10.c: Likewise.
46123         * math/w_log10f.c: Likewise.
46124         * math/w_log10l.c: Likewise.
46125         * math/w_log2.c: Likewise.
46126         * math/w_log2f.c: Likewise.
46127         * math/w_log2l.c: Likewise.
46128         * math/w_pow.c: Likewise.
46129         * math/w_powf.c: Likewise.
46130         * math/w_powl.c: Likewise.
46131         * math/w_remainder.c: Likewise.
46132         * math/w_remainderf.c: Likewise.
46133         * math/w_remainderl.c: Likewise.
46134         * math/w_scalb.c: Likewise.
46135         * math/w_scalbf.c: Likewise.
46136         * math/w_scalbl.c: Likewise.
46137         * math/w_sqrt.c: Likewise.
46138         * math/w_sqrtf.c: Likewise.
46139         * math/w_sqrtl.c: Likewise.
46140         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46141         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46142         used.
46143         * math/math_private.h: Declare __kernel_standard_f.
46144         * math/w_cosh.c: Remove cruft and optimize a bit.
46145         * math/w_coshf.c: Likewise.
46146         * math/w_coshl.c: Likewise.
46147         * math/w_exp2.c: Likewise.
46148         * math/w_exp2f.c: Likewise.
46149         * math/w_exp2l.c: Likewise.
46150         * math/w_hypot.c: Likewise.
46151         * math/w_hypotf.c: Likewise.
46152         * math/w_hypotl.c: Likewise.
46153         * math/w_lgamma.c: Likewise.
46154         * math/w_lgamma_r.c: Likewise.
46155         * math/w_lgammaf.c: Likewise.
46156         * math/w_lgammaf_r.c: Likewise.
46157         * math/w_lgammal.c: Likewise.
46158         * math/w_lgammal_r.c: Likewise.
46159         * math/w_sinh.c: Likewise.
46160         * math/w_sinhf.c: Likewise.
46161         * math/w_sinhl.c: Likewise.
46162         * math/w_tgamma.c: Likewise.
46163         * math/w_tgammaf.c: Likewise.
46164         * math/w_tgammal.c: Likewise.
46165         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46166         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46167         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46168         Minor optimizations.  Pretty printing.  Remove cruft.
46169         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46170         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46171         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46172         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46173         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46174         * sysdeps/i386/fpu/e_asin.S: Likewise.
46175         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46176         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46177         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46178         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46179         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46180         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46181         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46182         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46183         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46184         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46185         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46186         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46187         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46188         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46189         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46190         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46191         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46192         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46193         * sysdeps/i386/fpu/e_log.S: Likewise.
46194         * sysdeps/i386/fpu/e_log10.S: Likewise.
46195         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46196         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46197         * sysdeps/i386/fpu/e_log2.S: Likewise.
46198         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46199         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46200         * sysdeps/i386/fpu/e_logf.S: Likewise.
46201         * sysdeps/i386/fpu/e_logl.S: Likewise.
46202         * sysdeps/i386/fpu/e_pow.S: Likewise.
46203         * sysdeps/i386/fpu/e_powf.S: Likewise.
46204         * sysdeps/i386/fpu/e_powl.S: Likewise.
46205         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46206         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46207         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46208         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46209         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46210         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46211         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46212         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46213         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46214         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46215         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46217         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46218         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46219         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46221         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46222         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46223         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46224         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46225         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46227         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46228         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46229         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46230         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46231         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46232         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46234         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46235         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46236         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46237         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46238         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46239         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46240         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46241         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46242         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46243         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46244         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46245         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46246         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46247         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46248         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46249         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46250         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46251         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46252         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46253         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46254         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46255         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46257         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46258         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46259         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46280         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46282         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46283         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46285         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46286         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46288         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46290         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46294         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46296         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46297         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46298         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46299         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46300         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46301         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46302         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46305         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46306         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46307         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46308         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46310         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46311         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46312         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46313         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46314         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46315         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46316         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46317         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46318         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46319         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46320         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46321         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46322         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46323         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46324         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46325         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46326         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46327         (__isnanf): Likewise.
46328         (__isinf_ns): Likewise.
46329         (__isinf_nsf): Likewise.
46330         (__finite): Likewise.
46331         (__finitef): Likewise.
46332         (__ieee754_sqrt): Define as macro.
46333         (__ieee754_sqrtf): Define as macro.
46334         (__ieee754_sqrtl): Define as macro.
46335         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46336         inlined copy.
46337         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46338         __FINITE_MATH_ONLY__ consistent.
46339         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46340
46341 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46342
46343         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46344         of rawmemchr.
46345
46346         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46347
46348 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46349
46350         * po/ja.po: Update from translation team.
46351
46352 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46353
46354         * locale/programs/locarchive.c (prepare_address_space): New function.
46355         (create_archive, enlarge_archive, open_archive): Use it.
46356
46357         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46358         inside [SHARED], where it is used.
46359
46360         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46361
46362         * nss/getent.c (netgroup_keys): Remove unused variable.
46363         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46364
46365 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46366
46367         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46368         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46370         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46371         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46372         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46373         * math/Makefile (libm-calls): Add s_isinf_ns.
46374         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46375         * math/multc3.c: Likewise.
46376         * math/s_casin.c: Likewise.
46377         * math/s_casinf.c: Likewise.
46378         * math/s_casinl.c: Likewise.
46379         * math/s_ccos.c: Likewise.
46380         * math/s_ccosf.c: Likewise.
46381         * math/s_ccosl.c: Likewise.
46382         * math/s_ctan.c: Likewise.
46383         * math/s_ctanf.c: Likewise.
46384         * math/s_ctanh.c: Likewise.
46385         * math/s_ctanhf.c: Likewise.
46386         * math/s_ctanhl.c: Likewise.
46387         * math/s_ctanl.c: Likewise.
46388         * math/w_fmod.c: Likewise.
46389         * math/w_fmodf.c: Likewise.
46390         * math/w_fmodl.c: Likewise.
46391         * math/w_remainder.c: Likewise.
46392         * math/w_remainderf.c: Likewise.
46393         * math/w_remainderl.c: Likewise.
46394         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46395         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46396         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46398         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46399         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46400         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46401         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46402
46403         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46404         of the number.
46405         * stdio-common/printf_fphex.c: Likewise.
46406         * stdio-common/printf_size.c: Likewise.
46407
46408         * math/e_exp10.c: Include math_private.h using <...> not "...".
46409         * math/e_exp10f.c: Likewise.
46410         * math/e_exp10l.c: Likewise.
46411         * math/e_exp2l.c: Likewise.
46412         * math/e_j0l.c: Likewise.
46413         * math/e_j1l.c: Likewise.
46414         * math/e_jnl.c: Likewise.
46415         * math/e_lgammal_r.c: Likewise.
46416         * math/e_rem_pio2l.c: Likewise.
46417         * math/e_scalb.c: Likewise.
46418         * math/e_scalbf.c: Likewise.
46419         * math/e_scalbl.c: Likewise.
46420         * math/k_cosl.c: Likewise.
46421         * math/k_sinl.c: Likewise.
46422         * math/k_tanl.c: Likewise.
46423         * math/s_cacoshf.c: Likewise.
46424         * math/s_catan.c: Likewise.
46425         * math/s_catanf.c: Likewise.
46426         * math/s_catanh.c: Likewise.
46427         * math/s_catanhf.c: Likewise.
46428         * math/s_catanhl.c: Likewise.
46429         * math/s_catanl.c: Likewise.
46430         * math/s_ccosh.c: Likewise.
46431         * math/s_ccoshf.c: Likewise.
46432         * math/s_ccoshl.c: Likewise.
46433         * math/s_cexp.c: Likewise.
46434         * math/s_cexpf.c: Likewise.
46435         * math/s_cexpl.c: Likewise.
46436         * math/s_clog.c: Likewise.
46437         * math/s_clog10.c: Likewise.
46438         * math/s_clog10f.c: Likewise.
46439         * math/s_clog10l.c: Likewise.
46440         * math/s_clogf.c: Likewise.
46441         * math/s_clogl.c: Likewise.
46442         * math/s_csin.c: Likewise.
46443         * math/s_csinf.c: Likewise.
46444         * math/s_csinh.c: Likewise.
46445         * math/s_csinhf.c: Likewise.
46446         * math/s_csinhl.c: Likewise.
46447         * math/s_csinl.c: Likewise.
46448         * math/s_csqrt.c: Likewise.
46449         * math/s_csqrtf.c: Likewise.
46450         * math/s_csqrtl.c: Likewise.
46451         * math/s_ctan.c: Likewise.
46452         * math/s_ctanf.c: Likewise.
46453         * math/s_ctanh.c: Likewise.
46454         * math/s_ctanhf.c: Likewise.
46455         * math/s_ctanhl.c: Likewise.
46456         * math/s_ctanl.c: Likewise.
46457         * math/s_ldexp.c: Likewise.
46458         * math/s_ldexpf.c: Likewise.
46459         * math/s_ldexpl.c: Likewise.
46460         * math/s_significand.c: Likewise.
46461         * math/s_significandf.c: Likewise.
46462         * math/s_significandl.c: Likewise.
46463         * math/w_acos.c: Likewise.
46464         * math/w_acosf.c: Likewise.
46465         * math/w_acosh.c: Likewise.
46466         * math/w_acoshf.c: Likewise.
46467         * math/w_acoshl.c: Likewise.
46468         * math/w_acosl.c: Likewise.
46469         * math/w_asin.c: Likewise.
46470         * math/w_asinf.c: Likewise.
46471         * math/w_asinl.c: Likewise.
46472         * math/w_atan2.c: Likewise.
46473         * math/w_atan2f.c: Likewise.
46474         * math/w_atan2l.c: Likewise.
46475         * math/w_atanh.c: Likewise.
46476         * math/w_atanhf.c: Likewise.
46477         * math/w_atanhl.c: Likewise.
46478         * math/w_cosh.c: Likewise.
46479         * math/w_coshf.c: Likewise.
46480         * math/w_coshl.c: Likewise.
46481         * math/w_dremf.c: Likewise.
46482         * math/w_exp10.c: Likewise.
46483         * math/w_exp10f.c: Likewise.
46484         * math/w_exp10l.c: Likewise.
46485         * math/w_exp2.c: Likewise.
46486         * math/w_exp2f.c: Likewise.
46487         * math/w_fmod.c: Likewise.
46488         * math/w_fmodf.c: Likewise.
46489         * math/w_fmodl.c: Likewise.
46490         * math/w_hypot.c: Likewise.
46491         * math/w_hypotf.c: Likewise.
46492         * math/w_hypotl.c: Likewise.
46493         * math/w_j0.c: Likewise.
46494         * math/w_j0f.c: Likewise.
46495         * math/w_j0l.c: Likewise.
46496         * math/w_j1.c: Likewise.
46497         * math/w_j1f.c: Likewise.
46498         * math/w_j1l.c: Likewise.
46499         * math/w_jn.c: Likewise.
46500         * math/w_jnf.c: Likewise.
46501         * math/w_jnl.c: Likewise.
46502         * math/w_lgamma.c: Likewise.
46503         * math/w_lgamma_r.c: Likewise.
46504         * math/w_lgammaf.c: Likewise.
46505         * math/w_lgammaf_r.c: Likewise.
46506         * math/w_lgammal.c: Likewise.
46507         * math/w_lgammal_r.c: Likewise.
46508         * math/w_log.c: Likewise.
46509         * math/w_log10.c: Likewise.
46510         * math/w_log10f.c: Likewise.
46511         * math/w_log10l.c: Likewise.
46512         * math/w_log2.c: Likewise.
46513         * math/w_log2f.c: Likewise.
46514         * math/w_log2l.c: Likewise.
46515         * math/w_logf.c: Likewise.
46516         * math/w_logl.c: Likewise.
46517         * math/w_pow.c: Likewise.
46518         * math/w_powf.c: Likewise.
46519         * math/w_powl.c: Likewise.
46520         * math/w_remainder.c: Likewise.
46521         * math/w_remainderf.c: Likewise.
46522         * math/w_remainderl.c: Likewise.
46523         * math/w_scalb.c: Likewise.
46524         * math/w_scalbf.c: Likewise.
46525         * math/w_scalbl.c: Likewise.
46526         * math/w_sinh.c: Likewise.
46527         * math/w_sinhf.c: Likewise.
46528         * math/w_sinhl.c: Likewise.
46529         * math/w_sqrt.c: Likewise.
46530         * math/w_sqrtf.c: Likewise.
46531         * math/w_sqrtl.c: Likewise.
46532         * math/w_tgamma.c: Likewise.
46533         * math/w_tgammaf.c: Likewise.
46534         * math/w_tgammal.c: Likewise.
46535
46536         * po/ja.po: Update from translation team.
46537
46538 2011-09-29  Andreas Jaeger  <aj@suse.de>
46539
46540         [BZ #13179]
46541         * sunrpc/netname.c (netname2host): Fix logic.
46542
46543         [BZ #6779]
46544         [BZ #6783]
46545         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46546         correctly.
46547         * math/w_remainder.c (__remainder): Likewise.
46548         * math/w_remainderf.c (__remainderf): Likewise.
46549         * math/libm-test.inc (remainder_test): Add test cases.
46550
46551 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46552
46553         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46554         sdiv_qrnnd.
46555
46556 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46557
46558         * string/test-memcmp.c: Avoid unncessary #defines.
46559         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46560
46561 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46562
46563         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46564         Use new sse2 version for core i3 - i7 as it's faster
46565         than sse42 version.
46566         (bit_Prefer_PMINUB_for_stringop): New.
46567         * sysdeps/x86_64/rawmemchr.S: Update.
46568         Replace with faster SSE2 version.
46569         * sysdeps/x86_64/memrchr.S: New file.
46570         * sysdeps/x86_64/memchr.S: Update.
46571         Replace with faster SSE2 version.
46572
46573 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46574
46575         * elf/dl-load.c (lose): Add cast to avoid warning.
46576
46577 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46578
46579         * po/ca.po: Update from translation team.
46580
46581         * inet/getnetgrent_r.c: Hook up nscd.
46582         * nscd/Makefile (routines): Add nscd_netgroup.
46583         (nscd-modules): Add netgroupcache.
46584         (CFLAGS-netgroupcache.c): Define.
46585         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46586         (cache_search): Add const to second parameter.
46587         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46588         INNETGR.
46589         (dbs): Add netgrdb entry.
46590         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46591         (verify_persistent_db): Handle netgrdb.
46592         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46593         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46594         GETFDNETGR.
46595         (netgroup_response_header): Define.
46596         (innetgroup_response_header): Define.
46597         (datahead): Add netgroup_response_header and innetgroup_response_header
46598         elements.
46599         * nscd/nscd.conf: Add entries for netgroup cache.
46600         * nscd/nscd.h (dbtype): Add netgrdb.
46601         (_PATH_NSCD_NETGROUP_DB): Define.
46602         (netgroup_iov_disabled): Declare.
46603         (xmalloc, xcalloc, xrealloc): Move declarations here.
46604         (cache_search): Adjust prototype.
46605         Add netgroup-related prototypes.
46606         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46607         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46608         (__nscd_innetgr): Declare.
46609         * nscd/selinux.c (perms): Use access_vector_t as element type and
46610         add netgroup-related initializers.
46611         * nscd/netgroupcache.c: New file.
46612         * nscd/nscd_netgroup.c: New file.
46613         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46614         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46615         For four parameters use innetgr.
46616         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46617         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46618         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46619         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46620
46621         * nscd/connections.c (register_traced_file): Don't register file
46622         for disabled databases.
46623
46624 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46627
46628         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46629         from tree and freeing node.
46630
46631 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46632
46633         * nss/nsswitch.c (__nss_database_lookup): Handle
46634         nss_parse_service_list out of memory case.
46635
46636 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46637
46638         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46639         out of memory case.
46640
46641 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46642
46643         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46644         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46645         pass it down.
46646         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46647         elf_machine_rela, elf_machine_lazy_rel.
46648         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46649         (ELF_DYNAMIC_DO_REL): Likewise.
46650         (ELF_DYNAMIC_DO_RELA): Likewise.
46651         (ELF_DYNAMIC_RELOCATE): Likewise.
46652         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46653         to ELF_DYNAMIC_DO_REL.
46654         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46655         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46656         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46657         elf_machine_rela.
46658         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46659         skip_ifunc, don't call ifunc function if non-zero.
46660         (elf_machine_rela): Likewise.
46661         (elf_machine_lazy_rel): Likewise.
46662         (elf_machine_lazy_rela): Likewise.
46663         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46664         (elf_machine_lazy_rel): Likewise.
46665         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46666         Likewise.
46667         (elf_machine_lazy_rel): Likewise.
46668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46669         Likewise.
46670         (elf_machine_lazy_rel): Likewise.
46671         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46672         (elf_machine_lazy_rel): Likewise.
46673         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46674         (elf_machine_lazy_rel): Likewise.
46675         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46676         (elf_machine_lazy_rel): Likewise.
46677         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46678         (elf_machine_lazy_rel): Likewise.
46679         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46680         (elf_machine_lazy_rel): Likewise.
46681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46682         (elf_machine_lazy_rel): Likewise.
46683
46684 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46685
46686         * nss/nss_files/files-init.c (_nss_files_init): Use static
46687         initialization for all the *_traced_file variables.
46688
46689 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46690
46691         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46692
46693 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46694
46695         [BZ #13226]
46696         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46697
46698 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46699
46700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46701         Reread the line before reparsing it.
46702
46703 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46704
46705         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46706
46707 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46708             Maxim Kuvyrkov  <maxim@codesourcery.com>
46709             Joseph Myers  <joseph@codesourcery.com>
46710
46711         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46712         if needed for __stack_chk_guard.
46713
46714 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46715
46716         * sysdeps/posix/spawni.c (script_execute): Always define it.
46717         It will be optimized away if unused.
46718         (maybe_script_execute): New function.
46719         (__spawni): Call it.
46720
46721         * Makerules: Don't include tls.make.
46722         (config-tls): Always set to thread.
46723         * tls.make.c: File removed.
46724
46725 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46726
46727         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46728         * config.make.in (CPPFLAGS-config): New substituted variable.
46729
46730 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46731
46732         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46733
46734         [BZ #13192]
46735         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46736         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46737
46738 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46739
46740         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46741         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46742         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46743         (CALL_FAIL): Likewise.
46744         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46745         (CALL_FAIL): Macro removed.
46746         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46747
46748 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46749
46750         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46751         for __FINITE_MATH_ONLY__ == 1.
46752
46753 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46754
46755         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46756         __ieee754_sqrt instead of sqrt.
46757         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46758         __ieee754_sqrtf instead of sqrtf.
46759         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46760         __floorf instead of floorf.
46761         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46762         __floorf, __truncf instead of floorf, truncf.
46763
46764 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46765
46766         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46767
46768         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46769         __extern_always_inline.
46770         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46771         32-bit.
46772
46773 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46774
46775         * elf/rtld.c (dl_main): Also relocate in dependency order when
46776         doing symbol dependency testing.
46777
46778 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46779
46780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46781         Always define `refsym'.
46782
46783 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46784
46785         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46786         (__FD_ELT): Renamed from __FDELT.
46787         * misc/bits/select2.h (__FD_ELT): Likewise.
46788         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46789         __FD_MASK instead of __FDELT, __FDMASK.
46790         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46791         Likewise.
46792         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46793         Likewise.
46794
46795         * elf/Makefile (gen-ldd): Fix pattern.
46796
46797         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46798         (init_tls): Likewise.
46799
46800 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46801
46802         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46803
46804 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46805
46806         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46807         `struct cmsghdr *' instead of `void *'.
46808         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46809         Likewise.
46810
46811 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46812
46813         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46814         if non-absolute.
46815         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46816         ldd_rewrite_script.
46817
46818 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46819
46820         * configure.in: Remove --with-tls option.
46821         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46822         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46823         out in case it is missing.
46824         * sysdeps/ia64/elf/configure.in: Likewise.
46825         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46826         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46827         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46828         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46829         * sysdeps/sh/elf/configure.in: Likewise.
46830         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46831         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46832         * sysdeps/x86_64/elf/configure.in: Likewise.
46833         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46834         * sysdeps/mach/hurd/tls.h: Likewise.
46835
46836         [BZ #13067]
46837         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46838
46839         [BZ #13090]
46840         * configure.in: Fix use of AC_INIT.
46841
46842         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46843
46844 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46845
46846         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46847         __set_errno.
46848         * malloc/hooks.c: Likewise.
46849
46850         [BZ #11929]
46851         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46852         variables statically.
46853         (narenas): Initialize.
46854         (list_lock): Initialize.
46855         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46856         initializtion of main_arena and list_lock.  Small cleanups.
46857         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46858         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46859         Add initializers to main_arena and mp_.
46860         (malloc_state): Remove pagesize member.  Change all users to use
46861         GLRO(dl_pagesize).
46862
46863         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46864         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46865         is always initialized.
46866
46867         * malloc/malloc.c: Removed unused configurations and dead code.
46868         * malloc/arena.c: Likewise.
46869         * malloc/hooks.c: Likewise.
46870         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46871
46872         * include/tls.h: Removed.  USE___THREAD must always be defined.
46873         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46874         * elf/dl-libc.c: Likewise.
46875         * elf/dl-tsd.c: Likewise.
46876         * include/errno.h: Likewise.
46877         * include/netdb.h: Likewise.
46878         * include/resolv.h: Likewise.
46879         * inet/herrno-loc.c: Likewise.
46880         * inet/herrno.c: Likewise.
46881         * malloc/arena.c: Likewise.
46882         * malloc/hooks.c: Likewise.
46883         * malloc/malloc.c: Likewise.
46884         * resolv/res-state.c: Likewise.
46885         * resolv/res_libc.c: Likewise.
46886         * sysdeps/i386/dl-machine.h: Likewise.
46887         * sysdeps/ia64/dl-machine.h: Likewise.
46888         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46889         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46890         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46891         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46892         * sysdeps/sh/dl-machine.h: Likewise.
46893         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46894         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46895         * sysdeps/unix/i386/sysdep.S: Likewise.
46896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46897         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46902         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46906         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46907         * sysdeps/x86_64/dl-machine.h: Likewise.
46908         * tls.make.c: Likewise.
46909
46910         * configure.in: Remove --with-__thread option.  Make tests for
46911         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46912         tls_model attribute fail if no support is available.  Remove
46913         USE_IN_LIBIO.
46914         * Makeconfig: Adjust for dropped configure option.  All features are
46915         now mandatory.
46916         * Makerules: Likewise.
46917         * Versions.def: Likewise.
46918         * argp/argp-fmtstream.c: Likewise.
46919         * argp/argp-fmtstream.h: Likewise.
46920         * argp/argp-help.c: Likewise.
46921         * assert/assert.c: Likewise.
46922         * config.h.in: Likewise.
46923         * config.make.in: Likewise.
46924         * configure: Likewise.
46925         * configure.in: Likewise.
46926         * csu/Versions: Likewise.
46927         * csu/init.c: Likewise.
46928         * elf/tst-audit2.c: Likewise.
46929         * elf/tst-tls10.c: Likewise.
46930         * elf/tst-tls10.h: Likewise.
46931         * elf/tst-tls11.c: Likewise.
46932         * elf/tst-tls12.c: Likewise.
46933         * elf/tst-tls14.c: Likewise.
46934         * elf/tst-tlsmod11.c: Likewise.
46935         * elf/tst-tlsmod12.c: Likewise.
46936         * elf/tst-tlsmod13.c: Likewise.
46937         * elf/tst-tlsmod13a.c: Likewise.
46938         * elf/tst-tlsmod14a.c: Likewise.
46939         * elf/tst-tlsmod15b.c: Likewise.
46940         * elf/tst-tlsmod16a.c: Likewise.
46941         * elf/tst-tlsmod16b.c: Likewise.
46942         * elf/tst-tlsmod7.c: Likewise.
46943         * elf/tst-tlsmod8.c: Likewise.
46944         * elf/tst-tlsmod9.c: Likewise.
46945         * gmon/gmon.c: Likewise.
46946         * grp/fgetgrent_r.c: Likewise.
46947         * grp/putgrent.c: Likewise.
46948         * hurd/fopenport.c: Likewise.
46949         * include/libc-symbols.h: Likewise.
46950         * include/tls.h: Likewise.
46951         * intl/gettextP.h: Likewise.
46952         * intl/loadinfo.h: Likewise.
46953         * locale/global-locale.c: Likewise.
46954         * locale/localeinfo.h: Likewise.
46955         * mach/devstream.c: Likewise.
46956         * malloc/arena.c: Likewise.
46957         * malloc/set-freeres.c: Likewise.
46958         * misc/err.c: Likewise.
46959         * misc/getttyent.c: Likewise.
46960         * misc/mntent_r.c: Likewise.
46961         * posix/getopt.c: Likewise.
46962         * posix/wordexp.c: Likewise.
46963         * pwd/fgetpwent_r.c: Likewise.
46964         * resolv/Versions: Likewise.
46965         * resolv/res_hconf.c: Likewise.
46966         * shadow/fgetspent_r.c: Likewise.
46967         * shadow/putspent.c: Likewise.
46968         * stdio-common/printf_fphex.c: Likewise.
46969         * stdio-common/tmpfile.c: Likewise.
46970         * stdlib/abort.c: Likewise.
46971         * stdlib/fmtmsg.c: Likewise.
46972         * sunrpc/auth_unix.c: Likewise.
46973         * sunrpc/clnt_perr.c: Likewise.
46974         * sunrpc/clnt_tcp.c: Likewise.
46975         * sunrpc/clnt_udp.c: Likewise.
46976         * sunrpc/clnt_unix.c: Likewise.
46977         * sunrpc/openchild.c: Likewise.
46978         * sunrpc/svc_simple.c: Likewise.
46979         * sunrpc/svc_tcp.c: Likewise.
46980         * sunrpc/svc_udp.c: Likewise.
46981         * sunrpc/svc_unix.c: Likewise.
46982         * sunrpc/xdr.c: Likewise.
46983         * sunrpc/xdr_array.c: Likewise.
46984         * sunrpc/xdr_rec.c: Likewise.
46985         * sunrpc/xdr_ref.c: Likewise.
46986         * sunrpc/xdr_stdio.c: Likewise.
46987
46988 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46989
46990         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46991
46992 2011-07-03  Andreas Jaeger  <aj@suse.de>
46993
46994         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46995         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46996         regenerate with gen-libm-tests.pl.
46997
46998 2010-05-12  Petr Baudis  <pasky@suse.cz>
46999
47000         [BZ #11589]
47001         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47002         around j0() zero points by switching to j1().
47003         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47004         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47007
47008 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47009
47010         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47011         instead of 0.
47012         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47013         instead of 0.
47014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47015         Patch in part by Pavel Roskin <proski@gnu.org>.
47016
47017         [BZ #13138]
47018         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47019         realloc.
47020         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47021         Free memory block if necessary.
47022
47023         [BZ #12847]
47024         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47025         be NULL.  Don't lock in this case.
47026
47027 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47028
47029         * elf/elf.h (ELFOSABI_GNU): New macro.
47030         (ELFOSABI_LINUX): Define to that.
47031
47032 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47033
47034         * string/strncat.c (strncat): Undef the symbol in case it has been
47035         defined in bits/string.h.
47036
47037 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47038
47039         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47040
47041         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47042         link map.
47043
47044 2011-08-17  Andreas Jaeger  <aj@suse.de>
47045
47046         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47047
47048 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47049             Ian Lance Taylor  <iant@google.com>
47050
47051         * math/libm-test.inc (lround_test): New testcase.
47052         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47053
47054 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47055
47056         * Makefile: Remove support for automatic cvs check-ins.
47057         * Makerules: Likewise.
47058         * config.make.in: Likewise.
47059         * configure.in: Likewise.
47060         * intl/Makefile: Likewise.
47061         * locale/Makefile: Likewise.
47062         * po/Makefile: Likewise.
47063         * posix/Makefile: Likewise.
47064         * sysdeps/gnu/Makefile: Likewise.
47065         * sysdeps/mach/hurd/Makefile: Likewise.
47066         * sysdeps/sparc/sparc32/Makefile: Likewise.
47067
47068         [BZ #13118]
47069         * posix/Makefile (bug-regex32-ENV): Define.
47070         Patch by John Stanley <jpsinthemix@verizon.net>.
47071
47072         * misc/Makefile (headers): Add bits/select2.h.
47073         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47074         * misc/bits/select2.h: New file.
47075         * include/bits/select2.h: New file.
47076         * debug/Makefile (routines): Add fdelt_chk.
47077         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47078         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47079         FD_ISSET.
47080         * debug/fdelt_chk.c: New file.
47081
47082         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47083         * wcsmbs/test-wmemcmp.c: Likewise.
47084         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47085         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47086
47087 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47088
47089         * string/Makefile (strop-tests): Add memcmp.
47090         * string/test-wmemcmp.c: New file.
47091         * string/test-memcmp.c: Add wmemcmp support.
47092
47093 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47094
47095         [BZ #13153]
47096         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47097         2011-07-19 change.
47098
47099         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47100         garbage value in a __mach_port_mod_refs call in the cases of the
47101         task-self and thread-self ports.
47102
47103 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47104
47105         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47106
47107 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47108
47109         * elf/dl-load.c (lose): Check for non-null L.
47110
47111 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47112
47113         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47114
47115         * elf/dl-libc.c (dlerror_run): Pass back error code from
47116         dl_catch_error.
47117
47118         [BZ #13123]
47119         * elf/dl-load.c (lose): Free l_origin if it is valid.
47120
47121         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47122         names.
47123         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47124         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47125         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47126         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47127         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47128         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47129
47130 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47131
47132         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47133         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47134         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47135         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47136         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47137         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47138         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47139         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47140         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47141         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47142
47143 2011-08-15  Alan Modra  <amodra@gmail.com>
47144
47145         [BZ #13092]
47146         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47147         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47148         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47149         ppc_mcount to static-only-routines.
47150         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47151         __mcount_internal.
47152         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47153         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47154
47155 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47156
47157         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47158         for finite and infinity parameters.
47159
47160 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47161
47162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47163         and add nop instructions for throughput optimization.
47164         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47165
47166 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47167
47168         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47169         aligned copy for power7 with vector-scalar instructions.
47170         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47171
47172 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47173
47174         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47175         AVX check.
47176
47177 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47178
47179         [BZ #13144]
47180         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47181         last change.
47182
47183 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47184
47185         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47186         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47187         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47188         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47189         clock_gettime.
47190
47191 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47192
47193         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47194         Forgot to demangle the pointer.
47195
47196         * sysdeps/i386/sysdep.h: Define atom_text_section.
47197         * sysdeps/x86_64/sysdep.h: Likewise.
47198         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47199         section with atom_text_section.
47200         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47201         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47202         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47203         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47205
47206         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47207         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47208         already be defined.  Change to take two parameters and don't assign
47209         result to variable.  Adjust all users.
47210         Define INTERNAL_GETTIME if not already defined.
47211         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47212         call.
47213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47214         HAVE_CLOCK_GETTIME_VSYSCALL.
47215         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47216
47217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47218         gettimeofday vsyscall, just use time.
47219
47220 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47221
47222         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47223         <errno.h>.
47224
47225 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47226
47227         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47228         syscall on x86-64.
47229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47230         syscall.
47231         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47232         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47233         syscall if possible.
47234
47235 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47236
47237         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47238         e_ident.  Don't pass to find_mapsXX.
47239         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47240
47241 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47242
47243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47244         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47245         * sysdeps/x86_64/multiarch/strchr.S: Update.
47246         Check bit_slow_BSF bit.
47247         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47248         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47249         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47250
47251 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47252
47253         [BZ #13134]
47254         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47255         before glibc 2.15.
47256         (tryshell): Define.
47257         (__spawni): Change last parameter to be flag.  Test
47258         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47259         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47260         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47261         * posix/spawni.c: Likewise.
47262         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47263         * posix/spawnp.c: Likewise.  Change normal version to use
47264         SPAWN_XFLAGS_USE_PATH.
47265         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47266         SPAWN_XFLAGS_TRY_SHELL.
47267
47268         [BZ #13150]
47269         * posix/glob.h: Remove gcc 1.x support.
47270
47271         [BZ #13068]
47272         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47273
47274 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47275
47276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47277         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47278         strrchr-sse2-bsf
47279         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47280         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47281         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47282         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47283         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47284         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47285
47286 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47287
47288         * sysdeps/x86_64/wcscmp.S: New file.
47289
47290         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47291         wcscmp-c wcscmp-sse2
47292         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47293         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47294         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47295         * wcsmbs/wcscmp.c: Allow renaming.
47296
47297 2011-09-05  David S. Miller  <davem@davemloft.net>
47298
47299         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47300         stack slot, rather than the struct return pointer slot.
47301         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47302         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47304         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47305
47306 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47307
47308         * po/ja.po: Update from translation team.
47309
47310         [BZ #13144]
47311         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47312         kernel in 64-bit binaries.
47313
47314 2011-09-01  David S. Miller  <davem@davemloft.net>
47315
47316         * elf/elf.h (HWCAP_SPARC_*): Move to..
47317         * sysdeps/sparc/sysdep.h: this new file and add new values.
47318         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47319         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47320         _DL_HWCAP_COUNT to 24.
47321         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47322         entries.
47323         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47324         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47325         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47326         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47327         instead of magic constants.
47328         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47329
47330 2011-08-31  David S. Miller  <davem@davemloft.net>
47331
47332         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47334         Reimplement to do errno handling inline.
47335         (SYSCALL_ERROR_HANDLER): New macro.
47336         (__SYSCALL_STRING): Do not do errno handling in asm.
47337         (__CLONE_SYSCALL_STRING): Delete.
47338         (__INTERNAL_SYSCALL_STRING): Delete.
47339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47340         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47341         (PSEUDO): Reimplement to do errno handling inline.
47342         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47343         (SYSCALL_ERROR_HANDLER): New macro.
47344         (__SYSCALL_STRING): Do not do errno handling in asm.
47345         (__CLONE_SYSCALL_STRING): Delete.
47346         (__INTERNAL_SYSCALL_STRING): Delete.
47347         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47348         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47349         i386.
47350         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47351         (inline_syscall*): Add 'err' argument.
47352         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47353         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47354         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47355         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47356
47357         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47358         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47359
47360 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47361
47362         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47363
47364 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47365
47366         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47367         directive.
47368
47369 2011-08-24  David S. Miller  <davem@davemloft.net>
47370
47371         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47372
47373 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47374
47375         * elf/Makefile: Add rules to build and run unload8 test.
47376         * elf/unload8.c: New file.
47377         * elf/unload8mod1.c: New file.
47378         * elf/unload8mod1x.c: New file.
47379         * elf/unload8mod2.c: New file.
47380         * elf/unload8mod3.c: New file.
47381
47382         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47383         it wasn't used.
47384
47385 2011-08-23  David S. Miller  <davem@davemloft.net>
47386
47387         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47388         subtract stack bias.
47389         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47390         %sp not %fp in calculations.
47391         (_JMPBUF_UNWINDS_ADJ): Likewise.
47392
47393         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47394         (aio_suspend): Call it to force an exception region around the
47395         AIO_MISC_WAIT() invocation.
47396
47397 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47398
47399         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47400         backslash.
47401
47402 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47403
47404         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47405         protection macro.
47406         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47407         and <dl-machine.h>.
47408         (Elf64_FuncDesc): Remove.
47409
47410 2011-08-22  David S. Miller  <davem@davemloft.net>
47411
47412         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47413         sigaltstack check, add missing cfi directives.
47414         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47415         missing cfi directives, and sigaltstack handling.
47416
47417 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47418
47419         [BZ #11724]
47420         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47421         object is seen twice.
47422         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47423
47424         * elf/Makefile (distribute): Add tst-initorder2.c.
47425         (tests): Add tst-initorder2.
47426         (modules-names): Add tst-initorder2a tst-initorder2b
47427         tst-initorder2c tst-initorder2d.  Add rules to build them.
47428         ($(objpfx)tst-initorder2.out): New rule.
47429         * elf/tst-initorder2.c: New file.
47430         * elf/tst-initorder2.exp: New file.
47431
47432 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47433
47434         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47435
47436         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47437         dependencies back to end of function.
47438
47439         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47440         $(elfobjdir)/ld.so.
47441
47442 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47443
47444         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47445         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47447         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47448         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47449         of __vdso_gettimeofday.
47450         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47451         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47452         attribute_hidden.
47453         (_libc_vdso_platform_setup): Remove initialization of
47454         __vdso_gettimeofday and __vdso_time.
47455
47456 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47457
47458         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47459         and fgetc_unlocked.
47460         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47461         getc_unlocked.
47462
47463         * elf/dl-open.c (add_to_global): Report additions to the global scope
47464         for LD_DEBUG=scopes.
47465         (dl_open_worker): Also print scope of newly loaded dependencies.
47466         (_dl_show_scope): Indicate if there is no scope.
47467
47468         [BZ #13114]
47469         * stdio-common/Makefile (tests): Add bug24.
47470         * stdio-common/bug24.c: New file.
47471
47472 2011-08-19  Andreas Jaeger  <aj@suse.de>
47473
47474         [BZ #13114]
47475         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47476         non-existant file when using close-on-exec mode.
47477
47478 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47479
47480         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47481         the very first instruction.
47482
47483         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47484         the CFI state in the end.
47485         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47486         inclusion of dl-trampoline.h.
47487         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47488
47489 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47490
47491         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47492         expectations for long double.
47493
47494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47495         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47496
47497 2011-08-14  David S. Miller  <davem@davemloft.net>
47498
47499         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47500         artificual limit depends upon the system page size.
47501
47502 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47503
47504         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47505         * resolv/Makefile: Define CFLAGS-libresolv.
47506
47507 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47508
47509         * nss/makedb.c (compute_tables): Make variables used in nested
47510         function static.
47511
47512 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47513
47514         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47515         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47516         if buffer was too small.
47517
47518         * elf/pldd.c (main): Attach to all threads in the process.
47519         Rewrite /proc handling to use *at functions.
47520
47521 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47522
47523         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47524         specifies first scope to show.
47525         (dl_open_worker): Update callers.  Move printing scope of new
47526         object to before the relocation.
47527         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47528         * sysdeps/generic/ldsodefs.h: Update declaration.
47529
47530         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47531         string for the scope number.
47532
47533 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47534
47535         * nscd/servicescache.c (cache_addserv): Make sure written is always
47536         initialized.
47537
47538 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47539
47540         * sysdeps/i386/i486/bits/atomic.h
47541         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47542         statement expression, so as to suppress "set but not used" warning.
47543         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47544
47545         * string/strncat.c (STRNCAT): Use prototype definition.
47546
47547         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47548         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47549         -Iprograms here.
47550         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47551         (localedef-modules): Add localedef.
47552         (locale-modules): Add locale.
47553
47554         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47555         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47556         to avoid a warning.
47557
47558 2011-08-14  David S. Miller  <davem@davemloft.net>
47559
47560         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47561         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47562
47563 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47564
47565         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47566         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47567         * elf/rtld.c (dl_main): Set l_name of vDSO.
47568         Call _dl_show_scope when DL_DEBUG_SCOPES.
47569         (process_dl_debug): Recognize scopes flag and also set it for all.
47570         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47571         Declare _dl_show_scope.
47572
47573         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47574         (do_dlopen): Pass caller_dlopen to dl_open.
47575         (__libc_dlopen_mode): Initialize caller_dlopen.
47576
47577         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47578         of libc.  Make tolower call locale-independent.  Optimize a bit by
47579         using isdigit instead of isalnum.
47580         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47581
47582 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47583
47584         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47585         was a dependency or dynamically loaded.
47586
47587 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47588
47589         * intl/l10nflist.c: Allow architecture-specific pop function.
47590         * sysdeps/x86_64/l10nflist.c: New file.
47591
47592         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47593         classification.
47594
47595 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47596
47597         * include/dirent.h: Add libc_hidden_proto for scandirat and
47598         scandirat64.  Don't declare __scandirat64.
47599         * dirent/scandirat.c: Add libc_hidden_def.
47600         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47601         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47602
47603 2011-08-10  David S. Miller  <davem@davemloft.net>
47604
47605         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47606         enum.
47607         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47608         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47609         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47610
47611 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47612
47613         * Versions.def [libc]: Add GLIBC_2.15.
47614         * dirent/Makefile (routines): Add scandirat and scandirat64.
47615         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47616         GLIBC_2.15.
47617         * dirent/dirent.h: Declare scandirat and scandirat64.
47618         * dirent/scandirat.c: New file.
47619         * dirent/scandirat64.c: New file.
47620         * sysdeps/wordsize-64/scandirat.c: New file.
47621         * sysdeps/wordsize-64/scandirat64.c: New file.
47622         * dirent/opendir.c: Define opendirat.
47623         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47624         using scandirat.
47625         * dirent/scandir64.c: Adjust for scandir.c change.
47626         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47627         __scandirat64, and __scandir_cancel_handler.
47628         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47629         additional parameter and use openat instead of open (outside of ld.so).
47630         Add new __opendir as wrapper around __opendirat.
47631         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47632         here without requiring old scandirat implementation.
47633
47634 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47635
47636         * dirent/scandir.c (cancel_handler): Renamed to
47637         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47638         defined.  Adjust users.
47639         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47640         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47641
47642 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47643
47644         * string/test-string.h (IMPL): Use __STRING to expand name and then
47645         stringify it.
47646
47647         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47648         of cleanups.
47649
47650 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47651
47652         * string/Makefile: Update.
47653         (strop-tests): Append strncat.
47654         * string/test-wcscmp.c: New file.
47655         New comprehensive test for wcscmp.
47656         * string/test-strcmp.c: Update.
47657         (WIDE): New define.
47658
47659 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47660
47661         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47662         line.
47663
47664 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47665
47666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47667         encoding to ACE if AI_IDN.
47668
47669 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47670
47671         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47672         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47673
47674 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47675
47676         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47677         Fix overflow bug in strncat.
47678         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47679
47680         * string/test-strncat.c: Update.
47681         Add new tests for checking overflow bugs.
47682
47683 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47684
47685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47686         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47687         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47688         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47689         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47690         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47691         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47692         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47693         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47694
47695         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47696         (USE_AS_STRCAT): Define.
47697         Add strcat and strncat support.
47698         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47699
47700 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47701
47702         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47703         __n bigger than INT_MAX+1.
47704         (__strncmp_g): Likewise.
47705
47706 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47707
47708         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47709         * libio/stido.h: Likewise.
47710
47711         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47712         (AF_NFC): Define.
47713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47714         (AF_NFC): Define.
47715
47716         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47717         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47718         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47719         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47720         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47721
47722         [BZ #13021]
47723         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47724         installed.
47725
47726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47727         typo.
47728         (_dl_x86_64_save_sse): Likewise.
47729
47730 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47731
47732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47733         OSXSAVE.
47734         (_dl_x86_64_save_sse): Likewise.
47735
47736         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47737
47738         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47739
47740 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47741
47742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47743         change.
47744         (_dl_x86_64_save_sse): Use correct AVX check.
47745
47746 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47747
47748         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47749         bug in strncpy/strncat.
47750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47751
47752 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47753
47754         * string/tester.c (test_strcat): Add tests for different alignments
47755         of source and destination.
47756         (test_strncat): Likewise.
47757
47758 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47759
47760         [BZ #12852]
47761         * posix/glob.c (glob): Check passed in values before using them in
47762         expressions to avoid some overflows.
47763         (glob_in_dir): Likewise.
47764
47765         [BZ #13007]
47766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47767         check for AVX enablement so that we don't crash with old kernels and
47768         new hardware.
47769         * elf/tst-audit4.c: Add same checks here.
47770         * elf/tst-audit6.c: Likewise.
47771
47772         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47773
47774 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47775
47776         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47777
47778 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47779
47780         * po/cs.po: Update from translation team.
47781         * po/bg.po: Likewise.
47782
47783 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47784
47785         * misc/sys/cdefs.h: Add support for const attribute.
47786         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47787         to gnu_dev_{major,minor,makedev} functions.
47788
47789 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47790
47791         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47792
47793 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47794
47795         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47796         strlen results.
47797
47798 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47799
47800         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47801         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47802         register in order to avoid conflicts with the soft frame pointer
47803         being held in r11 when necessary.
47804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47805         (INTERNAL_VSYSCALL_NCS): Likewise.
47806
47807 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47808
47809         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47810         * elf/dl-fini.c (_dl_fini): Adjust caller.
47811         * elf/dl-close.c (_dl_close_worker): Likewise.
47812         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47813
47814 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47815
47816         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47817         "aux_cache->nlibs < 0".
47818
47819         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47820         in the reload-count case.
47821
47822 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47823
47824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47825         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47826         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47827         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47828         * sysdeps/x86_64/multiarch/strcat.S: New file.
47829         * sysdeps/x86_64/multiarch/strncat.S: New file.
47830         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47831         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47832         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47833         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47834         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47835         (USE_AS_STRCAT): Define.
47836         Add strcat and strncat support.
47837         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47839         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47840         * string/strncat.c: Update.
47841         (USE_AS_STRNCAT): Define.
47842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47843         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47844         and i7.
47845         * sysdeps/x86_64/multiarch/init-arch.h
47846         (bit_Prefer_PMINUB_for_stringop): New.
47847         (index_Prefer_PMINUB_for_stringop): Likewise.
47848         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47849         bit_Prefer_PMINUB_for_stringop.
47850
47851 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47852
47853         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47854         buffer64.
47855         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47856         of casting of buffer.
47857         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47858         buffer32 and buffer64.
47859         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47860         writes instead of casting of buffer.
47861         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47862         buffer32.
47863         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47864         casting of buffer.
47865
47866 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47867
47868         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47869
47870 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47871
47872         * nscd/nscd.c (termination_handler): Don't do anything for a database
47873         if it has not yet been initialized.
47874
47875 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47876
47877         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47878
47879 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47880
47881         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47882
47883 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47884
47885         * po/nl.po: Update from translation team.
47886         * po/sv.po: Likewise.
47887
47888 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47889
47890         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47891         now disallowed by GCC.
47892
47893         * configure.in (use-default-link): Default to yes if a test -shared
47894         link meets our qualifications.
47895         * configure: Regenerated.
47896
47897         * config.make.in (output-format): New variable.
47898         * configure.in: Check for ld --print-output-format support.
47899         * configure: Regenerated.
47900         * Makerules ($(common-objpfx)format.lds)
47901         [$(output-format) != unknown]: Just use $(output-format),
47902         instead of the linker-script munging.
47903
47904 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47905
47906         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47907         of $(common-objpfx)shlib.lds.
47908         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47909
47910         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47911         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47912
47913         * configure.in (-z relro check): Adjust test code to add a large
47914         writable data section after it.
47915         * configure: Regenerated.
47916
47917 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47918
47919         * configure.in (-z relro check): Fix test code to make the variable
47920         truly const.
47921         * configure: Regenerated.
47922
47923 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47924
47925         * nscd/nscd.h (struct traced_file): Define.
47926         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47927         elements.  Add traced_files.
47928         (inotify_fd): Declare.
47929         (register_traced_file): Declare.
47930         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47931         (inotify_fd): Export.
47932         (resolv_conf_descr): Remove.
47933         (nscd_init): Move inotify descriptor creation to main.
47934         Don't register files for notification here.
47935         (register_traced_file): New function.
47936         (invalidate_cache): Don't use reset_res to determine whether to call
47937         res_init, go through the list of registered files.
47938         (main_loop_poll): The inotify descriptors are now stored in the
47939         structures for the traced files.
47940         (main_loop_epoll): Likewise
47941         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47942         to __nss_disable_nscd.
47943         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47944         for a database anymore.  Check the records for all the registered
47945         files instead.
47946         * nss/Makefile (libnss_files-routines): Add files-init.
47947         (libnss_db-routines): Add db-init.
47948         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47949         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47950         * nss/nss_db/db-init.c: New file.
47951         * nss/nss_files/files-init.c: New file.
47952         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47953         __nss_lookup_function.
47954         (__nss_lookup_function): Call nss_load_library.
47955         (nss_load_all_libraries): New function.
47956         (__nss_disable_nscd): Take parameter with callback function for files
47957         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47958         used for the cached services.
47959         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47960         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47961         options for features to all the files in nscd.
47962
47963         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47964
47965 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47966
47967         * csu/elf-init.c (__libc_csu_init): Comment typo.
47968
47969 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47970
47971         * po/pl.po: Update from translation team.
47972         * po/ja.po: Likewise.
47973         * po/ru.po: Likewise.
47974         * po/ko.po: Likewise.
47975         * po/fr.po: Likewise.
47976
47977 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47978
47979         * configure.in (.ctors/.dtors header and trailer check):
47980         Use an empirical test on a built program.
47981         * configure: Regenerated.
47982
47983         * configure.in (-z relro check): Use an empirical test on a built DSO.
47984         Detect, but do not require, on ia64.
47985         * configure: Regenerated.
47986
47987         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47988         Update tests that use readelf to use $READELF instead.
47989         * configure: Regenerated.
47990
47991 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47992
47993         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47994         if the result is not used.
47995
47996 2011-07-05  Andreas Jaeger  <aj@suse.de>
47997
47998         [BZ#9696]
47999         * stdlib/tst-strtod.c: Add testcase.
48000
48001 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48002
48003         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48004         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48005         The latter has a higher limit.  Take additional parameter to pass to
48006         the new function.
48007         (__pathconf): Pass file to __statfs_link_max.
48008         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48009         __statfs_link_max.
48010         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48011         __statfs_link_max.
48012
48013         [BZ #12868]
48014         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48015         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48016         Handle Lustre.
48017         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48018         (__statfs_filesize_max): Likewise.
48019         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48020
48021 2011-07-05  Andreas Jaeger  <aj@suse.de>
48022
48023         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48024
48025 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48026
48027         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48028         `status' variable.
48029         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48030         Likewise.
48031
48032 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48033
48034         * Makefile (strop-tests): Add strncat.
48035         * string/test-strncat.c: New file.
48036
48037 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48038
48039         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48040
48041 2011-06-21  Andreas Jaeger  <aj@suse.de>
48042
48043         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48044         Copy rule from iconvdata/Makefile.
48045
48046 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48047
48048         [BZ #12922]
48049         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48050         but no long options are defined, just return 'W'.
48051
48052 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48053
48054         [BZ #9696]
48055         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48056
48057 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48058
48059         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48060         netgroups to read.
48061         (innetgr): Likewise.
48062
48063 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48064
48065         * config.make.in (install_root): Default to $(DESTDIR).
48066
48067 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48068
48069         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48070
48071 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48072
48073         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48074
48075         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48076         containing directory rather than embedding absolute directory names.
48077
48078         * scripts/check-local-headers.sh: Rewritten using awk.
48079         Match by word, not by line.  Print error messages for matches.
48080         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48081
48082         * Makerules [shlib-lds-flags empty]:
48083         ($(common-objpfx)libc_pic.opts): New target.
48084         ($(common-objpfx)libc_pic.os.clean): New target.
48085         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48086
48087         * config.make.in (OBJCOPY): New variable.
48088         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48089         * configure: Regenerated.
48090
48091         * config.make.in (use-default-link): New variable.
48092         * configure.in (use_default_link): Grok --with-default-link to set it.
48093         * configure: Regenerated.
48094         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48095         (shlib-lds, shlib-lds-flags): Define to empty.
48096
48097         * Makerules (shlib-lds): New variable.
48098         (shlib-lds-flags): New variable.
48099         (build-shlib, build-moduile, build-module-asneeded): Use it.
48100         ($(common-objpfx)libc.so): Use $(shlib-lds).
48101         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48102         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48103
48104         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48105         DT_FLAGS/DT_FLAGS_1 with zero flags.
48106
48107         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48108         linker script munging.
48109
48110 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48111
48112         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48113         as 128-bit value.
48114         * crypt/sha512.c (sha512_process_block): Perform total addition using
48115         128-bit if possible.
48116         (__sha512_finish_ctx): Likewise.
48117         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48118         as 64-bit value.
48119         * crypt/sha256.c (SWAP64): Define.
48120         (sha256_process_block): Perform total addition using 64-bit if
48121         possible.
48122         (__sha256_finish_ctx): Likewise.
48123
48124 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48125
48126         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48127         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48128         * nscd/hstcache.c (cache_addhst): Likewise.
48129         * nscd/grpcache.c (cache_addgr): Likewise.
48130         * nscd/aicache.c (addhstaiX): Likewise
48131         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48132
48133 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48134
48135         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48136         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48137         * nscd/hstcache.c (cache_addhst): Likewise.
48138         * nscd/grpcache.c (cache_addgr): Likewise.
48139         * nscd/aicache.c (addhstaiX): Likewise
48140
48141 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48142
48143         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48144         domain only when needed.
48145
48146 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48147
48148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48149         is always restored.
48150
48151 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48152
48153         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48154         are re-adding the entry.
48155         * nscd/servicescache.c (cache_addserv): Likewise.
48156
48157 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48158
48159         * sysdeps/generic/dl-irel.h: fix protection against multiple
48160         inclusions.
48161         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48162
48163 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48164
48165         [BZ #12935]
48166         * malloc/memusage.sh: Fix quoting in message.
48167         * debug/xtrace.sh: Likewise.
48168
48169         * configure.in: Remove support for --experimental-malloc option, make
48170         it the default.
48171         * config.make.in: Likewise.
48172         * malloc/Makefile: Likewise.
48173
48174 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48175
48176         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48177         two-byte characters.
48178
48179 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48180
48181         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48182         AC_CACHE_CHECK invocation.
48183         * configure: Regenerated.
48184
48185         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48186
48187 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48188
48189         [BZ #12350]
48190         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48191         bit from old_res_options.
48192
48193         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48194
48195         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48196         value type for setfct.
48197
48198 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48199
48200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48201         __gettimeofday instead of gettimeofday.
48202
48203 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48204
48205         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48206
48207 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48208
48209         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48210
48211         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48212         info.
48213
48214 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48215
48216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48217         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48218         strcpy-sse2-unaligned strncpy-sse2-unaligned
48219         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48220         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48221         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48222         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48223         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48224         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48226         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48227         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48228         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48229         (STRCPY): Support SSE2 and SSSE3 versions.
48230
48231 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48232
48233         [BZ #12874]
48234         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48235         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48236         kernels which artificially limit size of requests.
48237
48238 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48239
48240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48241         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48242         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48243         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48244         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48245         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48246         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48247         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48248         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48249         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48250         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48251         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48252         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48253         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48254         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48256         Enable unaligned load optimization for Intel Core i3, i5 and i7
48257         processors.
48258         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48259         Define.
48260         (index_Fast_Unaligned_Load): Define.
48261         (HAS_FAST_UNALIGNED_LOAD): Define.
48262
48263 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48264
48265         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48266
48267 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48268
48269         [BZ #12907]
48270         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48271         until it is clear that the information is realy needed.
48272         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48273
48274 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48275
48276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48277
48278 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48279
48280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48281         /sys/devices/system/cpu/online if it is usable.
48282
48283         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48284         reading the information from the /proc filesystem to once a second.
48285
48286 2011-06-21  Andreas Jaeger  <aj@suse.de>
48287
48288         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48289         NULL after inclusion of kernel headers.
48290
48291 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48292
48293         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48294         calls to internal_setent.
48295
48296         [BZ #12885]
48297         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48298         addresses using gethostbyname4_r ignore IPv4 addresses.
48299
48300         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48301         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48302
48303         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48304
48305 2011-06-20  David S. Miller  <davem@davemloft.net>
48306
48307         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48308         inclusions.
48309         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48310
48311         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48312         (elf_irel): Use it.
48313         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48314         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48315         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48316         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48317         * sysdeps/x86_64/dl-irel.h: Likewise.
48318
48319         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48320         * elf/dl-sym.c: Likewise.
48321
48322 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48323
48324         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48325         need to dereference resplen2.
48326
48327 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48328
48329         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48330
48331 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48332
48333         * Makeconfig: Define vardbdir and inst_vardbdir.
48334         * nss/Makefile: Add rules to install db-Makefile.
48335
48336         * nss/nss_db/db-XXX.c: Cleanup.
48337
48338         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48339         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48340         GLIBC_PRIVATE.
48341         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48342         * nss/makedb.c: Implement -g option to specify that value strings
48343         are generated and should not be added to table iterated over for
48344         get*ent calls.
48345         * nss/nss_db/db-initgroups.c: New file.
48346
48347         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48348         interface.
48349
48350         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48351         (internal_getgrouplist): Adjust to name change.
48352         Update use_initgroups_entry if this is not the first call.
48353         * nss/databases.def: Add initgroups entry.
48354
48355         * nss/makedb.c (compute_tables): Check result of multiple hash table
48356         sizes to minimize maximum chain length.
48357
48358 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48359
48360         * Versions.def: Add entry for libnss_db.
48361         * shlib-versions: Likewise.
48362         * nss/Makefile: Add rules to build libnss_db.
48363         * nss/Versions: Add libnss_db information.  Organize libnss_files
48364         entries better.
48365         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48366         makedb progra.  Some minor improvements to generate smaller files.
48367         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48368         here from...
48369         * nss/makedb.c: ...here.
48370         Improve database format to be smaller and require less memory at
48371         runtime.
48372         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48373         db anymore.
48374         * nss/nss_db/db-netgrp.c: Likewise.
48375         * nss/nss_db/db-open.c: Likewise.
48376         * nss/nss_files/flies-XXX.x: Adjust comments.
48377         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48378         * nss/nss_files/files-grp.c: Likewise.
48379         * nss/nss_files/files-hosts.c: Likewise.
48380         * nss/nss_files/files-network.c: Likewise.
48381         * nss/nss_files/files-proto.c: Likewise.
48382         * nss/nss_files/files-pwd.c: Likewise.
48383         * nss/nss_files/files-rpc.c: Likewise.
48384         * nss/nss_files/files-service.c: Likewise.
48385         * nss/nss_files/files-sgrp.c: Likewise.
48386         * nss/nss_files/files-spwd.c: Likewise.
48387         * nss/nss_db/db-alias.c: Removed.
48388         * nss/nss_db/dummy-db.h: Removed.
48389
48390 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48391
48392         * nss/makedb.c: Rewritten to not use database library.
48393         * nss/Makefile: Update to build new makedb program.
48394
48395 2011-06-14  Andreas Jaeger  <aj@suse.de>
48396
48397         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48398         memset declaration.
48399
48400 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48401
48402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48403         tmpbuf.
48404
48405 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48406
48407         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48408         * elf/Makefile ($(objpfx)ld.so): Likewise.
48409
48410         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48411         Don't list ld.so twice in dependencies.
48412
48413         * posix/bug-regex31.c: Include <stdlib.h>.
48414
48415         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48416
48417         * nis/nss_compat/compat-spwd.c
48418         (getspent_next_nss_netgr): Remove unused variable.
48419         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48420
48421         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48422         nonmembers" output to use the right array.
48423
48424         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48425
48426         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48427
48428         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48429         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48430         * catgets/gencat.c (read_input_file): Likewise.
48431         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48432
48433         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48434         variable definition inside #if's controlling its use.
48435
48436         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48437
48438         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48439
48440         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48441
48442         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48443         unreachable code.
48444
48445         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48446
48447         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48448         * configure: Regenerated.
48449
48450         * Makerules: Revert last change.
48451         * elf/Makefile: Likewise.
48452
48453 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48454
48455         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48456         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48457         (reloc-link): Likewise.
48458
48459 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48460
48461         * elf/Makefile: Add rules to build pldd.
48462         * elf/pldd.c: New file.
48463         * elf/pldd-xx.c: New file.
48464
48465 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48466
48467         * version.h: Update for 2.15 development version.
48468
48469 2011-06-07  David S. Miller  <davem@davemloft.net>
48470
48471         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48472         ifuncs.
48473         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48474         elf_machine_lazy_rel): Likewise.
48475         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48476         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48477         elf_machine_lazy_rel): Likewise.
48478         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48479         dl_hwcap via passed in argument.
48480         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48481         Likewise.
48482
48483 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48484
48485         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48486
48487 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48488
48489         [BZ #12849]
48490         * manual/fdl-1.1.texi: New file, verbatim from:
48491         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48492         * manual/lgpl-2.1.texi: New file, verbatim from:
48493         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48494         * manual/Makefile (licenses): New variable, list those new file names.
48495         (texis): Use it.
48496         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48497
48498         * manual/fdl.texi: File removed.
48499         * manual/lesser.texi: File removed.
48500         * manual/libc.texinfo (Copying, Documentation License):
48501         Use new @include file names, put @appendix directive before @include.
48502
48503 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48504
48505         [BZ #12841]
48506         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48507         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48508         (mq_open): Add __NTH.
48509
48510 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48511
48512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48513         Assume Intel Core i3/i5/i7 processor if AVX is available.
48514
48515 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48516
48517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48518         typo.
48519
48520 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48521
48522         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48523         memory.  Use alloca_account.  Fix memory leak when retrying.
48524
48525 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48526
48527         * version.h (RELEASE): Bump for 2.14 release.
48528         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48529
48530         * config.make.in (RANLIB): Remove entry.
48531
48532 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48533
48534         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48535         (libc.pot): Work around missing support for .ksh extension in xgettext.
48536
48537         [BZ #12684]
48538         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48539         if both request failed.
48540         (send_dg): In case of server errors clear resplen or *resplen2.
48541
48542         [BZ #12454]
48543         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48544         when there are multiple maps.
48545         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48546         (_dl_fini): Remove test here.
48547
48548         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48549
48550 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48551
48552         [BZ #12350]
48553         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48554         bit from old_res_options.
48555         (gaih_inet): Likewise.
48556
48557         [BZ #11099]
48558         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48559         as signed.
48560
48561         * resolv/res_init.c (res_setoptions): Make the code more compact.
48562
48563         [BZ #11558]
48564         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48565         set RES_USEVC.
48566
48567         [BZ #11634]
48568         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48569
48570         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48571
48572         [BZ #11781]
48573         * malloc/malloc.h: Declare malloc hook variables as volatile.
48574
48575         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48576         in last patch.
48577
48578         [BZ #11799]
48579         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48580         raise in the comment.
48581         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48582         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48583         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48584
48585 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48586
48587         [BZ #12811]
48588         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48589         grow the buffers more if it already has to be sufficient.
48590         (build_wcs_upper_buffer): Likewise.
48591         * posix/regexec.c (check_matching): Likewise.
48592         (clean_state_log_if_needed): Likewise.
48593         (extend_buffers): Don't enlarge buffers beyond size of the input
48594         buffer.
48595         Patches mostly by Emil Wojak <emil@wojak.eu>.
48596         * posix/bug-regex32.c: New file.
48597         * posix/Makefile (tests): Add bug-regex32.
48598
48599         * locale/findlocale.c (_nl_find_locale): Return right away if
48600         _nl_explode_name failed.
48601         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48602
48603         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48604
48605         * debug/xtrace.sh: Unify messages.
48606         * malloc/memusage.sh: Likewise.
48607
48608         [BZ #12813]
48609         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48610         time symbol from vDSO.  Substitute with vsyscall if not available.
48611         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48612         __vdso_time.
48613
48614         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48615         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48616         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48617         Add sendmmsg and internal_sendmmsg.
48618         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48619         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48620         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48621
48622         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48623         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48624         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48625
48626 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48627
48628         [BZ #12813]
48629         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48630         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48631         available.
48632         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48633         __vdso_getcpu.
48634
48635         [BZ #12814]
48636         * iconvdata/Makefile (tests): Add bug-iconv9.
48637         * iconvdata/bug-iconv9.c: New file.
48638
48639 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48640
48641         [BZ #12814]
48642         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48643
48644 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48645
48646         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48647         (struct user_regs_struct): Change intcs field back to cs.
48648
48649 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48650
48651         * po/ja.po: Update from translation team.
48652
48653 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48654
48655         [BZ #12795]
48656         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48657         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48658
48659 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48660
48661         * stdlib/longlong.h: Update from GCC.
48662
48663 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48664
48665         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48666         parameter name.
48667         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48668         Add parameter name.
48669         (__sysconf): Pass it down.
48670
48671 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48672
48673         [BZ #12671]
48674         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48675         some situations.
48676         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48677         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48678         add in in __libc_use_alloca calls.  Adjust callers.
48679         (glob): Use malloc in some situations.
48680
48681         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48682         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48683         pltexit.
48684
48685 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48686
48687         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48688         and CLOCK_BOOTTIME_ALARM.
48689
48690         [BZ #12782]
48691         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48692         is returned.
48693
48694         * string/_strerror.c (__strerror_r): Print negative errors as signed
48695         numbers.
48696
48697         [BZ #12777]
48698         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48699         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48700         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48701
48702         * configure.in: Fix typo in redirection and correct removal of test
48703         files in two cases.
48704
48705         [BZ #12788]
48706         * locale/setlocale.c (new_composite_name): Fix test to check for
48707         identical name of all categories.
48708
48709         [BZ #12792]
48710         * libio/filedoalloc.c (local_isatty): New function.
48711         (_IO_file_doallocate): Use local_isatty.
48712         * stdio-common/perror.c (perror): In case a new stream is used
48713         forward the stream error.
48714         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48715         error flag.
48716
48717 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48718
48719         [BZ #11869]
48720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48721         alloca.
48722         * include/alloca.h (extend_alloca_account): Define.
48723
48724         [BZ #11857]
48725         * posix/regex.h: Fix comments with documentation of user-accessible
48726         fields after compilation and describe correct free'ing of pattern
48727         after re_compile_pattern.
48728         Patch by Reuben Thomas <rrt@sc3d.org>.
48729
48730 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48731
48732         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48733         and -mno-altivec to prevent the compiler from using Altivec and/or
48734         VSX instructions when the corresponding registers are not available.
48735
48736 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48737
48738         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48739
48740 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48741
48742         * libio/freopen.c (freopen): Use __dup2, not dup2.
48743         * libio/freopen64.c (freopen64): Likewise.
48744
48745 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48746
48747         [BZ #12775]
48748         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48749         * math/Makefile (tests): Add test-powl.
48750         (CFLAGS-test-powl.c): Define.
48751         * math/test-powl.c: New file.
48752
48753 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48754
48755         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48756
48757 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48758
48759         [BZ #11837]
48760         * iconvdata/gb18030.c: Update to GB18020-2005.
48761
48762 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48763
48764         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48765         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48766         Patch by Aharon Robbins <arnold@skeeve.com>.
48767
48768         [BZ #11892]
48769         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48770         on the stack.
48771
48772         [BZ #11895]
48773         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48774         through underflows.
48775
48776         [BZ #12766]
48777         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48778         point to strings before performing equality test for error_one_per_line
48779         mode.
48780
48781         [BZ #11697]
48782         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48783
48784         [BZ #11820]
48785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48786         (struct user_fpregs_struct): Avoid __uint*_t types.
48787
48788         [BZ #6420]
48789         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48790         symbol info.  Use it instead of calling _dl_addr locally.
48791         (lock_and_info): New function.
48792         (tr_freehook): Call lock_and_info and pass symbol info as additional
48793         parameter to tr_where.
48794         (tr_mallochook): Likewise.
48795         (tr_reallochook): Likewise.
48796         (tr_memalignhook): Likewise.
48797
48798         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48799         used and couldn't be at all thread-safe.
48800
48801 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48802
48803         * libio/freopen.c (freopen): Don't close old file descriptor
48804         before the new one is opened.  Instead dup the new file descriptor
48805         to the old one after the new stream is created.
48806         * libio/freopen64.c (freopen64): Likewise.
48807         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48808         * libio/fileops.c (_IO_new_file_close_it): Handle new
48809         _IO_FLAGS2_NOCLOSE flag.
48810         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48811         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48812         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48813         _IO_FLAGS2_NOCLOSE flag.
48814         * include/unistd.h: Add hidden_proto for dup3.
48815         Define __have_dup3.
48816         * io/dup3.c: Define hidden symbol.
48817         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48818
48819         [BZ #7101]
48820         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48821         when an incomplete long option is used.
48822         * posix/tst-getopt_long1.c: New file.
48823         * posix/Makefile (tests): Add tst-getopt_long1.
48824
48825         [BZ #10138]
48826         * scripts/config.guess: Update from autoconf-2.68.
48827         * scripts/config.sub: Likewise.
48828
48829         [BZ #10157]
48830         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48831         tests into ...
48832         (has_cpuclock): ...this.  New function.
48833         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48834         macro here based on has_cpuclock code.
48835
48836         [BZ #10149]
48837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48838         First byte (not low byte) is now always NUL.
48839         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48840
48841         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48842         Use non-cancelable interfaces.
48843
48844         [BZ #9809]
48845         * locale/iso-639.def: Add entry for Sorani.
48846
48847         [BZ #11901]
48848         * include/stdlib.h: Move include protection to the right place.
48849         Define abort_msg_s.  Declare __abort_msg with it.
48850         * stdlib/abort.c (__abort_msg): Adjust type.
48851         * assert/assert.c (__assert_fail_base): New function.  Majority
48852         of code from __assert_fail.  Allocate memory for __abort_msg with
48853         mmap.
48854         (__assert_fail): Now call __assert_fail_base.
48855         * assert/assert-perr.c: Remove bulk of implementation.  Use
48856         __assert_fail_base.
48857         * include/assert.hL Declare __assert_fail_base.
48858         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48859         mmap.
48860         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48861
48862 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48863
48864         [BZ #11952]
48865         [BZ #12453]
48866         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48867         until all modules are registered in the DTV.
48868         * elf/Makefile: Add rules to build and run tst-tls19.
48869         * elf/tst-tls19.c: New file.
48870         * elf/tst-tls19mod1.c: New file.
48871         * elf/tst-tls19mod2.c: New file.
48872         * elf/tst-tls19mod3.c: New file.
48873         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48874
48875         [BZ #12083]
48876         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48877         correctly.
48878
48879         [BZ #12601]
48880         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48881         two-byte sequence errors.
48882         * iconvdata/Makefile (tests): Add bug-iconv8.
48883         * iconvdata/bug-iconv8.c: New file.
48884
48885         [BZ #12626]
48886         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48887         buf2 definition.
48888
48889         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48890
48891         [BZ #12432]
48892         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48893         (dummy_getcfa): New function.
48894         (init): Get _Unwind_GetCFA address, use dummy if not found.
48895         (backtrace_helper): In recursion check, also check whether CFA changes.
48896         (__backtrace): Completely initialize arg.
48897
48898         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48899         storing incomplete byte sequence in state object.  Avoid testing for
48900         guaranteed too small input if we know there is enough data available.
48901
48902 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48903
48904         * Makeconfig (+link-pie): Indent.
48905         * Rules (binaries-pie): Define if $(have-fpie) and
48906         $(build-shared).
48907         (binaries-shared): Also filter out $(binaries-pie).
48908         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48909         * nscd/Makefile (others-pie): Add nscd.
48910         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48911         ($(objpfx)nscd): Remove command override.
48912         * login/Makefile (others-pie): Add pt_chown.
48913         ($(objpfx)pt_chown): Remove command override.
48914         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48915         remove command overrides.
48916
48917 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48918
48919         * libio/tst_putwc.c: Fix error messages.
48920
48921         [BZ #12724]
48922         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48923         currently writing and seek to current position when not.
48924         * libio/Makefile (tests): Add bug-fclose1.
48925         * libio/bug-fclose1.c: New file.
48926
48927 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48928
48929         [BZ #12511]
48930         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48931         don't set DF_1_NODELETE here.
48932         (do_lookup_x): When entering new entry test for copy relocation
48933         and if necessary set DF_1_NODELETE flag.
48934         * elf/tst-unique4.cc: New file.
48935         * elf/tst-unique4.h: New file.
48936         * elf/tst-unique4lib.cc: New file.
48937         * elf/Makefile: Add rules to build and run tst-unique4.
48938         Patch by Piotr Bury <pbury@goahead.com>.
48939
48940 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48941
48942         [BZ #12052]
48943         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48944
48945         [BZ #12625]
48946         * misc/mntent_r.c (addmntent): Flush the stream after the output
48947
48948         [BZ #12393]
48949         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48950         (is_trusted_path_normalize): Skip initial colon.  Append slash
48951         to empty buffer.  Duplicate is_trusted_path code but allow
48952         constructed patch to be prefix.
48953         (is_dst): Allow $ORIGIN followed by /.
48954         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48955         Correct testing of result of is_trusted_path_normalize
48956         (decompose_rpath): Fix warning.
48957
48958 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48959
48960         [BZ #11257]
48961         * grp/initgroups.c (internal_getgrouplist): When we found the service
48962         list through the initgroups entry in nsswitch.conf do not always
48963         continue on a successful lookup.  Don't always use the
48964         __nss_group_database value if it is set.
48965         * nss/nsswitch.conf (initgroups): Change action for successful db
48966         lookup to continue for compatibility.
48967
48968 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48969
48970         [BZ #11532]
48971         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48972         and CP774 modules.
48973         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48974         and CP774 modules.
48975         * iconvdata/tst-tables.sh: Likewise.
48976         * iconvdata/cp770.c: New file.
48977         * iconvdata/cp771.c: New file.
48978         * iconvdata/cp772.c: New file.
48979         * iconvdata/cp773.c: New file.
48980         * iconvdata/cp774.c: New file.
48981         * iconvdata/testdata/CP770: New file.
48982         * iconvdata/testdata/CP770..UTF8: New file.
48983         * iconvdata/testdata/CP771: New file.
48984         * iconvdata/testdata/CP771..UTF8: New file.
48985         * iconvdata/testdata/CP772: New file.
48986         * iconvdata/testdata/CP772..UTF8: New file.
48987         * iconvdata/testdata/CP773: New file.
48988         * iconvdata/testdata/CP773..UTF8: New file.
48989         * iconvdata/testdata/CP774: New file.
48990         * iconvdata/testdata/CP774..UTF8: New file.
48991
48992         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48993         END CHARMAP line.
48994         * iconvdata/gen-8bit-gap.sh: Likewise.
48995         * iconvdata/gen-8bit.sh: Likewise.
48996
48997         * locale/iso-639.def: Add ary entry.
48998
48999         [BZ #11258]
49000         * locale/C-translit.h.in: Add U20A1 transliteration.
49001
49002         [BZ #12178]
49003         * locale/iso-639.def: Add wae entry.
49004         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49005
49006         [BZ #12545]
49007         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49008         for n.
49009
49010         [BZ #12711]
49011         * locale/C-translit.h.in: Add entry for U20B9.
49012         Patch by pravin.d.s@gmail.com.
49013
49014 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49015
49016         [BZ #12713]
49017         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49018         ENAMETOOLONG use generic getcwd.
49019         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49020         in rtld.  Use *stat64.
49021         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49022         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49023         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49024         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49025         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49026         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49027         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49028         __fstatat64 macros.
49029         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49030         * dirent/rewinddir.c: Add libc_hidden_def.
49031         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49032         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49033
49034         * include/dirent.h (__alloc_dir): Add flags parameter.
49035         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49036         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49037         __alloc_dir.
49038         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49039         from fdopendir if O_CLOEXEC is already set.
49040
49041 2011-03-15  Alan Modra  <amodra@gmail.com>
49042
49043         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49044         l_tls_firstbyte_offset non-zero.  Save padding offset in
49045         l_tls_firstbyte_offset for later use.
49046         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49047         freeing static tls block.
49048
49049 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49050
49051         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49052         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49053         being defined by the kernel headers.
49054
49055 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49056
49057         [BZ #12734]
49058         * resolv/resolv.h: Define RES_NOTLDQUERY.
49059         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49060         no-tld-query and set RES_NOTLDQUERY.
49061         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49062         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49063         modern BIND to search name as TLD unless forbidden.
49064
49065 2011-05-07  Petr Baudis  <pasky@suse.cz>
49066             Ulrich Drepper  <drepper@gmail.com>
49067
49068         [BZ #12393]
49069         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49070         (is_trusted_path): ...to here.
49071         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49072         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49073         using is_trusted_path_normalize() in setuid scripts.
49074
49075 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49076
49077         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49078         __BEGIN/__END_DECLS.
49079
49080 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49081
49082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49083         NSS_STATUS_NOTFOUND if no record was found.
49084
49085 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49086
49087         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49088         (headers-not-in-tirpc): Remove rpc/netdb.h
49089         * resolv/netdb.h: Revert last change.
49090
49091 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49092
49093         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49094         circular dependency between libgcc.a and libc.a.
49095
49096 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49097
49098         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49099         * nis/Makefile: Don't install rpcsvc/*.
49100         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49101         instead of <rpc/types.h>.
49102         (MAXHOSTNAMELEN): Define.
49103
49104 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49105
49106         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49107
49108 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49109
49110         [BZ #12714]
49111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49112         gethostbyname4_r when IPv6 results are possible.
49113
49114 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49115
49116         [BZ #12723]
49117         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49118         _PC_PIPE_BUF handling.
49119
49120 2011-04-30  Bruno Haible  <bruno@clisp.org>
49121
49122         [BZ #12717]
49123         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49124         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49125         to 'int'.
49126         * inet/getnameinfo.c (getnameinfo): Likewise.
49127
49128 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49129
49130         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49131         to groups setting in database lookup.
49132         * nss/nsswitch.conf: Add initgroups entry.
49133
49134 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49135
49136         [BZ #12685]
49137         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49138         mode string.
49139         Patch by Eric Blake <eblake@redhat.com>.
49140
49141 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49142
49143         * sunrpc/Makefile (need-export-routines): Add svc_run.
49144         (routines): Remove svc_run.
49145         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49146         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49147         * sunrpc/svc_run.c (svc_run): Likewise.
49148         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49149
49150 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49151
49152         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49153         problem in reallocation in last patch.
49154
49155 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49156
49157         * sunrpc/Makefile: Move inclusion of Rules.
49158
49159 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49160
49161         * nss/nss_files/files-initgroups.c: New file.
49162         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49163         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49164         _nss_files_initgroups_dyn.
49165
49166 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49167
49168         * elf/elf.h (R_ARM_IRELATIVE): Define.
49169
49170 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49171
49172         * po/ru.po: Update from translation team.
49173
49174 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49175
49176         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49177         dependencies.
49178
49179 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49180
49181         [BZ #12653]
49182         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49183         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49184         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49185         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49187
49188 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49189
49190         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49191         differing bytes.
49192         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49193         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49194         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49195
49196 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49197
49198         [BZ #12420]
49199         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49200         storing it.
49201         * stdlib/bug-getcontext.c: New file.
49202         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49203
49204 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49205
49206         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49207         instructions into .machine "z9-109".
49208         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49209         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49210
49211 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49212
49213         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49214         between environment variables and auxiliary vector.
49215
49216 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49217
49218         * Makefile: Add rules to build linkobj/libc.so.
49219         * include/libc-symbols.h: Define libc_hidden_nolink.
49220         * include/rpc/auth.h: Mark functions which are to be hidden.
49221         * include/rpc/auth_des.h: Likewise.
49222         * include/rpc/auth_unix.h: Likewise.
49223         * include/rpc/clnt.h: Likewise.
49224         * include/rpc/des_crypt.h: Likewise.
49225         * include/rpc/key_prot.h: Likewise.
49226         * include/rpc/pmap_clnt.h: Likewise.
49227         * include/rpc/pmap_prot.h: Likewise.
49228         * include/rpc/pmap_rmt.h: Likewise.
49229         * include/rpc/rpc_msg.h: Likewise.
49230         * include/rpc/svc.h: Likewise.
49231         * include/rpc/svc_auth.h: Likewise.
49232         * include/rpc/xdr.h: Likewise.
49233         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49234         * nss/Makefile: Likewise.
49235         * sunrpc/Makefile: Don't install headers.  Build library with normal
49236         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49237         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49238         for the compat linking library.  Remove use of INTDEF/INTUSE.
49239         * sunrpc/auth_none.c: Likewise.
49240         * sunrpc/auth_unix.c: Likewise.
49241         * sunrpc/authdes_prot.c: Likewise.
49242         * sunrpc/authuxprot.c: Likewise.
49243         * sunrpc/clnt_gen.c: Likewise.
49244         * sunrpc/clnt_perr.c: Likewise.
49245         * sunrpc/clnt_raw.c: Likewise.
49246         * sunrpc/clnt_simp.c: Likewise.
49247         * sunrpc/clnt_tcp.c: Likewise.
49248         * sunrpc/clnt_udp.c: Likewise.
49249         * sunrpc/clnt_unix.c: Likewise.
49250         * sunrpc/des_crypt.c: Likewise.
49251         * sunrpc/des_soft.c: Likewise.
49252         * sunrpc/get_myaddr.c: Likewise.
49253         * sunrpc/key_call.c: Likewise.
49254         * sunrpc/key_prot.c: Likewise.
49255         * sunrpc/netname.c: Likewise.
49256         * sunrpc/pm_getmaps.c: Likewise.
49257         * sunrpc/pm_getport.c: Likewise.
49258         * sunrpc/pmap_clnt.c: Likewise.
49259         * sunrpc/pmap_prot.c: Likewise.
49260         * sunrpc/pmap_prot2.c: Likewise.
49261         * sunrpc/pmap_rmt.c: Likewise.
49262         * sunrpc/publickey.c: Likewise.
49263         * sunrpc/rpc_cmsg.c: Likewise.
49264         * sunrpc/rpc_common.c: Likewise.
49265         * sunrpc/rpc_dtable.c: Likewise.
49266         * sunrpc/rpc_prot.c: Likewise.
49267         * sunrpc/rpc_thread.c: Likewise.
49268         * sunrpc/rtime.c: Likewise.
49269         * sunrpc/svc.c: Likewise.
49270         * sunrpc/svc_auth.c: Likewise.
49271         * sunrpc/svc_authux.c: Likewise.
49272         * sunrpc/svc_raw.c: Likewise.
49273         * sunrpc/svc_run.c: Likewise.
49274         * sunrpc/svc_simple.c: Likewise.
49275         * sunrpc/svc_tcp.c: Likewise.
49276         * sunrpc/svc_udp.c: Likewise.
49277         * sunrpc/svc_unix.c: Likewise.
49278         * sunrpc/svcauth_des.c: Likewise.
49279         * sunrpc/xcrypt.c: Likewise.
49280         * sunrpc/xdr.c: Likewise.
49281         * sunrpc/xdr_array.c: Likewise.
49282         * sunrpc/xdr_float.c: Likewise.
49283         * sunrpc/xdr_intXX_t.c: Likewise.
49284         * sunrpc/xdr_mem.c: Likewise.
49285         * sunrpc/xdr_rec.c: Likewise.
49286         * sunrpc/xdr_ref.c: Likewise.
49287         * sunrpc/xdr_sizeof.c: Likewise.
49288         * sunrpc/xdr_stdio.c: Likewise.
49289
49290 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49291
49292         [BZ #12650]
49293         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49294         * sysdeps/ia64/dl-tls.h: Likewise.
49295         * sysdeps/powerpc/dl-tls.h: Likewise.
49296         * sysdeps/s390/dl-tls.h: Likewise.
49297         * sysdeps/sh/dl-tls.h: Likewise.
49298         * sysdeps/sparc/dl-tls.h: Likewise.
49299         * sysdeps/x86_64/dl-tls.h: Likewise.
49300         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49301
49302 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49303
49304         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49305         rpath element also skip the following colon.
49306         (expand_dynamic_string_token): Add is_path parameter and pass
49307         down to DL_DST_REQUIRED and _dl_dst_substitute.
49308         (decompose_rpath): Call expand_dynamic_string_token with
49309         non-zero is_path.  Ignore empty rpaths.
49310         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49311         with zero is_path.
49312
49313 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49314
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49316         Make cancelable.
49317
49318 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49319
49320         [BZ #12655]
49321         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49322         Patch by Filipe David Manana <fdmanana@apache.org>.
49323
49324 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49325
49326         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49327         Maintain aligned stack.
49328         (CHECK_RSP): Remove unused macro.
49329
49330 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49331
49332         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49333         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49334
49335 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49336
49337         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49338
49339         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49340
49341 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49342
49343         [BZ #12518]
49344         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49345         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49346         * sysdeps/x86_64/memmove.c: New file.
49347         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49348         (memcpy): Renamed to ...
49349         (__new_memcpy): This.
49350         (memcpy): Provide GLIBC_2_14 memcpy.
49351         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49352         (memcpy): Provide GLIBC_2_2_5 memcpy.
49353
49354 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49355
49356         [BZ #12631]
49357         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49358
49359 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49360
49361         * misc/syncfs.c: New file.
49362         * misc/Makefile (routines): Add syncfs.
49363         * posix/unistd.h: Declare syncfs.
49364         * sysdeps/unix/syscalls.list: Add syncfs.
49365
49366 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49367
49368         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49369         open_by_handle_at.
49370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49372         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49375         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49376         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49377
49378 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49379
49380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49382         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49387
49388         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49389         sync_file_range.c with -fexceptions.
49390         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49391         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49392         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49393         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49394         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49395         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49397         sync_file_range as cancellation point
49398         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49399         now a wrapper around __call_sync_file_range with cancellation handling.
49400         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49401         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49402         function name to __call_sync_file_range.
49403         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49404         Add call_sync_file_range.
49405
49406 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49407
49408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49409         bits/timex.h.
49410
49411 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49412
49413         * iconv/iconv.h: Fix typo in comment.
49414         * io/fcntl.h: Likewise.
49415         * libio/stdio.h: Likewise.
49416         * posix/spawn.h: Likewise.
49417         * posix/unistd.h: Likewise.
49418         * stdlib/stdlib.h: Likewise.
49419         * time/time.h: Likewise.
49420         * wcsmbs/wchar.h: Likewise.
49421
49422         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49423         open_by_handle): Add.
49424         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49425         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49426         Augment a few comments.
49427         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49429         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49431         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49432         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49433         open_by_handle.
49434
49435         * io/fcntl.h (AT_EMPTY_PATH): Define.
49436
49437 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49438
49439         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49440         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49441         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49442         to...
49443         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49444         * Versions.def: Add GLIBC_2.14.
49445         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49446         Export.
49447
49448 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49449
49450         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49451         round counter.
49452         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49453
49454 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49455
49456         [BZ #12597]
49457         * string/test-strncmp.c (do_page_test): New function.
49458         (check2): Likewise.
49459         (test_main): Call check2.
49460         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49461
49462 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49463
49464         [BZ #12587]
49465         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49466         Handle cache information in CPU leaf 4.
49467         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49468
49469 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49470
49471         [BZ #12583]
49472         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49473         character representation.
49474         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49475
49476 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49477
49478         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49479         END(__isnan) to END(__isnanf) to match function entry point/label
49480         EALIGN(__isnanf,...).
49481
49482 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49483
49484         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49485
49486 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49487
49488         [BZ #12510]
49489         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49490         copy from the symbol referenced in the relocation to initialize the
49491         used variable.
49492         Patch by Piotr Bury <pbury@goahead.com>.
49493         * elf/Makefile: Add rules to build and tst-unique3.
49494         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49495         * elf/tst-unique3.cc: New file.
49496         * elf/tst-unique3.h: New file.
49497         * elf/tst-unique3lib.cc: New file.
49498         * elf/tst-unique3lib2.cc: New file.
49499
49500         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49501
49502 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49503
49504         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49505         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49506         to _start.
49507
49508 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49509
49510         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49511         to-be-loaded object along a path to loader is ld.so.
49512
49513 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49514             Ulrich Drepper  <drepper@gmail.com>
49515
49516         * sysdeps/x86_64/memset.S: After aligning destination, code
49517         branches to different locations depending on the value of
49518         misalignment, when multiarch is enabled. Fix this.
49519
49520 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49521
49522         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49523         Set _x86_64_preferred_memory_instruction for AMD processsors.
49524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49525         Set bit_Prefer_SSE_for_memop for AMD processors.
49526
49527 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49528
49529         * libio/fmemopen.c (fmemopen): Optimize a bit.
49530
49531 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49532
49533         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49534
49535 2011-03-03  Roland McGrath  <roland@redhat.com>
49536
49537         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49538
49539 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49540
49541         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49542         __bzero_ultra1 instead of __memset_ultra1.
49543
49544 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49545             Ulrich Drepper  <drepper@gmail.com>
49546
49547         [BZ #12509]
49548         * include/link.h (struct link_map): Add l_orig_initfini.
49549         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49550         returning unsuccessfully.
49551         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49552         close of a file loaded at startup, restore the original l_initfini
49553         list.
49554         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49555         list, store the pointer.
49556         * elf/Makefile ($(objpfx)noload-mem): New rule.
49557         (noload-ENV): Define.
49558         (tests): Add $(objpfx)noload-mem.
49559         * elf/noload.c: Include <memcheck.h>.
49560         (main): Call mtrace.  Close all opened handles.
49561
49562 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49563
49564         [BZ #12454]
49565         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49566         dependencies are missing.
49567
49568 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49569
49570         Fix __if_freereq crash: Unlike the generic version which uses free,
49571         Hurd needs munmap.
49572         * sysdeps/mach/hurd/ifreq.h: New file.
49573
49574 2011-01-27  Petr Baudis  <pasky@suse.cz>
49575             Ulrich Drepper  <drepper@gmail.com>
49576
49577         [BZ 12445]#
49578         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49579         to extend_alloca().
49580         * stdio-common/bug23.c: New file.
49581         * stdio-common/Makefile (tests): Add bug23.
49582
49583 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49584             Ulrich Drepper  <drepper@gmail.com>
49585
49586         [BZ #12489]
49587         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49588         before performing relro protection.  At old place add assertion
49589         to make sure nothing changed.
49590
49591 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49592             Glauber de Oliveira Costa  <glommer@gmail.com>
49593
49594         * elf/elf.h: Add new ARM TLS relocs.
49595
49596 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49597
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49599         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49600         cast from r3.
49601         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49602         'tests' variable.
49603         * sysdeps/wordsize-64/tst-writev.c: New file.
49604
49605 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49606
49607         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49608         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49609         insns in _dl_start to prevent a TOC reference before relocs are
49610         resolved.
49611
49612 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49613
49614         [BZ #12469]
49615         * Makeconfig: Remove RANLIB definition.
49616         * Makerules: Don't use RANLIB.
49617         * aclocal.m4: Remove ranlib test.
49618         * configure.in: No need to check for ranlib.
49619         * elf/rtld-Rules: Don't use RANLIB.
49620
49621 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49622
49623         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49624         protection macro.
49625         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49626         inclusion protection macro.
49627
49628         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49629         SIGRTMIN and SIGRTMAX and print information in that case only when
49630         SIGRTMIN is defined.
49631
49632 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49633
49634         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49635         arginfo fn returning -1.
49636
49637         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49638         and thousands string is zero terminated.
49639
49640 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49641
49642         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49643         sysdeps/unix/sysv/linux/bits/socket.h.
49644
49645 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49646
49647         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49648         (__CPU_COUNT): Remove old macros.
49649         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49650         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49651         (__CPU_ALLOC, __CPU_FREE): Add macros.
49652         (__sched_cpualloc, __sched_cpufree): Add declarations.
49653
49654 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49655
49656         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49657         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49658         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49659         (readdhstai): Return value of addhstaiX call.
49660         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49661         (addgrbyX): Return value returned by cache_addgr.
49662         (readdgrbyname): Return value returned by addgrbyX.
49663         (readdgrbygid): Likewise.
49664         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49665         (addpwbyX): Return value returned by cache_addpw.
49666         (readdpwbyname): Return value returned by addhstbyX.
49667         (readdpwbyuid): Likewise.
49668         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49669         (addservbyX): Return value returned by cache_addserv.
49670         (readdservbyname): Return value returned by addservbyX:
49671         (readdservbyport): Likewise.
49672         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49673         (addhstbyX): Return value returned by cache_addhst.
49674         (readdhstbyname): Return value returned by addhstbyX.
49675         (readdhstbyaddr): Likewise.
49676         (readdhstbynamev6): Likewise.
49677         (readdhstbyaddrv6): Likewise.
49678         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49679         (readdinitgroups): Return value returned by addinitgroupsX.
49680         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49681         (prune_cache): Keep track of timeout value of re-added entries.
49682         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49683         * nscd/nscd.h: Adjust prototypes of readd* functions.
49684
49685 2011-02-04  Roland McGrath  <roland@redhat.com>
49686
49687         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49688         (nis_stats): Likewise.
49689         * nis/nis_modify.c (nis_modify): Likewise.
49690         * nis/nis_remove.c (nis_remove): Likewise.
49691         * nis/nis_add.c (nis_add): Likewise.
49692
49693         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49694
49695         * posix/fnmatch_loop.c: Add some consts.
49696
49697         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49698
49699 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49700
49701         [BZ #12460]
49702         * config.make.in (config-cflags-novzeroupper): Define.
49703         * configure.in: Substitute libc_cv_cc_novzeroupper.
49704         * elf/Makefile (AVX-CFLAGS): Define.
49705         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49706         (CFLAGS-tst-auditmod4a.c): Likewise.
49707         (CFLAGS-tst-auditmod4b.c): Likewise.
49708         (CFLAGS-tst-auditmod6b.c): Likewise.
49709         (CFLAGS-tst-auditmod6c.c): Likewise.
49710         (CFLAGS-tst-auditmod7b.c): Likewise.
49711         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49712
49713 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49714
49715         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49716         function to the callback.
49717         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49718
49719 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49720
49721         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49722         of errno.
49723
49724 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49725
49726         [BZ #11724]
49727         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49728         of constructors.
49729         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49730         of destructors.
49731         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49732
49733         [BZ #11724]
49734         * elf/Makefile: Add rules to build and run new test.
49735         * elf/tst-initorder.c: New file.
49736         * elf/tst-initorder.exp: New file.
49737         * elf/tst-initordera1.c: New file.
49738         * elf/tst-initordera2.c: New file.
49739         * elf/tst-initordera3.c: New file.
49740         * elf/tst-initordera4.c: New file.
49741         * elf/tst-initorderb1.c: New file.
49742         * elf/tst-initorderb2.c: New file.
49743         * elf/tst-order-a1.c: New file.
49744         * elf/tst-order-a2.c: New file.
49745         * elf/tst-order-a3.c: New file.
49746         * elf/tst-order-a4.c: New file.
49747         * elf/tst-order-b1.c: New file.
49748         * elf/tst-order-b2.c: New file.
49749         * elf/tst-order-main.c: New file.
49750         New test case by George Gensure <werkt0@gmail.com>.
49751
49752 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49753
49754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49755         decoding ACE if AI_CANONIDN.
49756
49757 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49758
49759         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49760
49761 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49762
49763         * version.h (RELEASE): Bump for 2.13 release.
49764         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49765
49766         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49767
49768         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49769         MADV_NOHUGEPAGE.
49770         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49771         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49772         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49773         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49775         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49776
49777         * posix/getconf.c: Update copyright year.
49778         * catgets/gencat.c: Likewise.
49779         * csu/version.c: Likewise.
49780         * debug/catchsegv.sh: Likewise.
49781         * debug/xtrace.sh: Likewise.
49782         * elf/ldconfig.c: Likewise.
49783         * elf/ldd.bash.in: Likewise.
49784         * elf/sprof.c (print_version): Likewise.
49785         * iconv/iconv_prog.c: Likewise.
49786         * iconv/iconvconfig.c: Likewise.
49787         * locale/programs/locale.c: Likewise.
49788         * locale/programs/localedef.c: Likewise.
49789         * malloc/memusage.sh: Likewise.
49790         * malloc/mtrace.pl: Likewise.
49791         * nscd/nscd.c (print_version): Likewise.
49792         * nss/getent.c: Likewise.
49793
49794         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49795         PF_CAIF, and PF_ALG.
49796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49797
49798 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49799
49800         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49801         (modules-names): Use them.
49802         (ifunc-test-modules, ifunc-pie-tests): Define.
49803         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49804         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49805         (test-extras): Likewise.
49806         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49807         $(compile-command.c).
49808         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49809         (all-built-dso): Define.
49810         (check-textrel.out, check-execstack.out): Depend on it.
49811
49812         * configure.in: Don't override --enable-multi-arch.
49813
49814 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49815
49816         [BZ #6812]
49817         * nscd/hstcache.c (tryagain): Define.
49818         (cache_addhst): Return tryagain not notfound for temporary errors.
49819         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49820         failed.
49821
49822 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49823
49824         [BZ #10563]
49825         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49826         to make the syscall.
49827         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49828
49829         [BZ #12378]
49830         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49831         and fall back to matching as normal character if the string ends before
49832         the matching ']' is found.  This is what POSIX requires.
49833         * posix/testfnm.c: Adjust test result.
49834         * posix/globtest.sh: Adjust test result.  Add new test.
49835         * posix/tst-fnmatch.input: Likewise.
49836         * posix/tst-fnmatch2.c: Add new test.
49837
49838 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49839
49840         * elf/Makefile (check-execstack): Revert last change.  Depend on
49841         check-execstack.h.
49842         (check-execstack.h): New target.
49843         (generated): Add check-execstack.h.
49844         * elf/check-execstack.c: Include "check-execstack.h".
49845         (main): Revert last change.
49846         (handle_file): Return zero if GNU_STACK is absent and
49847         DEFAULT_STACK_PERMS doesn't include PF_X.
49848
49849 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49850
49851         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49852         in child fails because the descriptor is already closed.
49853         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49854         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49855         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49856
49857         [BZ #12397]
49858         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49859         syscall.
49860
49861         [BZ #10484]
49862         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49863         temporary buffer used to handle multi lookups locally.
49864         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49865
49866 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49867
49868         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49869         loader is ld.so.
49870
49871 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49872
49873         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49874         alignment for SSE2.
49875
49876 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49877
49878         [BZ #12394]
49879         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49880         characters.  When rounding increased number of integer digits recompute
49881         number of groups.
49882         * stdio-common/tst-grouping.c: New file.
49883         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49884
49885 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49886
49887         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49888         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49889
49890         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49891         void.
49892         * bits/select.h: Likewise.
49893
49894 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49895
49896         * po/ja.po: Update from translation team.
49897
49898 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49899
49900         [BZ #11155]
49901         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49902         implementation just like for lxstat, fxstatat, et al.
49903
49904 2010-12-27  Jim Meyering  <meyering@redhat.com>
49905
49906         [BZ #12348]
49907         * posix/regexec.c (build_trtable): Return failure indication upon
49908         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49909
49910 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49911
49912         [BZ #12201]
49913         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49914         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49915         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49916         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49917
49918         [BZ #12207]
49919         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49920
49921         [BZ #12204]
49922         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49923         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49924
49925 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49926
49927         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49928         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49929         script has SORT_BY_INIT_PRIORITY.
49930         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49931         NO_CTORS_DTORS_SECTIONS is defined.
49932         * elf/soinit.c: Likewise.
49933         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49934         NO_CTORS_DTORS_SECTIONS is defined.
49935         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49936         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49937         * sysdeps/sh/init-first.c: Likewise.
49938         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49939
49940 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49941
49942         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49943         always use the slow path.
49944
49945 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49946
49947         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49948         similar rule which adds the sysdep directories to the header search in
49949         order to pick up the correct platform stackinfo.h.
49950         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49951         perform test if it is, otherwise return successfully without testing.
49952         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49953         DEFAULT_STACK_PERMS define in stackinfo.h.
49954         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49955         defined in stackinfo.h.
49956         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49957         DEFAULT_STACK_PERMS defined in stackinfo.h.
49958         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49959         * sysdeps/ia64/stackinfo.h: Likewise.
49960         * sysdeps/s390/stackinfo.h: Likewise.
49961         * sysdeps/sh/stackinfo.h: Likewise.
49962         * sysdeps/sparc/stackinfo.h: Likewise.
49963         * sysdeps/x86_64/stackinfo.h: Likewise.
49964         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49965         PF_X for powerpc64.  Retain PF_X for powerpc32.
49966
49967 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49968
49969         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49970         accurately.
49971         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49972         GETDENTS_64BIT_ALIGNED.
49973
49974 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49975
49976         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49977
49978 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49979
49980         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49981         _GNU_SOURCE.
49982
49983         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49984         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49985         Remove __restrict.
49986         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49987         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49988
49989 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49990
49991         [BZ #11655]
49992         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49993         are initialized.
49994
49995 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49996
49997         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49998
49999 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50000
50001         * po/it.po: Update from translation team.
50002
50003 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50004
50005         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50006         unused codes.
50007
50008 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50009
50010         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50011
50012 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50013
50014         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50015         specially.
50016         (gaih_getanswer_slice): Likewise.
50017
50018 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50019
50020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50021
50022 2010-05-31  Petr Baudis  <pasky@suse.cz>
50023
50024         [BZ #11149]
50025         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50026         silently even in the chroot mode.
50027
50028 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50029
50030         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50031         last patch a bit.  Pretty printing
50032
50033 2010-05-31  Petr Baudis <pasky@suse.cz>
50034
50035         [BZ #10085]
50036         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50037         initialization of skip_initgroups_dyn.
50038
50039 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50040
50041         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50042         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50043
50044 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50045
50046         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50047
50048 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50049
50050         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50051         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50052         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50053         ($(objpfx)tst-fnmatch-mem): New rule.
50054         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50055         * posix/tst-fnmatch.c (main): Call mtrace.
50056
50057 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50058
50059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50060         Support Intel processor model 6 and model 0x2c.
50061
50062 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50063
50064         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50065           signed comparison.
50066
50067 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50068
50069         [BZ #12205]
50070         * string/test-strncasecmp.c (check_result): New function.
50071         (do_one_test): Use it.
50072         (check1): New function.
50073         (test_main): Use it.
50074         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50075         Support strcasecmp and strncasecmp.
50076
50077 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50078
50079         [BZ #12194]
50080         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50081         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50082
50083 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50084
50085         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50086         IFUNC support.
50087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50088         memset-x86-64.
50089         * sysdeps/x86_64/multiarch/bzero.S: New file.
50090         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50091         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50092         * sysdeps/x86_64/multiarch/memset.S: New file.
50093         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50095         Set bit_Prefer_SSE_for_memop for Intel processors.
50096         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50097         Define.
50098         (index_Prefer_SSE_for_memop): Define.
50099         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50100
50101 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50102
50103         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50104         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50105
50106 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50107
50108         [BZ #12191]
50109         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50110         (__x86_64_raw_data_cache_size_half): Likewise.
50111         (__x86_64_raw_shared_cache_size): Likewise.
50112         (__x86_64_raw_shared_cache_size_half): Likewise.
50113
50114         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50115         (__x86_64_raw_data_cache_size_half): Likewise.
50116         (__x86_64_raw_shared_cache_size): Likewise.
50117         (__x86_64_raw_shared_cache_size_half): Likewise.
50118         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50119         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50120         and __x86_64_raw_shared_cache_size_half.  Round
50121         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50122         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50123         to multiple of 256 bytes.
50124
50125 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50126
50127         [BZ #12167]
50128         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50129         of inacessible symlinks.  Verify result of symlink before returning it.
50130         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50131         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50132
50133 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50134
50135         * math/math.h (isinf): Fix typo in comment.
50136
50137 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50138
50139         * po/da.po: Update from translation team.
50140
50141 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50142
50143         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50144         is added to the list.
50145
50146 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50147             Ulrich Drepper  <drepper@gmail.com>
50148
50149         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50150         the global list here.  Move code to...
50151         (_dl_add_to_namespace_list): ...here.  New function.
50152         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50153         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50154         * elf/dl-load.c (lose): Don't remove the element from the list.
50155         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50156         (_dl_map_object): Likewise.
50157
50158 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50159
50160         [BZ #12159]
50161         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50162         into all bytes of SSE register.
50163         Patch by Richard Li <richardpku@gmail.com>.
50164
50165 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50166
50167         [BZ #12140]
50168         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50169         perturbing.
50170
50171 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50172
50173         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50174         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50175         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50176         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50178         submachine.
50179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50180
50181 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50182
50183         * include/dlfcn.h (__RTLD_SECURE): Define.
50184         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50185         mode & __RTLD_SECURE instead.
50186         (open_path): Rename preloaded parameter to secure.
50187         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50188         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50189         * elf/dl-deps.c (openaux): Likewise.
50190         * elf/rtld.c (struct map_args): Remove is_preloaded.
50191         (map_doit): Don't use it.
50192         (dl_main): Likewise.
50193         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50194         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50195
50196 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50197
50198         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50199         (sysd-rules-targets): Remove duplicates.
50200         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50201         rtld-%.$o dependency.
50202
50203 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50204
50205         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50206         _dl_map_object do it.
50207
50208 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50209
50210         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50211         fast fma builtins, define the macros in the C99 standard.
50212         (FP_FAST_FMAF): Likewise.
50213         (FP_FAST_FMAL): Likewise.
50214         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50215
50216         * bits/mathdef.h: Update copyright year.
50217         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50218
50219 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50220
50221         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50222         builtins, define the macros in the C99 standard.
50223         (FP_FAST_FMAF): Likewise.
50224         (FP_FAST_FMAL): Likewise.
50225         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50226         multiply/add.
50227         (FP_FAST_FMAF): Likewise.
50228
50229 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50230
50231         [BZ #3268]
50232         * math/libm-test.inc (fma_test): Some new testcases.
50233         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50234         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50235         y and infinite z.  Do multiplication by C already in long double.
50236         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50238         y and infinite z.  Do bitwise or of inexact bit into u.d.
50239         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50240         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50241         * sysdeps/i386/fpu/s_fma.S: Removed.
50242         * sysdeps/i386/fpu/s_fmal.S: Removed.
50243
50244 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50245
50246         [BZ #3268]
50247         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50249         computation is not scheduled after fetestexcept.  Fix value
50250         of minimum denormal long double.
50251
50252 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50253
50254         [BZ #3268]
50255         * math/libm-test.inc (fma_test): Add some more tests.
50256         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50257         correctly.
50258
50259 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50260
50261         * scripts/data/localplt-s390-linux-gnu.data: New file.
50262         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50263
50264 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50265
50266         [BZ #3268]
50267         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50268         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50269         instead of dbl-64.
50270         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50271         inlines.
50272         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50274         if one of x and y is very large and the other is subnormal.
50275         * sysdeps/s390/fpu/s_fmaf.c: New file.
50276         * sysdeps/s390/fpu/s_fma.c: New file.
50277         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50278         * sysdeps/powerpc/fpu/s_fma.S: New file.
50279         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50280         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50281         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50282
50283 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50284
50285         [BZ #3268]
50286         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50287         fma tests.
50288         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50289         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50290         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50291         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50292         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50293         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50294         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50295
50296 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50297
50298         [BZ #12078]
50299         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50300         * posix/bug-regex31.input: Add test case.
50301
50302 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50303
50304         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50305         * posix/bug-regex31.input: New file.
50306
50307         [BZ #12078]
50308         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50309         (parse_sub_exp): Fix last change, use postorder.
50310
50311         * posix/bug-regex31.c: New file.
50312         * posix/Makefile: Add rules to build and run bug-regex31.
50313
50314         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50315
50316         [BZ #12078]
50317         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50318
50319         [BZ #12108]
50320         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50321         to have entries in sys_siglist.
50322
50323         [BZ #12093]
50324         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50325         be NULL.
50326
50327 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50328
50329         [BZ #3268]
50330         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50331         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50332         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50333         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50334         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50335         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50336         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50337         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50338         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50339         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50340         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50341         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50342         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50343         * math/ftestexcept.c (fetestexcept): Likewise.
50344         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50345         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50346         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50347         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50348         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50349         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50350         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50351
50352 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50353
50354         [BZ #12107]
50355         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50356         newline.
50357
50358 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50359
50360         * string/bug-strstr1.c: New file.
50361         * string/Makefile: Add rules to build and run bug-strstr1.
50362
50363 2010-10-05  Eric Blake  <eblake@redhat.com>
50364
50365         [BZ #12092]
50366         * string/str-two-way.h (two_way_long_needle): Always clear memory
50367         when skipping input due to the shift table.
50368
50369 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50370
50371         [BZ #12005]
50372         * malloc/mcheck.c: Handle large requests.
50373
50374         [BZ #12077]
50375         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50376         for strncmp and strncasecmp.
50377         * string/stratcliff.c: Add tests for strcmp and strncmp.
50378         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50379
50380 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50381
50382         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50383         __set_fpscr.
50384
50385 2010-09-30  Andreas Jaeger  <aj@suse.de>
50386
50387         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50388         (CGROUP_SUPER_MAGIC): Define.
50389         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50390         Handle btrfs and cgroup file systems.
50391         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50392         Likewise.
50393
50394 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50395
50396         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50397         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50398
50399 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50400
50401         [BZ #12067]
50402         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50403         trying to locate the ELF header.
50404
50405 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50406
50407         [BZ #11611]
50408         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50409         Mask out sign-bit copies when constructing f_fsid.
50410
50411 2010-09-24  Petr Baudis <pasky@suse.cz>
50412
50413         * debug/stack_chk_fail_local.c: Add missing licence exception.
50414         * debug/warning-nop.c: Likewise.
50415
50416 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50417
50418         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50419         implementing getdents64 using getdents syscall, set d_type if
50420         __ASSUME_GETDENTS32_D_TYPE.
50421
50422 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50423
50424         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50425         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50426
50427 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50428
50429         [BZ #12037]
50430         * posix/unistd.h: Undo change of feature selection for ftruncate from
50431         2010-01-11.
50432
50433 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50434
50435         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50436         detection.
50437
50438 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50439
50440         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50441         fanotify_mark.
50442         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50443
50444 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50445
50446         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50447         variables after CHECK_SP call.
50448         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50449
50450 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50451             Ulrich Drepper  <drepper@redhat.com>
50452
50453         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50454         re-relocationg ld.so.
50455         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50456         _dl_init_paths call.
50457         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50458         here anymore.
50459
50460 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50461
50462         * resolv/res_init.c (__res_vinit): Count the default server we added.
50463
50464 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50465             Ulrich Drepper  <drepper@redhat.com>
50466
50467         [BZ #11968]
50468         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50469         (____longjmp_chk): Use %ebx for saving value across system call.
50470         Add unwind info.
50471
50472 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50473
50474         * manual/Makefile: Don't mix pattern rules with normal rules.
50475
50476 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50477
50478         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50479         operation.
50480         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50481         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50482         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50483         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50484         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50485         Likewise.
50486
50487 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50488
50489         [BZ #11979]
50490         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50491         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50492
50493 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50494
50495         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50496         * sysdeps/x86_64/addmul_1.S: Likewise.
50497         * sysdeps/x86_64/lshift.S: Likewise.
50498         * sysdeps/x86_64/mul_1.S: Likewise.
50499         * sysdeps/x86_64/rshift.S: Likewise.
50500         * sysdeps/x86_64/sub_n.S: Likewise.
50501         * sysdeps/x86_64/submul_1.S: Likewise.
50502
50503 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50504
50505         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50506         Define __sched_param instead of SCHED_* and sched_param when
50507         <bits/sched.h> is included with __need_schedparam defined.
50508         * bits/sched.h [__need_schedparam]
50509         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50510         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50511         (__defined_schedparam): Define to 1.
50512         (__sched_param): New structure, identical to sched_param.
50513         (__need_schedparam): Undefine.
50514
50515 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50516
50517         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50518         (epoll_create1): Declare.
50519
50520         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50521
50522 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50523
50524         [BZ #7066]
50525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50526         shifting retval into place.
50527
50528 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50529
50530         * nis/rpcsvc/nis.h: Update copyright notice.
50531         * nis/rpcsvc/nis.x: Likewise.
50532         * nis/rpcsvc/nis_callback.h: Likewise.
50533         * nis/rpcsvc/nis_callback.x: Likewise.
50534         * nis/rpcsvc/nis_object.x: Likewise.
50535         * nis/rpcsvc/nis_tags.h: Likewise.
50536         * nis/rpcsvc/yp.h: Likewise.
50537         * nis/rpcsvc/yp.x: Likewise.
50538         * nis/rpcsvc/ypupd.h: Likewise.
50539         * nis/yp_xdr.c: Likewise.
50540         * nis/ypupdate_xdr.c: Likewise.
50541
50542         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50543         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50544         (pmap_getport): Use __libc_rpc_getport.
50545         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50546         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50547         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50548
50549 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50550
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50552         fanotify_mark.
50553
50554 2010-08-27  Roland McGrath  <roland@redhat.com>
50555
50556         * sysdeps/i386/i686/multiarch/Makefile
50557         (CFLAGS-varshift.c): New variable.
50558
50559 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50560
50561         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50562         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50563
50564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50565
50566         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50567
50568 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50569
50570         * sysdeps/x86_64/strlen.S: Unroll the loop.
50571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50572         strlen-sse2 strlen-sse2-bsf.
50573         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50574         __strlen_no_bsf if bit_Slow_BSF is set.
50575         (__strlen_sse42): Removed.
50576         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50577         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50578
50579 2010-08-25  Roland McGrath  <roland@redhat.com>
50580
50581         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50582         * sysdeps/x86_64/multiarch/varshift.c: New file.
50583         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50584         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50585         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50586         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50587
50588 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50589
50590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50591         strlen-sse2 strlen-sse2-bsf.
50592         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50593         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50594         (__strlen_sse2): Removed.
50595         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50596         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50598         bit_Slow_BSF for Atom.
50599         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50600         (index_Slow_BSF): Define.
50601         (HAS_SLOW_BSF): Define.
50602
50603 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50604
50605         [BZ #10851]
50606         * resolv/res_init.c (__res_vinit): When no server address at all
50607         is given default to loopback.
50608
50609 2010-08-24  Roland McGrath  <roland@redhat.com>
50610
50611         * configure.in: Remove config-name.h generation.
50612         * configure: Regenerated.
50613         * config-name.in: File removed.
50614         * scripts/config-uname.sh: New file.
50615         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50616         ($(objdir)config-name.h): New target.
50617
50618         * sunrpc/rpc_parse.h: Avoid nested comment.
50619
50620 2010-08-24  Richard Henderson  <rth@redhat.com>
50621             Ulrich Drepper  <drepper@redhat.com>
50622             H.J. Lu  <hongjiu.lu@intel.com>
50623
50624         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50626         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50627         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50628         _mm_alignr_epi8 with _mm_loadu_si128.
50629         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50630         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50631         (__m128i_shift_right): Removed.
50632         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50633         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50634         * sysdeps/x86_64/multiarch/varshift.h: New file.
50635         * sysdeps/x86_64/multiarch/varshift.S: New file.
50636
50637 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50638
50639         * configure.in: Move assembler checks to before sysdep dir checking.
50640
50641 2010-08-20  Petr Baudis  <pasky@suse.cz>
50642
50643         * LICENSES: Sync the sunrpc license.
50644
50645 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50646
50647         * sunrpc/auth_des.c: Update copyright notice once again.
50648         * sunrpc/auth_none.c: Likewise.
50649         * sunrpc/auth_unix.c: Likewise.
50650         * sunrpc/authdes_prot.c: Likewise.
50651         * sunrpc/authuxprot.c: Likewise.
50652         * sunrpc/bindrsvprt.c: Likewise.
50653         * sunrpc/clnt_gen.c: Likewise.
50654         * sunrpc/clnt_perr.c: Likewise.
50655         * sunrpc/clnt_raw.c: Likewise.
50656         * sunrpc/clnt_simp.c: Likewise.
50657         * sunrpc/clnt_tcp.c: Likewise.
50658         * sunrpc/clnt_udp.c: Likewise.
50659         * sunrpc/clnt_unix.c: Likewise.
50660         * sunrpc/des_crypt.c: Likewise.
50661         * sunrpc/des_soft.c: Likewise.
50662         * sunrpc/get_myaddr.c: Likewise.
50663         * sunrpc/getrpcport.c: Likewise.
50664         * sunrpc/key_call.c: Likewise.
50665         * sunrpc/key_prot.c: Likewise.
50666         * sunrpc/openchild.c: Likewise.
50667         * sunrpc/pm_getmaps.c: Likewise.
50668         * sunrpc/pm_getport.c: Likewise.
50669         * sunrpc/pmap_clnt.c: Likewise.
50670         * sunrpc/pmap_prot.c: Likewise.
50671         * sunrpc/pmap_prot2.c: Likewise.
50672         * sunrpc/pmap_rmt.c: Likewise.
50673         * sunrpc/rpc/auth.h: Likewise.
50674         * sunrpc/rpc/auth_unix.h: Likewise.
50675         * sunrpc/rpc/clnt.h: Likewise.
50676         * sunrpc/rpc/des_crypt.h: Likewise.
50677         * sunrpc/rpc/key_prot.h: Likewise.
50678         * sunrpc/rpc/netdb.h: Likewise.
50679         * sunrpc/rpc/pmap_clnt.h: Likewise.
50680         * sunrpc/rpc/pmap_prot.h: Likewise.
50681         * sunrpc/rpc/pmap_rmt.h: Likewise.
50682         * sunrpc/rpc/rpc.h: Likewise.
50683         * sunrpc/rpc/rpc_des.h: Likewise.
50684         * sunrpc/rpc/rpc_msg.h: Likewise.
50685         * sunrpc/rpc/svc.h: Likewise.
50686         * sunrpc/rpc/svc_auth.h: Likewise.
50687         * sunrpc/rpc/types.h: Likewise.
50688         * sunrpc/rpc/xdr.h: Likewise.
50689         * sunrpc/rpc_clntout.c: Likewise.
50690         * sunrpc/rpc_cmsg.c: Likewise.
50691         * sunrpc/rpc_common.c: Likewise.
50692         * sunrpc/rpc_cout.c: Likewise.
50693         * sunrpc/rpc_dtable.c: Likewise.
50694         * sunrpc/rpc_hout.c: Likewise.
50695         * sunrpc/rpc_main.c: Likewise.
50696         * sunrpc/rpc_parse.c: Likewise.
50697         * sunrpc/rpc_parse.h: Likewise.
50698         * sunrpc/rpc_prot.c: Likewise.
50699         * sunrpc/rpc_sample.c: Likewise.
50700         * sunrpc/rpc_scan.c: Likewise.
50701         * sunrpc/rpc_scan.h: Likewise.
50702         * sunrpc/rpc_svcout.c: Likewise.
50703         * sunrpc/rpc_tblout.c: Likewise.
50704         * sunrpc/rpc_util.c: Likewise.
50705         * sunrpc/rpc_util.h: Likewise.
50706         * sunrpc/rpcinfo.c: Likewise.
50707         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50708         * sunrpc/rpcsvc/key_prot.x: Likewise.
50709         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50710         * sunrpc/rpcsvc/mount.x: Likewise.
50711         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50712         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50713         * sunrpc/rpcsvc/rex.x: Likewise.
50714         * sunrpc/rpcsvc/rstat.x: Likewise.
50715         * sunrpc/rpcsvc/rusers.x: Likewise.
50716         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50717         * sunrpc/rpcsvc/spray.x: Likewise.
50718         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50719         * sunrpc/rtime.c: Likewise.
50720         * sunrpc/svc.c: Likewise.
50721         * sunrpc/svc_auth.c: Likewise.
50722         * sunrpc/svc_authux.c: Likewise.
50723         * sunrpc/svc_raw.c: Likewise.
50724         * sunrpc/svc_run.c: Likewise.
50725         * sunrpc/svc_simple.c: Likewise.
50726         * sunrpc/svc_tcp.c: Likewise.
50727         * sunrpc/svc_udp.c: Likewise.
50728         * sunrpc/svc_unix.c: Likewise.
50729         * sunrpc/svcauth_des.c: Likewise.
50730         * sunrpc/xcrypt.c: Likewise.
50731         * sunrpc/xdr.c: Likewise.
50732         * sunrpc/xdr_array.c: Likewise.
50733         * sunrpc/xdr_float.c: Likewise.
50734         * sunrpc/xdr_mem.c: Likewise.
50735         * sunrpc/xdr_rec.c: Likewise.
50736         * sunrpc/xdr_ref.c: Likewise.
50737         * sunrpc/xdr_sizeof.c: Likewise.
50738         * sunrpc/xdr_stdio.c: Likewise.
50739
50740         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50741         handling.
50742
50743 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50744
50745         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50746
50747 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50748
50749         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50750         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50751         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50752         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50753         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50754         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50755         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50756         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50757         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50758         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50759         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50760         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50761         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50762         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50763
50764 2010-07-26  Anton Blanchard  <anton@samba.org>
50765
50766         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50767         * malloc/arena.c (heap_trim): Likewise.
50768
50769 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50770
50771         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50772         here.  Not...
50773         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50774         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50775
50776 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50777
50778         * sysdeps/i386/elf/Makefile: New file.
50779
50780 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50781
50782         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50783         from fanotify_init.
50784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50785         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50786
50787 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50788
50789         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50790         of strncasecmp_l.
50791         * sysdeps/multiarch/strcmp.S: Likewise.
50792
50793 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50794
50795         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50796         strncase_l-nonascii.
50797         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50798         Add strncase_l-ssse3.
50799         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50800         * sysdeps/x86_64/strcmp.S: Likewise.
50801         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50802         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50803         * sysdeps/x86_64/strncase.S: New file.
50804         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50805         * sysdeps/x86_64/strncase_l.S: New file.
50806         * string/Makefile (strop-tests): Add strncasecmp.
50807         * string/test-strncasecmp.c: New file.
50808
50809         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50810         warning.
50811
50812         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50813         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50814
50815 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50816
50817         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50818
50819 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50820
50821         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50822         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50823         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50824
50825 2010-05-01  Alan Modra  <amodra@gmail.com>
50826
50827         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50828         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50829         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50830         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50831         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50832         tidying.  Don't tail-call __sigjmp_save for static lib.
50833         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50834         save location.
50835         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50836         (CALL_MCOUNT): Add eh info, and nop after bl.
50837         (TAIL_CALL_SYSCALL_ERROR): New macro.
50838         (PSEUDO_RET): Use it.
50839         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50840         Correct save location of integer regs and cr.
50841         (_dl_profile_resolve): Correct cr save location.  Delete nops
50842         after bl when SHARED.  Reduce cfi size a little by better
50843         placement of cfi directives.
50844         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50845         make a stack frame.  Instead use parm save area as a temp.
50846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50847         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50849         Don't make a stack frame for parent, use parm save area.
50850         Increase child stack frame to 112 bytes.  Don't save unused reg,
50851         and adjust reg usage.  Set up cfi on error recovery and
50852         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50854         (__makecontext): Add dummy nop after jump to exit.
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50856         Use correct parm save area and cr save, reduce stack frame.
50857         Correct cfi for possible PSEUDO_RET frame setup.
50858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50859         Branch to local label emitted by PSEUDO_RET rather than
50860         __syscall_error.
50861
50862 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50863
50864         [BZ #11904]
50865         * locale/programs/locale.c (print_assignment): New function.
50866         (show_locale_vars): Use it.
50867
50868 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50869
50870         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50871         field.
50872         (struct statfs64): Likewise.
50873         (_STATFS_F_FLAGS): Define.
50874         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50875         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50876         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50877         (ST_VALID): Define locally.
50878         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50879         __statvfs_getflags, use the provided value.
50880         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50881         __ASSUME_STATFS_F_FLAGS.
50882
50883         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50884
50885         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50886         Add sys/fanotify.h.
50887         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50888         fanotify_mask for GLIBC_2.13.
50889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50890         fanotify_init and fanotify_mark.
50891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50892         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50893
50894         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50895         Add prlimit.
50896         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50897         prlimit64 for GLIBC_2.13.
50898         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50899         prlimit64.
50900         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50901         syscall.
50902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50903         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50904         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50905         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50906         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50907         add prlimit alias.
50908         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50909
50910         [BZ #11903]
50911         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50912         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50913
50914         * nss/Makefile: Add rules to build and run tst-nss-test1.
50915         * shlib-versions: Add entry for libnss_test1.
50916         * nss/nss_test1.c: New file.
50917         * nss/tst-nss-test1.c: New file.
50918
50919         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50920         (__nss_configure_lookup): Set appropriate entry in
50921         __nss_configure_lookup to true.
50922         * nss/nsswitch.h: Define enum with indeces of databases in
50923         databases and __nss_database_custom arrays.  Declare
50924         __nss_database_custom.
50925         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50926         to avoid using nscd when custom rules are installed.
50927         * nss/getXXbyYY_r.c: Likewise.
50928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50929
50930         * nss/nss_files/files-parse.c: Whitespace fixes.
50931
50932 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50933
50934         [BZ #11883]
50935         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50936         * posix/fnmatch_loop.c: Likewise.
50937
50938 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50939
50940         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50941         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50942         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50943         * Versions.def [GLIBC_2.13]: Add.
50944
50945 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50946
50947         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50948         Also fail if tpwd after pwuid call is NULL.
50949
50950 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50951
50952         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50953         when converting to ms.
50954
50955 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50956
50957         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50958         EOPNOTSUPP errors with ENOTTY.
50959         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50960         EOPNOTSUPP errors with ENOTTY.
50961
50962 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50963
50964         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50965         Add strcasecmp_l-ssse3.
50966         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50967         strcasecmp.
50968         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50969         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50970         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50971
50972 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50973
50974         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50975
50976         * string/Makefile (strop-tests): Add strcasecmp.
50977         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50978         strcasecmp_l-nonascii.
50979         (gen-as-const-headers): Add locale-defines.sym.
50980         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50981         * sysdeps/x86_64/strcasecmp.S: New file.
50982         * sysdeps/x86_64/strcasecmp_l.S: New file.
50983         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50984         * sysdeps/x86_64/locale-defines.sym: New file.
50985         * string/test-strcasecmp.c: New file.
50986
50987         * string/test-strcasestr.c: Test both ends of the range of characters.
50988         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50989
50990 2010-07-29  Roland McGrath  <roland@redhat.com>
50991
50992         [BZ #11856]
50993         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50994
50995 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50996
50997         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50998         for ld.so.
50999
51000 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51001
51002         * manual/memory.texi (Malloc Tunable Parameters): Document
51003         M_PERTURB.
51004
51005 2010-07-26  Roland McGrath  <roland@redhat.com>
51006
51007         [BZ #11840]
51008         * configure.in (-fgnu89-inline check): Set and substitute
51009         gnu89_inline, not libc_cv_gnu89_inline.
51010         * configure: Regenerated.
51011         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51012
51013 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51014
51015         * string/test-strnlen.c: New file.
51016         * string/Makefile (strop-tests): Add strnlen.
51017         * string/tester.c (test_strnlen): Add a few more test cases.
51018         * string/tst-strlen.c: Better error reporting.
51019
51020         * sysdeps/x86_64/strnlen.S: New file.
51021
51022 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51023
51024         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51025         lower-latency instructions.
51026
51027 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51028
51029         * string/test-strcasestr.c: New file.
51030         * string/test-strstr.c: New file.
51031         * string/Makefile (strop-tests): Add strstr and strcasestr.
51032         * string/str-two-way.h: Don't undefine MAX.
51033         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51034
51035 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51036
51037         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51038         strcasestr-nonascii.
51039         (CFLAGS-strcasestr-nonascii.c): Define.
51040         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51041         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51042         Remove unused attribute.
51043
51044 2010-07-20  Roland McGrath  <roland@redhat.com>
51045
51046         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51047         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51048         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51049         like LD_HWCAP_MASK can disable hwcaps.
51050
51051 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51052
51053         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51054
51055 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51056
51057         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51058         call in strcasestr.
51059         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51060         __strcasestr_sse42_nonascii.
51061         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51062         strcasestr-nonascii.c.
51063         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51064
51065 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51066
51067         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51068         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51069         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51070         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51071
51072 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51073
51074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51075         fcntl.
51076
51077 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51078
51079         [BZ #11577]
51080         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51081         dl_signal_cerror.
51082
51083 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51084
51085         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51086         _PC_PIPE_BUF using F_GETPIPE_SZ.
51087
51088 2010-07-05  Roland McGrath  <roland@redhat.com>
51089
51090         * manual/arith.texi (Rounding Functions): Fix rint description
51091         implicit in round description.
51092
51093 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51094
51095         * elf/Makefile: Fix linking for a few tests to make recent linker
51096         happy.
51097
51098 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51099
51100         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51101         $(common-objpfx)libc_nonshared.a.
51102
51103 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51104
51105         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51106         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51107         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51108         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51109         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51110         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51111         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51112         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51127         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51128         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51129         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51130         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51131         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51132         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51133         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51134         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51135         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51136         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51137         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51138         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51153
51154 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51155
51156         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51157         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51158         * string/memmove.c (memmove): Renamed to ...
51159         (MEMMOVE): ...this.  Default to memmove.
51160         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51161         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51162         (END_CHK): Define.
51163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51164         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51165         mempcpy-ssse3-back memmove-ssse3-back.
51166         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51167         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51168         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51169         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51170         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51171         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51172         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51173         * sysdeps/x86_64/multiarch/memmove.c: New file.
51174         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51175         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51176         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51177         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51178         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51179         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51180         Define.
51181         (index_Fast_Copy_Backward): Define.
51182         (HAS_ARCH_FEATURE): Define.
51183         (HAS_FAST_REP_STRING): Define.
51184         (HAS_FAST_COPY_BACKWARD): Define.
51185
51186 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51187
51188         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51189         Restore proper fallback handling.
51190
51191 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51192
51193         [BZ #11701]
51194         * posix/group_member.c (__group_member): Correct checking loop.
51195
51196         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51197         OOM in getpwuid_r correctly.  Return error number when the caller
51198         should return, otherwise -1.
51199         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51200         call returning > 0 value.
51201         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51202
51203 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51204
51205         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51206         libc_nonshared.a from targets in modules-names.
51207
51208 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51209
51210         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51211         requires it.
51212
51213 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51214
51215         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51216         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51219
51220 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51221
51222         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51223
51224 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51225
51226         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51227         and F_GETPIPE_SZ.
51228         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51229         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51231         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51232         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51233         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51234
51235 2010-06-14  Roland McGrath  <roland@redhat.com>
51236
51237         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51238
51239 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51240
51241         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51242         __REDIRECT followed by __THROW.
51243         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51244         * posix/getopt.h (getopt): Likewise.
51245
51246 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51247
51248         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51249         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51250         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51251         in AT_FLAGS.
51252         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51253         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51254
51255 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51256
51257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51258
51259 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51260
51261         [BZ #11640]
51262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51263         Properly check family and model.
51264
51265 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51266
51267         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51268
51269 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51270
51271         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51272
51273 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51274
51275         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51276         symbol reference.
51277
51278 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51279
51280         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51281         symbol reference.
51282
51283 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51284
51285         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51286         and internal_recvmmsg.
51287         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51288         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51289         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51290         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51291
51292         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51293         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51294         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51295
51296 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51297
51298         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51299
51300 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51301
51302         POWER7 optimizations.
51303         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51304         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51305
51306 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51307
51308         * version.h: Update for 2.13 development version.
51309
51310 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51311
51312         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51313         exceptions.  Return 0.
51314
51315 2010-05-07  Roland McGrath  <roland@redhat.com>
51316
51317         * elf/ldconfig.c (main): Add a const.
51318
51319 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51320
51321         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51322         (args_options): Add no-idn option.
51323         (ahosts_keys_int): Add idn_flags to ai_flags.
51324         (parse_option): Handle 'i' option to clear idn_flags.
51325
51326         * malloc/malloc.c (_int_free): Possible race in the most recently
51327         added check.  Only act on the data if no current modification
51328         happened.
51329
51330 See ChangeLog.17 for earlier changes.