]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Cleanup feenableexcept to use the same logic as the ARM version. No functional changes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a7b00c11
WD
12014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4 Simplify logic.
5
3a84f1a6
WD
62014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7
8 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9 Simplify logic.
10
48eb7a94
JM
112014-10-24 Joseph Myers <joseph@codesourcery.com>
12
c8bc4038
JM
13 [BZ #14138]
14 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
16 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
46 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
47 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
48 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
49 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
50 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
51 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
52 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
53 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
54 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
55 syscall.
56 (geteuid): Likewise.
57 (getgid): Likewise.
58 (getuid): Likewise.
59 (getresgid): Likewise.
60 (getresuid): Likewise.
61 (getgroups): Likewise.
62 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
63 (geteuid): Likewise.
64 (getgid): Likewise.
65 (getuid): Likewise.
66 (getresgid): Likewise.
67 (getresuid): Likewise.
68 (getgroups): Likewise.
69 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
70 (geteuid): Likewise.
71 (getgid): Likewise.
72 (getuid): Likewise.
73 (getresgid): Likewise.
74 (getresuid): Likewise.
75 (getgroups): Likewise.
76 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
77 Likewise.
78 (geteuid): Likewise.
79 (getgid): Likewise.
80 (getuid): Likewise.
81 (getresgid): Likewise.
82 (getresuid): Likewise.
83 (getgroups): Likewise.
84 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
85 (geteuid): Likewise.
86 (getgid): Likewise.
87 (getuid): Likewise.
88 (getresgid): Likewise.
89 (getresuid): Likewise.
90 (getgroups): Likewise.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
92 Likewise.
93 (geteuid): Likewise.
94 (getgid): Likewise.
95 (getuid): Likewise.
96 (getgroups): Likewise.
97
48eb7a94
JM
98 [BZ #14138]
99 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
100 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
101 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
102 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
103 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
104 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
105 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
106 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
107 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
108 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
109 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
110 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
111 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
112 __chown.
113 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
114 (lchown): Likewise.
115 (fchown): Likewise.
116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
117 Likewise.
118 (lchown): Likewise.
119 (fchown): Likewise.
120 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
121 (lchown): Likewise.
122 (fchown): Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
124 Likewise.
125 (lchown): Likewise.
126 (fchown): Likewise.
127
ea9a7c8b
WD
1282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
129
130 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
131 Simplify logic.
132
e226de33
WD
1332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
134
135 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
136 Cleanup logic.
137
6e3d8ed3
WD
1382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
139
140 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
141 Remove unused include.
142
eb04247d
WD
1432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
144
145 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
146 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
147 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
148 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
149
13d84554
CD
1502014-10-23 Carlos O'Donell <carlos@systemhalted.org>
151 Helge Deller <deller@gmx.de>
152
153 [BZ #17508]
154 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
155 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
156 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
157
15f9c5df
JM
1582014-10-23 Joseph Myers <joseph@codesourcery.com>
159
160 [BZ #14132]
161 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
162 Remove macro definition.
163 (__ashrdi3_v_glibc20): Likewise.
164 (__lshrdi3_v_glibc20): Likewise.
165 (__cmpdi2_v_glibc20): Likewise.
166 (__ucmpdi2_v_glibc20): Likewise.
167 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
168 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
169 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
170 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
171 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
172 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
173
c6dfed24
RM
1742014-10-22 Roland McGrath <roland@hack.frob.com>
175
176 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
177 old GNU extension [0] syntax.
178 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
179 alloca rather than an array member with variable length.
180 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
181 * nscd/nscd.c (invalidate_db): New function, broken out of ...
182 (parse_opt): ... here. Likewise use alloca there.
183 Validate the -i argument before checking for rootness.
184 (send_shutdown): New function, broken out of ...
185 (parse_opt): ... here.
186
8c2b1ed8
RM
1872014-10-22 Roland McGrath <roland@hack.frob.com>
188
189 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
190 macro to get at the _rt_local_ro field.
191 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
192 ([PIC] case) or _dl_hwcap ([!PIC] case).
193 * sysdeps/arm/setjmp.S: Likewise.
194
195 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
196 * sysdeps/arm/configure.ac: New check to define it.
197 * sysdeps/arm/configure: Regenerated.
198 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
199 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
200 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
201 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
202 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
203 Use move/movt pair instead of a load.
204 (LDST_GLOBAL): Macro removed.
205 (LDR_GLOBAL): New macro replaces it.
206 (LDR_HIDDEN): New macro.
207 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
208 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
209
210 * setjmp/tst-setjmp-static.c: New file.
211 * setjmp/Makefile (tests): Add it.
212 (tests-static): New variable.
213
b5af9297
MR
2142014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
215
216 [BZ #17485]
217 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
218
a13d0d74
JM
2192014-10-21 Joseph Myers <joseph@codesourcery.com>
220
221 [BZ #14132]
222 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
223
f05e73f6
RM
2242014-10-21 Roland McGrath <roland@hack.frob.com>
225
226 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
227
6ab1d1ea
RM
2282014-10-20 Roland McGrath <roland@hack.frob.com>
229
230 * io/fts.c (dirent_not_directory): New function.
231 (fts_build): Call it.
232
ab49e763
RM
2332014-10-20 Roland McGrath <roland@hack.frob.com>
234
e436eb79
RM
235 * nptl/version.c (__nptl_main): Use normal __write rather than
236 INTERNAL_SYSCALL.
237 (banner): Update copyright years.
238
6af246cf
RM
239 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
240 gettimeofday.
241 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
242 * nptl/pthread_cond_timedwait.c: Likewise.
243 * nptl/pthread_mutex_timedlock.c: Likewise.
244 * nptl/sem_timedwait.c: Likewise.
245
ab49e763
RM
246 * sysdeps/nptl/bits/libc-lock.h
247 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
248 (__libc_lock_init_recursive): Return void, not 0.
249 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
250 (__libc_rwlock_init): Likewise.
251 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
252
f50277c1
TR
2532014-10-20 Torvald Riegel <triegel@redhat.com>
254
255 [BZ #15215]
256 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
257 (__pthread_once_slow): ... here.
258 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
259 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
260
63668b70
TR
2612014-10-20 Torvald Riegel <triegel@redhat.com>
262
263 [BZ #15215]
264 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
265 __PTHREAD_ONCE_FORK_GEN_INCR): New.
266 * sysdeps/nptl/fork.c (__libc_fork): Use them.
267 * nptl/pthread_once.c (__pthread_once): Likewise.
268 Update comments.
269
42b7f5d4
JM
2702014-10-20 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #14138]
273 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
274 name.
275 (writev): Use __libc_writev as strong name.
276 * sysdeps/unix/sysv/linux/readv.c: Remove file.
277 * sysdeps/unix/sysv/linux/writev.c: Likewise.
278
b0643088
RM
2792014-10-17 Roland McGrath <roland@hack.frob.com>
280
114c4e09
RM
281 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
282
674b8978
RM
283 * sysdeps/i386/nptl/tls.h
284 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
285 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
286 New macros.
287 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
288 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
289 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
290 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
291 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
292 Call CHECK_THREAD_SYSINFO instead of doing an assert.
293
184ee940
RM
294 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
295 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
296 on [__NR_futex].
297 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
298 broken out of ...
299 (__pthread_mutex_init): ... here. Call it.
300 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
301 Conditionalize PI cases on [__NR_futex].
302 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
303 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
304 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
305
327ae257
RM
306 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
307 conditional on [SIGSETXID].
308 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
309 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
310 is defined. Likewise for SIGSETXID.
311 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
312 Conditionalize definitions on [SIGSETXID].
313 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
314 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
315 unblocking on [SIGCANCEL].
316
b0643088
RM
317 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
318 [__NR_set_robust_list].
319
33cc770b
SP
3202014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
321
322 * string/strcoll_l.c (get_next_seq): Fix up formatting.
323 (do_compare): Likewise.
324
0742aef6
LH
3252014-10-17 Leonhard Holz <leonhard.holz@web.de>
326
327 [BZ #15884]
328 * string/strcoll_l.c: Don't include stdio.h.
329 (coll_seq): Remove members idxarr and rulearr.
330 (get_next_seq_cached): Remove function.
331 (get_next_seq): Likewise.
332 (get_next_seq_nocache): Rename to get_next_seq.
333 (do_compare): Remove function.
334 (do_compare_nocache): Rename to do_compare.
335 (STRCOLL): Remove weight and rules cache.
336
ee54ce44
RM
3372014-10-16 Roland McGrath <roland@hack.frob.com>
338
339 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
340 * sysdeps/arm/sfp-machine.h: ... to here.
341 * sysdeps/arm/Implies: Remove arm/soft-fp.
342
a75d3b02
JM
3432014-10-14 Joseph Myers <joseph@codesourcery.com>
344
345 * conform/data/sys/utsname.h-data (*_t): Allow.
346 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
347 [POSIX] (WEXITED): Do not expect constant.
348 [POSIX] (WSTOPPED): Likewise.
349 [POSIX] (WNOHANG): Likewise.
350 [POSIX] (WNOWAIT): Likewise.
351 [POSIX] (siginfo_t): Do not expect type or elements.
352 [POSIX] (pid_t): Do not expect type.
353 [POSIX] (signal.h): Do not allow header.
354 [POSIX] (sys/resource.h): Likewise.
355 [POSIX] (si_*): Do not allow pattern.
356 [POSIX] (W*): Likewise.
357 [POSIX] (P_*): Likewise.
358 [POSIX] (BUS_*): Likewise.
359 [POSIX] (CLD_*): Likewise.
360 [POSIX] (FPE_*): Likewise.
361 [POSIX] (ILL_*): Likewise.
362 [POSIX] (POLL_*): Likewise.
363 [POSIX] (SEGV_*): Likewise.
364 [POSIX] (SI_*): Likewise.
365 [POSIX] (TRAP_*): Likewise.
366 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
367 variable.
368
fda389c8
SP
3692014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
370
371 [BZ #12926]
372 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
373 infinite loop when __recvmsg returns 0.
374
6bc6bd3b
JM
3752014-10-10 Joseph Myers <joseph@codesourcery.com>
376
fcb32af1
JM
377 * CANCEL-FCT-WAIVE: Remove file.
378 * CANCEL-FILE-WAIVE: Likewise.
379
6bc6bd3b
JM
380 [BZ #14132]
381 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
382 instead of INTVARDEF.
383 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
384 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
385 rtld_hidden_data_def instead of INTVARDEF.
386 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
387 * elf/dl-deps.c (expand_dst): Likewise.
388 * elf/dl-load.c (_dl_dst_count): Likewise.
389 (_dl_dst_substitute): Likewise.
390 (decompose_rpath): Likewise.
391 (_dl_init_paths): Likewise.
392 (open_path): Likewise.
393 (_dl_map_object): Likewise.
394 * elf/rtld.c (dl_main): Likewise.
395 (process_dl_audit): Likewise.
396 (process_envvars): Likewise.
397 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
398 Remove declaration.
399 (__libc_enable_secure): Use rtld_hidden_proto.
400
b8c80a7e
KS
4012014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
402
403 * elf/dl-load.c
404 (add_path): New function broken out of _dl_rtld_di_serinfo.
405 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
406
ff12c11f
JM
4072014-10-09 Joseph Myers <joseph@codesourcery.com>
408
5c0508a3
JM
409 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
410 parentheses around macro arguments.
411 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
412 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
413 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
414 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
415 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
416 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
417 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
418 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
419 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
420 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
421 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
422 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
423 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
424 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
425 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
426 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
427 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
428 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
429 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
430 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
431 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
435 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
439 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
440 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
441 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
442 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
443 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
444 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
445 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
446 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
447 Likewise.
448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
449 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
453 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
454 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
455 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
457 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
458 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
459 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
460 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
464 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
465 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
466 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
468 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
469 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
470 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
471 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
472 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
473 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
474 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
475 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
476 (_FP_FRAC_SRS_1): Likewise.
477 (_FP_FRAC_CLZ_1): Likewise.
478 (_FP_MUL_MEAT_1_imm): Likewise.
479 (_FP_MUL_MEAT_1_wide): Likewise.
480 (_FP_MUL_MEAT_1_hard): Likewise.
481 (_FP_SQRT_MEAT_1): Likewise.
482 (_FP_FRAC_ASSEMBLE_1): Likewise.
483 (_FP_FRAC_DISASSEMBLE_1): Likewise.
484 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
485 (__FP_CLZ_2): Likewise.
486 (_FP_MUL_MEAT_2_wide): Likewise.
487 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
488 (_FP_MUL_MEAT_2_gmp): Likewise.
489 (_FP_MUL_MEAT_2_120_240_double): Likewise.
490 (_FP_SQRT_MEAT_2): Likewise.
491 (_FP_FRAC_ASSEMBLE_2): Likewise.
492 (_FP_FRAC_DISASSEMBLE_2): Likewise.
493 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
494 (_FP_FRAC_CLZ_4): Likewise.
495 (_FP_MUL_MEAT_4_wide): Likewise.
496 (_FP_MUL_MEAT_4_gmp): Likewise.
497 (_FP_SQRT_MEAT_4): Likewise.
498 (_FP_FRAC_ASSEMBLE_4): Likewise.
499 (_FP_FRAC_DISASSEMBLE_4): Likewise.
500 * soft-fp/op-common.h (_FP_CMP): Likewise.
501 (_FP_CMP_EQ): Likewise.
502 (_FP_CMP_UNORD): Likewise.
503 (_FP_TO_INT): Likewise.
504 (_FP_FROM_INT): Likewise.
505 [!__FP_CLZ] (__FP_CLZ): Likewise.
506 (_FP_DIV_HELP_imm): Likewise.
507 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
508 Likewise.
509 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
510 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
511 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
512 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
514 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
515 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
517 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
518 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
519 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
520 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
521 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
522 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
523 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
524 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
525 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
526 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
527 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
529 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
532 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
533 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
535 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
536 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
537 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
538 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
539 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
540 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
541 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
542 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
543 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
544 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
545 (FP_UNPACK_RAW_SP): Likewise.
546 (FP_PACK_RAW_S): Likewise.
547 (FP_PACK_RAW_SP): Likewise.
548 (FP_UNPACK_S): Likewise.
549 (FP_UNPACK_SP): Likewise.
550 (FP_UNPACK_SEMIRAW_S): Likewise.
551 (FP_UNPACK_SEMIRAW_SP): Likewise.
552 (FP_PACK_S): Likewise.
553 (FP_PACK_SP): Likewise.
554 (FP_PACK_SEMIRAW_S): Likewise.
555 (FP_PACK_SEMIRAW_SP): Likewise.
556 (_FP_SQRT_MEAT_S): Likewise.
557 (FP_CMP_S): Likewise.
558 (FP_CMP_EQ_S): Likewise.
559 (FP_CMP_UNORD_S): Likewise.
560 (FP_TO_INT_S): Likewise.
561 (FP_FROM_INT_S): Likewise.
562
a736ec37
JM
563 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
564
ff12c11f
JM
565 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
566 (FP_EX_INVALID_IMZ): Likewise.
567 (FP_EX_INVALID_IMZ_FMA): Likewise.
568 (FP_EX_INVALID_ISI): Likewise.
569 (FP_EX_INVALID_ZDZ): Likewise.
570 (FP_EX_INVALID_IDI): Likewise.
571 (FP_EX_INVALID_SQRT): Likewise.
572 (FP_EX_INVALID_CVI): Likewise.
573 (FP_EX_INVALID_VC): Likewise.
574 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
575 "invalid" exceptions.
576 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
577 (_FP_ADD_INTERNAL): Likewise.
578 (_FP_MUL): Likewise.
579 (_FP_FMA): Likewise.
580 (_FP_DIV): Likewise.
581 (_FP_CMP_CHECK_NAN): Likewise.
582 (_FP_SQRT): Likewise.
583 (_FP_TO_INT): Likewise.
584 (FP_EXTEND): Likewise.
585
b6dcfe8c
AM
5862014-10-09 Allan McRae <allan@archlinux.org>
587
588 * po/fr.po: Update French translation from translation project.
589
2d6a47ba
JM
5902014-10-09 Joseph Myers <joseph@codesourcery.com>
591
cb831245
JM
592 [BZ #14132]
593 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
594 of INTDEF.
595 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
596 (__cxa_atexit): Use libc_hidden_proto.
597 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
598
5deeb190
JM
599 [BZ #14132]
600 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
601 declaration.
602 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
603 [!_ISOMAC] (__iswspace_l_internal): Likewise.
604 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
605 [!_ISOMAC] (__iswctype_internal): Likewise.
606 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
607 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
608 alias.
609 (fcntl): Remove __fcntl_internal alias.
610 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
611 __connect_internal alias.
612 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
613 Likewise.
614
454ac701
JM
615 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
616 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
617 FP_DENORM_ZERO.
618 (_FP_CHECK_FLUSH_ZERO): New macro.
619 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
620 (_FP_CMP): Likewise.
621 (_FP_CMP_EQ): Likewise.
622 (_FP_TO_INT): Do not set inexact for subnormal arguments if
623 FP_DENORM_ZERO.
624 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
625 (FP_TRUNC): Likewise.
626
0022e688
JM
627 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
628 treated as invalid conversion, not as normal exponent.
629
73e28d9c
JM
630 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
631 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
632 (_FP_CMP_EQ): Likewise.
633 (_FP_CMP_UNORD): Likewise.
634 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
635 (FP_CMP_EQ_D): Likewise.
636 (FP_CMP_UNORD_D): Likewise.
637 * soft-fp/extended.h (FP_CMP_E): Likewise.
638 (FP_CMP_EQ_E): Likewise.
639 (FP_CMP_UNORD_E): Likewise.
640 * soft-fp/quad.h (FP_CMP_Q): Likewise.
641 (FP_CMP_EQ_Q): Likewise.
642 (FP_CMP_UNORD_Q): Likewise.
643 * soft-fp/single.h (FP_CMP_S): Likewise.
644 (FP_CMP_EQ_S): Likewise.
645 (FP_CMP_UNORD_S): Likewise.
646 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
647 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
648 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
649 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
650 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
651 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
652 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
653 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
654 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
655 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
656 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
657 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
658 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
659 to FP_CMP_Q.
660 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
661 FP_CMP_Q.
662 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
663 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
664 FP_CMP_EQ_Q.
665 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
666 FP_CMP_Q.
667 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
668 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
669 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
670 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
671 FP_CMP_EQ_Q.
672 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
673 FP_CMP_Q.
674 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
675 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
676 FP_CMP_EQ_Q.
677 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
678 FP_CMP_Q.
679 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
680 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
681 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
682 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
683 FP_CMP_EQ_Q.
684
43059f42
JM
685 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
686 a subnormal result, set the underflow exception if trapping on
687 underflow is enabled.
688 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
689 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
690 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
691 redefine to 0.
692 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
693 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
694 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
695 * soft-fp/extendxftf2.c (__extendxftf2): Use
696 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
697
2d6a47ba
JM
698 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
699 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
700 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
701 FP_HANDLE_EXCEPTIONS.
702 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
703 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
704 FP_HANDLE_EXCEPTIONS.
705 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
706 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
707 FP_HANDLE_EXCEPTIONS.
708 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
709 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
710 FP_HANDLE_EXCEPTIONS.
711
620f462e
JM
7122014-10-08 Joseph Myers <joseph@codesourcery.com>
713
714 [BZ #14132]
715 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
716 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
717 use INTUSE.
718 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
719 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
720 Remove alias.
721 (__adjtimex): Define using libc_hidden_ver.
722 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
723 Remove declaration.
724 (ntp_gettime): Call __adjtimex directly.
725 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
726 Remove declaration.
727 (ntp_gettimex): Call __adjtimex directly.
728 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
729 __adjtimex_internal alias.
730
c763c5d2
RM
7312014-10-08 Roland McGrath <roland@hack.frob.com>
732
733 [BZ #17460]
734 * nscd/nscd.c (more_help): Rewrite list of tables collection
735 using xstrdup and asprintf.
736
737 * nscd/nscd_conf.c: Remove local xstrdup declaration.
738
7b8fb2b8
RM
7392014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
740 Roland McGrath <roland@hack.frob.com>
741
742 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
743 (do_lookup_unique): ... local function 'enter' here; update callers.
744
abb280f7
JM
7452014-10-06 Joseph Myers <joseph@codesourcery.com>
746
f7b42517
JM
747 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
748 compat_symbol calls on [SHARED].
749 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
750 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
751 Remove.
752 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
753 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
754 (oldsetrlimit): Remove.
755 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
757 (lchown): New syscall entry.
758 (oldsetrlimit): Remove.
759 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
761 (oldsetrlimit): Remove.
762 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
763
abb280f7
JM
764 [BZ #14138]
765 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
766 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
767 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
768 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
770 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
771 (fchown): Likewise.
772 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
773 (fchown): Likewise.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
775 Likewise.
776
47d46237
AZ
7772014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778
779 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
780 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
781 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
782 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
783 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
784 Likewise.
785 (__old_sem_post): Likewise.
786
7872014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 788
845a7343
CM
789 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
790 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
791 HAVE_CLOCK_GETTIME_VSYSCALL macros.
792 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
793 Use INLINE_VSYSCALL macro.
794 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
795 __vdso_clock_gettime.
796 * sysdeps/unix/sysv/linux/tile/init-first.c
797 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
798 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
799 __vdso_clock_gettime.
800
83d641ef
CM
801 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
802 to set up frame more cleanly.
803
d9cd52e6
CM
804 * sysdeps/tile/memcmp.c: New file.
805
4b68ea11
CM
806 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
807
c86f7b80
CM
808 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
809 * sysdeps/tile/tilegx/strcasestr.c: New file.
810 * sysdeps/tile/tilegx/strnlen.c: New file.
811 * sysdeps/tile/tilegx/strstr.c: New file.
812
1c4c1a6f
CM
813 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
814
99d86ea3
AS
8152014-10-06 Arjun Shankar <arjun.is@lostca.se>
816
817 * nptl/tst-setuid3.c: Write errors to stdout.
818
06210a44
KS
8192014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
820
821 * elf/dl-deps.c
822 (preload): New functions broken out of _dl_map_object_deps.
823 (_dl_map_object_deps): Remove a nested function. Update call sites.
824
6268f532
JM
8252014-10-01 Joseph Myers <joseph@codesourcery.com>
826
827 [BZ #14138]
828 * sysdeps/unix/sysv/linux/execve.c: Remove file.
829 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
830
b925285f
SE
8312014-10-01 Steve Ellcey <sellcey@mips.com>
832
833 * sysdeps/mips/strcmp.S: New.
834
754a15c6
JM
8352014-09-30 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #14138]
838 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
839 (linkat): Likewise.
840 (mkdirat): Likewise.
841 (readlinkat): Likewise.
842 (renameat): Likewise.
843 (symlinkat): Likewise.
844 (unlinkat): Likewise.
845 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
846 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
847 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
848 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
849 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
850 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
851 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
852
85bb81c9
WN
8532014-09-30 Will Newton <will.newton@linaro.org>
854
dc6fe23b
WN
855 * math/math.h: Define long double math functions if
856 _LIBC_TEST is defined.
857 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
858
85bb81c9
WN
859 * localedata/Makefile: Move assignment to tests-special
860 into an ifdef testing run-built-tests.
861 * timezone/Makefile: Likewise.
862
b7e02da4
JM
8632014-09-29 Joseph Myers <joseph@codesourcery.com>
864
865 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
866 with $(BASH) not $(SHELL).
867
62058ce6
CD
8682014-09-29 Carlos O'Donell <carlos@redhat.com>
869 Matthew LeGendre <legendre1@llnl.gov>
870
871 [BZ #17411]
872 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
873 l_reloc_result.
874
8e257a29
KS
8752014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
876
877 * stdio-common/printf_fp.c
878 (hack_digit): New function, broken out of ...
879 (__printf_fp): ... local function here. Update call sites.
880 hack_digit now takes an additional parameter that is a pointer
881 to a struct of the referenced locals. Those locals moved inside
882 the struct and references updated.
883
f4a58f0d
L
8842014-09-29 H.J. Lu <hongjiu.lu@intel.com>
885
886 * aclocal.m4: Require autoconf 2.69.
887 * configure: Regenerated.
888 * sysdeps/aarch64/configure: Likewise.
889 * sysdeps/alpha/configure: Likewise.
890 * sysdeps/arm/armv7/configure: Likewise.
891 * sysdeps/arm/configure: Likewise.
892 * sysdeps/ia64/configure: Likewise.
893 * sysdeps/mach/configure: Likewise.
894 * sysdeps/mips/configure: Likewise.
895 * sysdeps/s390/configure: Likewise.
896 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
898
899 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
900 file.
901 * sysdeps/ia64/configure.ac: Likewise.
902
93ae1eba
JM
9032014-09-26 Joseph Myers <joseph@codesourcery.com>
904
1810d3ab
JM
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
906 specify symbol version for ld.so. Do not include entry for
907 libpthread.
908 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
911
93ae1eba
JM
912 [BZ #14171]
913 * Makeconfig [$(build-shared) = yes]
914 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
915 makefiles.
916 [$(build-shared) = yes && $(soversions.mk-done) = t]
917 ($(common-objpfx)gnu/lib-names.h): Remove rule.
918 [$(build-shared) = yes && $(soversions.mk-done) = t]
919 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
920 to Makerules.
921 [$(build-shared) = yes && $(soversions.mk-done) = t]
922 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
923 here.
924 [$(build-shared) = yes && $(soversions.mk-done) = t]
925 (common-generated): Don't append gnu/lib-names.h and
926 gnu/lib-names.stmp here.
927 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
928 (lib-names-h-abi): New variable.
929 [$(build-shared) = yes && $(soversions.mk-done) = t]
930 (lib-names-stmp-abi): Likewise.
931 [$(build-shared) = yes && $(soversions.mk-done) = t &&
932 abi-variants] (before-compile): Append
933 $(common-objpfx)$(lib-names-h-abi).
934 [$(build-shared) = yes && $(soversions.mk-done) = t &&
935 abi-variants] (common-generated): Append gnu/lib-names.h.
936 [$(build-shared) = yes && $(soversions.mk-done) = t &&
937 abi-variants] (install-others-nosubdir): Depend on
938 $(inst_includedir)/$(lib-names-h-abi).
939 [$(build-shared) = yes && $(soversions.mk-done) = t &&
940 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
941 [$(build-shared) = yes && $(soversions.mk-done) = t]
942 ($(common-objpfx)$(lib-names-h-abi)): New rule.
943 [$(build-shared) = yes && $(soversions.mk-done) = t]
944 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
945 [$(build-shared) = yes && $(soversions.mk-done) = t]
946 (common-generated): Append $(lib-names-h-abi) and
947 $(lib-names-stmp-abi).
948 * scripts/lib-names.awk: Do not handle multi being set.
949 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
950 Remove variable.
951 (abi-lp64_be-ld-soname): Likewise.
952 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
953 Likewise.
954 (abi-hard-ld-soname): Likewise.
955 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
956 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
957 Remove variable.
958 (abi-o32_hard-ld-soname): Likewise.
959 (abi-o32_soft_2008-ld-soname): Likewise.
960 (abi-o32_hard_2008-ld-soname): Likewise.
961 (abi-n32_soft-ld-soname): Likewise.
962 (abi-n32_hard-ld-soname): Likewise.
963 (abi-n32_soft_2008-ld-soname): Likewise.
964 (abi-n32_hard_2008-ld-soname): Likewise.
965 (abi-n64_soft-ld-soname): Likewise.
966 (abi-n64_hard-ld-soname): Likewise.
967 (abi-n64_soft_2008-ld-soname): Likewise.
968 (abi-n64_hard_2008-ld-soname): Likewise.
969 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
970 Likewise.
971 (abi-64-v2-ld-soname): Likewise.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
973 ld.so entries.
974 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
975 variable.
976 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
977 entry.
978 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
979 variable.
980 (abi-64-ld-soname): Likewise.
981 (abi-x32-ld-soname): Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
983 entry.
984 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
985
68870f12
JM
9862014-09-23 Joseph Myers <joseph@codesourcery.com>
987
988 [BZ #14138]
989 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
990 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
991 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
994 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
995 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
996 syscall entry for GLIBC_2.2 symbol version.
997 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
998 Likewise.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1000 (setrlimit): Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1002 Likewise.
1003
ea58f202
WN
10042014-09-23 Will Newton <will.newton@linaro.org>
1005
1006 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1007 _LINUX_ARM_SYSDEP_H include guard too.
1008 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1009 define.
1010
69eb9a18
RV
10112014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1012
1013 * sysdeps/unix/sysv/linux/eventfd.c:
1014 Make first argument unsigned.
1015 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1016 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1017
20e5a5f7
OB
10182014-09-20 Ondřej Bílka <neleai@seznam.cz>
1019
1020 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1021 * socket/sys/socket.h: Likewise
1022 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1023
d3c827e7
AK
10242014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1025
1026 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1027
fe1cc35a
AS
10282014-09-17 Arjun Shankar <arjun.is@lostca.se>
1029
1030 * time/tst-ftime.c: New test.
1031 * time/Makefile (tests): Add tst-ftime.
1032
4e8afe69
JM
10332014-09-17 Joseph Myers <joseph@codesourcery.com>
1034
c4fe3ea7
JM
1035 * soft-fp/extended.h: Fix comment formatting.
1036 * soft-fp/op-1.h: Likewise.
1037 * soft-fp/op-2.h: Likewise.
1038 * soft-fp/op-4.h: Likewise.
1039 * soft-fp/op-8.h: Likewise.
1040 * soft-fp/op-common.h: Likewise.
1041 * soft-fp/soft-fp.h: Likewise.
1042
4e8afe69
JM
1043 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1044
af296fcd
JM
10452014-09-16 Joseph Myers <joseph@codesourcery.com>
1046
1047 [BZ #6652]
1048 * Makeconfig (soversions-default-setname): Remove variable.
1049 ($(common-objpfx)soversions.i): Don't pass default_setname to
1050 soversions.awk.
1051 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1052 oldest_abi to abi-versions.awk.
1053 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1054 * config.make.in (oldest-abi): Remove variable.
1055 * configure.ac (--enable-oldest-abi): Remove configure option.
1056 * configure: Regenerated.
1057 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1058 text.
1059 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1060 * scripts/soversions.awk: Do not handle default_setname variable.
1061 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1062 variable.
1063 * sysdeps/mach/hurd/configure: Regenerated.
1064 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1065 variable.
1066 * sysdeps/unix/sysv/linux/configure: Regenerated.
1067
545583d6
SP
10682014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1069
d330b980
SP
1070 * elf/Makefile (CFLAGS-interp.c): Remove.
1071 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1072 path string.
1073 * elf/interp.c: Include generated runtime-linker.h
1074
02657da2
SP
1075 * Makerules (lib%.so): Don't include $(+interp) in
1076 prerequisites.
1077 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1078 * dlfcn/eval.c: Remove file.
1079
653b1080
SP
1080 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1081 macros.
1082
602f80ec
SP
1083 [BZ #17266]
1084 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1085 4.2 and newer.
1086
545583d6
SP
1087 [BZ #17370]
1088 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1089
884ddc50
SP
10902014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1091 Jakub Jelinek <jakub@redhat.com>
1092
1093 [BZ #17266]
1094 * libio/stdio.h: Check definition of __fortify_function
1095 instead of __extern_always_inline to include bits/stdio2.h.
1096 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1097 check if __extern_always_inline is defined.
1098 [__USE_MISC || __USE_XOPEN]: Likewise.
1099 [__USE_ISOC99] Likewise.
1100 * misc/sys/cdefs.h (__fortify_function): Define only if
1101 __extern_always_inline is defined.
1102 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1103 __extern_always_inline and __extern_inline only for g++-4.3
1104 and newer or a compatible gcc.
1105
a7b87268
AS
11062014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1107
1108 [BZ #17371]
1109 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1110 last change to handle zero prefix length.
1111
3f41521d
SP
11122014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1113
61fe374a
SP
1114 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1115 _SC_REGEX_VERSION.
1116
3f41521d
SP
1117 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1118 _POSIX_RAW_SOCKETS.
1119
d8f879ee
AM
11202014-09-13 Allan McRae <allan@archlinux.org>
1121
1122 * po/ru.po: Update Russian translation from translation project.
1123
c079afb7
RM
11242014-09-12 Roland McGrath <roland@hack.frob.com>
1125
a62b3c15
RM
1126 * locale/programs/locale.c (show_locale_vars): Inline local function
1127 into its sole call site. Clean up some style nits.
1128 (print_item): New function, broken out of ...
1129 (show_info): ... local function here. Clean up style nits.
1130
d7e49b19
RM
1131 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1132 out of ...
1133 (set_class_defaults): ... local function set_default here.
1134 Define set_default as a macro locally to pass constant parameters.
1135 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1136 rather than a shared local.
1137
c079afb7
RM
1138 * stdlib/rpmatch.c (try): New function, broken out of ...
1139 (rpmatch): ... local function here. Also, prototypify definition.
1140
0bd72468
JM
11412014-09-12 Joseph Myers <joseph@codesourcery.com>
1142
ba90e050
JM
1143 * scripts/soversions.awk: Do not handle configuration names.
1144 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1145 vendor and os variables to soversions.awk.
1146 * configure.ac: Do not modify gnu-* host_os.
1147 * configure: Regenerated
1148 * shlib-versions: Remove first column with configuration names.
1149 * nptl/shlib-versions: Likewise.
1150 * nptl_db/shlib-versions: Likewise.
1151 * sysdeps/hppa/shlib-versions: Likewise.
1152 * sysdeps/m68k/shlib-versions: Likewise.
1153 * sysdeps/mach/hurd/shlib-versions: Likewise.
1154 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1155 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1156 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1157 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1158 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1159 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1160 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1161 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1163 Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1166 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1167 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1168 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1169 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1171 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1172
73a39112
JM
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1174 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1176 Regenerated.
1177 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1179 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1180
c729e7c1
JM
1181 * shlib-versions: Remove OS-specific entries. Moved to files in
1182 sysdeps.
1183 * sysdeps/mach/hurd/shlib-versions: New file.
1184 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1185
dc932a24
JM
1186 * nptl/shlib-versions: Remove architecture-specific entries.
1187 Moved to files in sysdeps.
1188 * shlib-versions: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1190 file.
1191 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1192 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1193 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1194 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1195
0bd72468
JM
1196 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1197 (UDP_NO_CHECK6_RX): Likewise.
1198
920238e0
SP
11992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1200
1201 * sysdeps/posix/sysconf.c (__sysconf): Spell
1202 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1203
ba7b4d29
FW
12042014-08-12 Florian Weimer <fweimer@redhat.com>
1205
1206 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1207 loading.
1208 * iconv/Versions (__gconv_transliterate): Export for use from
1209 gconv modules.
1210 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1211 (struct __gconv_trans_data, __gconv_trans_fct,
1212 __gconv_trans_context_fct, __gconv_trans_query_fct,
1213 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1214 definitions.
1215 (struct __gconv_step_data): Remove __trans member.
1216 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1217 longer hidden. Remove unused trans_data argument.
1218 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1219 (__gconv_translit_find): Remove declaration.
1220 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1221 prototype.
1222 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1223 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1224 trans_data argument. Add hidden definition.
1225 (__gconv_translit_find): Remove.
1226 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1227 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1228 * iconv/skeleton.c: Remove transliteration initialization.
1229 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1230 __gconv_step_data initialization.
1231 * libio/iofwide.c (__libio_translit_): Remove.
1232 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1233 * wcsmbs/btowc.c (__btowc): Likewise.
1234 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1235 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1236 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1237 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1238 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1239 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1240 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1241 * wcsmbs/wctob.c (wctob): Likewise.
1242
5379aebd
SP
12432014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
1245 [BZ #16194]
1246 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1247 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1248 register usage.
1249 * sysdeps/x86/Makefile: Adjust.
1250
8c0ab919
RM
12512014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1252 Roland McGrath <roland@hack.frob.com>
1253
1254 * locale/weight.h: Add include guard.
1255 (findidx): Make static rather than auto; take new parameters
1256 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1257 * locale/weightwc.h: Likewise.
1258 * posix/fnmatch_loop.c
1259 (FCT): Change type of EXTRA from int32_t to wint_t.
1260 Don't include either header inside the function.
1261 Call FINDIDX rather than findidx, and pass new arguments.
1262 #undef FINDIDX at the end of the file.
1263 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1264 FINDIDX before including fnmatch_loop.c for the non-wide version.
1265 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1266 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1267 for the wide version.
1268 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1269 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1270 Pass new arguments to findidx.
1271 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1272 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1273 Don't #include it inside the function. Pass new arguments to findidx.
1274 * posix/regex_internal.h
1275 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1276 (re_string_elem_size_at): Don't #include it inside the function.
1277 Pass new arguments to findidx.
1278 * string/strcoll_l.c: #include WEIGHT_H at top level.
1279 (get_next_seq): Don't #include it inside the function.
1280 Pass new arguments to findidx.
1281 (get_next_seq_nocache): Likewise.
1282 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1283 (STRXFRM): Don't #include it inside the function.
1284 Pass new arguments to findidx.
1285
52ffbdf2
FW
12862014-09-11 Florian Weimer <fweimer@redhat.com>
1287
1288 [BZ #17344]
1289 * malloc/malloc.c (unlink): Turn asserts into a call to
1290 malloc_printerr.
1291
984c0ea9
TL
12922014-09-11 Tim Lammens <tim.lammens@gmail.com>
1293
1294 [BZ #17370]
1295 * libio/wfileops (do_ftell_wide): Free OUT.
1296
3daee107
CM
12972014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1298
1299 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1300
58b930ae
SP
13012014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1302
1303 [BZ #17363]
1304 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1305 group if the current group is empty.
1306
3b473fec
AZ
13072014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308
71ae8647
AZ
1309 * benchtests/bench-memset.c (test_main): Add more test from size
1310 from 32 to 512 bytes.
1311 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1312 Add POWER8 memset object.
1313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1315 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1316 implementation.
1317 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1318 Likewise.
1319 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1320 multiarch POWER8 memset optimization.
1321 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1322 POWER8 memset optimization.
1323
3b473fec
AZ
1324 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1325 Remove bzero multiarch objects.
1326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1327 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1330 Remove define.
1331 [__bzero]: Redefine to specific name.
1332 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1333 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1334 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1335 define.
1336 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1337 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1338
e6fb9587
FW
13392014-09-10 Florian Weimer <fweimer@redhat.com>
1340
1341 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1342 warnings into errors.
1343
1344 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1345 __cxa_thread_atexit_impl prototype.
1346
9d3a350b
SE
13472014-09-09 Steve Ellcey <sellcey@mips.com>
1348
1349 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1350 Fix capitalization of error message.
1351
0febba23
SE
13522014-09-09 Steve Ellcey <sellcey@mips.com>
1353
1354 * sysdeps/mips/preconfigure: Modify ABI tests.
1355
645a0e9c
CD
13562014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1357
1358 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1359
d83f0734
CD
13602014-09-07 Roland McGrath <roland@hack.frob.com>
1361 Carlos O'Donell <carlos@systemhalted.org>
1362
1363 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1364 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1365 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1366 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1367 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1368 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1369 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1370 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1371 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1372 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1373 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1374 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1375 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1376 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1377 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1378 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1379 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1380 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1381 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1382 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1383 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1384 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1385 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1386 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1387 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1388 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1389 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1390 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1391 Deconditionalize the code that was previously under [RESET_PID].
1392 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1393 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1394 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1395 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1396 include sysdep.h.
1397
21c83793
AM
13982014-09-08 Allan McRae <allan@archlinux.org>
1399
1400 * version.h (RELEASE): Set to "development".
1401 (VERSION): Set to "2.20.90"
1402
1cd9b65c
AM
14032014-09-07 Allan McRae <allan@archlinux.org
1404
b8079dd0
AM
1405 * version.h (RELEASE): Set to "stable".
1406 (VERSION): Set to "2.20"
1407 * include/features.h (__GLIBC_MINOR__): Set to 20.
1408
c46303ef
AM
1409 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1410 Liebler.
1411
1cd9b65c
AM
1412 * po/ko.po: Update Korean translation from translation project.
1413
8622092d
CM
14142014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1415
1416 [BZ #17354]
1417 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1418 macro for handling signed relocations.
1419
41488498
FW
14202014-09-03 Florian Weimer <fweimer@redhat.com>
1421
1422 [BZ #17325]
1423 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1424 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1425 assert.
1426 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1427 * iconvdata/ibm935.c (BODY): Likewise.
1428 * iconvdata/ibm937.c (BODY): Likewise.
1429 * iconvdata/ibm939.c (BODY): Likewise.
1430 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1431 assert.
1432 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1433 script.
1434 * iconvdata/run-iconv-test.sh: New test loop for checking for
1435 decoder crashers.
1436
a78b712d
KR
14372014-09-02 Khem Raj <raj.khem@gmail.com>
1438
1439 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1440 libm_hidden_ver.
1441
cb08abc6
AM
14422014-09-01 Allan McRae <allan@archlinux.org>
1443
2c31e102
AM
1444 * po/eo.po: Update Esperanto translation from translation project.
1445
cb08abc6
AM
1446 * po/ca.po: Update Catalan translation from translation project.
1447
17a62de1
ST
14482014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1449
1450 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1451 __proc_dostop call.
1452
9570bc53
MW
14532014-08-27 Mark Wielaard <mjw@redhat.com>
1454
1455 [BZ #17319]
1456 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1457 to call set_thread_area instead of hand written asm.
1458 (__NR_set_thread_area): Removed define.
1459 (TLS_FLAG_WRITABLE): Likewise.
1460 (__ASSUME_SET_THREAD_AREA): Remove check.
1461 (TLS_EBX_ARG): Remove define.
1462 (TLS_LOAD_EBX): Likewise.
1463
b0f955c9
ST
14642014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1465
1466 Simplify atomicity of socket creation in bind.
1467
1468 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1469 looking up the name after linking the file.
1470
529bf515
AM
14712014-08-27 Allan McRae <allan@archlinux.org>
1472
1473 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1474
a1a6a401
FW
14752014-08-26 Florian Weimer <fweimer@redhat.com>
1476
1477 [BZ #17187]
1478 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1479 trans_compare, open_translit, __gconv_translit_find):
1480 Remove module loading code.
1481
686ab290
AM
14822014-08-26 Allan McRae <allan@archlinux.org>
1483
e4e7cfd2
AM
1484 * po/vi.po: Update Vietnamese translation from translation project.
1485
6aa09f71
AM
1486 * po/uk.po: Update Ukrainian translation from translation project.
1487
edc0660e
AM
1488 * po/fr.po: Update French translation from translation project.
1489
7eea72ac
AM
1490 * po/ru.po: Update Russian translation from translation project.
1491
93c49eff
AM
1492 * po/pl.po: Update Polish translation from translation project.
1493
46acaf63
AM
1494 * po/cs.po: Update Czech translation from translation project.
1495
a9f5ce98
AM
1496 * po/de.po: Update German translation from translation project.
1497
373f2b78
AM
1498 * po/bg.po: Update Bulgarian translation from translation project.
1499
e7548bd8
AM
1500 * po/sv.po: Update Sweedish translation from translation project.
1501
c526bf4d
AM
1502 * po/nl.po: Update Dutch translation from translation project.
1503
686ab290
AM
1504 * po/es.po: Update Spanish translation from translation project.
1505
eb72478a
SP
15062014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1507
dd763fdb
SP
1508 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1509
318c7a58
SP
1510 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1511 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1512 (CPPFLAGS-iconvconfig): Likewise.
1513 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1514
eb72478a
SP
1515 * include/libc-symbols.h: Remove unnecessary check for
1516 NOT_IN_libc.
1517 * nptl/pthreadP.h: Likewise.
1518 * sysdeps/aarch64/setjmp.S: Likewise.
1519 * sysdeps/alpha/setjmp.S: Likewise.
1520 * sysdeps/arm/sysdep.h: Likewise.
1521 * sysdeps/i386/setjmp.S: Likewise.
1522 * sysdeps/m68k/setjmp.c: Likewise.
1523 * sysdeps/posix/getcwd.c: Likewise.
1524 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1526 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1527 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1528 * sysdeps/sh/sh3/setjmp.S: Likewise.
1529 * sysdeps/sh/sh4/setjmp.S: Likewise.
1530 * sysdeps/unix/alpha/sysdep.h: Likewise.
1531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1532 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1533 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1534 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1539 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1542 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1544 * sysdeps/x86_64/setjmp.S: Likewise.
1545
d44a052c
JM
15462014-08-13 Joseph Myers <joseph@codesourcery.com>
1547
1548 [BZ #17263]
1549 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1550 <stdint.h>.
1551 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1552 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1553
508ce3ac
SP
15542014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1555
e44c8b0e
SP
1556 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1557
508ce3ac
SP
1558 [BZ #17262]
1559 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1560 and __x86_64__ when disabling x87 inline functions.
1561
b4acef1f
L
15622014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 [BZ #17259]
1565 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1566 asm statement with __cpuid_count.
1567
61b1ef6e
MF
15682014-08-12 Mike Frysinger <vapier@gentoo.org>
1569
1570 * configure.ac: Change __ehdr_start code to dereference the struct.
1571 Run readelf on the output to look for relocations.
1572 * configure: Regenerated.
1573
898c62f4
JM
15742014-08-12 Joseph Myers <joseph@codesourcery.com>
1575
1576 [BZ #17261]
1577 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1578 value to 0.
1579 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1580
9a8a5720
RM
15812014-08-12 Roland McGrath <roland@hack.frob.com>
1582
1583 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1584
4e75751c
BO
15852014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1586
1587 [BZ #16892]
1588 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1589 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1590
bb2ce416
SA
15912014-08-12 Sean Anderson <seanga2@gmail.com>
1592
1593 * malloc/malloc.c: Fix typo in comment.
1594
7950a4ee
AM
15952014-08-09 Allan McRae <allan@archlinux.org>
1596
1597 * Regenerate libc.po.
1598
f469c49f
MF
15992014-08-08 Mike Frysinger <vapier@gentoo.org>
1600
1601 * intl/tst-gettext2.sh: Check every lang file for creation.
1602
656b84c2
WD
16032014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1604
1605 * sysdeps/aarch64/fpu/math_private.h
1606 (libc_feholdsetround_noex_aarch64_ctx): New function.
1607
538e9e45
W
16082014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1609
1610 * sysdeps/arm/armv6/strcpy.S (strcpy):
1611 Fix performance issue in misaligned cases.
1612
d4795e4a
AZ
16132014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1616 Move definition from termios.h.
1617 (struct termio): Likewise.
1618 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1619 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1620 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1621 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1624 Move definition to ioctl-types.h
1625 (struct termio): Likewise.
1626 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1627 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1628 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1629 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1630 Likewise.
1631
64accb62
RH
16322014-08-05 Richard Henderson <rth@redhat.com>
1633
27bb6dc0
RH
1634 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1635 exceptions.
1636 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1637 Add fraiseexcpt.
1638 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1639 Use __feraiseexcept.
1640 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1641 Protect libm symbols with IS_IN_libm.
1642
64accb62
RH
1643 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1644
e5292691
BO
16452014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1646
1647 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1648
5b4bd2d4
WN
16492014-08-04 Will Newton <will.newton@linaro.org>
1650
1651 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1652 file.
1653
fcadaeef
MF
16542014-08-04 Mike Frysinger <vapier@gentoo.org>
1655
1656 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1657 variants for each function.
1658
43a94c64
RM
16592014-08-04 Roland McGrath <roland@hack.frob.com>
1660
1661 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1662 appended ...
1663 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1664 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1665 appended ...
1666 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1667 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1668 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1669 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1670 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1671 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1672 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1673 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1674 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1675 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1688 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1696 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1702 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1703 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1704 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1705 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1706 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1707 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1708 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1709 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1710 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1711 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1712 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1713 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1714 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1715 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1716 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1717 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1718 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1719 Update #include.
1720 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1721 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1722
8f3c1fa4
RM
17232014-08-04 Roland McGrath <roland@hack.frob.com>
1724
1725 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1726 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1727 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1728 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1729 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1730 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1731
ca08746f
RM
17322014-08-04 Roland McGrath <roland@hack.frob.com>
1733
1734 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1735 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1736 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1737 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1738
9c925ff9
RM
17392014-08-04 Roland McGrath <roland@hack.frob.com>
1740
1741 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1742 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1743 (__libc_vfork): Define function under this name.
1744 (__vfork): Define as an alias.
1745 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1746 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1747
e641054c
RM
17482014-08-04 Roland McGrath <roland@hack.frob.com>
1749
1750 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1751 that was previously under [RESET_PID].
1752 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1753
dacdc867
AS
17542014-08-04 Andreas Schwab <schwab@suse.de>
1755
1756 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1757
41f725ff
MF
17582014-08-03 Mike Frysinger <vapier@gentoo.org>
1759
1760 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1761 (main): Likewise.
1762
277cfb31
RM
17632014-08-01 Roland McGrath <roland@hack.frob.com>
1764
1765 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1766
4896f049
RH
17672014-08-01 Richard Henderon <rth@redhat.com>
1768
1769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1770 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1771 typo in exact zero test.
1772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1775
6f64e7d7
RM
17762014-08-01 Roland McGrath <roland@hack.frob.com>
1777
1778 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1779 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1780 * sysdeps/arm/sysdep.h: ... here.
1781 [!__ASSEMBLER__]: Include <stdint.h>.
1782
3f3dd810
SP
17832014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1784
a476ac4b
SP
1785 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1786 (HAVE_WCTYPE_H): Likewise.
1787 (HAVE_ISWCTYPE): Likewise.
1788 (ENABLE_NLS): Likewise.
1789 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1790 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1791
78dd658a
SP
1792 * posix/regex_internal.c: Check if DEBUG is defined and is
1793 set.
1794
3f3dd810
SP
1795 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1796 (HAVE_MBSRTOWCS): Likewise.
1797 * posix/fnmatch.c: Include string.h unconditionally.
1798
95ee7fb1
SL
17992014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1800
1801 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1802 reversal.
1803
23fe486b
RM
18042014-07-31 Roland McGrath <roland@hack.frob.com>
1805
f61a113f
RM
1806 * sysdeps/generic/safe-fatal.h: New file.
1807 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1808 * nptl/forward.c: Include it.
1809 (__pthread_unwind): Use __safe_fatal as default action, rather
1810 than a bogus use of INTERNAL_SYSCALL that could never work.
1811
9fe7e787
RM
1812 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1813 * configure.ac (libc_cv_builtin_trap): New test.
1814 * configure: Regenerated.
1815 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1816 (ABORT_INSTRUCTION): Define using __builtin_trap.
1817
23fe486b
RM
1818 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1819 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1820 * sysdeps/nptl/nptl-signals.h: New file.
1821 * nptl/pthreadP.h: Include <nptl-signals.h>.
1822
f349489e
SL
18232014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1824
1825 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1826 (ONE_DIRECTION): Define.
1827 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1828 (ONE_DIRECTION): Define.
1829 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1830 (ONE_DIRECTION): Define.
1831
2f438e20
SL
18322014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1833
1834 * sysdeps/s390/Makefile: Delete file.
1835 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1836 * sysdeps/s390/__longjmp.c: Delete file.
1837 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1838 Remove fields __flags and __reserved.
1839 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1840 and add versioning.
1841 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1842 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1843 * sysdeps/s390/rtld-setjmp.S: Likewise.
1844 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1845 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1846 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1847 * sysdeps/s390/s390-32/setjmp.S: ... here.
1848 Add versioning.
1849 (__sigsetjmp): Remove setting __flags field.
1850 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1851 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1852 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1853 * sysdeps/s390/s390-64/setjmp.S: ... here.
1854 Add versioning.
1855 (__sigsetjmp): Remove setting __flags field.
1856 * sysdeps/s390/setjmp.S: Delete file.
1857 * sysdeps/s390/sigjmp.c: Likewise.
1858 * sysdeps/s390/v1-longjmp.c: Likewise.
1859 * sysdeps/s390/v1-setjmp.h: Likewise.
1860 * sysdeps/s390/v1-sigjmp.c: Likewise.
1861 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1862 Remove v1-longjmp_chk.
1863 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1864 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1865 Include debug/longjmp_chk.c and add versioning.
1866 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1867 Include nptl/pt-longjmp.c and add versioning.
1868 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1869 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1870 Include __longjmp.c.
1871 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1872 Move to ...
1873 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1874 (__getcontext): Remove setting __flags field.
1875 Add versioning.
1876 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1877 Don't restore upper high grps.
1878 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1879 Likewise.
1880 (__swapcontext): Remove setting uc_flags field.
1881 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1882 Delete file.
1883 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1884 Include __longjmp.c.
1885 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1886 Move to ...
1887 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1888 (__getcontext): Remove setting __flags field.
1889 Add versioning.
1890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1891 (__swapcontext): Remove setting uc_flags field.
1892 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1893 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1894 Remove fields uc_high_gprs and __reserved.
1895 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1896 New file with reverted content.
1897 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1899 Regenerated.
1900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1901 Regenerated.
1902
6c9578a2
AS
19032014-07-31 Andreas Schwab <schwab@suse.de>
1904
1905 * config.h.in (HAVE_IFUNC): Define to 0.
1906 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1907 definedness.
1908
05f3633d
LM
19092014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1910
1911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1912 memmove-avx-unaligned, memcpy-avx-unaligned and
1913 mempcpy-avx-unaligned.
1914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1915 Add tests for AVX memcpy functions.
1916 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1917 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1918 memcpy_chk.
1919 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1920 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1921 memmove_chk.
1922 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1923 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1924 mempcpy_chk.
1925 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1926 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1927 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1928
a53fbd8e
AZ
19292013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1930
1931 [BZ #17213]
1932 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1933 powerpc64le.
1934
0961f7e1
JL
19352014-07-29 Jeff Layton <jlayton@poochiereds.net>
1936
1937 [BZ #16839]
1938 * manual/llio.texi: Add section about open file description locks.
1939 * manual/examples/ofdlocks.c: Example of open file description
1940 lock usage.
1941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1942 F_OFD_SETLK, and F_OFD_SETLKW.
1943
cc5fb300
AM
19442014-07-23 Allan McRae <allan@archlinux.org>
1945
1946 * po/es.po: Update Spanish translation from translation project.
1947
23329dca
AS
19482014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1949
1950 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1951
9c82da17
MR
19522014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1953
1954 [BZ #17078]
1955 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1956 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1957 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1958
29c4f53e
JM
19592014-07-17 Joseph Myers <joseph@codesourcery.com>
1960
831b9896
JM
1961 [BZ #17088]
1962 * math/fesetenv.c (__fesetenv)
1963 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1964 * math/feupdateenv.c (__feupdateenv)
1965 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1966
b21c2d50
JM
1967 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1968 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1969 (__ASSUME_SOCKETCALL): Do not define.
1970
067764ef
JM
1971 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1972 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1973 (__ASSUME_SOCKETCALL): Do not define.
1974 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1975 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1976 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1977 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1979 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1981 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1982
642530c1
JM
1983 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1984 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1985 (__ASSUME_SOCKETCALL): Do not define.
1986 (__ASSUME_IPC64): Define unconditionally.
1987 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1988 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1989 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1990 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1991 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1992 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1993 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1994 Likewise.
1995
03f77315
JM
1996 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1997 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1998 (__ASSUME_SOCKETCALL): Do not define.
1999 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2000 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2001 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2002 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2003 (__ASSUME_REQUEUE_PI): Define unconditionally.
2004 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2005 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2006 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2007 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2008 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2009 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2010
083b1f7c
JM
2011 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2012 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2013 (__ASSUME_SOCKETCALL): Do not define.
2014 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2015 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2016 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2017 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2018 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2019 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2020
5be44ea6
JM
2021 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2022 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2023 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2024 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2025 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2026 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2027 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2028 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2029 (__ASSUME_GETCPU_SYSCALL): Likewise.
2030
d95ffd4c
JM
2031 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2032 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2033 cases for individual architectures.
2034 * sysdeps/gnu/configure: Regenerated.
2035 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2036 LIBC_SLIBDIR_RTLDDIR.
2037 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2038 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2039 LIBC_SLIBDIR_RTLDDIR.
2040 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2042 LIBC_SLIBDIR_RTLDDIR.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2044 Regenerated.
2045 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2047 file.
2048 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2050 file.
2051 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2053 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2055
29c4f53e
JM
2056 * sysdeps/aarch64/shlib-versions: Move to ...
2057 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2058 * sysdeps/alpha/shlib-versions: Move to ...
2059 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2060 * sysdeps/arm/shlib-versions: Move to ...
2061 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2062 * sysdeps/hppa/shlib-versions: Move all contents except for
2063 libgcc_s entry to ...
2064 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2065 entry from ...
2066 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2067 * sysdeps/ia64/shlib-versions: Move to ...
2068 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2069 entry from ...
2070 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2071 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2072 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2073 * sysdeps/microblaze/shlib-versions: Move to ...
2074 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2075 * sysdeps/mips/shlib-versions: Move to ...
2076 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2077 entry from ...
2078 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2079 * sysdeps/tile/shlib-versions: Move to ...
2080 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2081 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2082 from ...
2083 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2084 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2085 entry from ...
2086 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2087
32bead5b
WN
20882014-07-17 Will Newton <will.newton@linaro.org>
2089
57977c4b
WN
2090 * sysdeps/arm/bits/atomic.h
2091 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2092 (__arch_compare_and_exchange_bool_16_int): Likewise.
2093 (__arch_compare_and_exchange_bool_64_int): Likewise.
2094
32bead5b
WN
2095 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2096 into an #else block.
2097
37fccd41
RM
20982014-07-16 Roland McGrath <roland@hack.frob.com>
2099
2100 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2101 just Linux configurations. Test empirically that the compiler sets
2102 __ARM_EABI__, rather than using the tuple to decide.
2103 * sysdeps/arm/preconfigure: Regenerated.
2104 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2105 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2106 contents appended ...
2107 * sysdeps/arm/configure.ac: ... here.
2108 * sysdeps/arm/configure: Regenerated.
2109
b365f3ec
RM
21102014-07-15 Roland McGrath <roland@hack.frob.com>
2111
8badf496
RM
2112 * nptl/pthread_kill.c: New file.
2113 * nptl/pthread_sigmask.c: New file.
2114 * nptl/pthread_sigqueue.c: New file.
2115
3df6f22e
RM
2116 * sysdeps/nptl/lowlevellock.h: New file.
2117 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2118 * sysdeps/nptl/lowlevellock-futex.h: New file.
2119
b365f3ec
RM
2120 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2121 Remove dead declarations.
2122
f2fef657
L
21232014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2126 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2127 config-cflags-avx2.
2128 * sysdeps/x86_64/configure.ac: Likewise.
2129 * sysdeps/i386/configure: Regenerated.
2130 * sysdeps/x86_64/configure: Likewise.
2131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2132 memset-avx2 only if config-cflags-avx2 is yes.
2133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2134 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2135 defined.
2136 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2137 only if HAVE_AVX2_SUPPORT is defined.
2138 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2139
f6c44d47
AM
21402014-07-14 Alan Modra <amodra@gmail.com>
2141
2142 [BZ #17153]
2143 * elf/elf.h (DT_PPC64_NUM): Correct value.
2144 * NEWS: Add to fixed bug list.
2145
7ee03f00
JM
21462014-07-13 Jim Meyering <meyering@fb.com>
2147
2148 [BZ 17150]
2149 regex: don't deref NULL upon heap allocation failure
2150 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2151 failure in one more place.
2152 To trigger the segfault, configure grep -with-included-regex,
2153 build it, and run these commands:
2154 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2155
9d39d517
AS
21562014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2157
2158 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2159
a75b89b7
RH
21602014-07-11 Richard Henderson <rth@redhat.com>
2161
2162 * sysdeps/aarch64/libm-test-ulps: Update.
2163
771eb141
FW
21642014-07-10 Florian Weimer <fweimer@redhat.com>
2165
2166 [BZ #17135]
2167 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2168 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2169 (__nptl_setxid): Initialize error member. Call
2170 __nptl_setxid_error.
2171 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2172 * nptl/descr.h (struct xid_command): Add error member.
2173 * nptl/tst-setuid3.c: New file.
2174 * nptl/Makefile (tests): Add it.
2175
bc1da176
AZ
21762014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2179 New define.
2180 (__lll_trylock): Use __lll_base_trylock.
2181 (__lll_cond_trylock): Likewise.
2182
887865fc
RM
21832014-07-10 Roland McGrath <roland@hack.frob.com>
2184
c0c6bac9
RM
2185 * nptl/pthread_create.c (start_thread): Use atomic_or and
2186 lll_futex_wake directly rather than lll_robust_dead.
2187 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2188 (lll_robust_dead): Macro removed.
6a42be57 2189 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2190 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2191 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2192 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2193 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2194 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2195 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2196 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2197 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2199 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2200 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2201 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2202 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2203 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2204
887865fc
RM
2205 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2206 Use atomic_compare_and_exchange_val_acq directly rather than
2207 lll_robust_trylock.
2208 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2209 (__lll_robust_trylock, lll_robust_trylock): Removed.
2210 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2211 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2212 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2214 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2215 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2216 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2217 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2219 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2220 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2222 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2224
58536726
FW
22252014-07-02 Florian Weimer <fweimer@redhat.com>
2226
2227 * manual/locale.texi (Locale Names): New section documenting
2228 locale name syntax. Adjust menu and node chaining accordingly.
2229 (Choosing Locale): Reference Locale Names, Locale Categories.
2230 Mention setting LC_ALL=C. Reflect that name syntax is now
2231 documented.
2232 (Locale Categories): New section title. Reference Locale Names.
2233 LC_ALL is an environment variable, but not a category.
2234 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2235 description, now in Locale Name. Reference that section. Locale
2236 name syntax is now documented.
2237
4e8f95a0
FW
22382014-07-02 Florian Weimer <fweimer@redhat.com>
2239
2240 [BZ #17137]
2241 * locale/findlocale.c (name_present, valid_locale_name): New
2242 functions.
2243 (_nl_find_locale): Use the loc_name variable to store name
2244 candidates. Call name_present and valid_locale_name to check and
2245 validate locale names. Return an error if the locale is invalid.
2246
d1836456
FW
22472014-07-02 Florian Weimer <fweimer@redhat.com>
2248
2249 * locale/setlocale.c (setlocale): Use strdup for allocating
2250 composite name copy.
2251
d69b7f5a
SP
22522014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2253
888c679b
SP
2254 Sync up with gnulib.
2255 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2256 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2257 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2258 and _GL_ARG_NONNULL.
2259 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2260 [!_LIBC]: Include code for Windows and Cygwin.
2261 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2262 Include prototype for int strerror_r.
2263 [!_LIBC] (is_open): New function.
2264 (flush_stdout): New function.
2265 (print_errno_message): Use it.
2266 (error): Likewise.
2267 (error_at_line): Likewise.
2268 (error_tail) Add function attribute macros. Use
2269 __builtin_expect.
2270
180e0e4b
SP
2271 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2272
d22f1fe2
SP
2273 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2274
12f2254b
SP
2275 * io/ftw.c: Include sys/param.h unconditionally.
2276
c3c7c360
SP
2277 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2278
d62aa75a
SP
2279 [BZ #17125]
2280 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2281 libc_freeres_ptr.
2282 (freecache): New function to free CACHE on exit.
2283
d69b7f5a
SP
2284 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2285 initialization.
2286
5efe06a1
DM
22872014-07-09 David S. Miller <davem@davemloft.net>
2288
2289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2290
7000d82e
DM
2291 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2292 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2293 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2294 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2295 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2296 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2297 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2298 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2299 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2300 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2301 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2302 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2303 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2304
c213442d
AS
23052014-07-09 Andreas Schwab <schwab@suse.de>
2306
4a2552c3
AS
2307 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2308 output.
2309 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2310 (do_test): Likewise.
2311
c213442d
AS
2312 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2313
82374e65
WN
23142014-07-09 Will Newton <will.newton@linaro.org>
2315
2316 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2317 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2318 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2319 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2320 * sysdeps/hppa/start.S (_start): Likewise.
2321
6680738a
SP
23222014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2323
6ee3eab4
SP
2324 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2325
6680738a
SP
2326 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2327 defined.
2328
80b5c505
SP
23292014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2330
e35c53e3
SP
2331 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2332 after checking that it is non-NULL.
2333
80b5c505
SP
2334 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2335
91f4b564
AZ
23362014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337
27b75f56
AZ
2338 * sysdeps/powerpc/memmove.c: Remove file.
2339 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2340 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2342 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2344 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2345 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2346 string memmove instead of removed powerpc one.
2347
e7f95bb5
AZ
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2349 [weak_alias]: Fix compiler warning due trailing data.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2351 [weak_alias]: Likewise.
2352 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2353 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2354
91f4b564
AZ
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2356 (__libc_ifunc_impl_list): Add memmove functions.
2357
7c33f1e5
SP
23582014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2361 Remove code.
2362 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2363 Likewise
2364 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2365 Likewise
2366 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2367 Likewise
2368 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2369 Likewise
2370 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2371 Likewise
2372 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2373 Likewise
2374 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2375 Likewise
2376 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2377 Likewise
2378 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2379 Likewise
2380 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2381 Likewise
2382 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2383 Likewise
2384 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2385 Likewise
2386 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2387 Likewise
2388 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2389 Likewise
2390 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2391 Likewise
2392 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2393 Likewise
2394
3f17b03b
AZ
23952014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396
87868c24
AZ
2397 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2398 to avoid alignment traps in non-cacheable memory.
2399 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2400
07aedd78
AZ
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2402 multiarch objects.
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2404 file: multiarch power7 memmove.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2406 multiarch default memmove.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2408 multiarch memove for powerpc32/power4.
2409
17762f66
AZ
2410 * string/bcopy.c: Use full path to include memmove.c.
2411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2412 multiarch objects.
2413 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2414 bcopy for powerpc64.
2415 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2416 bcopy for powerpc64.
2417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2418 and memmove implementations.
2419 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2420 optimized multiarch memmove for POWER7/powerpc64.
2421 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2422 default multiarch memmove for powerpc64.
2423 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2424 multiarch for powerpc64.
2425 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2426 for POWER7/powerpc64.
2427 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2428 memmove for POWER7/powerpc64.
2429
d6f68bbe
AZ
2430 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2431 glibc default one.
2432
3f17b03b
AZ
2433 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2434 __ELF_NATIVE_CLASS equal to 64.
2435
08192659
RM
24362014-07-07 Roland McGrath <roland@hack.frob.com>
2437
f4c4021b
RM
2438 * sysdeps/nptl/lowlevellock.h: File removed.
2439
f083450f
RM
2440 * NEWS: NPTL is no longer an add-on!
2441 * nptl/internaltypes.h: Moved ...
2442 * sysdeps/nptl/internaltypes.h: ... here.
2443 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2444 * sysdeps/nptl/fork.c: Likewise.
2445 * sysdeps/nptl/gai_misc.h: Likewise.
2446 * sysdeps/nptl/librt-cancellation.c: Likewise.
2447 * sysdeps/nptl/jmp-unwind.c: Likewise.
2448 * sysdeps/nptl/setxid.h: Likewise.
2449 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2450 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2451 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2452 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2453 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2454 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2455 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2456 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2457 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2458 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2459 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2460 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2461 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2462 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2463 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2464 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2466 * nptl/Makeconfig: Moved ...
2467 * sysdeps/nptl/Makeconfig: ... here.
2468 * nptl/configure: File removed.
2469 * nptl/ANNOUNCE: File removed.
2470 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2471 * sysdeps/unix/sysv/linux/configure: Regenerated.
2472
08192659
RM
2473 * nptl/Makefile (routines): Add libc_pthread_init,
2474 libc_multiple_threads, register-atfork and unregister-atfork.
2475 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2476 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2477 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2478 pthread-pi-defines.sym, structsem.sym.
2479 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2480 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2481 [$(subdir) = nptl] (tests): Add tst-setgetname.
2482 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2483 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2484 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2485 [!LIBC_SIGACTION]: Remove aliases.
2486 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2487 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2488 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2489 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2490 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2491 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2494 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2495 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2496 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2497 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2498 __libc_allocate_rtsig_private.
2499 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2500 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2501 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2502 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2503 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2504 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2505 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2506 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2507 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2508 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2509 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2510 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2511 * nptl/internaltypes.h: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2513 * sysdeps/nptl/jmp-unwind.c: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2515 * nptl/libc-lowlevellock.c: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2517 * nptl/libc_multiple_threads.c: ... here.
2518 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2519 * nptl/libc_pthread_init.c: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2521 * nptl/lowlevelbarrier.sym: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2523 * nptl/lowlevelcond.sym: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2525 * nptl/lowlevellock.c: ... here.
2526 * nptl/lowlevellock.h: Moved ...
2527 * sysdeps/nptl/lowlevellock.h: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2529 * nptl/lowlevelrobustlock.c: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2531 * nptl/lowlevelrobustlock.sym: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2533 * nptl/lowlevelrwlock.sym: ... here.
2534 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2535 * nptl/pt-fork.c: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2537 * nptl/pthread-pi-defines.sym: ... here.
2538 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2539 * nptl/pthread_attr_getaffinity.c: ... here.
2540 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2541 * nptl/pthread_attr_setaffinity.c: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2543 * nptl/pthread_mutex_cond_lock.c: ... here.
2544 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2545 Update #include.
2546 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2547 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2548 * nptl/pthread_once.c: ... here, replacing old file.
2549 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2550 * nptl/pthread_yield.c: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2552 * nptl/register-atfork.c: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2554 * nptl/sem_post.c: ... here.
2555 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2556 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2557 * nptl/sem_timedwait.c: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2559 * nptl/sem_trywait.c: ... here.
2560 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2561 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2562 * nptl/sem_wait.c: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2564 * nptl/structsem.sym: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2566 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2567 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2568 * nptl/unregister-atfork.c: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2570 * nptl/unwindbuf.sym: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2572 * sysdeps/nptl/fork.c: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2574 * sysdeps/nptl/fork.h: ... here.
2575 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2576 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2577 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2579 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2581 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2583 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2585 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2586 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2587 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2589 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2591 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2592 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2593 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2594 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2595 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2597 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2598 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2599 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2600 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2601 * sysdeps/unix/sysv/linux/raise.c: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2603 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2604 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2605 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2607 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2609 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2611 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2613 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2615 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2616 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2617
96baf6ff
SP
26182014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
2620 * sysdeps/generic/memcopy.h: Add comment for
2621 MEMCPY_OK_FOR_FWD_MEMMOVE.
2622
6b7b14b2
WN
26232014-07-04 Will Newton <will.newton@linaro.org>
2624
1570a72b
WN
2625 * string/memchr.c: Merge from gnulib.
2626 [_LIBC]: Remove conditionals.
2627 (__ptr_t): Remove define.
2628 (LONG_MAX_32_BITS): Likewise.
2629 (LONG_MAX): Likewise.
2630 (MEMCHR): Use ANSI prototype and optimize algorithm.
2631
6b7b14b2
WN
2632 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2633
38851324
SP
26342014-07-03 Roland McGrath <roland@hack.frob.com>
2635
3d9eb57c
RM
2636 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2637 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2638
78b984ae
RM
2639 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2640 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2641 in a bare environment with no <stdlib.h> installed.
2642 * sysdeps/nptl/configure: Regenerated.
2643
2d5976a5
RM
2644 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2645
c1f5acd4
RM
2646 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2647 AC_EGREP_CPP for kernel header checks, so they only succeed if
2648 including <linux/version.h> actually works right.
2649 * sysdeps/unix/sysv/linux/configure: Regenerated.
2650
4d614fe5
RM
2651 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2652 value so it's not diagnosed as unused.
2653
38851324
SP
2654 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2655 thing) with "ifeq ($(subdir),rt)".
2656
b3ec00e5
RH
26572014-07-03 Richard Henderson <rth@redhat.com>
2658
69862e25
RH
2659 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2660 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2661 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2662
d5e16ade
RH
2663 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2664 (math_force_eval): New.
2665
ca7b945c
RH
2666 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2667 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2668
cd1175a3
RH
2669 * sysdeps/alpha/fpu/s_round.c: Remove file.
2670 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2671
b3ec00e5
RH
2672 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2673 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2674 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2675 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2676 (_dl_start, print_statistics): Likewise.
2677 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2678 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2679
2680 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2681 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2682 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2683 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2685 (HP_SMALL_TIMING_AVAIL): Define.
2686 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2687 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2688 (HP_SMALL_TIMING_AVAIL): Define.
2689 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2690 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2691
2692 * sysdeps/aarch64/hp-timing.h: New file.
2693
2694 * sysdeps/generic/hp-timing.h: Remove dead comment.
2695 * sysdeps/generic/hp-timing-common.h: New file.
2696 * sysdeps/alpha/hp-timing.h: Include it.
2697 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2698 * sysdeps/i386/i686/hp-timing.h: Likewise.
2699 * sysdeps/ia64/hp-timing.h: Likewise.
2700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2701 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2702 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2703 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2704 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2705 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2706 (hp_timing_t): New.
2707
2708 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2709 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2710 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2711 * elf/rtld.c (_dl_start_final): Likewise.
2712 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2713 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2714 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2715 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2716 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2718 (HP_TIMING_DIFF_INIT): Remove.
2719 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2720 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2721 (HP_TIMING_DIFF_INIT): Remove.
2722 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2723 * sysdeps/i386/i686/hp-timing.c: Remove file.
2724 * sysdeps/x86_64/hp-timing.c: Remove file.
2725 * sysdeps/ia64/hp-timing.c: Remove file.
2726 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2727 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2729 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2730
2731 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2732 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2733 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2734 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2736 (HP_TIMING_ACCUM): Remove.
2737 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2738 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2739 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2740
2741 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2742 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2743 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2744 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2746 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2747 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2748 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2749
2750 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2751
225f410f
MR
27522014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2753
2754 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2755
3247f285
SP
27562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 Sync up with gettext.
2759 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2760 [_MSC_VER]: Include malloc.h
2761 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2762 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2763 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2764 TEMP_FAILURE_RETRY. Cast return of alloca.
2765 [!_LIBC] Call gl_rwlock_init.
2766 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2767
d12704c7
SP
27682014-07-02 Roland McGrath <roland@hack.frob.com>
2769
2770 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2771 before checking its value.
2772
99f8dc92
SP
27732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2774
05fdac77
SP
2775 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2776
99f8dc92
SP
2777 * debug/memcpy_chk.c: Don't include pagecopy.h.
2778 * debug/mempcpy_chk.c: Likewise.
2779 * string/memcpy.c: Likewise.
2780 * string/memmove.c: Likewise.
2781 * sysdeps/powerpc/memmove.c: Likewise.
2782 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2783 definition of PAGE_COPY_FWD_MAYBE here...
2784 * sysdeps/generic/pagecopy.h: ... from here.
2785 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2786
bc8ea385
VR
27872014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2788 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2789
2790 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2792 optimizations.
2793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2794 (__libc_ifunc_impl_list): Likewise.
2795 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2796 multiarch strcat for PPC64.
2797 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2798 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2799
fe5f34e4
RM
28002014-07-02 Roland McGrath <roland@hack.frob.com>
2801
2802 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2803
256aa665
SP
28042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2805
d4eb8195
SP
2806 * intl/loadmsgcat.c: Remove declaration of
2807 get_sysdep_segment_value.
2808 (get_sysdep_segment_value): Use ISO C style.
2809 (_nl_load_domain): Use ISO C style. Get rid of redundant
2810 semicolon. Fix typo and formatting in comment.
2811 (_nl_unload_domain): Use ISO C style.
2812
256aa665
SP
2813 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2814
b100f9aa
WN
28152014-07-02 Will Newton <will.newton@linaro.org>
2816
2817 * malloc/obstack.c: Merge from gnulib master.
2818 [HAVE_CONFIG_H]: Remove conditional code.
2819 [!_LIBC]: Include config.h.
2820 [!ELIDE_CODE]: Don't include inttypes.h, include
2821 stdint.h unconditionally.
2822 (print_and_abort): Mark as _Noreturn.
2823 (_obstack_allocated_p): Mark as __attribute_pure__.
2824 (obstack_free): Rename to __obstack_free.
2825 [!__attribute__]: Remove conditional code.
2826 * malloc/obstack.h: Merge from gnulib master.
2827 [__cplusplus]: Move conditional down.
2828 [!__attribute_pure__]: Define __attribute_pure__ here
2829 if it is not already defined.
2830 (_obstack_memory_used): Mark as __attribute_pure__.
2831 [!__obstack_free]: Define as obstack_free.
2832 [__GNUC__]: Remove check for ancient NeXT gcc.
2833
c4c41244
PE
28342014-07-02 Will Newton <will.newton@linaro.org>
2835 Paul Eggert <eggert@cs.ucla.edu>
2836
2837 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2838
e1e041c4
SP
28392014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2840
2841 * resolv/gethnamaddr.c: Add comment warning that the file is
2842 not maintained.
2843
ccf431ff
CD
28442014-07-01 Carlos O'Donell <carlos@redhat.com>
2845
d34570a6
CD
2846 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2847 entries.
2848
ccf431ff
CD
2849 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2850 entry for aio_cancel and aio_cancel64.
2851 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2852 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2853 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2854 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2855 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2856 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2858 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2859 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2860 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2861 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2862 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2863 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2864
ca06321d
RM
28652014-07-01 Roland McGrath <roland@hack.frob.com>
2866
2867 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2868 * nptl/pthread_mutex_lock.c: Likewise.
2869 * nptl/pthread_mutex_timedlock.c: Likewise.
2870 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2871
a1ac3184
RH
28722014-07-01 Richard henderson <rth@redhat.com>
2873
631021e0
RH
2874 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2875 (__isnan, __isnanl): Remove.
2876 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2877
a1ac3184
RH
2878 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2879
0c1d731f
SL
28802014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2881
2882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2883
76985d3e
SP
28842014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2885
2886 * resolv/nss_dns/dns-host.c (getanswer_r)
2887 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2888
b0cb3096
JM
28892014-07-01 Joseph Myers <joseph@codesourcery.com>
2890
2891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2892 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2893 undefine.
2894 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2895 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2896
4d76cb39
RM
28972014-07-01 Roland McGrath <roland@hack.frob.com>
2898
2899 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2900 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2901
2902 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2903 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2904
2905 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2906 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2907 ... here.
2908 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2909 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2910
2911 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2912 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2913 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2914 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2915
2916 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2917 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2918 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2921 Moved ...
2922 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2923 ... here.
2924 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2943 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2944 ... here.
2945 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2948 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2949 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2950 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2951 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2952 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2953
0cdcad17
DH
29542014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2955
2956 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2957 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2958 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2959 Add sysdep.
2960
9b71d0e3
AZ
29612014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962
2963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2964
665390c2
JM
29652014-06-30 Joseph Myers <joseph@codesourcery.com>
2966
ae05a9d7
JM
2967 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2968 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2969
a7672a2f
JM
2970 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2971
665390c2
JM
2972 * sysdeps/arm/libm-test-ulps: Regenerated.
2973
d7a05d07
MR
29742014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2975 Roland McGrath <roland@hack.frob.com>
2976
2977 * test-skeleton.c (signal_handler): Kill the whole process group
2978 before killing the child individually.
2979 (main): Report any failure on `setpgid'.
2980
46f1d8a6
RM
29812014-06-30 Roland McGrath <roland@hack.frob.com>
2982
2983 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2984 from _TLS_H to _ARM_NPTL_TLS_H.
2985 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2986 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2987
9c37ec0b
JM
29882014-06-30 Joseph Myers <joseph@codesourcery.com>
2989
ce9c5b3e
JM
2990 [BZ #16539]
2991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2992 (__expm1l): Return argument unchanged when small but not
2993 subnormal.
2994
3a6e9887
JM
2995 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2996 include macro name.
2997 (_FP_UNPACK_RAW_1_P): Likewise.
2998 (_FP_PACK_RAW_1): Likewise.
2999 (_FP_PACK_RAW_1_P): Likewise.
3000 (_FP_MUL_MEAT_1_wide): Likewise.
3001 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3002 (_FP_MUL_MEAT_1_hard): Likewise.
3003 (_FP_DIV_MEAT_1_imm): Likewise.
3004 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3005 (_FP_DIV_MEAT_1_udiv): Likewise.
3006 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3007 (_FP_UNPACK_RAW_2): Likewise.
3008 (_FP_UNPACK_RAW_2_P): Likewise.
3009 (_FP_PACK_RAW_2): Likewise.
3010 (_FP_PACK_RAW_2_P): Likewise.
3011 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3012 (_FP_MUL_MEAT_2_wide): Likewise.
3013 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3014 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3015 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3016 (_FP_MUL_MEAT_2_gmp): Likewise.
3017 (_FP_DIV_MEAT_2_udiv): Likewise.
3018 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3019 (_FP_FRAC_SRL_4): Likewise.
3020 (_FP_FRAC_SRST_4): Likewise.
3021 (_FP_FRAC_SRS_4): Likewise.
3022 (_FP_UNPACK_RAW_4): Likewise.
3023 (_FP_UNPACK_RAW_4_P): Likewise.
3024 (_FP_PACK_RAW_4): Likewise.
3025 (_FP_PACK_RAW_4_P): Likewise.
3026 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3027 (_FP_MUL_MEAT_4_wide): Likewise.
3028 (_FP_MUL_MEAT_4_gmp): Likewise.
3029 (umul_ppppmnnn): Likewise.
3030 (_FP_DIV_MEAT_4_udiv): Likewise.
3031 (__FP_FRAC_ADD_4): Likewise.
3032 (__FP_FRAC_SUB_3): Likewise.
3033 (__FP_FRAC_SUB_4): Likewise.
3034 (__FP_FRAC_DEC_3): Likewise.
3035 (__FP_FRAC_DEC_4): Likewise.
3036 (__FP_FRAC_ADDI_4): Likewise.
3037 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3038 (_FP_FRAC_SRL_8): Likewise.
3039 (_FP_FRAC_SRS_8): Likewise.
3040
9c37ec0b
JM
3041 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3042 include macro name.
3043 (FP_UNPACK_RAW_EP): Likewise.
3044 (FP_PACK_RAW_E): Likewise.
3045 (FP_PACK_RAW_EP): Likewise.
3046 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3047 (_FP_ISSIGNAN): Likewise.
3048 (_FP_ADD_INTERNAL): Likewise.
3049 (_FP_FMA): Likewise.
3050 (_FP_CMP): Likewise.
3051 (_FP_SQRT): Likewise.
3052 (_FP_TO_INT): Likewise.
3053 (_FP_FROM_INT): Likewise.
3054 (FP_EXTEND): Likewise.
3055 (_FP_DIV_MEAT_N_loop): Likewise.
3056
2125f674
MR
30572014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3058
3059 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3060 throughout.
3061
edea4028
JM
30622014-06-29 Joseph Myers <joseph@codesourcery.com>
3063
3064 [BZ #17097]
3065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3066 result with correct sign in case of exponents that produce
3067 overflow except for X very close to 1.
3068
dd0ba018
PE
30692014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3070
3071 mktime: merge #if/#ifdef usage from glibc
3072 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3073 as that works with both Glibc's and Gnulib's style.
3074 See thread starting at Siddhesh Poyarekar's bug report at:
3075 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3076
64df73c2
SP
30772014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
3079 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3080 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3081 * sysdeps/tile/tilegx/memmove.c: Remove file.
3082
f1eafb41
JM
30832014-06-27 Joseph Myers <joseph@codesourcery.com>
3084
3085 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3086 abi-name definition.
3087 * scripts/soversions.awk: Do not handle or generate ABI lines.
3088 * shlib-versions: Remove ABI entries.
3089 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3090 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3091
58eb0862
RM
30922014-06-27 Roland McGrath <roland@hack.frob.com>
3093
37caf178
RM
3094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3095 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3096 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3099 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3101 Moved ...
3102 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3103 ... here.
3104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3105 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3107 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3109 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3111 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3113 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3117 Moved ...
3118 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3122 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3124 Moved ...
3125 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3127 Moved ...
3128 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3132 Moved ...
3133 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3137 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3138 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3139 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3141 Moved ...
3142 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3144 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3146 Moved ...
3147 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3149 Moved ...
3150 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3151 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3154 Moved ...
3155 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3156 ... here.
3157 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3158 Identical file removed.
3159 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3160 Moved ...
3161 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3163 Identical file removed.
3164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3165 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3167 Moved ...
3168 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3170 Identical file removed.
3171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3174 Identical file removed.
3175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3176 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3178 Identical file removed.
3179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3182 Identical file removed.
3183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3184 Moved ...
3185 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3187 Identical file removed.
3188 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3189 Moved ...
3190 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3192 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3194 Identical file removed.
3195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3196 Moved ...
3197 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3198 ... here.
3199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3200 Identical file removed.
3201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3202 Moved ...
3203 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3205 Identical file removed.
3206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3207 Moved ...
3208 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3209 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3210 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3212 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3214 Moved ...
3215 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3217 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3218
58eb0862
RM
3219 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3220 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3221 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3222 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3223 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3224
6f12d062
AS
32252014-06-27 Arjun Shankar <arjun.is@lostca.se>
3226
3227 [BZ #17092]
3228 * nscd/nscd.c (monitor_child): Return exit status of child
3229 instead of return value from wait syscall.
3230
be254932
JM
32312014-06-27 Joseph Myers <joseph@codesourcery.com>
3232
cb403c34
JM
3233 * configure.ac (libc_commonpagesize): Remove variable.
3234 (libc_relro_required): Likewise.
3235 (libc_cv_z_relro): Remove configure test.
3236 * configure: Regenerated.
3237 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3238 variable.
3239 (libc_relro_required): Likewise.
3240 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3241 (libc_relro_required): Likewise.
3242 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3243 (libc_relro_required): Likewise.
3244 * sysdeps/arm/preconfigure: Regenerated.
3245 * sysdeps/ia64/preconfigure: Remove file.
3246 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3247 variable.
3248 (libc_relro_required): Likewise.
3249
be254932
JM
3250 [BZ #16561]
3251 [BZ #16562]
3252 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3253 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3254 recompute overflowing results in original rounding mode.
3255 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3256 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3257 recompute overflowing results in original rounding mode.
3258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3259 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3260 recompute overflowing results in original rounding mode.
3261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3262 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3263 recompute overflowing results in original rounding mode.
3264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3265 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3266 recompute overflowing results in original rounding mode.
3267 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3268 (libc_feholdsetround_ctx): New macro.
3269 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3270 * sysdeps/i386/fpu/libm-test-ulps: Update.
3271 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3272
b351d85a
JM
32732014-06-26 Joseph Myers <joseph@codesourcery.com>
3274
3275 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3276 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3277 corresponding .cpsetup call.
3278
3cb4de47
RM
32792014-06-26 Roland McGrath <roland@hack.frob.com>
3280
3281 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3282 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3283 * sysdeps/arm/Makefile [$(subdir) = csu]
3284 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3285 (static-only-routines): Add aeabi_read_tp here.
3286 (shared-only-routines): Add libc-aeabi_read_tp here.
3287 (CFLAGS-libc-start.c): Add -fexceptions here.
3288 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3289 (sysdep_routines, static-only-routines, shared-only-routines):
3290 Don't add to these here.
3291 (CFLAGS-libc-start.c): Likewise.
3292
3293 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3294 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3295 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3296 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3297 * sysdeps/arm/Makefile [$(subdir) = rt]
3298 (librt-sysdep_routines, librt-shared-only-routines):
3299 Append rt-aeabi_unwind_cpp_pr1 here.
3300 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3301 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3302 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3303 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3304 Append nptl-aeabi_unwind_cpp_pr1 here.
3305 (tests): Filter out tst-cleanupx4 here.
3306 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3307 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3308 Don't do those here.
3309
354426bb
JM
33102014-06-26 Joseph Myers <joseph@codesourcery.com>
3311
3312 * scripts/list-sources.sh: Do not handle ports specially.
3313
28b0a8c9
RM
33142014-06-26 Roland McGrath <roland@hack.frob.com>
3315
a3dd035d
RM
3316 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3317 * sysdeps/arm/feupdateenv.c: Likewise.
3318
28b0a8c9
RM
3319 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3320
e66a8203
JM
33212014-06-26 Joseph Myers <joseph@codesourcery.com>
3322
3323 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3324 trailing whitespace removed.
3325 * scripts/config.guess: Update to version 2014-03-23.
3326 * scripts/config.sub: Update to version 2014-05-01
3327 * scripts/install-sh: Update to version 2013-12-25.23.
3328 * scripts/move-if-change: Update from gnulib.
3329
74171115
SP
33302014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3331
b97c9ce5
SP
3332 * debug/memmove_chk.c: Remove pagecopy.h include.
3333
4000f892
SP
33342014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3335
74171115
SP
3336 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3337 identical to gnulib mktime.
3338
a8779c28
JM
33392014-06-26 Joseph Myers <joseph@codesourcery.com>
3340
e64708de
JM
3341 * configure.ac: Do not test for machine being rs6000. Do not test
3342 for powerpc*-*soft.
3343 * configure: Regenerated.
3344
a8779c28
JM
3345 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3346 test.
3347 * configure: Regenerated.
3348 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3349 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3350 Remove configure test.
3351 * sysdeps/arm/configure: Regenerated.
3352 * sysdeps/nptl/configure.ac: Do not check
3353 libc_cv_asm_cfi_directives.
3354 * sysdeps/nptl/configure: Regenerated.
3355 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3356 * sysdeps/x86_64/nptl/configure: Remove generated file.
3357 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3358 unconditional.
3359 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3360
2aac0a86
SP
33612014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
059bf913
SP
3363 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3364 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3365 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3366 it is defined.
3367
4cf5b6d0
SP
3368 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3369 instead of whether it is defined.
3370 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3371 * sysdeps/hppa/dl-machine.h: Likewise.
3372 * sysdeps/ia64/dl-machine.h: Likewise.
3373 * sysdeps/m68k/dl-machine.h: Likewise.
3374 * sysdeps/microblaze/dl-machine.h: Likewise.
3375 * sysdeps/mips/dl-machine.: Likewise.
3376 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3378 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3379 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3380 * sysdeps/sh/dl-machine.h: Likewise.
3381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3383 * sysdeps/tile/dl-machine.h: Likewise.
3384 * sysdeps/x86_64/dl-machine.h: Likewise.
3385
2aac0a86
SP
3386 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3387 code.
3388 (verify_persistent_db): Likewise.
3389
6ad2df0b
RM
33902014-06-26 Roland McGrath <roland@hack.frob.com>
3391
d8a483f3
RM
3392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3393 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3397 Moved ...
3398 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3399 ... here.
3400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3401 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3403 Identical file removed.
3404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3415 Moved ...
3416 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3422 Moved ...
3423 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3425 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3427 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3429 Identical file removed.
3430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3431 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3433 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3435 Moved ...
3436 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3437 ... here.
3438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3441 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3443 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3445 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3447 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3449 Moved ...
3450 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3452 Moved ...
3453 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3457 Moved ...
3458 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3460 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3461
52ae23b4
RM
3462 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3463 folded into ...
3464 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3465 * sysdeps/unix/sysv/linux/s390/Versions
3466 (libpthread: GLIBC_2.19): New version set.
3467 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3468 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3469 (librt: GLIBC_2.3.3): New version set.
3470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3471 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3472 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3473 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3474 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3476 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3478 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3480 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3482 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3484 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3486 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3488 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3490 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3492 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3494 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3495 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3496 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3498 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3500 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3506 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3508 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3510 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3512 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3515
39507e4a
RM
3516 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3517 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3518 (__libc_vfork): Define the function under this name.
3519 [!NOT_IN_libc] (__vfork): Make this an alias.
3520 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3522 * sysdeps/unix/sysv/linux/s390/s390-64/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 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3527 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3530 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3531
e549ee56
RM
3532 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3533 code that was previously under [RESET_PID].
3534 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3537
6ad2df0b
RM
3538 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3539 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3540 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3541 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3542 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3543 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3544 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3545 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3546 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3549 Moved ...
3550 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3551 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3552 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3554 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3555 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3556 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3557 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3558 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3560 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3561 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3562 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3563 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3564 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3566 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3572 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3574 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3575 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3576 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3578 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3579
7c1c1d8e
RM
35802014-06-25 Roland McGrath <roland@hack.frob.com>
3581
3582 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3583 that was previously under [RESET_PID].
3584 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3585
3e239be6
JM
35862014-06-25 Joseph Myers <joseph@codesourcery.com>
3587
74385da5
JM
3588 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3589 not undefine and redefine.
3590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3591 [O_CLOEXEC]: Make code unconditional.
3592 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3593 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3594 <kernel-features.h>.
3595 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3596 conditional variable definition.
3597 (shm_open) [O_CLOEXEC]: Make code unconditional.
3598 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3599 code.
3600
c2570a0b
JM
3601 * configure.ac (USE_REGPARMS): Don't define here.
3602 * configure: Regenerated.
3603 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3604 * sysdeps/i386/configure: Regenerated.
3605
11b076bb
JM
3606 * nptl/createthread.c: Don't include kernel-features.h.
3607 * nptl/pthread_cancel.c: Likewise.
3608 * nptl/pthread_condattr_setclock.c: Likewise.
3609 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3610 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3611 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3612 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3613 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3614 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3615 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3616 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3618 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3619 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3620 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3621 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3622 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3623 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3624 * nscd/gai.c: Likewise.
3625 * nss/nss_db/db-open.c: Likewise.
3626 * sysdeps/generic/ldsodefs.h: Likewise.
3627 * sysdeps/sh/nptl/tls.h: Likewise.
3628 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3629 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3630 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3631 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3632 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3633 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3634 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3635 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3637 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3638 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3639 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3640 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3641 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3642 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3643 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3644 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3645 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3646 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3647 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3648 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3649 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3650 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3651 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3653 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3655 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3656 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3657 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3658 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3659 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3660 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3661 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3663 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3664 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3665 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3666 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3667 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3668 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3669 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3670 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3672 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3673 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3674 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3675 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3676 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3677 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3678 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3679 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3680 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3681 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3682 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3683 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3684 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3685 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3708 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3709 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3710 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3711 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3712 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3714 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3715 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3716 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3717 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3718 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3719 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3720 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3721 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3722 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3723 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3726 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3727 * sysdeps/unix/sysv/linux/system.c: Likewise.
3728 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3729 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3732 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3734 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3735
92072d57
JM
3736 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3737 * configure: Regenerated.
3738 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3739
3e239be6
JM
3740 * configure.ac (base_machine): Do not set specially for particular
3741 machines here.
3742 * configure: Regenerated.
3743 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3744 settings from configure.ac.
3745 * sysdeps/i386/preconfigure: New file.
3746 * sysdeps/s390/preconfigure: Likewise.
3747 * sysdeps/sh/preconfigure: Likewise.
3748 * sysdeps/sparc/preconfigure: Likewise.
3749
06d50baa
RM
37502014-06-25 Roland McGrath <roland@hack.frob.com>
3751
74836003
RM
3752 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3753 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3754 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3755 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3756 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3757 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3758 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3759 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3760 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3761 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3762 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3763 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3764 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3765 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3766 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3769 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3770 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3771
3772 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3773 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3774 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3775 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3776 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3777 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3778 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3779 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3780 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3781 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3782 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3783 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3784 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3785 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3786 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3787 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3788 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3789 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3790 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3791 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3793 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3794 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3795 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3796 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3797 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3803 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3804 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3805 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3807 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3808 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3809 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3810
06d50baa
RM
3811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3812 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3816 Moved ...
3817 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3818 ... here.
3819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3820 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3822 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3824 Moved ...
3825 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3827 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3833 Moved ...
3834 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3836 Moved ...
3837 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3839 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3841 Moved ...
3842 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3844 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3846 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3848 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3852 Moved ...
3853 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3854 ... here.
3855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3860 Moved ...
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3869 Moved ...
3870 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3872 Moved ...
3873 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3877 Moved ...
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3882 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3883
a4ccbc9b
JM
38842014-06-25 Joseph Myers <joseph@codesourcery.com>
3885
0828edbf
JM
3886 * timezone/checktab.awk: Update from tzcode 2014e.
3887 * timezone/private.h: Likewise.
3888 * timezone/tzfile.h: Likewise.
3889 * timezone/zdump.c: Likewise.
3890 * timezone/zic.c: Likewise.
3891
a4ccbc9b
JM
3892 * sysdeps/unix/sysv/linux/kernel-features.h
3893 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3895 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3896 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3897 Remove conditional code.
3898
9aea0cb8
WN
38992014-06-25 Will Newton <will.newton@linaro.org>
3900
3901 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3902 (_dl_arm_cap_flags): Add HWCAP2 values.
3903 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3904 (_DL_HWCAP_COUNT): Increase to 37.
3905 (_DL_HWCAP_LAST): New define.
3906 (_DL_HWCAP2_LAST): New define.
3907 (_dl_procinfo): Add support for printing
3908 AT_HWCAP2 entries.
3909 (_dl_string_hwcap): Use _dl_hwcap_string.
3910
6eaa65ce
AZ
39112014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3914
0f5b7185
JM
39152014-06-25 Joseph Myers <joseph@codesourcery.com>
3916
cfd2ea50
JM
3917 * README: Do not mention ports directory.
3918
cecf2ed4
JM
3919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3920 Remove macro.
3921 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3922 <kernel-features.h>.
3923 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3924 conditional variable definition.
3925 (__futimes): Update comment.
3926 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3927 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3928
a638de82
JM
3929 [BZ #16560]
3930 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3931 arguments close to 0.
3932 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3933 Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3935 Likewise.
3936 * math/auto-libm-test-in: Add more tests of exp10.
3937 * math/auto-libm-test-out: Regenerated.
3938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3939
0f5b7185
JM
3940 * sysdeps/unix/sysv/linux/kernel-features.h
3941 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3942 * sysdeps/unix/sysv/linux/readv.c: Do not include
3943 <kernel-features.h>.
3944 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3945 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3946 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3947 unconditional.
3948 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3949 conditional code.
3950 * sysdeps/unix/sysv/linux/writev.c: Do not include
3951 <kernel-features.h>.
3952 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3953 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3954 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3955 unconditional.
3956 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3957 conditional code.
3958
c7aec4be
WN
39592014-06-25 Will Newton <will.newton@linaro.org>
3960
3961 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3962 comment changes throughout the file. Remove checks
3963 for HAVE_*_H definitions that are not required.
3964 (__gen_tempname): Call abort if an unknown kind value is
3965 passed.
3966
c5241f95
AS
39672014-06-25 Andreas Schwab <schwab@suse.de>
3968
3969 [BZ #17086]
3970 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3971 scalbln, scalblnf, scalblnl in libc.
3972
911422da
SP
39732014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3974
3975 [BZ #17086]
3976 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3977 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3978 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3979
0d749bbe
RM
39802014-06-24 Roland McGrath <roland@hack.frob.com>
3981
3982 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3983 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3984 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3985 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3986 Update #include.
3987 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3988 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3989 Update #include.
3990 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3991 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3992 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3993 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3994 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3995 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3996 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3997 * sysdeps/x86/bits/semaphore.h: ... here.
3998 * sysdeps/x86/nptl/elide.h: Moved ...
3999 * sysdeps/x86/elide.h: ... here.
4000 * sysdeps/x86_64/nptl/Implies: File removed.
4001 * sysdeps/i386/nptl/Implies: File removed.
4002
0ea5d373
JM
40032014-06-24 Joseph Myers <joseph@codesourcery.com>
4004
4060283d
JM
4005 [BZ #16539]
4006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4007 return the argument for normal arguments with exponent below -64.
4008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4009 Likewise.
4010 * math/auto-libm-test-in: Add another test of expm1.
4011 * math/auto-libm-test-out: Regenerated.
4012
e7dd3c8c
JM
4013 [BZ #16287]
4014 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4015 calling __erfcl for arguments at least 16.
4016 * math/auto-libm-test-in: Add more tests of erf.
4017 * math/auto-libm-test-out: Regenerated.
4018
0ea5d373
JM
4019 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4020 individual architectures.
4021 * sysdeps/unix/sysv/linux/configure: Regenerated.
4022 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4023 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4024 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4025 (ldd_rewrite_script): Define variable.
4026 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4028 file.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4030 generated file.
4031 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4032 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4033 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4034 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4035 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4036 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4037 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4038 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4039
2307e126
SP
40402014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 [BZ #17084]
4043 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4044 Rename member __data.d to __data.__elision_data.
4045
c0a4ed77
W
40462014-06-24 Wilco <wdijkstr@arm.com>
4047
4048 * NEWS: Add 16918 to fixed bug list.
4049
b8c00573
W
40502014-06-24 Wilco <wdijkstr@arm.com>
4051
4052 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4053
b5570d92
W
40542014-06-24 Wilco <wdijkstr@arm.com>
4055
4056 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4057 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4058 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4059 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4060 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4061 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4062 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4063 Use _FPU_MASK_RM.
4064
947bdca2
W
40652014-06-24 Wilco <wdijkstr@arm.com>
4066
4067 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4068
00f669ed
W
40692014-06-24 Wilco <wdijkstr@arm.com>
4070
4071 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4072 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4073 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4074 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4075
db59bad3
W
40762014-06-24 Wilco <wdijkstr@arm.com>
4077
4078 [BZ #16918]
4079 * sysdeps/arm/feupdateenv.c (feupdateenv):
4080 Rewrite to reduce FPSCR accesses and fix return value.
4081
001f7b77
W
40822014-06-24 Wilco <wdijkstr@arm.com>
4083
4084 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4085 Optimize to avoid unnecessary FPSCR writes.
4086 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4087 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4088 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4089 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4090
4841e6a6
W
40912014-06-24 Wilco <wdijkstr@arm.com>
4092
4093 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4094 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4095 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4096 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4097 Call libc_fetestexcept_vfp.
4098 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4099 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4100 __SOFTFP__ ifdef so that they can be built for softfp.
4101
0813022c
SP
41022014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4103
08e5862f
SP
4104 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4105 argument type signed char.
4106
0813022c
SP
4107 * Makerules (check-abi): Dump diff of symlist if the test
4108 fails.
4109
3fc7236a
RM
41102014-06-23 Roland McGrath <roland@hack.frob.com>
4111
aba8ef95
RM
4112 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4113 using abort.
4114
3fc7236a
RM
4115 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4116 Remove unused variable ST.
4117
4da6db51
JM
41182014-06-23 Joseph Myers <joseph@codesourcery.com>
4119
4648909d
JM
4120 [BZ #16354]
4121 [BZ #17061]
4122 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4123 small arguments before calling __expm1.
4124 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4125 small arguments before calling __expm1f.
4126 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4127 small arguments before calling __expm1l.
4128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4129 Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4131 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4132 spurious underflow for some cosh tests.
4133 * math/auto-libm-test-out: Regenerated.
4134 * sysdeps/i386/fpu/libm-test-ulps: Update.
4135
46a3d3c7
JM
4136 [BZ #17050]
4137 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4138 (__ieee754_y1): Set errno if return value overflows.
4139 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4140 (__ieee754_y1f): Set errno if return value overflows.
4141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4142 (__ieee754_y1l): Set errno if return value overflows.
4143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4144 (__ieee754_y1l): Set errno if return value overflows.
4145 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4146 * math/auto-libm-test-out: Regenerated.
4147
863893ec
JM
4148 * math/gen-auto-libm-tests.c: Document use of
4149 ignore-zero-inf-sign.
4150 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4151 (input_flags): Add ignore-zero-inf-sign.
4152 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4153 * math/gen-libm-test.pl (generate_testfile): Handle
4154 ignore-zero-inf-sign.
4155 * math/auto-libm-test-in: Mark some cpow tests with
4156 ignore-zero-inf-sign and some with xfail-rounding.
4157 * math/auto-libm-test-out: Regenerated.
4158 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4159 * sysdeps/i386/fpu/libm-test-ulps: Update.
4160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4161
4da6db51
JM
4162 [BZ #16315]
4163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4164 overflowing or underflowing operations take place with sign of
4165 result.
4166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4167 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4168 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4169 (__ieee754_pow): Recompute overflowing and underflowing results in
4170 original rounding mode.
4171 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4172 (__powl_helper): Allow negative argument X and scale negated value
4173 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4174 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4175 overflowing or underflowing operations take place with sign of
4176 result.
4177 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4178 Include <math.h>.
4179 * math/auto-libm-test-in: Add more tests of pow.
4180 * math/auto-libm-test-out: Regenerated.
4181 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4182 (pow_tonearest_test_data): Remove.
4183 (pow_test_tonearest): Likewise.
4184 (pow_towardzero_test_data): Likewise.
4185 (pow_test_towardzero): Likewise.
4186 (pow_downward_test_data): Likewise.
4187 (pow_test_downward): Likewise.
4188 (pow_upward_test_data): Likewise.
4189 (pow_test_upward): Likewise.
4190 (main): Don't call removed functions.
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4193
5686b236
RM
41942014-06-23 Roland McGrath <roland@hack.frob.com>
4195
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4197 Moved ...
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4200 Moved ...
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4203 Moved ...
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4206 Moved ...
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4209 File removed.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4211 File removed.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4213 File removed.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4215 File removed.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4217 File removed.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4219 File removed.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4221 File removed.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4223 File removed.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4225 File removed.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4227 File removed.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4229 File removed.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4231 File removed.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4233 Moved ...
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4236 Moved ...
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4238 ... here.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4240 Moved ...
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4243 Moved ...
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4246 Moved ...
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4249 Moved ...
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4252 Moved ...
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4255 Moved ...
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4258 Moved ...
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4262 ... here.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4264 Moved ...
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4267 Moved ...
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4269 ... here.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4271 Moved ...
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4273 ... here.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4275 Moved ...
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4277 ... here.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4279 Moved ...
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4282 Moved ...
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4287 Moved ...
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4289 ... here.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4291 Moved ...
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4293 ... here.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4295 Moved ...
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4298 Moved ...
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4301 Moved ...
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4304 Moved ...
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4307 Moved ...
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4309 ... here.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4311 Moved ...
4312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4314 Moved ...
4315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4317 Moved ...
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4320 Moved ...
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4325 Moved ...
4326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4328 Moved ...
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4331 Moved ...
4332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4333 ... here.
4334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4335 Moved ...
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4337 ... here.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4339 Moved ...
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4341 ... here.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4343 Moved ...
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4346 Moved ...
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4349 Moved ...
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4352 Moved ...
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4354 ... here.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4356 Moved ...
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4358 ... here.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4360 Moved ...
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4362 ... here.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4364 Moved ...
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4367 Moved ...
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4369
e6d90d67
WD
43702014-06-23 Will Newton <will.newton@linaro.org>
4371 Wilco <wdijkstr@arm.com>
4372
4373 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4374 implementation. Include get-rounding-mode.h.
4375 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4376 [!libc_feholdsetround_noex_ctx]: Define
4377 libc_feholdsetround_noex_ctx.
4378 [!libc_feholdsetround_noexf_ctx]: Define
4379 libc_feholdsetround_noexf_ctx.
4380 [!libc_feholdsetround_noexl_ctx]: Define
4381 libc_feholdsetround_noexl_ctx.
4382 (libc_feholdsetround_ctx): New function.
4383 (libc_feresetround_ctx): New function.
4384 (libc_feholdsetround_noex_ctx): New function.
4385 (libc_feresetround_noex_ctx): New function.
4386
d42df555
RM
43872014-06-23 Roland McGrath <roland@hack.frob.com>
4388
88a46474
RM
4389 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4390 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4391 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4392 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4393 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4394 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4395
15bed472
RM
4396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4397 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4398 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4399 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4400 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4401 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4403 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4405 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4407 Moved ...
4408 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4409 ... here.
4410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4415 Moved ...
4416 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4417 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4418 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4420 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4422 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4424 Moved ...
4425 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4427 Moved ...
4428 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4432 Moved ...
4433 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4437 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4438 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4439 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4443 Moved ...
4444 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4445 ... here.
4446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4447 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4451 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4453 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4455 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4457 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4459 Moved ...
4460 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4466 Moved ...
4467 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4468 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4469 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4471 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4472
d42df555
RM
4473 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4474 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4476 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4478 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4479 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4484 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4486 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4487 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4488 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4489 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4490 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4501
76e5216e
JM
45022014-06-23 Joseph Myers <joseph@codesourcery.com>
4503
4504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4505 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4506 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4507 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4508 (IPV6_PMTUDISC_INTERFACE): Likewise.
4509 (IPV6_PMTUDISC_OMIT): Likewise.
4510
7a81cbcc
AS
45112014-06-23 Andreas Schwab <schwab@suse.de>
4512
4513 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4514 Remove unused errout label.
4515
db224009
AZ
45162014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517
4518 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4519 macro: hardware supports Vector Crypto instructions.
4520
f393b4aa
WN
45212014-06-23 Will Newton <will.newton@linaro.org>
4522
cc7d0447
WN
4523 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4524 rather than __builtin_expect.
4525
d6d06225
WN
4526 * elf/dl-lookup.c (undefined_msg): Remove variable.
4527 (_dl_lookup_symbol_x): Replace undefined_msg with string
4528 literal.
4529
f393b4aa
WN
4530 * elf/dl-lookup.c (do_lookup_unique): New function.
4531 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4532 to a separate function.
4533
ac60763e
AS
45342014-06-23 Andreas Schwab <schwab@suse.de>
4535
4536 [BZ #17079]
4537 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4538 before reading the next line.
4539
c5c13355
WN
45402014-06-23 Will Newton <will.newton@linaro.org>
4541
4542 * test-skeleton.c (signal_handler): Use printf and %m
4543 rather than perror. Use printf rather than fprintf to
4544 stderr. Use puts rather than fputs to stderr.
4545 (main): Likewise.
4546
bd3675f9
LC
45472014-06-22 Ludovic Courtès <ludo@gnu.org>
4548
4549 * nscd/nscd.c (thread_info_t): Remove typedef.
4550 (thread_info): Remove variable.
4551
d03efb2f
AM
45522014-06-21 Allan McRae <allan@archlinux.org>
4553
4554 * NEWS: Mention CVE-2014-4043.
4555
bc4a86fa
RM
45562014-06-20 Roland McGrath <roland@hack.frob.com>
4557
dc9a54f8
RM
4558 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4559 * nptl/smp.h: ... here.
4560
bd7022c4
RM
4561 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4562
26ffd5e6
RM
4563 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4564 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4565 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4566 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4567
93a6d082
RM
4568 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4569 * nptl/stack-aliasing.h: New file.
4570 * sysdeps/i386/i686/stack-aliasing.h: New file.
4571 * sysdeps/i386/i686/nptl/Makefile: File removed.
4572 * sysdeps/x86_64/stack-aliasing.h: New file.
4573 * sysdeps/x86_64/nptl/Makefile
4574 (CFLAGS-pthread_create.c): Variable removed.
4575
bc4a86fa
RM
4576 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4577 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4578 old file.
4579 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4580 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4581 old file.
4582
2272ffc1
JM
45832014-06-21 Joseph Myers <joseph@codesourcery.com>
4584
4585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4586 (__ASSUME_SIGFRAME_V2): Remove macro.
4587 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4588 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4589 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4590 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4591 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4592 Declare as function. Remove conditional macro definitions.
4593 (__default_rt_sa_restorer): Likewise.
4594 (__default_sa_restorer_v1): Remove declaration.
4595 (__default_sa_restorer_v2): Likewise.
4596 (__default_rt_sa_restorer_v1): Likewise.
4597 (__default_rt_sa_restorer_v2): Likewise.
4598 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4599 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4600 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4601
4b88139b
RM
46022014-06-20 Roland McGrath <roland@hack.frob.com>
4603
4604 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4605 (libpthread-routines): Add sysdep.
4606 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4607 * sysdeps/unix/sysv/linux/sparc/Versions
4608 (libpthread: GLIBC_2.3.3): New version set.
4609 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4610 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4611 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4613 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4614 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4615 Moved ...
4616 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4618 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4619 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4620 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4621 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4622 * sysdeps/sparc/nptl/sem_init.c: ... here.
4623 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4624 * sysdeps/sparc/nptl/sem_post.c: ... here.
4625 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4626 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4627 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4628 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4631 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4632 (libpthread-routines): Add cpu_relax.
4633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4634 File removed.
4635 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4636 (librt: GLIBC_2.3.3): New version set.
4637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4638 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4639 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4640 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4643 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4645 Moved ...
4646 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4648 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4650 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4652 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4654 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4656 Moved ...
4657 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4658 Update #include.
4659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4660 Moved ...
4661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4662 Update #include.
4663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4664 Moved ...
4665 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4666 Update #include.
4667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4668 Moved ...
4669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4670 Update #include.
4671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4672 Moved ...
4673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4674 Update #include.
4675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4676 Moved ...
4677 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4678 Update #include.
4679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4680 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4686 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4688 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4690 Moved ...
4691 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4693 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4695 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4696
d7109027
JM
46972014-06-20 Joseph Myers <joseph@codesourcery.com>
4698
9bc6103d
JM
4699 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4700 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4701 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4702 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4703 * nscd/nscd.c: Likewise.
4704 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4705 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4706 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4707 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4708
d7109027
JM
4709 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4710 <kernel-features.h>.
4711 (init_mq_netlink): Remove conditional have_sock_cloexec
4712 definitions. Remove code conditional on have_sock_cloexec < 0.
4713 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4714 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4715 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4716 <kernel-features.h>.
4717 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4718 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4719
d92d8f8a
L
47202014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4721
4722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4723 Add tests for memset_chk and memset.
4724
4725 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4726 with AVX2_Usable.
4727
4e6d2347
MR
47282014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4729
257ce712
MR
4730 [BZ #16046]
4731 * elf/tst-dl-iter-static.c: New file.
4732 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4733
4e6d2347
MR
4734 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4735 error.
4736
a2a76afe
JM
47372014-06-20 Joseph Myers <joseph@codesourcery.com>
4738
7fd00f99
JM
4739 * sysdeps/unix/sysv/linux/kernel-features.h
4740 (__ASSUME_F_GETOWN_EX): Remove macro.
4741 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4742 <kernel-features.h>.
4743 (miss_F_GETOWN_EX): Remove variable or macro.
4744 (do_fcntl): Do not check miss_F_GETOWN_EX.
4745 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4746
4a103975
JM
4747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4748 Remove macro.
4749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4750 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4751 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4752
a2a76afe
JM
4753 * sysdeps/unix/sysv/linux/kernel-features.h
4754 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4755 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4756 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4757 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4758
90e5dd48
MR
47592014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4760
4761 [BZ #17075]
4762 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4763 Fix calculation of the symbol's value.
4764 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4765 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4766 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4767 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4768 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4769 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4770 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4771 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4772 (modules-names): Add `tst-armtlsdescmod',
4773 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4774 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4775 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4776 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4777 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4778 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4779 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4780 ($(objpfx)tst-armtlsdescloc): New dependency.
4781 ($(objpfx)tst-armtlsdescextnow): Likewise.
4782 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4783 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4784 TLS scheme support.
4785 * sysdeps/arm/configure: Regenerate.
4786
809fdf0d
JM
47872014-06-20 Joseph Myers <joseph@codesourcery.com>
4788
4789 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4790 (__atfct_seterrno_2): Likewise.
4791 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4792 <kernel-features.h>.
4793 (__ASSUME_ATFCTS): Do not undefine and redefine.
4794 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4795 (__have_atfcts): Remove conditional definition.
4796 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4797 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4798 unreachable if [__ASSUME_ATFCTS].
4799 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4800 not undefine and redefine.
4801 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4802 <kernel-features.h>.
4803 (faccessat) [__NR_faccessat]: Make code unconditional.
4804 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4805 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4806 <kernel-features.h>.
4807 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4808 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4809 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4810 <kernel-features.h>.
4811 (fchownat) [__NR_fchownat]: Make code unconditional.
4812 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4813 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4814 <kernel-features.h>.
4815 (futimesat) [__NR_futimesat]: Make code unconditional.
4816 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4817 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4818 <kernel-features.h>.
4819 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4821 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4822 <kernel-features.h>.
4823 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4824 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4825 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4826 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4827 <kernel-features.h>.
4828 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4829 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4830 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4831 <kernel-features.h>.
4832 (linkat) [__NR_linkat]: Make code unconditional.
4833 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4834 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4835 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4836 <kernel-features.h>.
4837 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4838 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4839 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4840 <kernel-features.h>.
4841 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4842 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4843 * sysdeps/unix/sysv/linux/openat.c: Do not include
4844 <kernel-features.h>.
4845 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4846 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4847 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4848 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4850 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4851 <kernel-features.h>.
4852 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4853 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4854 result of INLINE_SYSCALL directly, not via int variable.
4855 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4856 <kernel-features.h>.
4857 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4858 (renameat) [__NR_renameat]: Make code unconditional.
4859 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4860 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4861 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4862 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4864 (__ASSUME_ATFCTS): Do not undefine and redefine.
4865 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4866 <kernel-features.h>.
4867 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4868 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4869 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4870 <kernel-features.h>.
4871 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4872 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4873 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4874 (__ASSUME_ATFCTS): Do not undefine and redefine.
4875 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4876 <kernel-features.h>.
4877 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4878 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4879 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4880 <kernel-features.h>.
4881 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4882 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4883
224c6c51
L
48842014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4885
4886 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4887
aa6ec754
AS
48882014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4889
4890 [BZ #17069]
4891 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4892 constructed tree before returning error.
4893 * posix/bug-regexp36.c: Expand test case.
4894
d8c2869d
SL
48952014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4896
3ef6b850
SL
4897 [BZ #6803]
4898 * math/libm-test.inc (scalbln_test_date):
4899 Add errno expectations.
4900 * math/w_scalblnf.c: New File.
4901 Add wrapper which checks for setting errno to ERANGE.
4902 Add weak_alias for corresponding scalbln function.
4903 * math/w_scalbln.c: Likewise.
4904 * math/w_scalblnl.c: Likewise.
4905 * math/Makefile (libm-calls): Add w_scalbln.
4906 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4907 Remove weak_alias for corresponding scalbln function.
4908 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4912 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4913 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4914 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4915 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4916 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4917 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4918 Remove long_double_symbol for scalblnl function in libm, libc.
4919 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4920 Add wrapper which checks for setting errno to ERANGE.
4921 Add long_double_symbol for scalblnl function in libm, libc.
4922 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4923 Remove long_double_symbol for scalblnl in libm.
4924 * sysdeps/ieee754/ldbl-128ibm/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.
4927 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4928 Do not use wrapper because of own implementation.
4929
c8daec5c
L
49302014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4933 3 bytes for __pad1 for x32.
4934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4935
5c74e47c
LM
49362014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4937 H.J. Lu <hongjiu.lu@intel.com>
4938
4939 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4940 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4941 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4942 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4943 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4944
4d43ef1e
AS
49452014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4946
4947 [BZ #17069]
4948 * posix/regcomp.c (parse_expression): Deallocate partially
4949 constructed tree before returning error.
4950 * posix/Makefile.c (tests): Add bug-regex36.
4951 (generated): Add bug-regex36.mtrace.
4952 (tests-special): Add $(objpfx)bug-regex36-mem.out
4953 (bug-regex36-ENV): New variable.
4954 ($(objpfx)bug-regex36-mem.out): New rule.
4955 * posix/bug-regex36.c: New file.
4956
51a7380b
WN
49572014-06-19 Will Newton <will.newton@linaro.org>
4958
4959 * malloc/malloc.c (systrim): If extra is zero then return
4960 early.
4961
91b84fe5
SP
49622014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
4964 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4965
f940b965
RE
49662014-06-19 Richard Earnshaw <rearnsha@arm.com>
4967
4968 * sysdeps/aarch64/strchr.S: New file.
4969
4ba7a00f
JM
49702014-06-18 Joseph Myers <joseph@codesourcery.com>
4971
4972 [BZ #17022]
4973 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4974 from arguments -2 or below.
4975 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4976 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4977
b3a9f56b
AS
49782014-06-18 Andreas Schwab <schwab@suse.de>
4979
4980 [BZ #17062]
4981 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4982 of a bracket expr not to run off the end of the string.
4983 * posix/Makefile (tests): Add tst-fnmatch3.
4984 * posix/tst-fnmatch3.c: New file.
4985
85d89278
JM
49862014-06-18 Joseph Myers <joseph@codesourcery.com>
4987
4988 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4989 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4990 [$(cross-compiling) = no]: Likewise.
4991 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4992 [$(cross-compiling) = no]: Likewise.
4993
754c5a08
RS
49942014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4995
4996 [BZ #17031]
4997 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4998 double, adjusted for any remainder from the high double.
4999 * math/libm-test.inc (nearbyint): Add tests.
5000 (rint): Likewise.
5001
556f529d
AZ
50022014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5003
5004 * nptl/sysdeps/powerpc/Makefile: Moved ...
5005 * sysdeps/powerpc/nptl/Makefile: ... here.
5006 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5007 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5008 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5009 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5010 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5011 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5012 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5013 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5014 * nptl/sysdeps/powerpc/tls.h: Moved ...
5015 * sysdeps/powerpc/nptl/tls.h: ... here.
5016
91c03c53
JM
50172014-06-16 Joseph Myers <joseph@codesourcery.com>
5018
5019 [BZ #16681]
5020 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5021 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5022 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5023 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5024 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5025 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5026 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5027 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5028 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5029
a76e63c5
AS
50302014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5033
f2f6d82f
AS
50342014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5035
ea8a15f6
AS
5036 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5037 defined operator.
5038
f2f6d82f
AS
5039 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5040 $TIMEOUTFACTOR.
5041
a7291117
FW
50422014-06-16 Florian Weimer <fweimer@redhat.com>
5043
5044 [BZ #17058]
5045 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5046 non-executed part of the test.
5047
3d7c00e3
AS
50482014-06-16 Andreas Schwab <schwab@suse.de>
5049
5050 * string/bits/string2.h (strdup, strndup): Update feature guard.
5051
6957fb31
DM
50522014-06-14 David S. Miller <davem@davemloft.net>
5053
5054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5055
11b9e55b
AS
50562014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5057
1d2a0492
AS
5058 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5059 that was previously under [RESET_PID].
5060 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5061
11b9e55b
AS
5062 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5063 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5064 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5065 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5066 (__libc_vfork): New strong alias.
5067 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5068
0f6901d0
AK
50692014-06-14 Andi Kleen <ak@linux.intel.com>
5070
5071 * sysdeps/generic/elide.h: New file.
5072
38bbbb9f
SL
50732014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5074
5075 * Makefile (installed-headers): Adjust path of pthread.h header.
5076
45193bb8
RM
50772014-06-13 Roland McGrath <roland@hack.frob.com>
5078
9a25fd1e
RM
5079 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5080 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5081 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5082 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5083
4004f7e4
RM
5084 * nptl/sysdeps/s390/Makefile: Moved ...
5085 * sysdeps/s390/nptl/Makefile: ... here.
5086 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5087 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5088 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5089 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5090 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5091 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5092 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5093 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5094 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5095 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5096 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5097 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5098 * nptl/sysdeps/s390/tls.h: Moved ...
5099 * sysdeps/s390/nptl/tls.h: ... here.
5100
45193bb8
RM
5101 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5102 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5103
f6fdf533
DM
51042014-06-13 David S. Miller <davem@davemloft.net>
5105
5106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5109 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5113 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5114 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5115 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5116 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5117 Remove RESET_PID cpp guards.
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5119 Remove RESET_PID cpp guards.
5120 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5121
f5d71e14
AS
51222014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5123
5124 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5125 __sp to uintptr_t.
5126
b7aa8caa
AK
51272014-06-13 Andi Kleen <ak@linux.intel.com>
5128
4b266200
AZ
5129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5130 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5132 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5133 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5134 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5137 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5138 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5139 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5147 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5149
5150 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5151 (pthread_rwlock_rdlock): Add elision.
5152 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5153 (pthread_rwlock_wrlock): Add elision.
5154 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5155 (pthread_rwlock_trywrlock): Add elision.
5156 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5157 (pthread_rwlock_tryrdlock): Add elision.
5158 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5159 (pthread_rwlock_tryrdlock): Add elision unlock.
5160 * nptl/sysdeps/pthread/pthread.h:
5161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5162 (PTHREAD_RWLOCK_INITIALIZER,
5163 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5164 Handle new elision field.
5165 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5166 * sysdeps/arm/nptl/bits/pthreadtypes.h
5167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5168 * sysdeps/sh/nptl/bits/pthreadtypes.h
5169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5170 * sysdeps/tile/nptl/bits/pthreadtypes.h
5171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5172 * sysdeps/a/nptl/bits/pthreadtypes.h
5173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5174 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5176 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5178 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5180 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5182 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5184 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5186 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5188 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5190 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5191 (elision_init): Set try_xbegin to zero when no RTM.
5192 * sysdeps/x86/nptl/bits/pthreadtypes.h
5193 (pthread_rwlock_t): Change __pad1 to __rwelision.
5194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5195
a832bdd3
AK
51962014-06-13 Andi Kleen <ak@linux.intel.com>
5197
5198 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5199 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5200 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5201 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5202
995a46bb
MI
52032014-06-13 Meador Inge <meadori@codesourcery.com>
5204
5205 [BZ #16996]
03ed7738 5206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5207 that the cached result has been set before returning it.
5208
45262aee
RM
52092014-06-12 Roland McGrath <roland@hack.frob.com>
5210
febf6cc5
RM
5211 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5212 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5213 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5214 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5216 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5217
e2682246
RM
5218 * nptl/sysdeps/sparc/Makefile: Moved ...
5219 * sysdeps/sparc/nptl/Makefile: ... here.
5220 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5221 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5222 * nptl/sysdeps/sparc/tls.h: Moved ...
5223 * sysdeps/sparc/nptl/tls.h: ... here.
5224 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5225 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5226 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5227 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5228 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5229 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5230 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5231 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5232 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5233 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5234 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5235 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5236 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5237 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5238 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5239 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5240 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5241 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5242 Update #include.
5243 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5244 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5245 Update #include.
5246 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5248 Update #include.
5249 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5251 Update #include.
5252
b0725f43
RM
5253 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5254
b14368b8
RM
5255 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5256 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5257
c5620eb3
RM
5258 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5259 (struct list_links): Type removed.
5260 (struct thread_node, struct timer_node): Replace struct list_links
5261 with struct list_head.
5262 (list_unlink_ip): Likewise.
5263 * sysdeps/pthread/timer_routines.c
5264 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5265 (list_append, list_insbefore): Likewise.
5266 (list_init): Function removed.
5267 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5268 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5269 * sysdeps/pthread/Makefile: ... here, new file.
5270
5271 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5272 * sysdeps/nptl/Implies: ... here.
5273 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5274 * nptl/sysdeps/pthread/list.h: Moved ...
5275 * include/list.h: ... here.
5276 * nptl/sysdeps/pthread/createthread.c: Moved ...
5277 * nptl/createthread.c: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5279 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5280 * nptl/pt-longjmp.c: ... here.
5281 * nptl/sysdeps/pthread/Makefile: Moved ...
5282 * sysdeps/nptl/Makefile: ... here.
5283 * nptl/sysdeps/pthread/Subdirs: Moved ...
5284 * sysdeps/nptl/Subdirs: ... here.
5285 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5286 * sysdeps/nptl/aio_misc.h: ... here.
5287 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5288 * sysdeps/nptl/bits/libc-lock.h: ... here.
5289 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5290 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5291 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5292 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5293 * nptl/sysdeps/pthread/configure: Moved ...
5294 * sysdeps/nptl/configure: ... here.
5295 * nptl/sysdeps/pthread/configure.ac: Moved ...
5296 * sysdeps/nptl/configure.ac: ... here.
5297 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5298 * sysdeps/nptl/gai_misc.h: ... here.
5299 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5300 * sysdeps/nptl/librt-cancellation.c: ... here.
5301 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5302 * sysdeps/nptl/malloc-machine.h: ... here.
5303 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5304 * sysdeps/nptl/pthread-functions.h: ... here.
5305 * nptl/sysdeps/pthread/pthread.h: Moved ...
5306 * sysdeps/nptl/pthread.h: ... here.
5307 * nptl/sysdeps/pthread/setxid.h: Moved ...
5308 * sysdeps/nptl/setxid.h: ... here.
5309 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5310 * sysdeps/nptl/sigfillset.c: ... here.
5311 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5312 * sysdeps/nptl/tcb-offsets.h: ... here.
5313 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5314 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5315 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5316 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5317 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5318 * sysdeps/pthread/allocalim.h: ... here.
5319 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5320 * sysdeps/pthread/bits/sigthread.h: ... here.
5321 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5322 * sysdeps/pthread/flockfile.c: ... here.
5323 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5324 * sysdeps/pthread/ftrylockfile.c: ... here.
5325 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5326 * sysdeps/pthread/funlockfile.c: ... here.
5327 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5328 * sysdeps/pthread/posix-timer.h: ... here.
5329 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5330 * sysdeps/pthread/timer_create.c: ... here.
5331 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5332 * sysdeps/pthread/timer_delete.c: ... here.
5333 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5334 * sysdeps/pthread/timer_getoverr.c: ... here.
5335 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5336 * sysdeps/pthread/timer_gettime.c: ... here.
5337 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5338 * sysdeps/pthread/timer_routines.c: ... here.
5339 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5340 * sysdeps/pthread/timer_settime.c: ... here.
5341 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5342 * sysdeps/pthread/tst-timer.c: ... here.
5343 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5344 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5345
e876b090
RM
5346 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5347 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5348
f6b07b3d
RM
5349 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5350 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5351 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5352 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5353 Update #include target.
5354 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5355 * sysdeps/i386/i686/nptl/Makefile: ... here.
5356 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5357 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5358 Update #include target.
5359 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5360 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5361 * nptl/sysdeps/i386/Makefile: Moved ...
5362 * sysdeps/i386/nptl/Makefile: ... here.
5363 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5364 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5365 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5366 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5367 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5368 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5369 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5370 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5371 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5372 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5373 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5374 * nptl/sysdeps/i386/tls.h: Moved ...
5375 * sysdeps/i386/nptl/tls.h: ... here.
5376
45262aee
RM
5377 * sysdeps/sh/Makefile [$(subdir) = csu]
5378 (gen-as-const-headers): Add tcb-offsets.sym.
5379 * nptl/sysdeps/sh/Makefile: File removed.
5380 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5381 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5382 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5383 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5384 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5385 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5386 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5387 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5388 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5389 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5390 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5391 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5392 * nptl/sysdeps/sh/tls.h: Moved ...
5393 * sysdeps/sh/nptl/tls.h: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5395 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5397 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5399 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5400 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5401 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5403 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5405 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5407 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5409 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5411 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5413 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5415 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5419 Moved ...
5420 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5422 Moved ...
5423 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5425 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5426 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5427 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5429 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5431 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5433 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5435 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5437 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5439 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5440 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5441 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5442
35a5e3e3
SL
54432014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5444
5445 * posix/spawn_faction_addopen.c: Include string.h.
5446
14642b85
RM
54472014-06-11 Roland McGrath <roland@hack.frob.com>
5448
5449 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5450 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5451 * nptl/sysdeps/x86_64/Makefile: Moved ...
5452 * sysdeps/x86_64/nptl/Makefile: ... here.
5453 * nptl/sysdeps/x86_64/configure: Moved ...
5454 * sysdeps/x86_64/nptl/configure: ... here.
5455 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5456 * sysdeps/x86_64/nptl/configure.ac: ... here.
5457 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5458 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5459 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5460 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5461 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5462 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5463 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5464 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5465 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5466 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5467 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5468 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5469 * nptl/sysdeps/x86_64/tls.h: Moved ...
5470 * sysdeps/x86_64/nptl/tls.h: ... here.
5471 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5472 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5473 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5474 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5475
5476 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5477
31c44fea
AZ
54782014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479
5480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5481
e81a4f9a
JM
54822014-06-11 Joseph Myers <joseph@codesourcery.com>
5483
5484 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5485 type.
5486 [POSIX] (off_t): Likewise.
5487 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5488 [POSIX] (S_ISBLK): Require macro.
5489 [POSIX] (S_ISCHR): Likewise.
5490 [POSIX] (S_ISDIR): Likewise.
5491 [POSIX] (S_ISFIFO): Likewise.
5492 [POSIX] (S_ISREG): Likewise.
5493 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5494 optional-macro.
5495 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5496 type.
5497 [POSIX] (time_t): Likewise.
5498 [POSIX] (timer_t): Likewise.
5499
89e435f3
FW
55002014-06-11 Florian Weimer <fweimer@redhat.com>
5501
5502 [BZ #17048]
5503 * posix/spawn_int.h (struct __spawn_action): Make the path string
5504 non-const to support deallocation.
5505 * posix/spawn_faction_addopen.c
5506 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5507 * posix/spawn_faction_destroy.c
5508 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5509 path in all spawn_do_open actions.
5510 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5511 posix_spawn_file_actions_addopen.
5512
c3a2ebe1
CM
55132014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5514
5515 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5516 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5517 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5518 conditional code always true.
5519 (__libc_vfork): New alias.
5520
9503784a
RM
55212014-06-11 Roland McGrath <roland@hack.frob.com>
5522
c9cab3d2
RM
5523 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5524 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5525
d3996c79
RM
5526 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5527
ba5ec611
RM
5528 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5529 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5530
f12b4814
RM
5531 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5532 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5533
9503784a
RM
5534 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5535 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5536
e23d3d26
VR
55372014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5538
5539 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5540 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5541 multiarch strcmp for PPC64.
5542 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5543 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5545 multiarch optimizations.
5546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5547 (__libc_ifunc_impl_list): Likewise.
5548
42b1161e
SP
55492014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5550
5551 * benchtests/scripts/validate_benchout.py: New script.
5552 * benchtests/Makefile (bench-func): Call it.
5553 * benchtests/scripts/benchout.schema.json: New file.
5554
2d0fc4dc
CM
55552014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5556
4a594c34
AZ
5557 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5558 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5559 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5560 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5561 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5562 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5563 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5564 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5565 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5566 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5567 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5568 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5569 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5570 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5571 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5572 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5574 Moved ...
4a594c34 5575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5576 ... here.
4a594c34 5577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5578 Moved ...
4a594c34
AZ
5579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5581 Moved ...
4a594c34 5582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5583 ... here.
4a594c34 5584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5585 Moved ...
4a594c34 5586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5587 ... here.
4a594c34 5588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5589 Moved ...
4a594c34
AZ
5590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5592 Moved ...
4a594c34 5593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5594 ... here.
4a594c34 5595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5596 Moved ...
4a594c34 5597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5598 ... here.
4a594c34 5599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5600 Moved ...
4a594c34
AZ
5601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5603 Moved ...
4a594c34 5604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5605 ... here.
4a594c34 5606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5607 Moved ...
4a594c34 5608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5609 ... here.
4a594c34 5610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5611 Moved ...
4a594c34 5612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5613 ... here.
4a594c34 5614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5615 Moved ...
4a594c34
AZ
5616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5618 Moved ...
4a594c34 5619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5620 ... here.
4a594c34 5621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5622 Moved ...
4a594c34 5623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5624 ... here.
4a594c34 5625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5626 Moved ...
4a594c34 5627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5628 ... here.
4a594c34 5629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5630 Moved ...
4a594c34
AZ
5631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5633 Moved ...
4a594c34 5634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5635 ... here.
4a594c34 5636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5637 Moved ...
4a594c34 5638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5639 ... here.
4a594c34 5640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5641 Moved ...
4a594c34
AZ
5642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5644 Moved ...
4a594c34 5645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5646 ... here.
4a594c34 5647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5648 Moved ...
4a594c34
AZ
5649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5651 Moved ...
4a594c34
AZ
5652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5654 Moved ...
4a594c34 5655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5656 ... here.
4a594c34 5657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5658 Moved ...
4a594c34 5659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5660 ... here.
4a594c34 5661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5662 Moved ...
4a594c34 5663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5664 ... here.
4a594c34 5665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5666 Moved ...
4a594c34
AZ
5667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5669 Moved ...
4a594c34 5670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5671 ... here.
4a594c34 5672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5673 Moved ...
4a594c34 5674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5675 ... here.
4a594c34
AZ
5676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5677 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5679 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5681 Moved ...
4a594c34 5682 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5683 ... here.
4a594c34
AZ
5684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5685 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5687 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5689 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5691 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5693 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5695 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5697 Moved ...
4a594c34
AZ
5698 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5700 Moved ...
4a594c34
AZ
5701 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5705 Moved ...
4a594c34
AZ
5706 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5710 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5711 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5712 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5713
0570cfed
W
57142014-06-10 Wilco <wdijkstr@arm.com>
5715
5716 * math/test-fenv-return.c: New file.
5717 * math/Makefile: Add new test test-fenv-return.
5718
f8ba1b56
JM
57192014-06-10 Joseph Myers <joseph@codesourcery.com>
5720
5721 [BZ #17042]
5722 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5723 when x - 1 is zero.
5724 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5725 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5726 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5727 0.0L for an argument of 1.0L.
5728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5729 Likewise.
5730 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5731 value when x - 1 is zero.
5732 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735
2c3520d9
BO
57362014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5737
5738 [BZ #15119]
5739 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5740
acaa4d24
RM
57412014-06-09 Roland McGrath <roland@hack.frob.com>
5742
5743 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5744 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5745
962b744d
RM
57462014-06-09 Roland McGrath <roland@hack.frob.com>
5747
d752f0cc
RM
5748 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5749 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5750
34eda6d1
RM
5751 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5752 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5753
50f0a637
RM
5754 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5755 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5756
08f41f04
RM
5757 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5758 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5759
962b744d
RM
5760 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5761 if not already defined.
5762 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5763 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5764 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5765 (TLS_INIT_TP): Use it.
5766 (TLS_DEFINE_INIT_TP): New macro.
5767 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5768
09f19b05
JM
57692014-06-09 Joseph Myers <joseph@codesourcery.com>
5770
5771 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5772 constant.
5773 [POSIX] (IXANY): Likewise.
5774 [POSIX] (OLCUC): Likewise.
5775 [POSIX || POSIX2008] (CBAUD): Do not allow.
5776 [POSIX || POSIX2008] (DEFECHO): Likewise.
5777 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5778 [POSIX || POSIX2008] (ECHOKE): Likewise.
5779 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5780 [POSIX || POSIX2008] (EXTA): Likewise.
5781 [POSIX || POSIX2008] (EXTB): Likewise.
5782 [POSIX || POSIX2008] (FLUSHO): Likewise.
5783 [POSIX || POSIX2008] (LOBLK): Likewise.
5784 [POSIX || POSIX2008] (PENDIN): Likewise.
5785 [POSIX || POSIX2008] (SWTCH): Likewise.
5786 [POSIX || POSIX2008] (VDISCARD): Likewise.
5787 [POSIX || POSIX2008] (VDSUSP): Likewise.
5788 [POSIX || POSIX2008] (VLNEXT): Likewise.
5789 [POSIX || POSIX2008] (VREPRINT): Likewise.
5790 [POSIX || POSIX2008] (VSTATUS): Likewise.
5791 [POSIX || POSIX2008] (VWERASE): Likewise.
5792 (B*): Change to B[0123456789]*.
5793 * conform/data/time.h-data [POSIX || UNIX98]
5794 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5795 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5796 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5797 [POSIX] (tm_*): Do not allow.
5798
686554bf
JM
57992014-06-07 Joseph Myers <joseph@codesourcery.com>
5800
5801 * Makefile (install): Don't set LANGUAGE.
5802 * Makefile.in (install): Likewise.
5803 * assert/Makefile (test-assert-ENV): Remove variable.
5804 (test-assert-perr-ENV): Likewise.
5805 * elf/Makefile (neededtest4-ENV): Likewise.
5806 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5807 [$(cross-compiling) = no]: Don't set LANGUAGE.
5808 * io/ftwtest-sh (LANG): Remove variable.
5809 * libio/Makefile (tst-widetext-ENV): Likewise.
5810 * manual/install.texi (Running make install): Don't refer to
5811 environment settings for make install.
5812 * INSTALL: Regenerated.
5813 * nptl/tst-tls6.sh: Don't set LANG.
5814 * posix/globtest.sh (LANG): Remove variable.
5815 * string/Makefile (tester-ENV): Likewise.
5816 (inl-tester-ENV): Likewise.
5817 (noinl-tester-ENV): Likewise.
5818 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5819 [$(cross-compiling) = no]: Don't set LANGUAGE.
5820 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5821 without explicit environment settings.
5822
68e6b6b1
RM
58232014-06-06 Roland McGrath <roland@hack.frob.com>
5824
5825 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5826 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5827 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5828 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5829
4d3ae034
CM
58302014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5831
5832 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5833 other files in the crypt directory.
5834 * crypt/crypt.c: Remove duplicate includes.
5835 * crypt/crypt-entry.c: Likewise.
5836 * crypt/crypt_util.c: Likewise.
5837
8540f6d2
JM
58382014-06-06 Joseph Myers <joseph@codesourcery.com>
5839
5840 * Makeconfig (run-program-env): New variable.
5841 (run-program-prefix-before-env): Likewise.
5842 (run-program-prefix-after-env): Likewise.
5843 (run-program-prefix): Define in terms of new variables.
5844 (built-program-cmd-before-env): New variable.
5845 (built-program-cmd-after-env): Likewise.
5846 (built-program-cmd): Define in terms of new variables.
5847 (test-program-prefix-before-env): New variable.
5848 (test-program-prefix-after-env): Likewise.
5849 (test-program-prefix): Define in terms of new variables.
5850 (test-program-cmd-before-env): New variable.
5851 (test-program-cmd-after-env): Likewise.
5852 (test-program-cmd): Define in terms of new variables.
5853 * Rules (make-test-out): Use $(run-program-env).
5854 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5855 (help): Do not mention environment variables. Mention
5856 --timeoutfactor option.
5857 (timeoutfactor): New variable.
5858 (blacklist_exports): Remove function.
5859 (exports): Remove variable.
5860 (command): Do not include ${exports}.
5861 * manual/install.texi (Configuring and compiling): Do not mention
5862 test wrappers preserving environment variables. Mention that last
5863 assignment to a variable must take precedence.
5864 * INSTALL: Regenerated.
5865 * benchtests/Makefile (run-bench): Use $(run-program-env).
5866 * catgets/Makefile ($(objpfx)test1.cat): Use
5867 $(built-program-cmd-before-env), $(run-program-env) and
5868 $(built-program-cmd-after-env).
5869 ($(objpfx)test2.cat): Do not specify environment variables
5870 explicitly.
5871 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5872 $(run-program-env) and $(built-program-cmd-after-env).
5873 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5874 $(run-program-env) and $(test-program-cmd-after-env).
5875 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5876 explicitly.
5877 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5878 run_program_env and test_program_cmd_after_env arguments.
5879 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5880 * elf/tst-pathopt.sh: Use run_program_env argument.
5881 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5882 $(test-wrapper-env) and $(run-program-env).
5883 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5884 run_program_env arguments.
5885 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5886 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5887 $(test-program-prefix-before-env), $(run-program-env) and
5888 $(test-program-prefix-after-env).
5889 ($(objpfx)tst-gettext2.out): Likewise.
5890 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5891 run_program_env and test_program_prefix_after_env arguments.
5892 * intl/tst-gettext2.sh: Likewise.
5893 * intl/tst-gettext4.sh: Do not set environment variables
5894 explicitly.
5895 * intl/tst-gettext6.sh: Likewise.
5896 * intl/tst-translit.sh: Likewise.
5897 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5898 $(test-program-prefix-before-env), $(run-program-env) and
5899 $(test-program-prefix-after-env).
5900 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5901 run_program_env and test_program_prefix_after_env arguments.
5902 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5903 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5904 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5905 explicitly with each use of ${test_wrapper_env}.
5906 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5907 $(test-program-prefix-before-env), $(run-program-env) and
5908 $(test-program-prefix-after-env).
5909 * posix/tst-getconf.sh: Do not set environment variables
5910 explicitly.
5911 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5912 run_program_env and test_program_prefix_after_env arguments.
5913 * stdio-common/tst-printf.sh: Do not set environment variables
5914 explicitly.
5915 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5916 $(test-program-prefix-before-env), $(run-program-env) and
5917 $(test-program-prefix-after-env).
5918 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5919 run_program_env and test_program_prefix_after_env arguments.
5920 Split $test calls into $test_pre and $test.
5921 * timezone/Makefile (build-testdata): Use
5922 $(built-program-cmd-before-env), $(run-program-env) and
5923 $(built-program-cmd-after-env).
5924
ed36bfa1
AZ
59252014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5928 strlen for non SHARED builds.
5929
fc75bf46
SP
59302014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5931
5932 * nptl/allocatestack.c (check_list): Inlined function...
5933 (__reclaim_stacks): ... here.
5934
d89b3d80
OB
59352014-06-05 Ondřej Bílka <neleai@seznam.cz>
5936
5937 [BZ #15698]
5938 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5939 memory overrun.
5940
2bf18041
JM
59412014-06-05 Joseph Myers <joseph@codesourcery.com>
5942
5943 * Rules (make-test-out): Include
5944 LOCPATH=$(common-objpfx)localedata in default environment.
5945 * debug/Makefile (tst-chk1-ENV): Remove variable.
5946 (tst-chk2-ENV): Likewise.
5947 (tst-chk3-ENV): Likewise.
5948 (tst-chk4-ENV): Likewise.
5949 (tst-chk5-ENV): Likewise.
5950 (tst-chk6-ENV): Likewise.
5951 (tst-lfschk1-ENV): Likewise.
5952 (tst-lfschk2-ENV): Likewise.
5953 (tst-lfschk3-ENV): Likewise.
5954 (tst-lfschk4-ENV): Likewise.
5955 (tst-lfschk5-ENV): Likewise.
5956 (tst-lfschk6-ENV): Likewise.
5957 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5958 (tst-iconv7-ENV): Likewise.
5959 * intl/Makefile (LOCPATH-ENV): Likewise.
5960 (tst-codeset-ENV): Likewise.
5961 (tst-gettext3-ENV): Likewise.
5962 (tst-gettext5-ENV): Likewise.
5963 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5964 (tst-fopenloc-ENV): Likewise.
5965 (tst-fgetws-ENV): Remove variable.
5966 (tst-ungetwc1-ENV): Likewise.
5967 (tst-ungetwc2-ENV): Likewise.
5968 (bug-ungetwc2-ENV): Likewise.
5969 (tst-swscanf-ENV): Likewise.
5970 (bug-ftell-ENV): Likewise.
5971 (tst-fgetwc-ENV): Likewise.
5972 (tst-fseek-ENV): Likewise.
5973 (tst-ftell-partial-wide-ENV): Likewise.
5974 (tst-ftell-active-handler-ENV): Likewise.
5975 (tst-ftell-append-ENV): Likewise.
5976 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5977 (tst-regexloc-ENV): Likewise.
5978 (bug-regex1-ENV): Likewise.
5979 (tst-regex-ENV): Likewise.
5980 (tst-regex2-ENV): Likewise.
5981 (bug-regex5-ENV): Likewise.
5982 (bug-regex6-ENV): Likewise.
5983 (bug-regex17-ENV): Likewise.
5984 (bug-regex18-ENV): Likewise.
5985 (bug-regex19-ENV): Likewise.
5986 (bug-regex20-ENV): Likewise.
5987 (bug-regex22-ENV): Likewise.
5988 (bug-regex23-ENV): Likewise.
5989 (bug-regex25-ENV): Likewise.
5990 (bug-regex26-ENV): Likewise.
5991 (bug-regex30-ENV): Likewise.
5992 (bug-regex32-ENV): Likewise.
5993 (bug-regex33-ENV): Likewise.
5994 (bug-regex34-ENV): Likewise.
5995 (bug-regex35-ENV): Likewise.
5996 (tst-rxspencer-ENV): Likewise.
5997 (tst-rxspencer-no-utf8-ENV): Likewise.
5998 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5999 (tst-sscanf-ENV): Likewise.
6000 (tst-swprintf-ENV): Likewise.
6001 (tst-swscanf-ENV): Likewise.
6002 (test-vfprintf-ENV): Likewise.
6003 (scanf13-ENV): Likewise.
6004 (bug14-ENV): Likewise.
6005 (tst-grouping-ENV): Likewise.
6006 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6007 (tst-strtod3-ENV): Likewise.
6008 (tst-strtod4-ENV): Likewise.
6009 (tst-strtod5-ENV): Likewise.
6010 (testmb2-ENV): Likewise./
6011 * string/Makefile (tst-strxfrm-ENV): Likewise.
6012 (tst-strxfrm2-ENV): Likewise.
6013 (bug-strcoll1-ENV): Likewise.
6014 (test-strcasecmp-ENV): Likewise.
6015 (test-strncasecmp-ENV): Likewise.
6016 * time/Makefile (tst-strptime-ENV): Likewise.
6017 (tst-ftime_l-ENV): Likewise.
6018 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6019 (tst-mbrtowc-ENV): Likewise.
6020 (tst-wcrtomb-ENV): Likewise.
6021 (tst-mbrtowc2-ENV): Likewise.
6022 (tst-c16c32-1-ENV): Likewise.
6023 (tst-mbsnrtowcs-ENV): Likewise.
6024
cd1fb604
OB
60252014-06-05 Ondřej Bílka <neleai@seznam.cz>
6026
6027 * manual/resource.texi (How to get information about the memory
6028 subsystem?): Fix typo.
6029 Reported by Peon de la Parra Ivan <peon@keba.com>
6030
b42eca7d
GY
60312014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6032
6033 [BZ #16882]
6034 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6035 (pthread_spin_lock): Branch out of spin loop to proper location.
6036 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6037 (pthread_spin_lock): Likewise.
6038
902b71f9
DM
6039 * nptl/tst-spin4.c: New test.
6040 * nptl/Makefile (tests): Add tst-spin4.
6041
f9d2d032
AS
60422014-06-03 Andreas Schwab <schwab@suse.de>
6043
6044 [BZ #15946]
6045 * resolv/res_send.c (send_dg): Reload file descriptor after
6046 calling reopen.
6047
cf7bfd28
SL
60482014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6049
6050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6051
111cc714
RH
60522014-06-03 Richard Henderson <rth@redhat.com>
6053
89b4bd6b
RH
6054 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6055 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6056 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6057 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6058 in the SAVE_PID block.
6059 (__libc_vfork): New alias.
71840409 6060 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6061
111cc714
RH
6062 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6063 child in registers, not on the stack. Remove RESET_PID conditionals.
6064 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6065
ccc39911
MS
60662014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6067
6068 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6069
693096cc
W
60702014-06-03 Wilco <wdijkstr@arm.com>
6071
6072 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6073 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6074 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6075 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6076 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6077 Likewise.
6078
0b4366bc
W
60792014-06-03 Wilco <wdijkstr@arm.com>
6080
6081 * sysdeps/aarch64/fpu/math_private.h
6082 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6083 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6084 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6085 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6086 Fix declarations.
6087
8747cd03
KS
60882014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6089
6090 * crypt/crypt-private.h: Include ufc-crypt.h.
6091 (__b64_from_24bit): Declare extern.
6092 * crypt/crypt_util.c(__b64_from_24bit): New function.
6093 (b64t): New static const variable.
6094 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6095 (b64t): Remove variable.
6096 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6097 * crypt/sha256-crypt.c: Include crypt-private.h.
6098 (b64t): Remove variable.
6099 (__sha256_crypt_r): Remove b64_from_24bit and replace
6100 with __b64_from_24bit.
6101 * crypt/sha512-crypt.c: Likewise.
6102
d936d379
RM
61032014-06-02 Roland McGrath <roland@hack.frob.com>
6104
6105 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6106 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6107 Label the code __libc_vfork rather than __vfork.
6108 [!NOT_IN_libc] (vfork): Define as weak alias.
6109 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6110 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6111 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6112
9fa76613
SP
61132014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
6115 * malloc/malloc.c (malloc_info): Fix format specifier for
6116 n_mmaps.
6117
a88dadbe
W
61182014-06-02 Wilco <wdijkstr@arm.com>
6119
6120 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6121 FPCR write.
6122
c95b3011
W
61232014-06-02 Wilco <wdijkstr@arm.com>
6124
6125 [BZ #17009]
6126 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6127 Rewrite to reduce FPCR/FPSR accesses.
6128
6b4d7a90
DM
61292014-06-01 David S. Miller <davem@davemloft.net>
6130
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6132
30f3d07c
DM
61332014-05-31 David S. Miller <davem@davemloft.net>
6134
6135 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6136 to occur in round to nearest mode when |x| >= 2.0
6137
74f31c18
RH
61382014-05-30 Richard Henderson <rth@twiddle.net>
6139
f0712b54
RH
6140 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6141 (PSEUDO_RET_NOERRNO): Remove.
6142 (ret): Don't redefine.
6143 (ret_NOERRNO): Define in terms of ret.
6144 (ret_ERRVAL): Likewise.
6145
74f31c18
RH
6146 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6147 use of PSEUDO_RET; perform the error check directly.
6148
30477995
MM
61492014-05-30 Marko Myllynen <myllynen@redhat.com>
6150
6151 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6152 with __int128_t.
6153
62a58816
SP
61542014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6155
6156 * malloc/malloc (malloc_info): Fix formatting.
6157
4d653a59
SP
61582014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6159 Roland McGrath <roland@hack.frob.com>
6160
6161 * malloc/malloc (malloc_info): Also print mmapped statistics.
6162
5190c17f
RM
61632014-05-30 Roland McGrath <roland@hack.frob.com>
6164
6165 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6166 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6167
987c0269
OB
61682014-05-30 Ondřej Bílka <neleai@seznam.cz>
6169
6170 * malloc/malloc.c (malloc_info): Inline mi_arena.
6171
af4e8ef9
RH
61722014-05-29 Richard Henderson <rth@twiddle.net>
6173
1670e207
RH
6174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6175 Remove comma before expanding ASM_ARGS_##nr.
6176 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6177 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6178 of ASM_ARGS_##nr.
6179 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6180 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6181 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6182 (ASM_ARGS_1): Add leading comma.
6183
11a28aee
RH
6184 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6185 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6186 to __errno_location.
6187 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6188 Remove the expected plt for __errno_location.
6189
a17e5ffb 6190 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6191 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6192 call to __read_tp.
6193
b5be4597
RH
6194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6195 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6196 it and break it down.
6197 (DOCARGS_0, DOCARGS_1): Do nothing.
6198 (DOCARGS_2): Update to store into the new stack frame.
6199 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6200 (UNDOCARGS_1): Update to restore from the new stack frame.
6201 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6202 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6203
645d44ab
RH
6204 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6205 (SINGLE_THREAD_P): New parameter for result regno.
6206 (PSEUDO): Update to match; use cbz instead of beq.
6207
a8b4f04a
RH
6208 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6209 Use ENTRY to define the _nocancel entry point. Share the syscall
6210 and syscall error check paths with the cancel path.
6211 (PSEUDO_END): New.
6212
af4e8ef9
RH
6213 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6214 whitespace; tabs before and after asm mnemonics.
6215
26b0d2e1
EW
62162014-05-29 Eric Wong <normalperson@yhbt.net>
6217
6218 [BZ #15132]
6219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6220 Call fstat64 or stat64 internally, depending on arguments passed.
6221 Replace stat buffer argument with file descriptor argument.
6222 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6223 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6224 Pass fd to __internal_statvfs instead of calling fstat64.
6225 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6226 Pass fd to __internal_statvfs64 instead of calling fstat64.
6227 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6228 Pass -1 to __internal_statvfs instead of calling stat64.
6229 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6230 Pass -1 to __internal_statvfs64 instead of calling stat64.
6231
1efe2bd9
RM
62322014-05-28 Roland McGrath <roland@hack.frob.com>
6233
0d3b7a19
RM
6234 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6235 that was previously under [RESET_PID].
6236 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6237
1efe2bd9
RM
6238 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6239 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6240
a6bea3ca
RM
62412014-05-27 Roland McGrath <roland@hack.frob.com>
6242
30b6629e
RM
6243 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6244
a6bea3ca
RM
6245 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6246 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6247
3dfb9a5c
OB
62482014-05-27 Ondřej Bílka <neleai@seznam.cz>
6249
6250 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6251
774f9285
AS
62522014-05-27 Andreas Schwab <schwab@suse.de>
6253
6254 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6255 TLS_INIT_TP macro.
6256 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6257 * elf/rtld.c (init_tls, dl_main): Likewise.
6258 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6259 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6260 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6261 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6262 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6263 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6264 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6265 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6266 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6267 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6268 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6269 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6270 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6271 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6272 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6273 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6274 * sysdeps/generic/tls.h: Update description.
6275
36ffe739
WN
62762014-05-27 Will Newton <will.newton@linaro.org>
6277
6278 [BZ #16990]
6279 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6280 and restore r2 rather than just restoring.
6281
2482ae43
SP
62822014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6283
6284 [BZ #16724]
6285 * libio/tst-ftell-append.c: New test case.
6286 * libio/Makefile (tests): Add test case.
6287 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6288 append mode.
6289 * libio/wfileops.c (do_ftell_wide): Likewise.
6290
3d1024e8
AZ
62912014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292
bab90016
AZ
6293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6294
c7a8d667
AZ
6295 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6296 ...
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6299 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6300 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6302 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6304 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6306 Moved ...
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6309 Moved ...
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6312 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6314 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6315 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6316 ...
6317 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6318 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6319 Moved ...
6320 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6321 here.
6322 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6323 ...
6324 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6325 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6326 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6327
daee7851
AZ
6328 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6329 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6331 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6332
50a40819
AZ
6333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6334 merge into ...
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6337 ...
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6340 ...
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6343 Moved ...
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6345 here.
6346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6347 Moved ...
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6350 Moved ...
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6352
8464c2a1
AZ
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6354 conditional [RESET_PID].
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6357 removed.
6358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6359 removed.
6360
3d1024e8
AZ
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6362 <tcb-offsets.h>.
6363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6364 (__libc_vfork): New strong alias.
6365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6366 removed.
6367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6368 Removed.
6369
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6371 <tcb-offsets.h>.
6372 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6373 (__libc_vfork): New strong alias.
6374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6375 removed.
6376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6377 removed.
6378
fdfd175d
CD
63792014-05-26 Carlos O'Donell <carlos@redhat.com>
6380
6381 * malloc/malloc.c (mi_arena): New function.
6382 (malloc_info): Remove nested function mi_arena. Call non-nosted
6383 function mi_arena.
6384
d298c416
AZ
63852014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386
6387 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6388 by insrwi.
6389 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6390 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6391 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6392 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6394 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6395 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6396
b60ea6ff
AS
63972014-05-26 Andreas Schwab <schwab@suse.de>
6398
6399 [BZ #16984]
6400 * locale/programs/repertoire.c (repertoire_read): Add slash
6401 between I18NPATH element and file name.
6402 * locale/programs/locfile.c (locfile_read): Likewise.
6403
67365926
SL
64042014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6405
6406 * nptl/pthread_mutexattr_settype.c
6407 (__pthread_mutexattr_settype):
6408 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6409
f8bdf1f0
SL
64102014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6411
6412 * nptl/tst-mutex5 (do_test):
6413 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6414
15eaf6ff
SP
64152014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6416
6417 * benchtests/README: Document 'init' directive.
6418 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6419 BENCH_INIT.
6420 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6421 (parse_file): Recognize 'init' directive.
6422
75f11331
KM
64232014-05-26 Kyle McMartin <kyle@redhat.com>
6424
6425 [BZ #16796]
6426 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6427 alignment of struct pthread.
6428
c3ec475c
SP
64292014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6430
6431 [BZ #16878]
6432 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6433 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6434 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6435 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6436
82aab97c
RH
64372014-05-25 Richard Henderson <rth@twiddle.net>
6438
aa2f176d
RH
6439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6440 (SINGLE_THREAD_P_PIC): Remove.
6441 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6442 (SINGLE_THREAD_P_PIC): Remove.
6443
ca3cfa40
RH
6444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6445 branch to syscall error ...
6446 (PSEUDO): ... here.
6447 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6448 from __local_syscall_error to .Lsyscall_error.
6449 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6450 (SYSCALL_ERROR): Update label name.
6451
6e6c2d01
RH
6452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6453 Do not use DOARGS/UNDOARGS.
6454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6455 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6456 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6457 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6458 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6459
c69abcee
RH
6460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6461 block comment.
6462
82aab97c
RH
6463 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6464 define if !NOT_IN_libc.
6465 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6466 define with non-default symbol versions.
6467
8820e3ac
RH
64682014-05-23 Richard Henderson <rth@twiddle.net>
6469
900e445f
RH
6470 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6471 (vfork, __vfork): Define via compat_symbol.
6472
8820e3ac
RH
6473 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6474 [!HAVE_IFUNC] (vfork_compat): Remove.
6475 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6476
e59252a5
JM
64772014-05-23 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #16978]
6480 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6481 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6482 variable.
6483
132c7f5f
RH
64842014-05-23 Richard Henderson <rth@twiddle.net>
6485
bc89e962
RH
6486 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6487 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6488 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6489 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6490
6491 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6492 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6493 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6494 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6495 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6496 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6497 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6498 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6499 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6500 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6501 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6502 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6503 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6504 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6505 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6506 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6507 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6508 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6509 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6510 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6511 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6512 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6513 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6514 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6515 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6516 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6517 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6518 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6519 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6520 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6521 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6522 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6523 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6524 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6525 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6526 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6527 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6528 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6529 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6530 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6531 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6532 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6533 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6534 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6535 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6536 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6538 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6539 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6540 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6542 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6544 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6546 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6547
e2fa4bc2
RH
6548 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6549 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6550 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6551 before exiting on error.
6552 (__libc_vfork): New strong alias.
6553 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6554 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6555
279b24e2
RH
6556 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6557 that was previously under [RESET_PID].
6558 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6559
132c7f5f
RH
6560 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6561
b72592e7
JM
65622014-05-23 Joseph Myers <joseph@codesourcery.com>
6563
6564 [BZ #16977]
6565 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6566 value when x - 1 is zero.
6567 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6568 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6569 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6570 0.0L for an argument of 1.0L.
6571 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6572 Likewise.
6573 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6574 value when x - 1 is zero.
6575 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6576 * sysdeps/i386/fpu/libm-test-ulps: Update.
6577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578
2302d679
RV
65792014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6580
6581 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6582 alphasort and versionsort.
6583
32999d63
AZ
65842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6585
6586 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6587 macro.
6588 [copysignf]: Likewise.
6589
019324d0
SP
65902014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6591
6592 * crypt/md5-crypt.c: Fix formatting.
6593
34fff5c2
KS
65942014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6595
6596 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6597 (b64_from_24bit): New function.
6598
3d2badac
AZ
65992014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6600
6601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6602 libc_hidden_builtin_def to ifunc.
6603 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6604 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6605
f7bb179f 66062014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6607
6608 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6609 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6610
4134b50d
JM
66112014-05-21 Joseph Myers <joseph@codesourcery.com>
6612
bb7d0337
JM
6613 * nscd/Depend (linuxthreads): Remove.
6614 (nptl): Add.
6615 * resolv/Depend (linuxthreads): Remove.
6616 * rt/Depend (linuxthreads): Remove.
6617
4134b50d
JM
6618 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6619 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6620 $(common-objpfx)elf/.
6621 (link-libc-before-gnulib): Likewise.
6622 (elfobjdir): Remove variable.
6623 * Makefile (install): Use $(elf-objpfx) instead of
6624 $(common-objpfx)elf/.
6625 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6626 $(elfobjdir)/.
6627 (link-libc-deps): Likewise.
6628 ($(common-objpfx)libc.so): Likewise.
6629 ($(common-objpfx)linkobj/libc.so): Likewise.
6630 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6631 instead of $(common-objpfx)elf/.
6632 (symbolic-link-list): Likewise.
6633 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6634 [$(cross-compiling) = no]: Likewise.
6635 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6636 $(elfobjdir)/.
6637 (static-gnulib-arch): Likewise.
6638 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6639 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6640 $(common-objpfx)elf/.
6641
3612eb8f
RH
66422014-05-21 Richard Henderson <rth@redhat.com>
6643
a6b3657b
RH
6644 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6645 (SINGLE_THREAD_P): Use the correct width load. Fold
6646 into the ldr offset.
6647
3612eb8f
RH
6648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6649 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6650
175cef41
JM
66512014-05-20 Joseph Myers <joseph@codesourcery.com>
6652
6653 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6654 (libgcc_s_resume): Use __attribute_used__.
6655 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6656 Likewise.
6657
e13bccd3
AZ
66582014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659
6660 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6661 optimization when used with float constants.
6662
7c112a38
AZ
6663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6664
ae75a883
AJ
66652014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6666
6667 [BZ #16915]
6668 * locale/nl_langinfo_l.c: Make direct reference to every
6669 _nl_current_CATEGORY symbol.
6670 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6671 (tests-static): Add tst-langinfo-static.
6672 (tests-special): Add tst-langinfo-static.out.
6673 ($(objpfx)tst-langinfo.out): Redirect output.
6674 ($(objpfx)tst-langinfo-static.out): New.
6675 * localedata/tst-langinfo.sh: Send output to stdout.
6676 * localedata/tst-langinfo-static.c: New file.
6677
4406c41c
AJ
6678 [BZ #16965]
6679 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6680 when the shift amount is modulo the limb size.
6681
4c0a1e63
RH
66822014-05-20 Richard Henderson <rth@redhat.com>
6683
de9d8f20
RH
6684 [BZ #16967]
6685 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6686 Change type of sa_flags from unsigned int to int.
6687
4c0a1e63
RH
6688 [BZ #16966]
6689 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6690
6691 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6692
a60339aa
WN
66932014-05-20 Will Newton <will.newton@linaro.org>
6694
6695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6696 Test the return value of the system call in the nocancel case.
6697
7d05a816
YR
66982014-05-20 Will Newton <will.newton@linaro.org>
6699 Yvan Roux <yvan.roux@linaro.org>
6700
6701 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6702 #include of asm/ptrace.h.
6703 (PTRACE_GET_THREAD_AREA): Remove #undef.
6704 (PTRACE_GETHBPREGS): Likewise.
6705 (PTRACE_SETHBPREGS): Likewise.
6706 (struct user_regs_struct): New structure.
6707 (struct user_fpsimd_struct): New structure.
6708 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6709 #include of asm/ptrace.h and second #include of sys/user.h.
6710 (PTRACE_GET_THREAD_AREA): Remove #undef.
6711 (PTRACE_GETHBPREGS): Likewise.
6712 (PTRACE_SETHBPREGS): Likewise.
6713 (ELF_NGREG): Use new struct user_regs_struct.
6714 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6715
af121e37
AZ
67162014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6717
6718 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6720
834caf06
JM
67212014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6722
6723 [BZ #16958]
6724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6725 membar to avoid block loads/stores to overlap previous stores.
6726
e184a918
RH
67272014-05-17 Richard Henderson <rth@redhat.com>
6728
6729 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6730 Create the __##syscall_name##_nocancel entry point.
6731 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6732 Remove; let the sysdep-cancel.h code create it.
6733
f56c7a6a
DM
67342014-05-17 David S. Miller <davem@davemloft.net>
6735
6736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6737 Protect with __USE_GNU.
6738 (TIOCSET_TEMPT): Likewise.
6739 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6740 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6741 these are already provided in bits/ioctl-types.h
6742
f75616b2
RM
67432014-05-16 Roland McGrath <roland@hack.frob.com>
6744
3edeca86
RM
6745 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6746 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6747
f75616b2
RM
6748 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6749 Use wait4 regardless of [__NR_waitpid].
6750
deb0f7f6
MR
67512014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6752
6753 PR libgcc/60166
6754 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6755 (_FP_NANSIGN_Q): Set the quiet bit.
6756
79520f4b
JM
67572014-05-16 Joseph Myers <joseph@codesourcery.com>
6758
6759 * benchtests/Makefile
6760 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6761 not $(common-objpfx)math/libm.so.
6762 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6763 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6764 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6765 $(common-objpfx)dlfcn/libdl.so.
6766 ($(objpfx)tst-audit8): Depend on $(libm), not
6767 $(common-objpfx)math/libm.so.
6768 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6769 not $(common-objpfx)dlfcn/libdl.so.
6770 * math/Makefile
6771 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6772 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6773 [$(build-shared) = yes].
6774 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6775 $(common-objpfx)nptl/libpthread.so.
6776 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6777 $(common-objpfx)math/libm.so$(libm.so-version) or
6778 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6779 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6780 $(common-objpfx)dlfcn/libdl.so.
6781 * setjmp/Makefile (link-libm): Remove variable.
6782 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6783 * stdio-common/Makefile (link-libm): Remove variable.
6784 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6785 * stdlib/Makefile (link-libm): Remove variable.
6786 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6787 ($(objpfx)tst-strtod-round): Likewise.
6788 ($(objpfx)tst-tininess): Likewise.
6789 ($(objpfx)tst-strtod-underflow): Likewise.
6790 ($(objpfx)tst-strtod6): Likewise.
6791 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6792 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6793 $(common-objpfx)dlfcn/libdl.so.
6794
026b0fe4
AZ
67952014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6796
6797 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6798 BSD terminal modes definitions.
6799
def4bcb2
RM
68002014-05-16 Roland McGrath <roland@hack.frob.com>
6801
fe39b021
RM
6802 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6803 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6804
1d1fc46e 6805 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6806 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6807 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6808 Don't do #include_next.
6809 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6810 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6811 Don't do #include_next.
6812 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6813 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6814 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6815 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6816
c72399fb
AM
68172014-05-16 Allan McRae <allan@archlinux.org>
6818
d51d659d
AM
6819 * po/sv.po: Update Swedish translation from translation project.
6820
c72399fb
AM
6821 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6822 in sed expression.
6823
d0583c40
AJ
68242014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6825
6826 [BZ #16917]
6827 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6828 errno if the TIOCGPTN ioctl fails with an error different than
6829 EINVAL.
6830 * login/tst-ptsname.c: New file.
6831 * login/Makefile (tests): Add tst-ptsname.
6832
d16e6ec7
AJ
6833 [BZ #16943]
6834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6835 and prlimit64.
6836
cf26a0cb
SP
68372014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6838
6839 [BZ #16849]
6840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6841 herrno to return EAI_AGAIN.
6842
5675da1e
RM
68432014-05-14 Roland McGrath <roland@hack.frob.com>
6844
a5d87b3d
RM
6845 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6846 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6847 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6848 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6849 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6850 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6852 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6854 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6856 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6857 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6858 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6860 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6862 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6866 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6867 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6868 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6869 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6870 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6874 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6876 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6878 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6880 Moved ...
6881 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6883 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6887 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6889 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6891 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6893 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6899 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6903 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6905 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6907 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6909 Moved ...
6910 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6912 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6914 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6916 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6918 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6920 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6922 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6924 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6926 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6928 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6930 Moved ...
6931 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6934
039890a6
RM
6935 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6936 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6937 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6938 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6939 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6940 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6941 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6942 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6943 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6944 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6945 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6946 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6947 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6949 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6950 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6951 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6953 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6954 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6955 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6957 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6958 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6959 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6960 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6961 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6962 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6963 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6964 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6965 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6966
65c89320
RM
6967 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6968 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6969
348f8e8c
RM
6970 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6971 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6972 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6973 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6974 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6975 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6976 Moved ...
6977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6979 Moved ...
6980 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6982 Moved ...
6983 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6985 Moved ...
6986 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6987 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6988 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6990 Moved ...
6991 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6992 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6993 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6995 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6996 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6997 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6999 Moved ...
7000 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7002 Moved ...
7003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7004 ... here.
7005 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7006 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7008 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7010 Moved ...
7011 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7012 ... here.
7013 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7014 Moved ...
7015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7016 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7017 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7018 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7019 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7020 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7021 Moved ...
7022 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7024 Moved ...
7025 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7027 Moved ...
7028 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7030 Moved ...
7031 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7032 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7033 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7035 Moved ...
7036 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7037 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7038 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7039 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7040 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7041 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7042 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7044 Moved ...
7045 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7047 Moved ...
7048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7049 ... here.
7050 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7051 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7052 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7053 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7055 Moved ...
7056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7057 ... here.
7058 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7059 Moved ...
7060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7061 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7062 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7063 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7064 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7065 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7066 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7067 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7068 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7070 Moved ...
7071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7073 Moved ...
7074 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7076 Moved ...
7077 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7079 Moved ...
7080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7081 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7082 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7083 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7084 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7086 Moved ...
7087 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7088 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7089 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7090 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7091 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7092 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7093 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7095 Moved ...
7096 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7097 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7098 Moved ...
7099 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7100 ... here.
7101 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7102 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7104 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7106 Moved ...
7107 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7108 ... here.
7109 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7110 Moved ...
7111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7112 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7113 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7114 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7115 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7116 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7117 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7118 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7119 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7120 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7121 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7122
5085af05
RM
7123 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7124 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7125
708f0813
RM
7126 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7127 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7128
c96067bc
RM
7129 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7130 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7131 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7132 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7133 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7134 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7135 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7136 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7137 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7138 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7140 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7141 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7142 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7143 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7145 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7147 Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7151 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7152 Moved ...
7153 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7155 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7157 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7161 Moved ...
7162 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7163 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7164 Moved ...
7165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7168 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7171 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7172 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7173 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7174 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7175 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7176 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7177 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7179 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7180 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7181 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7182
ec136444
RM
7183 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7184 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7185 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7186 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7187 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7188
2fbdf533
RM
7189 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7190 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7192 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7193 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7194 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7195 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7196 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7197 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7198 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7199
4c68138b
RM
7200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7202
4eaae765
RM
7203 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7204 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7205 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7206 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7208 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7209 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7210 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7211 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7212 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7214 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7216 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7218 Update #include.
7219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7220 Likewise.
7221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7222 Likewise.
7223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7224 Likewise.
7225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7226 Likewise.
7227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7228 Likewise.
7229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7230 Likewise.
7231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7232 Likewise.
7233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7234 Likewise.
7235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7236 Likewise.
4ef6befa
RM
7237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7242 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7244 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7246 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7247 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7248 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7249 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7250 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7251 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7252
941d7dfd
RM
7253 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7254 that was previously under [RESET_PID].
7255 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7256 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7257 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7258
1b731c35
RM
7259 * sysdeps/i386/nptl/Implies: New file.
7260 * sysdeps/x86_64/nptl/Implies: New file.
7261 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7262 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7264 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7265
e2787137
RM
7266 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7267 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7268 (__libc_vfork): New strong alias.
7269 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7270 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7271
7272 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7274 (__libc_vfork): New strong alias.
7275 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7276 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7277
5675da1e
RM
7278 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7280 (__libc_vfork): New strong alias.
7281 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7282 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7283 * nptl/pt-vfork.c: New file.
7284 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7285 (libpthread: GLIBC_2.20): New version set (empty).
7286
4f02e2b8
WN
72872014-05-14 Will Newton <will.newton@linaro.org>
7288
7289 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7290 rather than #if.
7291
0bf061d3
JM
72922014-05-14 Joseph Myers <joseph@codesourcery.com>
7293
1a84c3d6
JM
7294 [BZ #16564]
7295 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7296 arguments with exponent 65 or above.
7297 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7298 arguments 0x1p113L or above.
7299 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7300 to arguments 0x1p107L or above.
7301 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7302 positive arguments with exponent 65 or above.
7303 * math/auto-libm-test-in: Add more tests of log1p.
7304 * math/auto-libm-test-out: Regenerated.
7305
01dbacd2
JM
7306 [BZ #16928]
7307 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7308 non-finite arguments is +0.
7309 * math/s_cacosf.c (__cacosf): Likewise.
7310 * math/s_cacosl.c (__cacosl): Likewise.
7311 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7312 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314
913d03c8
JM
7315 [BZ #16927]
7316 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7317 value.
7318 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7319 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7320 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7321 for explicit high bit of mantissa when testing for argument equal
7322 to 1.
7323 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7324 * sysdeps/i386/fpu/libm-test-ulps: Update.
7325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7326
0bf061d3
JM
7327 [BZ #16516]
7328 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7329 (__erf): Scale by 16 instead of 8 in potentially underflowing
7330 case. Ensure exception if result actually underflows.
7331 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7332 (__erff): Scale by 16 instead of 8 in potentially underflowing
7333 case. Ensure exception if result actually underflows.
7334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7335 (efx8): Remove variable.
7336 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7337 case. Ensure exception if result actually underflows.
7338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7339 (efx8): Remove variable.
7340 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7341 case. Ensure exception if result actually underflows.
7342 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7343 (efx8): Remove variable.
7344 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7345 case. Ensure exception if result actually underflows.
7346 * math/auto-libm-test-in: Add more tests of erf.
7347 * math/auto-libm-test-out: Regenerated.
7348
73ba67cb
AS
73492014-05-14 Andreas Schwab <schwab@suse.de>
7350
3d8c8bff
AS
7351 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7352 Remove code conditionalized on USE___THREAD.
7353
73ba67cb
AS
7354 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7355 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7356 not definedness.
7357
5c521ecd
JM
73582014-05-14 Joseph Myers <joseph@codesourcery.com>
7359
5e7698c6
JM
7360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7361 Define unconditionally.
7362 (__ASSUME_O_CLOEXEC): Likewise.
7363 (__ASSUME_SOCK_CLOEXEC): Likewise.
7364 (__ASSUME_IN_NONBLOCK): Likewise.
7365 (__ASSUME_PIPE2): Likewise.
7366 (__ASSUME_EVENTFD2): Likewise.
7367 (__ASSUME_SIGNALFD4): Likewise.
7368 (__ASSUME_DUP3): Likewise.
7369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7370 (__ASSUME_DUP3): Do not define.
7371 (__ASSUME_EVENTFD2): Likewise.
7372 (__ASSUME_IN_NONBLOCK): Likewise.
7373 (__ASSUME_O_CLOEXEC): Likewise.
7374 (__ASSUME_PIPE2): Likewise.
7375 (__ASSUME_SIGNALFD4): Likewise.
7376 (__ASSUME_SOCK_CLOEXEC): Likewise.
7377 (__ASSUME_UTIMES): Undefine.
7378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7379 (__ASSUME_UTIMES): Do not define.
7380 (__ASSUME_O_CLOEXEC): Likewise.
7381 (__ASSUME_SOCK_CLOEXEC): Likewise.
7382 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7383 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7384 0x020621].
7385 (__ASSUME_PIPE2): Likewise.
7386 (__ASSUME_EVENTFD2): Likewise.
7387 (__ASSUME_SIGNALFD4): Likewise.
7388 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7389 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7390 Do not define.
7391 (__ASSUME_EVENTFD2): Likewise.
7392 (__ASSUME_SIGNALFD4): Likewise.
7393 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7394 (__ASSUME_32BITUIDS): Likewise.
7395 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7396 (__ASSUME_IPC64): Likewise.
7397 (__ASSUME_ST_INO_64_BIT): Likewise.
7398 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7399 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7400 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7401 (__ASSUME_UTIMES): Do not define.
7402 (__ASSUME_PSELECT): Likewise.
7403 (__ASSUME_PPOLL): Likewise.
7404 (__ASSUME_O_CLOEXEC): Likewise.
7405 (__ASSUME_SOCK_CLOEXEC): Likewise.
7406 (__ASSUME_IN_NONBLOCK): Likewise.
7407 (__ASSUME_PIPE2): Likewise.
7408 (__ASSUME_EVENTFD2): Likewise.
7409 (__ASSUME_SIGNALFD4): Likewise.
7410 (__ASSUME_DUP3): Likewise.
7411 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7412 (__ASSUME_UTIMES): Likewise.
7413 (__ASSUME_O_CLOEXEC): Likewise.
7414 (__ASSUME_SOCK_CLOEXEC): Likewise.
7415 (__ASSUME_IN_NONBLOCK): Likewise.
7416 (__ASSUME_PIPE2): Likewise.
7417 (__ASSUME_EVENTFD2): Likewise.
7418 (__ASSUME_SIGNALFD4): Likewise.
7419 (__ASSUME_DUP3): Likewise.
7420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7421 (__ASSUME_UTIMES): Likewise.
7422 (__ASSUME_O_CLOEXEC): Likewise.
7423 (__ASSUME_SOCK_CLOEXEC): Likewise.
7424 (__ASSUME_IN_NONBLOCK): Likewise.
7425 (__ASSUME_PIPE2): Likewise.
7426 (__ASSUME_EVENTFD2): Likewise.
7427 (__ASSUME_SIGNALFD4): Likewise.
7428 (__ASSUME_DUP3): Likewise.
7429 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7430 Likewise.
7431 (__ASSUME_UTIMES): Likewise.
7432 (__ASSUME_EVENTFD2): Likewise.
7433 (__ASSUME_SIGNALFD4): Likewise.
7434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7435 (__ASSUME_O_CLOEXEC): Likewise.
7436 (__ASSUME_SOCK_CLOEXEC): Likewise.
7437 (__ASSUME_IN_NONBLOCK): Likewise.
7438 (__ASSUME_PIPE2): Likewise.
7439 (__ASSUME_EVENTFD2): Likewise.
7440 (__ASSUME_SIGNALFD4): Likewise.
7441 (__ASSUME_DUP3): Likewise.
7442 (__ASSUME_UTIMES): Undefine.
7443
5c521ecd
JM
7444 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7445 feclearexcept. Remove symbol versioning code.
7446 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7447 symbol versioning code.
7448 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7449 symbol versioning code.
7450 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7451 feupdateenv. Remove symbol versioning code.
7452 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7453 fegetexceptflag. Remove symbol versioning code.
7454 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7455 fesetexceptflag. Remove symbol versioning code.
7456 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7457 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7458 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7459 (__posix_fadvise64_l32): Remove prototype.
7460 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7461 code.
7462
5da9dfad
RM
74632014-05-13 Roland McGrath <roland@hack.frob.com>
7464
7465 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7466 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7467 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7468 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7469
893b4f37
SK
74702014-05-13 Sami Kerola <kerolasa@iki.fi>
7471
7472 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7473 current working directory
7474
e0db6517
RM
74752014-05-13 Roland McGrath <roland@hack.frob.com>
7476
58aa195d
RM
7477 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7478 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7479 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7480 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7481 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7482 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7483 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7484 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7504 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7506 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7507 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7508 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7509 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7510 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7511 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7512 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7513 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7514 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7515 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7516 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7517 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7518 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7519
8c6d01f0
RM
7520 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7521 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7522
7523 * sysdeps/unix/sysv/linux/arm/Makefile
7524 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7525 Add rt-aeabi_unwind_cpp_pr1.
7526 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7527 Add nptl-aeabi_unwind_cpp_pr1.
7528 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7529 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7530 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7531 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7532 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7533 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7534
7535 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7536 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7537 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7538 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7539
bba6da4e
RM
7540 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7541 Deconditionalize the code that was previously under [RESET_PID].
7542 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7543
e0db6517
RM
7544 * sysdeps/generic/exit-thread.h: New file.
7545 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7546 * include/unistd.h (__exit_thread): Remove declaration.
7547 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7548 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7549 * csu/libc-start.c: Include <exit-thread.h>.
7550 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7551 * nptl/pthread_create.c: Include <exit-thread.h>.
7552 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7553 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7554 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7555 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7556 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7557 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7558 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7559 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7560 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7561 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7562 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7563 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7564 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7565 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7566 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7567 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7568 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7569
01eb16fd
AS
75702014-05-13 Andreas Schwab <schwab@suse.de>
7571
7572 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7573
637461d9
JM
75742014-05-12 Joseph Myers <joseph@codesourcery.com>
7575
7576 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7577 (__ASSUME_UTIMES): Do not condition on kernel version.
7578 (__ASSUME_PSELECT): Define unconditionally.
7579 (__ASSUME_PPOLL): Likewise.
7580 (__ASSUME_ATFCTS): Likewise.
7581 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7582 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7583 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7584 (__ASSUME_UTIMENSAT): Define unconditionally.
7585 (__ASSUME_PRIVATE_FUTEX): Likewise.
7586 (__ASSUME_FALLOCATE): Likewise.
7587 (__ASSUME_O_CLOEXEC): Likewise.
7588 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7589 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7590 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7591 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7592 (__ASSUME_IN_NONBLOCK): Likewise.
7593 (__ASSUME_PIPE2): Likewise.
7594 (__ASSUME_EVENTFD2): Likewise.
7595 (__ASSUME_SIGNALFD4): Likewise.
7596 (__ASSUME_DUP3): Likewise.
7597 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7598 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7599 (__ASSUME_AT_RANDOM): Likewise.
7600 (__ASSUME_PREADV): Likewise.
7601 (__ASSUME_PWRITEV): Likewise.
7602 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7603 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7604 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7606 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7608 (__ASSUME_O_CLOEXEC): Define unconditionally.
7609 (__ASSUME_PSELECT): Do not undefine conditionally.
7610 (__ASSUME_PPOLL): Likewise.
7611 (__ASSUME_ATFCTS): Likewise.
7612 (__ASSUME_SET_ROBUST_LIST): Likewise.
7613 (__ASSUME_UTIMENSAT): Likewise.
7614 (__ASSUME_FDATASYNC): Define unconditionally.
7615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7616 (__ASSUME_SIGFRAME_V2): Likewise.
7617 )__ASSUME_EVENTFD2): Likewise.
7618 (__ASSUME_SIGNALFD4): Likewise.
7619 (__ASSUME_PSELECT): Do not undefine conditionally.
7620 (__ASSUME_PPOLL): Likewise.
7621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7622 (__ASSUME_PSELECT): Define unconditionally.
7623 (__ASSUME_PPOLL): Likewise.
7624 (__ASSUME_O_CLOEXEC): Likewise.
7625 (__ASSUME_SOCK_CLOEXEC): Likewise.
7626 (__ASSUME_IN_NONBLOCK): Likewise.
7627 (__ASSUME_PIPE2): Likewise.
7628 (__ASSUME_EVENTFD2): Likewise.
7629 (__ASSUME_SIGNALFD4): Likewise.
7630 (__ASSUME_DUP3): Likewise.
7631 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7632 (__ASSUME_O_CLOEXEC): Likewise.
7633 (__ASSUME_SOCK_CLOEXEC): Likewise.
7634 (__ASSUME_IN_NONBLOCK): Likewise.
7635 (__ASSUME_PIPE2): Likewise.
7636 (__ASSUME_EVENTFD2): Likewise.
7637 (__ASSUME_SIGNALFD4): Likewise.
7638 (__ASSUME_DUP3): Likewise.
7639 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7640 (__ASSUME_EVENTFD2): Likewise.
7641 (__ASSUME_SIGNALFD4): Likewise.
7642 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7643
315eb1d8
AS
76442014-05-12 Andreas Schwab <schwab@suse.de>
7645
7646 [BZ #16932]
7647 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7648 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7649 than maximum RPC packet size.
7650 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7651 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7652 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7653 (_nss_nis_getservbyport_r): Likewise.
7654
91df99f7
WN
76552014-05-12 Will Newton <will.newton@linaro.org>
7656
7657 * malloc/Makefile (tests): Add tst-mallopt.
7658 * malloc/tst-mallopt.c: New file.
7659
0a982a29
RM
76602014-05-09 Roland McGrath <roland@hack.frob.com>
7661
7662 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7663 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7664
0ded08a5
AZ
76652014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7666
7667 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7668 (tst-tlsmod6.so): Likewise.
7669
55d4d550
RM
76702014-05-09 Roland McGrath <roland@hack.frob.com>
7671
7672 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7673
77d08aca
JM
76742014-05-09 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #16064]
7677 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7678 and <dl-procinfo.h>.
7679 (__fegetenv): Save SSE state in envp->__eip if supported.
7680 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7681 envp->__eip if supported.
7682 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7683 and <dl-procinfo.h>.
7684 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7685 __data_offset and __data_selector in environment to 0. Set SSE
7686 state if supported.
7687 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7688 test-fenv-sse.
7689 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7690 -mfpmath=sse.
7691 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7692
28162f4d
WN
76932014-05-09 Will Newton <will.newton@linaro.org>
7694
7695 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7696 and libc_relro_required for ARM.
7697 * sysdeps/arm/preconfigure: Regenerate.
7698
5a414ff7
DV
76992014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7700 Stefan Liebler <stli@linux.vnet.ibm.com>
7701
7702 * config.make.in (enable-lock-elision): New Makefile variable.
7703 * configure.ac: Likewise.
7704 * configure: Regenerate.
7705 * sysdeps/s390/configure.ac:
7706 Add check for gcc transactions support.
7707 * sysdeps/s390/configure: Regenerate.
7708 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7709 Build elision files if enabled.
7710 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7711 Add lock elision support for s390.
7712 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7713 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7714 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7715 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7716 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7717 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7719 Likewise.
7720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7721 Likewise.
7722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7723 Likewise.
7724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7725 Likewise.
7726 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7727 (__lll_timedlock_elision, __lll_lock_elision)
7728 (__lll_unlock_elision, __lll_trylock_elision)
7729 (lll_timedlock_elision, lll_lock_elision)
7730 (lll_unlock_elision, lll_trylock_elision): Add.
7731 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7732 (pthread_mutex_t): Add lock elision support for s390.
7733
1a2f40e5
W
77342014-05-14 Wilco <wdijkstr@arm.com>
7735
7736 * sysdeps/arm/fclrexcpt.c: Cleanup.
7737 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7738 * sysdeps/arm/feenablxcpt.c: Cleanup.
7739 * sysdeps/arm/fegetenv.c: Cleanup.
7740 * sysdeps/arm/fegetexcept.c: Cleanup.
7741 * sysdeps/arm/fegetround.c: Cleanup.
7742 * sysdeps/arm/feholdexcpt.c: Cleanup.
7743 * sysdeps/arm/fesetenv.c: Cleanup.
7744 * sysdeps/arm/fesetround.c: Cleanup.
7745 * sysdeps/arm/feupdateenv.c: Cleanup.
7746 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7747 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7748 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7749 * sysdeps/arm/ftestexcept.c: Cleanup.
7750 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7751 * sysdeps/arm/setfpucw.c: Cleanup.
7752
f63c86fe
WN
77532014-05-09 Will Newton <will.newton@linaro.org>
7754
7755 * sysdeps/arm/armv7/strcmp.S: New file.
7756 * NEWS: Mention addition of ARMv7 optimized strcmp.
7757
7a1a51b5
RM
77582014-05-08 Roland McGrath <roland@hack.frob.com>
7759
95afbbe5
RM
7760 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7761 look for %.ac rather than %.in.
7762
7763 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7764 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7765 * sysdeps/mach/hurd/configure: Regenerated.
7766 * sysdeps/unix/sysv/linux/configure: Regenerated.
7767
7a1a51b5
RM
7768 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7769
5057ad3b
SE
77702014-05-07 Steve Ellcey <sellcey@mips.com>
7771
7772 [BZ# 16922]
7773 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7774 (LONG_SUB): Ditto.
7775 (PTR_SUB): Ditto.
7776
8dc97517
AS
77772014-05-07 Andreas Schwab <schwab@suse.de>
7778
7779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7780 when skipping over non-matching result from nscd.
7781
ce0c5b8f
OB
77822014-05-07 Ondřej Bílka <neleai@seznam.cz>
7783
7784 [BZ #16876]
7785 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7786
a1189263
OB
7787 [BZ #16877]
7788 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7789 nscd security class.
ce0c5b8f 7790
0f58d252
RM
77912014-05-06 Roland McGrath <roland@hack.frob.com>
7792
7793 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7794 * sysdeps/arm/unwind.h: ... here.
7795
83df9ad0
AJ
77962014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7797
ce0c5b8f
OB
7798 [BZ# 16916]
7799 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7800 Define.
83df9ad0 7801
f360f94a
VR
78022014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7803
7804 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7805 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7806 multiarch strncpy for PPC64.
7807 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7808 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7810 multiarch optimizations.
7811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7812 (__libc_ifunc_impl_list): Likewise.
7813 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7815 multiarch stpncpy for PPC64.
7816 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7817 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7818
978a41c3
AS
78192014-05-06 Andreas Schwab <schwab@suse.de>
7820
7821 [BZ #16912]
7822 * gmon/mcount.c (_MCOUNT_DECL): Use
7823 atomic_compare_and_exchange_bool_acq instead of
7824 catomic_compare_and_exchange_bool_acq.
7825
eb1ed03d
RM
78262014-05-05 Roland McGrath <roland@hack.frob.com>
7827
fe658845
RM
7828 * elf/Makefile (others, install-bin): Remove pldd.
7829 (pldd-modules): Variable removed.
7830 ($(objpfx)pldd): Target removed.
7831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7832 (others, install-bin): Append pldd here.
7833 ($(objpfx)pldd): New target.
7834
eb1ed03d
RM
7835 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7836 to 0, so the first #if test emitted later doesn't see it undefined.
7837 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7838 * sysdeps/gnu/errlist.c: Regenerated.
7839
19c4bec0
AZ
78402014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7841
7842 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7843 [libc_hidden_builtin_def]: Define to empty value.
7844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7845 [libc_hidden_builtin_def]: Likewise.
7846 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7847 [libc_hidden_builtin_def]: Likewise.
7848 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7849 [libc_hidden_builtin_def]: Likewise.
7850 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7851 __redirect_memcpy and define ifunc as default hidden symbol.
7852 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7853 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7854
7776e669
AC
78552014-05-04 Adam Conrad <adconrad@0c3.net>
7856
7857 * locale/iso-4217.def: Reintroduce XDR currency.
7858
d69aeb12
AM
78592014-05-04 Allan McRae <allan@archlinux.org>
7860
7861 * po/eo.po: Update Esperanto translation from translation project.
7862
8f1df5cf
CD
78632014-05-02 Carlos O'Donell <carlos@redhat.com>
7864
7865 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7866 and FEATURE_INDEX_MAX to 1.
7867 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7868
13e402e7
SE
78692014-05-01 Steve Ellcey <sellcey@mips.com>
7870
7871 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7872 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7873 * iconvdata/big5.c (ONE_DIRECTION): Define.
7874 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7875 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7876 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7877 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7878 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7879 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7880 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7881 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7882 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7883 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7884 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7885 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7886 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7887 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7888 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7889 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7890 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7891 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7892 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7893 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7894 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7895 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7896 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7897 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7898 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7899 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7900 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7901 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7902 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7903 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7904 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7905 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7906 * iconvdata/johab.c (ONE_DIRECTION): Define.
7907 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7908 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7909 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7910 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7911 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7912 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7913 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7914 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7915 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7916 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7917
c727f032
RM
79182014-05-01 Roland McGrath <roland@hack.frob.com>
7919
8f2f08d0
RM
7920 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7921 (_IO_JUMPS_OFFSET): Define to 0.
7922
c727f032
RM
7923 * nptl/sysdeps/pthread/bits/libc-lock.h
7924 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7925 (__libc_lock_define_initialized_recursive): Always define using
7926 initializer. Modern compilers treat uninitialized (implicit zero) and
7927 explicit zero initializers the same (i.e. put the datum in bss).
7928
a849e800
AS
79292014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * nscd/nscd-client.h: Include <string.h>.
7932
5331255b
DM
79332014-05-01 David S. Miller <davem@davemloft.net>
7934
7935 [BZ #16885]
7936 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7937 multiple zero bytes exist at the end of a string.
7938 Reported by Aurelien Jarno <aurelien@aurel32.net>
7939
7940 * string/test-strcmp.c (check): Add explicit test for situations where
7941 there are multiple zero bytes after the first.
7942
4fdfe821
AS
79432014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7944
7945 [BZ #16890]
7946 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7947 when compiling wprintf.
7948 * stdio-common/tstdiomisc.c (t3): New function.
7949 (main): Call it.
7950
0cdddc25
SE
79512014-05-01 Steve Ellcey <sellcey@mips.com>
7952
7953 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7954 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7955 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7956 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7957
6426d77e
SE
79582014-05-01 Steve Ellcey <sellcey@mips.com>
7959
7960 * stdlib/longlong.h: Updated from GCC.
7961
6d96f5e4
WN
79622014-05-01 Will Newton <will.newton@linaro.org>
7963 Bernard Ogden <bernie.ogden@linaro.org>
7964
7470db0c
WN
7965 * NEWS: Update fixed bug list.
7966
6d96f5e4
WN
7967 [BZ #15119]
7968 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7969
211d653c
DM
79702014-04-30 David S. Miller <davem@davemloft.net>
7971
4fa262fa
DM
7972 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7973 (libc_feholdexcept_setround_sparc_ctx): New function.
7974 (libc_fesetenv_sparc_ctx): Likewise.
7975 (libc_feupdateenv_sparc_ctx): Likewise.
7976 (libc_feholdsetround_sparc_ctx): Likewise.
7977 (libc_feholdexcept_setround_ctx): Define.
7978 (libc_feholdexcept_setroundf_ctx): Likewise.
7979 (libc_feholdexcept_setroundl_ctx): Likewise.
7980 (libc_fesetenv_ctx): Likewise.
7981 (libc_fesetenvf_ctx): Likewise.
7982 (libc_fesetenvl_ctx): Likewise.
7983 (libc_feupdateenv_ctx): Likewise.
7984 (libc_feupdateenvf_ctx): Likewise.
7985 (libc_feupdateenvl_ctx): Likewise.
7986 (libc_feresetround_ctx): Likewise.
7987 (libc_feresetroundf_ctx): Likewise.
7988 (libc_feresetroundl_ctx): Likewise.
7989 (libc_feholdsetround_ctx): Likewise.
7990 (libc_feholdsetroundf_ctx): Likewise.
7991 (libc_feholdsetroundl_ctx): Likewise.
7992
1d3d93ef
DM
7993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7994 with __USE_GNU instead of XOPEN cpp guards.
7995
8aa583c3
DM
7996 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7997 0.
7998
211d653c
DM
7999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8000 with XOPEN cpp guards.
8001
60c8f1f6
JB
80022014-04-30 Julian Brown <julian@codesourcery.com>
8003
8004 [BZ #16888]
8005 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8006 handling.
8007
9a461d46
JM
80082014-04-30 Joseph Myers <joseph@codesourcery.com>
8009
d0f5b3f8
JM
8010 [BZ #9894]
8011 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8012 Change to 2.6.32.
8013 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8014 * sysdeps/unix/sysv/linux/configure: Regenerated.
8015 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8016 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8017 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8018 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8019 * README: Update reference to required Linux kernel version.
8020 * manual/install.texi (Linux): Update reference to required Linux
8021 kernel headers version.
8022 * INSTALL: Regenerated.
8023
9a461d46
JM
8024 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8025 header inclusion.
8026 [POSIX] (limits.h): Likewise.
8027 [POSIX] (math.h): Likewise.
8028 [POSIX] (sys/wait.h): Likewise.
8029 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8030 function.
8031 [POSIX] (stddef.h): Do not allow header inclusion.
8032
1775babf
AZ
80332014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034
57f41c40 8035 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8036
8f630cca
YY
80372014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8038
8039 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8040 Return immediately after lll_futex_wake.
8041
1cdeb237
SP
80422014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8043
bc8f194c
SP
8044 [BZ #16791]
8045 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8046 structure.
8047 (datahead_init_pos): Call datahead_init_common early.
8048 (datahead_init_neg): Likewise.
8049
1cdeb237
SP
8050 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8051 datahead_init_neg): New functions.
8052 * nscd/aicache.c (addhstaiX): Use them.
8053 * nscd/grpcache.c (cache_addgr): Likewise.
8054 * nscd/hstcache.c (cache_addhst): Likewise.
8055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8056 * nscd/netgroupcache.c (do_notfound): Likewise.
8057 (addgetnetgrentX): Likewise.
8058 (addinnetgrX): Likewise.
8059 * nscd/pwdcache.c (cache_addpw): Likewise.
8060 * nscd/servicescache.c (cache_addserv): Likewise.
8061
16b293a7
SP
80622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8063 Atsushi Onoe <atsushi@onoe.org>
8064
8065 [BZ #14308]
8066 [BZ #12994]
8067 [BZ #13651]
8068 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8069 one response is valid.
8070 * resolv/res_send.c (send_dg): Check for validity of other
8071 response if the current response is a referral.
8072
a28a9b94
SE
80732014-04-29 Steve Ellcey <sellcey@mips.com>
8074
8075 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8076
2ca180e9
SL
80772014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8078
8079 [BZ #16823]
8080 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8081 Always divide by positive zero when computing -Inf result.
8082 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8083 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8084
18f2945a
AZ
80852014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8086
8087 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8088 FPSCR if value do not change.
8089 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8091 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8093 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8094 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8095 function.
8096
5abebba4
CD
80972014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8098
8099 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8100 * sysdeps/unix/sysv/linux/hppa: Move directory from
8101 ports/systeps/unix/sysv/linux/hppa.
8102 * README: Update listing for hppa-*-linux-gnu.
8103
f7ed60c2
OB
81042014-04-28 Ondřej Bílka <neleai@seznam.cz>
8105
fff763a5
OB
8106 [BZ #16754]
8107 * manual/stdio.texi (Hook functions): Fix types of stream hook
8108 functions.
f7ed60c2
OB
8109 [BZ #16854]
8110 * socket/sys/socket.h: Fix typo in comment.
8111
df639d73
WD
81122014-04-28 Wilco <wdijkstr@arm.com>
8113
f7ed60c2 8114 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8115 * sysdeps/arm/math_private.h: New file.
8116 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8117
48332d82
L
81182014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8119
8120 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8121 with __int128_t.
8122 (La_x86_64_retval): Likewise.
8123
e5e0d9a4
IB
81242014-04-24 Ian Bolton <ian.bolton@arm.com>
8125
8126 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8127 fpsr if value didn't change.
8128 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8129 to fpcr if value didn't change.
8130 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8131 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8132 fpsr or fpcr if value didn't change.
8133 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8134 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8135 fpcr if value didn't change.
8136 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8137 to fpsr if value didn't change.
8138
bacc75f7
SP
81392014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
8141 * nptl/tst-sem3.c: Use test-skeleton.c
8142 (main): Rename to do_test. Use return instead of
8143 exit.
8144 * nptl/tst-sem4.c: Use test-skeleton.c
8145 (main): Rename to do_test.
8146
a059d359
DM
81472014-04-22 David S. Miller <davem@davemloft.net>
8148
8149 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8150 (struct sigaction): New struct member __glibc_reserved0, change
8151 type of sa_flags to int.
8152
ea6c92f3
YZ
81532014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8154
8155 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8156 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8157
766c4a36
SP
81582014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
8160 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8161 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8162
140cc7ab
VK
81632014-04-22 Will Newton <will.newton@linaro.org>
8164 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8165
8166 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8167 (__longjmp): Add longjmp and longjmp_target SystemTap
8168 probes.
8169 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8170 (__sigsetjmp): Add setjmp SystemTap probe.
8171
c54e5cf7
CD
81722014-04-17 Carlos O'Donell <carlos@redhat.com>
8173
8174 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8175 match manual order.
8176
75ffb047
AZ
81772014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8178
8179 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8180
2cd925f7
AZ
8181 * sysdeps/powerpc/fpu/fenv_private.h
8182 (libc_feholdexcept_setroundl_ctx): Define to
8183 libc_feholdexcept_setround_ppc_ctx.
8184 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8185 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8186 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8187 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8188
39e6cd8d
IB
81892014-04-17 Ian Bolton <ian.bolton@arm.com>
8190
8191 * sysdeps/aarch64/math-tests.h: New file.
8192
f9281df9
SY
81932014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8194
8195 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8196 New.
8197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8198 Check and set bit_AVX2_Usable.
8199 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8200 macro.
8201 (bit_AVX2): Likewise.
8202 (index_AVX2_Usable): Likewise.
8203 (CPUID_AVX2): Likewise.
8204 (HAS_AVX2): Likewise.
8205
37d35007
WN
82062014-04-17 Will Newton <will.newton@linaro.org>
8207
7c677662
WN
8208 * manual/setjmp.texi (System V contexts): Add note that
8209 calling setcontext on a context created by a call to a
8210 signal handler is undefined. Update text to note that
8211 setcontext from a signal handler is possible but not
8212 recommended.
8213
37d35007 8214 [BZ #16629]
e04a4e9d
WN
8215 * stdlib/tst-setcontext.c: Include signal.h.
8216 (main): Check that the signal stack before and
8217 after swapcontext is the same.
8218
37d35007
WN
8219 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8220 Re-implement to restore registers in user code and avoid
8221 rt_sigreturn system call.
8222
423a7160
W
82232014-04-17 Wilco <wdijkstr@arm.com>
8224
8225 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8226 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8227 * math/test-fenv.c: Skip exception trap tests on targets which only
8228 support non-stop mode.
8229
bc93ab29
IB
82302014-04-17 Ian Bolton <ian.bolton@arm.com>
8231 Wilco Dijkstra <wilco.dijkstra@arm.com>
8232
8233 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8234 (libc_feholdsetround_aarch64_ctx)
8235 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8236 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8237 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8238 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8239 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8240 (libc_feresetround_noexl_ctx): Define.
8241
95fc5fa3
RH
82422014-04-16 Richard Henderson <rth@redhat.com>
8243
ddb04724
RH
8244 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8245
d77c0899
RH
8246 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8247 unwind tables.
8248
a3df56fc
RH
8249 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8250 const from the non-libc, non-ldso copy.
8251
95fc5fa3
RH
8252 * sysdeps/alpha/libm-test-ulps: Regenerate.
8253
7e0b6763
IB
82542014-04-16 Ian Bolton <ian.bolton@arm.com>
8255 Wilco Dijkstra <wilco.dijkstra@arm.com>
8256
8257 * sysdeps/aarch64/fpu/math_private.h: New file.
8258
a9ea2e0c
MS
82592014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8260
8261 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8262
ea8ba7cd
IZ
82632014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8264
7e54fd04 8265 [BZ #16275]
ea8ba7cd
IZ
8266 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8267 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8269 Intel MPX bound registers before _dl_profile_fixup.
8270 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8271 registers after _dl_profile_fixup. Save and restore bound
8272 registers bnd0/bnd1 when calling _dl_call_pltexit.
8273 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8274 (LR_BND_OFFSET): Likewise.
8275 (LRV_BND0_OFFSET): Likewise.
8276 (LRV_BND1_OFFSET): Likewise.
8277
9f2a4fbc
ST
82782014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8279
8280 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8281 to...
8282 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8283 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8284 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8285 fields.
9f2a4fbc 8286
fd15a59b
ST
82872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8288
8289 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8290
f19dfa0a
SL
82912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8292
8293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8294
4fa8bc3b
SL
82952014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8296
8297 [BZ #14770]
8298 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8299 * sysdeps/s390/configure: Regenerate.
8300
8ea587db
SL
8301 [BZ #16824]
8302 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8303 Set round-to-nearest internally to reduce error accumulation.
8304
aa5f0ff1
AM
83052014-04-16 Alan Modra <amodra@gmail.com>
8306
8307 [BZ #16740]
8308 [BZ #16619]
8309 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8310 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8311 * NEWS: Update fixed bug list.
aa5f0ff1 8312
bb9c256f
SP
83132014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8314
8315 * benchtests/Makefile: Depend on libraries in build directory.
8316 (bench-math): Separate out math tests.
8317 (bench-pthread): Separate out pthread tests.
8318 (bench): Include math and pthread tests.
8319
f737dfd0
CD
83202014-04-14 Carlos O'Donell <carlos@redhat.com>
8321
8322 [BZ #16831]
8323 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8324 _dl_debug_initialize.
8325
0699f766
CD
8326 * configure.ac: Remove SELinux header check.
8327 * configure: Regenerate.
8328 * nscd/selinux.c (perms): Array of const char* to permission names.
8329 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8330 default policy. Call string_to_security_class and string_to_av_perm to
8331 translate strings. Enforce default policy and call avs_has_perm with
8332 results of translated strings.
8333
809bd45f
DM
83342014-04-13 David S. Miller <davem@davemloft.net>
8335
8336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8337
89e691f2
AM
83382014-04-12 Allan McRae <allan@archlinux.org>
8339
8340 [BZ #16838]
8341 * manual/string.texi (Collation Functions): Fix qsort argument
8342 order in example.
8343 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8344
9c9daaeb
CM
83452014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8346
8347 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8348 Make the test a no-op if there are no exceptions defined.
8349
95561fb9
PP
83502014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8351
fe8d072c 8352 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8353 enable-hardcoded-path-in-tests
8354
970c602a
WN
83552014-04-11 Will Newton <will.newton@linaro.org>
8356
8357 * benchtests/Makefile (extra-objs): Add json-lib.o.
8358 (bench-func): Tidy up JSON output.
8359 * benchtests/bench-skeleton.c: Include json-lib.h.
8360 (main): Use JSON library functions to do output of
8361 benchmark results.
8362 * benchtests/bench-timing-type.c (main): Output the
8363 timing type simply, leaving formatting to the user.
8364 * benchtests/json-lib.c: New file.
8365 * benchtests/json-lib.h: Likewise.
8366
36875b06
TR
83672014-04-11 Torvald Riegel <triegel@redhat.com>
8368
8369 [BZ #15215]
8370 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8371 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8372 memory barriers. Add comments.
8373 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8374 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8375 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8376 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8377 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8378 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8379
579db35a
SL
83802014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8381
8382 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8383 * sysdeps/s390/s390-64/configure.ac: ... this ...
8384 * sysdeps/s390/configure.ac: ... to here.
8385 * sysdeps/s390/s390-32/configure: Delete file.
8386 * sysdeps/s390/s390-64/configure: Delete file.
8387 * sysdeps/s390/configure: Regenerate.
8388
c12e9f37
JAPH
83892014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8390
8391 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8392
439bda32
WN
83932014-04-11 Will Newton <will.newton@linaro.org>
8394
8395 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8396 to zero if it is not defined elsewhere. (mtrim): Test
8397 the value of MALLOC_DEBUG with #if rather than #ifdef.
8398
6a5d6ea1
TR
83992014-04-10 Torvald Riegel <triegel@redhat.com>
8400
8401 * benchtests/pthread_once-inputs: New file.
8402 * benchtests/pthread_once-source.c: New file.
8403 * benchtests/README: Update documentation.
8404
a4c75cfd
IZ
84052014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8406 H.J. Lu <hongjiu.lu@intel.com>
8407
7e54fd04 8408 [BZ #16275]
a4c75cfd
IZ
8409 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8410 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8411 * sysdeps/x86_64/configure: Regenerated.
8412 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8413 macro.
8414 (REGISTER_SAVE_RAX): Likewise.
8415 (REGISTER_SAVE_RCX): Likewise.
8416 (REGISTER_SAVE_RDX): Likewise.
8417 (REGISTER_SAVE_RSI): Likewise.
8418 (REGISTER_SAVE_RDI): Likewise.
8419 (REGISTER_SAVE_R8): Likewise.
8420 (REGISTER_SAVE_R9): Likewise.
8421 (REGISTER_SAVE_BND0): Likewise.
8422 (REGISTER_SAVE_BND1): Likewise.
8423 (REGISTER_SAVE_BND2): Likewise.
8424 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8425 bound registers when calling _dl_fixup.
8426
27822ce6
AZ
84272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428
8429 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8430 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8431 of its definition.
27822ce6
AZ
8432 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8433 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8434 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8435 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8436 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8437 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8438 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8439
a88ddc90
PTB
84402014-04-09 Peter Brett <peter@peter-b.co.uk>
8441
8442 [BZ #15514]
8443 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8444 pathconf(_PC_NAME_MAX).
8445
01f8eac2
AZ
84462014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8447
8448 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8449 Remove macro usage.
8450 (__PTHREAD_SPINS): Move definition to ...
8451 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8452 (__PTHREAD_SPINS): ... here.
8453 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8454 (__PTHREAD_SPIN): Likewise.
8455 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8456 (__PTHREAD_SPIN): Likewise.
8457 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8458 (__PTHREAD_SPIN): Likewise.
8459 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8460 (__PTHREAD_SPIN): Likewise.
8461 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8462 (__PTHREAD_SPIN): Likewise.
8463 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8464 (__PTHREAD_SPIN): Likewise.
8465 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8466 (__PTHREAD_SPIN): Likewise.
8467 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8468 (__PTHREAD_SPIN): Likewise.
8469 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8470 (__PTHREAD_SPIN): Likewise.
8471 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8472 (__PTHREAD_SPIN): Likewise.
8473 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8474 (__PTHREAD_SPIN): Likewise.
8475 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8476 (__PTHREAD_SPIN): Likewise.
8477
de21c33c
AZ
8478 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8479 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8480 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8481 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8482 imply folder.
8483 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8484 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8485 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8486 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8487 correct imply path.
8488 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8489 strlen symbol for non multi-arch builds.
8490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8491 missing hidden_def and weak_alias.
8492
862c472e
CD
84932014-04-08 Carlos O'Donell <carlos@redhat.com>
8494
8495 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8496
8667f90e
WN
84972014-04-07 Will Newton <will.newton@linaro.org>
8498
8499 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8500 and contents. [!_LIBC] Remove #ifndef and contents.
8501 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8502 * string/memccpy.c (__memccpy): Use ANSI prototype.
8503 * string/memfrob.c (memfrob): Likewise.
8504 * string/strcoll.c (STRCOLL): Likewise.
8505 * string/strlen.c (strlen): Likewise.
8506 * string/strtok.c (STRTOK): Likewise.
8507 * string/strcat.c: Remove unused #include of memcopy.h.
8508 (strcat): Use ANSI prototype.
8509 * string/strchr.c: Remove unused #include of memcopy.h.
8510 (strchr): Use ANSI prototype.
8511 * string/strcmp.c: Remove unused #include of memcopy.h.
8512 (strcmp): Use ANSI prototype.
8513 * string/strcpy.c: Remove unused #include of memcopy.h.
8514 (strcpy): Use ANSI prototype.
8515
7ffa9423
AZ
85162014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8517
8518 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8519 * config.make.in (config-extra-cppflags): Set it from
8520 libc_extra_cppflags.
8521 * configure.ac (libc_extra_cflags): Make it accumulate over
8522 configure fragments.
8523 (libc_extra_cppflags): New flag.
8524 * configure. Regenerate.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8526 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8527 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8529
8bd70862
AZ
8530 [BZ #16815]
8531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8532 result for FE_DOWNWARD rounding mode.
8533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8534 Likewise.
8535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8536
d42f3448
CM
85372014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8538
8539 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8540 in function argument name.
8541
1c21d115
DS
85422014-04-03 David Svoboda <svoboda@cert.org>
8543
8544 [BZ #5666]
8545 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8546 explicitly.
8547
fcccd512
RM
85482014-04-03 Roland McGrath <roland@hack.frob.com>
8549
8550 * elf/dl-unmap-segments.h: New file.
8551 * sysdeps/generic/ldsodefs.h
8552 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8553 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8554 * elf/dl-fptr.c: Likewise.
8555 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8556 * sysdeps/aarch64/tlsdesc.c: Likewise.
8557 * sysdeps/arm/tlsdesc.c: Likewise.
8558 * sysdeps/i386/tlsdesc.c: Likewise.
8559 * sysdeps/tile/dl-runtime.c: Likewise.
8560 * sysdeps/x86_64/tlsdesc.c: Likewise.
8561 * elf/dl-load.h: New file.
8562 * elf/dl-load.c: Include it.
8563 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8564 Macros moved to dl-load.h.
8565 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8566 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8567 Use _dl_unmap_segments in place of __munmap.
8568 Break out segment-mapping loop into ...
8569 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8570
f6488e2b
WN
85712014-04-03 Will Newton <will.newton@linaro.org>
8572
8573 * elf/dl-lookup.c (do_lookup_x): Remove comment
8574 referring to nested function and move variable
8575 declarations down to before first use.
8576
6f05bafe
JM
85772014-04-02 Joseph Myers <joseph@codesourcery.com>
8578
a84e78c8
JM
8579 [BZ #16799]
8580 [BZ #16800]
8581 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8582 with 0 numerator.
8583 * math/s_catanf.c (__catanf): Likewise.
8584 * math/s_catanh.c (__catanh): Likewise.
8585 * math/s_catanhf.c (__catanhf): Likewise.
8586 * math/s_catanhl.c (__catanhl): Likewise.
8587 * math/s_catanl.c (__catanl): Likewise.
8588 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8589 by positive zero when computing -Inf result.
8590 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8591 (catanh_test): Likewise.
8592 * sysdeps/i386/fpu/libm-test-ulps: Update.
8593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8594
6f05bafe
JM
8595 [BZ #16789]
8596 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8597 instead of using underflowing value in computing result.
8598 * math/s_clog10.c (__clog10): Likewise.
8599 * math/s_clog10f.c (__clog10f): Likewise.
8600 * math/s_clog10l.c (__clog10l): Likewise.
8601 * math/s_clogf.c (__clogf): Likewise.
8602 * math/s_clogl.c (__clogl): Likewise.
8603 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8604 (clog10_test): Likewise.
8605 * sysdeps/i386/fpu/libm-test-ulps: Update.
8606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8607
b0abbc21
AM
86082014-04-02 Alan Modra <amodra@gmail.com>
8609
8610 [BZ #16739]
8611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8612 output when value is near a power of two. Use int64_t for lx and
8613 remove casts. Use decimal rather than hex exponent constants.
8614 Don't use long double multiplication when double will suffice.
8615 * math/libm-test.inc (nextafter_test_data): Add tests.
8616 * NEWS: Add 16739 and 16786 to bug list.
8617
af6b1797
AM
8618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8619
483818d7
AM
8620 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8621
f6c55796
WN
86222014-04-01 Will Newton <will.newton@linaro.org>
8623
8624 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8625 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8626
13f7fe35
FW
86272014-04-01 Florian Weimer <fweimer@redhat.com>
8628
8629 [BZ #13347]
8630 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8631 * nptl/tst-setuid2.c: New file.
8632 * nptl/Makefile (xtests): Add tst-setuid2.
8633
c859b32e
AM
86342014-04-01 Alan Modra <amodra@gmail.com>
8635
8636 [BZ #16786]
8637 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8638
54fa2475
JM
86392014-03-31 Joseph Myers <joseph@codesourcery.com>
8640
8795b4a4
JM
8641 [BZ #6803]
8642 [BZ #6804]
8643 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8644 set errno as appropriate.
8645 * math/w_scalbf.c (__scalbf): Likewise.
8646 * math/w_scalbl.c (__scalbl): Likewise.
8647 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8648 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8649 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8650 Add more NaN tests.
8651
54fa2475
JM
8652 [BZ #16349]
8653 * math/w_atan2.c: Include <errno.h>.
8654 (__atan2): Set errno for result underflowing to zero.
8655 * math/w_atan2f.c: Include <errno.h>.
8656 (__atan2f): Set errno for result underflowing to zero.
8657 * math/w_atan2l.c: Include <errno.h>.
8658 (__atan2l): Set errno for result underflowing to zero.
8659 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8660 tests.
8661 * math/auto-libm-test-out: Regenerated.
8662
757d9dd5
AZ
86632014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8664
8665 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8666 Encode instruction correctly in little endian.
8667 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8668 Likewise.
8669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8670 Likewise.
8671 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8672 Likewise.
8673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8674 Likewise.
8675
d7a68734
JM
86762014-03-31 Joseph Myers <joseph@codesourcery.com>
8677
47c5adeb
JM
8678 [BZ #9894]
8679 * sysdeps/unix/sysv/linux/kernel-features.h
8680 [__sparc__ && !__arch64__ && !__sparc_v9__]
8681 (__ASSUME_SET_ROBUST_LIST): Do not define.
8682 [__sparc__ && !__arch64__ && !__sparc_v9__]
8683 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8684 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8685 Likewise.
8686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8687 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8688 (__ASSUME_REQUEUE_PI): Likewise.
8689 (__ASSUME_SET_ROBUST_LIST): Likewise.
8690 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8691 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8692 Undefine.
8693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8694 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8695 Likewise.
8696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8697 Likewise.
8698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8699 Likewise.
8700 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8701 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8702 Undefine.
8703 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8704 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8705 Likewise.
8706
d7a68734
JM
8707 [BZ #16648]
8708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8710 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8711
c760f5c2
WN
87122014-03-31 Will Newton <will.newton@linaro.org>
8713
8714 * benchtests/Makefile (bench): Add ffs and ffsll to list
8715 of tests.
8716 * benchtests/ffs-inputs: New file.
8717 * benchtests/ffsll-inputs: Likewise.
8718
ea6029b1
JM
87192014-03-29 Joseph Myers <joseph@codesourcery.com>
8720
8721 [BZ #16770]
8722 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8723 too large before casting to int.
8724 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8725 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8726 * math/libm-test.inc (scalb_test_data): Add more tests.
8727
cf806aff
SP
87282014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8729
56737508
SP
8730 * benchtests/Makefile (DETAILED_OPT): New make option.
8731 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8732 set.
8733 * benchtests/bench-skeleton.c: Include stdbool.h.
8734 (main): Store and print timings per input.
8735 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8736 member to each argument value.
8737 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8738 (_print_arg_data): Initialize per-input timing to 0.
8739
cb5e4aad
SP
8740 * benchtests/Makefile (timing-type): New binary.
8741 (bench-clean): Also remove bench-timing-type.
8742 (bench): New target for timing-type.
8743 (bench-func): Print output in JSON format.
8744 * benchtests/bench-skeleton.c (main): Print output in JSON
8745 format.
8746 * benchtests/bench-timing-type.c: New file.
8747 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8748 (TIMING_PRINT_STATS): Remove.
8749 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8750 name separately.
8751
cf806aff
SP
8752 * benchtests/bench-modf.c: Remove.
8753 * benchtests/modf-inputs: New inputs file.
8754
289e0779
JM
87552014-03-28 Joseph Myers <joseph@codesourcery.com>
8756
8757 [BZ #16362]
8758 * math/s_clog10.c (M_PI_LOG10E): New macro.
8759 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8760 imaginary parts are 0.
8761 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8762 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8763 imaginary parts are 0.
8764 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8765 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8766 imaginary parts are 0.
8767 * math/libm-test.inc (clog10_test_data): Update expected results
8768 for when real and imaginary parts are 0.
8769
277ae3f1
PP
87702014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8771
8772 * elf/dl-load.c: Finish conversion of __builtin_expect into
8773 __glibc_{un}likely.
8774
03a7091f
JM
87752014-03-27 Joseph Myers <joseph@codesourcery.com>
8776
8777 [BZ #16348]
8778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8779 1+x for argument with exponent below -67.
8780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8781 Likewise.
8782 * math/auto-libm-test-in: Add more tests of exp.
8783 * math/auto-libm-test-out: Regenerated.
8784
ea7d8b95
SP
87852014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8786
dd3022d7
SP
8787 [BZ #16759]
8788 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8789 (nscd_getnetgrent): Use it.
8790
ea7d8b95
SP
8791 [BZ #16760]
8792 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8793 of stpcpy.
8794
df5b85da
AK
87952014-03-27 Andi Kleen <ak@linux.intel.com>
8796
57f41c40
AS
8797 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8798 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8799 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8800 (lll_robust_unlock): Remove out of line section. Use cfi
8801 intrinsics.
df5b85da 8802 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8803 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8804 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8805 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8806 (lll_robust_unlock): Remove out of line section. Use cfi
8807 intrinsics.
df5b85da
AK
8808 (LLL_STUB_UNWIND_INFO*): Remove.
8809
fbd6b5a4
SP
88102014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
8812 [BZ #16758]
8813 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8814 blank values.
8815
1b26b855
PP
88162014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8817
8818 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8819
9be36fb8
JM
88202014-03-26 Joseph Myers <joseph@codesourcery.com>
8821
8822 [BZ #16198]
8823 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8824 fnstenv.
8825 * math/test-fenv-preserve.c: New file.
8826 * math/Makefile (tests): Add test-fenv-preserve.
8827
60a2f3c1
WN
88282014-03-26 Will Newton <will.newton@linaro.org>
8829
8830 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8831
a5e5f1e2
RM
88322014-03-25 Roland McGrath <roland@hack.frob.com>
8833
8834 * scripts/versionlist.awk: Partition the version sets and emit all
8835 GLIBC_* (sorted) before all others (sorted).
8836
00f4012a
JM
88372014-03-25 Joseph Myers <joseph@codesourcery.com>
8838
8839 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8840 GLIBC_2.2.5 version.
8841
7bc5a741
AZ
88422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843
8844 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8845 calls.
8846
7578473b
AZ
8847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8848 previous change.
8849
f3f1dab3
AZ
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8851
6da36183
AS
88522014-03-25 Andreas Schwab <schwab@suse.de>
8853
8854 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8855 label to be used after in6ailist is initialized.
8856
f3f1dab3 88572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8858
7578473b 8859 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8860 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8861
046651c1
JM
88622014-03-25 Joseph Myers <joseph@codesourcery.com>
8863
8864 [BZ #16357]
8865 [BZ #16599]
8866 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8867 min_plus_half.
8868 (fp_formats): Update initializers.
8869 (init_fp_formats): Initialize new field.
8870 (output_for_one_input_case): Allow underflow for results up to
8871 min_plus_half.
8872 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8873 * math/auto-libm-test-in: Don't mark some underflows from asin and
8874 atanh as spurious.
8875 * math/auto-libm-test-out: Regenerated.
8876 * sysdeps/i386/fpu/libm-test-ulps: Update.
8877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8878
003e49ed
AS
88792014-03-25 Andreas Schwab <schwab@suse.de>
8880
8881 * libio/Makefile (tst-ftell-partial-wide-ENV)
8882 (tst-ftell-active-handler-ENV): Define.
8883
de031874
SL
88842014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8885
8886 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8887
55a81e3b
PP
88882014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8889
8890 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8891
f3426898
JM
88922014-03-24 Joseph Myers <joseph@codesourcery.com>
8893
8894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8895 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8896 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8897
a42faf59
PP
88982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8899
8900 [BZ #16634]
a42faf59 8901 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8902 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8903 (open_path): Change from boolean 'secure' to complete flag 'mode'
8904 (_dl_map_object): Adjust.
a42faf59
PP
8905 * elf/Makefile (tests): Add tst-dlopen-aout.
8906 * elf/tst-dlopen-aout.c: New test.
8907
50936127
SL
89082014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8909
8910 [BZ #16714]
8911 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8912 (struct stat): Rename member pad0 to __glibc_reserved0.
8913
26011b5c
SL
8914 [BZ #16712]
8915 * sysdeps/s390/s390-32/bits/wordsize.h
8916 (__WORDSIZE32_SIZE_ULONG): New define.
8917 * sysdeps/s390/s390-64/bits/wordsize.h
8918 (__WORDSIZE32_SIZE_ULONG): Likewise.
8919 * sysdeps/generic/stdint.h (SIZE_MAX):
8920 Define as UL if __WORDSIZE32_SIZE_ULONG.
8921
a2d86bf1
SL
8922 [BZ #16713]
8923 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8924 (__glibc_reserved0): New variable.
8925 (sa_flags): Change type to int.
8926
78b6eebc
SL
8927 * posix/Makefile (before-compile): Use += before-compile instead
8928 of a :=.
8929
f1399b5a
SL
8930 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8931 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8932
a071766e
AS
89332014-03-20 Andreas Schwab <schwab@suse.de>
8934
8935 [BZ #16743]
8936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8937 non-matching result from nscd.
8938
27c673b8
SP
89392014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
8941 * scripts/bench.py: Moved to ...
8942 * benchtests/scripts/bench.py: ... here.
8943 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8944
44152e4b
AS
89452014-03-24 Andreas Schwab <schwab@suse.de>
8946
8947 [BZ #16002]
8948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8949 alloca_account and account alloca use for struct in6ailist.
8950
b376a11a
JM
89512014-03-24 Joseph Myers <joseph@codesourcery.com>
8952
8953 [BZ #16284]
8954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8955 rounding mode to recompute results that overflow to infinity or
8956 underflow to zero.
8957 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8958 bug 16284.
8959 * math/auto-libm-test-out: Regenerated.
8960 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8961 (ccosh_test): Likewise.
8962 (csin_test_data): Use plus_oflow.
8963 (csin_test): Use ALL_RM_TEST.
8964 (csinh_test_data): Use plus_oflow.
8965 (csinh_test): Use ALL_RM_TEST.
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8968
f7be7376
JM
89692014-03-21 Joseph Myers <joseph@codesourcery.com>
8970
1ca2d03e
JM
8971 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8972 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8973 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8974
f7be7376
JM
8975 [BZ #16731]
8976 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8977 when x - 1 is zero.
8978 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8979 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8980 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8982 argument is 1.
8983 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8984 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8985 zero.
8986 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8987 * sysdeps/i386/fpu/libm-test-ulps: Update.
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8989
fdf4534d
SP
89902014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8991
df26ea53
SP
8992 * scripts/bench.pl: Remove file.
8993 * scripts/bench.py: New benchmark script.
8994 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8995 * benchtests/README: Mention python dependency.
8996 * scripts/pylintrc: New file.
8997 * scripts/pylint: New file.
8998
fdf4534d
SP
8999 * bits/mathdef.h: Use #ifdef instead of #if.
9000 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9001 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9002 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9003 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9004 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9005 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9006
6f23d093
AZ
90072014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9008 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9009
9010 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9012 and strpbrk-ppc64 objects.
9013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9014 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9015 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9016 multiarch strpbrk for POWER7.
9017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9018 multiarch strpbrk for PPC64.
9019 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9020 ifunc selector.
9021 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9022 strpbrk for POWER7.
9023
8c92dfff
JM
90242014-03-20 Joseph Myers <joseph@codesourcery.com>
9025
9026 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9027 (atan_test): Likewise.
9028 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9029 (atanh_test): Use ALL_RM_TEST.
9030 (atan2_test_data): Likewise.
9031 (cabs_test): Likewise.
9032 (cacosh_test): Likewise.
9033 (carg_test): Likewise.
9034 (casin_test): Likewise.
9035 (casinh_test): Likewise.
9036 (cbrt_test): Likewise.
9037 (csqrt_test): Likewise.
9038 (erf_test): Likewise.
9039 (erfc_test): Likewise.
9040 (pow10_test): Likewise.
9041 (exp2_test): Likewise.
9042 (hypot_test): Likewise.
9043 (j0_test): Likewise.
9044 (j1_test): Likewise.
9045 (lgamma_test): Likewise.
9046 (gamma_test): Likewise.
9047 (sincos_test): Likewise.
9048 (tanh_test): Likewise.
9049 (y0_test): Likewise.
9050 (y1_test): Likewise.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update.
9052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053
6eaf95cb
AZ
90542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055
a387428c
SP
9056 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9058 and strcspn-ppc64 objects.
9059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9060 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9061 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9062 multiarch strcspn for POWER7.
9063 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9064 multiarch strcspn for PPC64.
9065 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9066 ifunc selector.
9067 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9068 strcspn for POWER7.
9069
ae3a5dff
JM
90702014-03-20 Joseph Myers <joseph@codesourcery.com>
9071
9072 * math/gen-libm-test.pl (generate_testfile): Expect only function
9073 name as argument to AUTO_TESTS_* and pass results for all rounding
9074 modes to parse_args.
9075 (parse_auto_input): Separate inputs of automatic tests from
9076 outputs before storing in %auto_tests.
9077 * math/libm-test.inc (acos_test_data): Update call to
9078 AUTO_TESTS_f_f.
9079 (acos_test): Use ALL_RM_TEST.
9080 (acos_tonearest_test_data): Remove.
9081 (acos_test_tonearest): Likewise.
9082 (acos_towardzero_test_data): Likewise.
9083 (acos_test_towardzero): Likewise.
9084 (acos_downward_test_data): Likewise.
9085 (acos_test_downward): Likewise.
9086 (acos_upward_test_data): Likewise.
9087 (acos_test_upward): Likewise.
9088 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9089 (asin_test_data): Likewise.
9090 (asin_test): Use ALL_RM_TEST.
9091 (asin_tonearest_test_data): Remove.
9092 (asin_test_tonearest): Likewise.
9093 (asin_towardzero_test_data): Likewise.
9094 (asin_test_towardzero): Likewise.
9095 (asin_downward_test_data): Likewise.
9096 (asin_test_downward): Likewise.
9097 (asin_upward_test_data): Likewise.
9098 (asin_test_upward): Likewise.
9099 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9100 (atan_test_data): Likewise.
9101 (atanh_test_data): Likewise.
9102 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9103 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9104 (carg_test_data): Likewise.
9105 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9106 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9107 (ccosh_test_data): Likewise.
9108 (cexp_test_data): Likewise.
9109 (clog_test_data): Likewise.
9110 (clog10_test_data): Likewise.
9111 (cos_test_data): Update call to AUTO_TESTS_f_f.
9112 (cos_test): Use ALL_RM_TEST.
9113 (cos_tonearest_test_data): Remove.
9114 (cos_test_tonearest): Likewise.
9115 (cos_towardzero_test_data): Likewise.
9116 (cos_test_towardzero): Likewise.
9117 (cos_downward_test_data): Likewise.
9118 (cos_test_downward): Likewise.
9119 (cos_upward_test_data): Likewise.
9120 (cos_test_upward): Likewise.
9121 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9122 (cosh_test): Use ALL_RM_TEST.
9123 (cosh_tonearest_test_data): Remove.
9124 (cosh_test_tonearest): Likewise.
9125 (cosh_towardzero_test_data): Likewise.
9126 (cosh_test_towardzero): Likewise.
9127 (cosh_downward_test_data): Likewise.
9128 (cosh_test_downward): Likewise.
9129 (cosh_upward_test_data): Likewise.
9130 (cosh_test_upward): Likewise.
9131 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9132 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9133 (ctan_test_data): Likewise.
9134 (ctan_test): Use ALL_RM_TEST.
9135 (ctan_tonearest_test_data): Remove.
9136 (ctan_test_tonearest): Likewise.
9137 (ctan_towardzero_test_data): Likewise.
9138 (ctan_test_towardzero): Likewise.
9139 (ctan_downward_test_data): Likewise.
9140 (ctan_test_downward): Likewise.
9141 (ctan_upward_test_data): Likewise.
9142 (ctan_test_upward): Likewise.
9143 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9144 (ctanh_test): Use ALL_RM_TEST.
9145 (ctanh_tonearest_test_data): Remove.
9146 (ctanh_test_tonearest): Likewise.
9147 (ctanh_towardzero_test_data): Likewise.
9148 (ctanh_test_towardzero): Likewise.
9149 (ctanh_downward_test_data): Likewise.
9150 (ctanh_test_downward): Likewise.
9151 (ctanh_upward_test_data): Likewise.
9152 (ctanh_test_upward): Likewise.
9153 (erf_test_data): Update call to AUTO_TESTS_f_f.
9154 (erfc_test_data): Likewise.
9155 (exp_test_data): Likewise.
9156 (exp_test): Use ALL_RM_TEST.
9157 (exp_tonearest_test_data): Remove.
9158 (exp_test_tonearest): Likewise.
9159 (exp_towardzero_test_data): Likewise.
9160 (exp_test_towardzero): Likewise.
9161 (exp_downward_test_data): Likewise.
9162 (exp_test_downward): Likewise.
9163 (exp_upward_test_data): Likewise.
9164 (exp_test_upward): Likewise.
9165 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9166 (exp10_test): Use ALL_RM_TEST.
9167 (exp10_tonearest_test_data): Remove.
9168 (exp10_test_tonearest): Likewise.
9169 (exp10_towardzero_test_data): Likewise.
9170 (exp10_test_towardzero): Likewise.
9171 (exp10_downward_test_data): Likewise.
9172 (exp10_test_downward): Likewise.
9173 (exp10_upward_test_data): Likewise.
9174 (exp10_test_upward): Likewise.
9175 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9176 (expm1_test_data): Likewise.
9177 (expm1_test): Use ALL_RM_TEST.
9178 (expm1_tonearest_test_data): Remove.
9179 (expm1_test_tonearest): Likewise.
9180 (expm1_towardzero_test_data): Likewise.
9181 (expm1_test_towardzero): Likewise.
9182 (expm1_downward_test_data): Likewise.
9183 (expm1_test_downward): Likewise.
9184 (expm1_upward_test_data): Likewise.
9185 (expm1_test_upward): Likewise.
9186 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9187 (fma_test): Use ALL_RM_TEST.
9188 (fma_towardzero_test_data): Remove.
9189 (fma_test_towardzero): Likewise.
9190 (fma_downward_test_data): Likewise.
9191 (fma_test_downward): Likewise.
9192 (fma_upward_test_data): Likewise.
9193 (fma_test_upward): Likewise.
9194 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9195 (j0_test_data): Update call to AUTO_TESTS_f_f.
9196 (j1_test_data): Likewise.
9197 (jn_test_data): Update call to AUTO_TESTS_if_f.
9198 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9199 (log_test_data): Update call to AUTO_TESTS_f_f.
9200 (log10_test_data): Likewise.
9201 (log1p_test_data): Likewise.
9202 (log2_test_data): Likewise.
9203 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9204 (pow_tonearest_test_data): Likewise.
9205 (sin_test_data): Update call to AUTO_TESTS_f_f.
9206 (sin_test): Use ALL_RM_TEST.
9207 (sin_tonearest_test_data): Remove.
9208 (sin_test_tonearest): Likewise.
9209 (sin_towardzero_test_data): Likewise.
9210 (sin_test_towardzero): Likewise.
9211 (sin_downward_test_data): Likewise.
9212 (sin_test_downward): Likewise.
9213 (sin_upward_test_data): Likewise.
9214 (sin_test_upward): Likewise.
9215 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9216 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9217 (sinh_test): Use ALL_RM_TEST.
9218 (sinh_tonearest_test_data): Remove.
9219 (sinh_test_tonearest): Likewise.
9220 (sinh_towardzero_test_data): Likewise.
9221 (sinh_test_towardzero): Likewise.
9222 (sinh_downward_test_data): Likewise.
9223 (sinh_test_downward): Likewise.
9224 (sinh_upward_test_data): Likewise.
9225 (sinh_test_upward): Likewise.
9226 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9227 (sqrt_test): Use ALL_RM_TEST.
9228 (sqrt_tonearest_test_data): Remove.
9229 (sqrt_test_tonearest): Likewise.
9230 (sqrt_towardzero_test_data): Likewise.
9231 (sqrt_test_towardzero): Likewise.
9232 (sqrt_downward_test_data): Likewise.
9233 (sqrt_test_downward): Likewise.
9234 (sqrt_upward_test_data): Likewise.
9235 (sqrt_test_upward): Likewise.
9236 (tan_test_data): Update call to AUTO_TESTS_f_f.
9237 (tan_test): Use ALL_RM_TEST.
9238 (tan_tonearest_test_data): Remove.
9239 (tan_test_tonearest): Likewise.
9240 (tan_towardzero_test_data): Likewise.
9241 (tan_test_towardzero): Likewise.
9242 (tan_downward_test_data): Likewise.
9243 (tan_test_downward): Likewise.
9244 (tan_upward_test_data): Likewise.
9245 (tan_test_upward): Likewise.
9246 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9247 (tgamma_test_data): Likewise.
9248 (y0_test_data): Likewise.
9249 (y1_test_data): Likewise.
9250 (yn_test_data): Update call to AUTO_TESTS_if_f.
9251 (main): Do not call removed functions.
9252
d71aeee8
JM
92532014-03-19 Joseph Myers <joseph@codesourcery.com>
9254
9255 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9256 (ldexp_test_data): Remove.
9257 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9258 scalbn_test_data.
9259 (scalb_test): Use ALL_RM_TEST.
9260
baaf1ded
AS
92612014-03-19 Andreas Schwab <schwab@suse.de>
9262
9263 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9264
b1115e91
JM
92652014-03-19 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #16649]
9268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9269 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9270 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9272 (__ASSUME_PREADV): Undefine.
9273 (__ASSUME_PWRITEV): Likewise.
9274
0283ecca
RM
92752014-03-18 Roland McGrath <roland@hack.frob.com>
9276
7d375303
RM
9277 * bits/mman-linux.h: Add comment about non-Linux use.
9278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9279 bits/mman-linux.h resting place.
9280
0283ecca
RM
9281 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9282 * bits/mman-linux.h: ... here.
9283
aebe1003
AZ
92842014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9285
9286 * conform/conformtest.pl: Add standard definition when calling C
9287 preprocessor on data files.
9288 (checknamespace): Remove unused variable.
9289
b29b6bb8
JM
92902014-03-18 Joseph Myers <joseph@codesourcery.com>
9291
9292 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9293 minus_oflow, plus_uflow and minus_uflow in expected results.
9294 * math/libm-test.inc (scalbn_test_data): Add more tests of
9295 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9296 minus_uflow.
9297 (scalbn_test): Use ALL_RM_TEST.
9298 (scalbln_test_data): Add more tests of negative arguments. Use
9299 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9300 (scalbln_test): Use ALL_RM_TEST.
9301
c8f8fa15
RM
93022014-03-18 Roland McGrath <roland@hack.frob.com>
9303
9304 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9305
fede7a5f
WN
93062014-03-18 Will Newton <will.newton@linaro.org>
9307
9308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9309 inaccurate comment.
9310
80cf0a58
JM
93112014-03-18 Joseph Myers <joseph@codesourcery.com>
9312
9313 * Makerules [!subdir] (check-abi): Exit with error status if a
9314 test failed.
9315
b3620862
JM
93162014-03-17 Joseph Myers <joseph@codesourcery.com>
9317
9318 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9319 for rint. Include results for all rounding modes.
9320 (nearbyint_test): Use ALL_RM_TEST.
9321 (rint_test_data): Include all tests used for nearbyint.
9322
788bba36
WN
93232014-03-17 Will Newton <will.newton@linaro.org>
9324
04ec140a
WN
9325 * nptl/sysdeps/pthread/pthread.h: Revert previous
9326 change.
9327
7579d8d5
WN
9328 * sysdeps/generic/ldsodefs.h: Revert previous
9329 change.
9330
c15cf13a
WN
9331 * libio/genops.c: Revert previous change.
9332 * libio/libioP.h: Likewise.
9333 * stdio-common/vfprintf.c: Likewise.
9334
d0ac1324
WN
9335 * sysdeps/generic/math_private.h: Revert previous
9336 change.
9337
9290130a
WN
9338 * sysdeps/generic/math_private.h: Check whether
9339 HAVE_RM_CTX is defined with #ifdef rather
9340 than #if.
9341
afb466fc
WN
9342 * argp/argp-fmtstream.h: Check whether
9343 __STRICT_ANSI__ is defined with #ifdef rather
9344 than #if.
9345 * argp/argp.h: Likewise.
9346
f7efd7c3
WN
9347 * libio/genops.c: Check whether
9348 _IO_JUMPS_OFFSET is defined with #ifdef rather
9349 than #if.
9350 * libio/libioP.h: Likewise.
9351 * stdio-common/vfprintf.c: Likewise.
9352
53f1bed3
WN
9353 * sysdeps/generic/ldsodefs.h: Check whether
9354 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9355 than #if.
9356
788bba36
WN
9357 * nptl/sysdeps/pthread/pthread.h: Check
9358 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9359 its value.
9360
fcd89ebe
SP
93612014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9362
ae42bbc5
SP
9363 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9364 setting O_APPEND.
9365 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9366 test case.
9367
ea33158c
SP
9368 [BZ #16680]
9369 * libio/fileops.c (_IO_file_open): Seek to end of file but
9370 don't cache the offset.
9371 (get_file_offset): Remove function.
9372 (do_ftell): Use cached offset when available.
9373 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9374 don't cache the offset.
9375 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9376 case.
9377 (do_one_test): Call it.
9378 (do_ftell_test): Fix up expected old offset for a+ mode.
9379 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9380 available.
9381
b1dbb426
SP
9382 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9383 up test status with function return status.
9384 (do_write_test): Likewise.
9385 (do_append_test): Likewise.
9386
fcd89ebe
SP
9387 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9388 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9389 Remove.
9390
9962a2d3
JM
93912014-03-17 Joseph Myers <joseph@codesourcery.com>
9392
9393 * math/gen-libm-test.pl (parse_args): Handle results specified for
9394 each rounding mode separately.
9395 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9396 tests and results from lrint_tonearest_test_data,
9397 lrint_towardzero_test_data, lrint_downward_test_data and
9398 lrint_upward_test_data.
9399 (lrint_test): Use ALL_RM_TEST.
9400 (lrint_tonearest_test_data): Remove.
9401 (lrint_test_tonearest): Likewise.
9402 (lrint_towardzero_test_data): Likewise.
9403 (lrint_test_towardzero): Likewise.
9404 (lrint_downward_test_data): Likewise.
9405 (lrint_test_downward): Likewise.
9406 (lrint_upward_test_data): Likewise.
9407 (lrint_test_upward): Likewise.
9408 (llrint_test_data): Merge in per-rounding-mode tests and results
9409 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9410 llrint_downward_test_data and llrint_upward_test_data.
9411 (llrint_test): Use ALL_RM_TEST.
9412 (llrint_tonearest_test_data): Remove.
9413 (llrint_test_tonearest): Likewise.
9414 (llrint_towardzero_test_data): Likewise.
9415 (llrint_test_towardzero): Likewise.
9416 (llrint_downward_test_data): Likewise.
9417 (llrint_test_downward): Likewise.
9418 (llrint_upward_test_data): Likewise.
9419 (llrint_test_upward): Likewise.
9420 (rint_test_data): Merge in per-rounding-mode tests and results
9421 from rint_tonearest_test_data, rint_towardzero_test_data,
9422 rint_downward_test_data and rint_upward_test_data. Add
9423 per-rounding-mode results for tests not in those arrays.
9424 (rint_test): Use ALL_RM_TEST.
9425 (rint_tonearest_test_data): Remove.
9426 (rint_test_tonearest): Likewise.
9427 (rint_towardzero_test_data): Likewise.
9428 (rint_test_towardzero): Likewise.
9429 (rint_downward_test_data): Likewise.
9430 (rint_test_downward): Likewise.
9431 (rint_upward_test_data): Likewise.
9432 (rint_test_upward): Likewise.
9433 (main): Don't call removed functions.
9434
5006148e
RM
94352014-03-14 Roland McGrath <roland@hack.frob.com>
9436
9437 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9438 "Compiled on ..." crapola. It is anti-useful.
9439
d6fe5e58
JM
94402014-03-14 Joseph Myers <joseph@codesourcery.com>
9441
9442 * scripts/evaluate-test.sh: Handle fourth argument to determine
9443 whether test run should stop on failure.
9444 * Makeconfig (stop-on-test-failure): New variable.
9445 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9446 $(stop-on-test-failure).
9447 * Makefile (tests): Give a summary of results from testing and
9448 exit with failure status if they include an ERROR or FAIL.
9449 (xtests): Likewise.
9450 * manual/install.texi (Configuring and compiling): Mention
9451 stop-on-test-failure=y.
9452 * INSTALL: Regenerated.
9453
498a2233
RM
94542014-03-14 Roland McGrath <roland@hack.frob.com>
9455
22dbc19d
RM
9456 * scripts/versionlist.awk: New file.
9457 * Makerules [$(build-shared) = yes]
9458 (postclean-generated): Add Versions.def, not Versions.def.v and
9459 Versions.def.v.i.
9460 ($(common-objpfx)Versions.def.v.i): Target removed.
9461 ($(common-objpfx)Versions.def): New target.
9462 ($(common-objpfx)Versions.all): Depend on that rather that
9463 $(common-objpfx)Versions.def.v.
9464 * Versions.def: File removed.
9465
498a2233
RM
9466 * Makeconfig (+gccwarn): Add -Wundef.
9467 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9468 a dl-sysdep.h breaking its contract.
9469 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9470 * include/stackinfo.h: New file.
9471 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9472 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9473 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9474 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9475 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9476 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9477 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9478 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9479 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9480 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9481 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9482 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9483 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9484 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9485 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9486
c7de5025
AZ
94872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9488
9489 [BZ #16707]
9490 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9491 implementation.
9492 * math/libm-test.inc (round_test_data): Add more tests.
9493
98fb27a3
AZ
9494 [BZ #16706]
9495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9496 implementation.
9497 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9498
374f7f61
AZ
9499 [BZ #16701]
9500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9501 implementation.
9502 * math/libm-test.inc (ceil_test_data): Add more tests.
9503
4655c291
AZ
9504 * math/libm-test.inc (trunc_test_data): Add more tests related to
9505 BZ#16414.
9506
d7329d4b
RM
95072014-03-14 Roland McGrath <roland@hack.frob.com>
9508
9509 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9510 with #if rather than #ifdef.
9511 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9512
aa4de9ce
L
95132014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9516 first. Disable AVX-512 GCC support if assembler doesn't support
9517 it.
9518 * sysdeps/x86_64/configure: Regenerated.
9519
2e03fae7
CD
95202014-03-13 Carlos O'Donell <carlos@redhat.com>
9521
9522 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9523 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9524 (__old_pthread_attr_setstack): Likewise.
9525 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9526 [!_STACK_GROWS_DOWN]: Likewise.
9527
43ca83ec
MF
95282014-03-13 Mike Frysinger <vapier@gentoo.org>
9529
9530 * config.make.in (have-bash2): Delete.
9531 * configure.ac (libc_cv_have_bash2): Delete.
9532 * configure: Regenerate.
9533 * elf/Makefile (common-ldd-rewrite): Rename to ...
9534 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9535 (sh-ldd-rewrite): Delete.
9536 (bash-ldd-rewrite): Delete.
9537 (have-bash2): Delete checks.
57f41c40
AS
9538 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9539 ldd-rewrite.
c66e48b4
MF
9540
9541 * config.make.in (have-ksh): Delete.
9542 (KSH): Delete.
9543 * configure.ac (libc_cv_have_ksh): Delete.
9544 * configure: Regenerate.
9545
b93834ef
MF
9546 * elf/Makefile: Delete $(have-ksh) check.
9547 ($(objpfx)sotruss): Change KSH to BASH.
9548 * elf/sotruss.ksh: Rename to ...
9549 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9550 function style to match POSIX. Drop ksh vim mode setting.
9551
f3a4632a
MF
9552 * manual/time.texi (Specifying the Time Zone with TZ): Change
9553 Tuesday to Thursday.
9554
5896c8bd
MF
9555 * debug/tst-longjmp_chk2.c: Update header comment.
9556 (stackoverflow_handler): Add comment. Call assert on pass value.
9557
2d63a517
IZ
95582014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9559
7e54fd04 9560 [BZ #16194]
2d63a517
IZ
9561 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9562 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9563 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9564 (La_x86_64_vector): Add zmm.
9565 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9566 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9567 ($(objpfx)tst-audit10): New target.
9568 ($(objpfx)tst-audit10.out): Likewise.
9569 (tst-audit10-ENV): New.
9570 (AVX512-CFLAGS): Likewise.
9571 (CFLAGS-tst-audit10.c): Likewise.
9572 (CFLAGS-tst-auditmod10a.c): Likewise.
9573 (CFLAGS-tst-auditmod10b.c): Likewise.
9574 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9575 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9576 * sysdeps/x86_64/configure: Regenerated.
9577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9578 AVX-512 zmm register support.
9579 (_dl_x86_64_save_sse): Likewise.
9580 (_dl_x86_64_restore_sse): Likewise.
9581 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9582 size vector registers.
9583 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9584 (ZMM_SIZE): Likewise.
9585 * sysdeps/x86_64/tst-audit10.c: New file.
9586 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9587 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9588
44c4e5d5
RM
95892014-03-13 Roland McGrath <roland@hack.frob.com>
9590
9591 * configure.ac (HAVE_EHDR_START): New check.
9592 * configure: Regenerated.
9593 * config.h.in (HAVE_EHDR_START): New #undef.
9594 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9595 assuming the lowest-addressed segment maps the start of the file.
9596
acd6e389
JM
95972014-03-13 Joseph Myers <joseph@codesourcery.com>
9598
9599 * INSTALL: Regenerated.
9600
6f918f36
WN
96012014-03-13 Will Newton <will.newton@linaro.org>
9602
9603 * manual/setjmp.texi (System V contexts): Improve
9604 clarity and grammar of documentation.
9605
798212a0
PP
96062014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9607
9608 [BZ #16381]
798212a0 9609 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9610 (tests-pie): Add tst-pie2.
798212a0
PP
9611 * elf/tst-pie2.c: New file.
9612 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9613 for ET_EXEC.
9614 * elf/rtld.c (map_doit): Load executable as lt_executable.
9615 (dl_main): Likewise.
9616
abe6d90c
JM
96172014-03-12 Joseph Myers <joseph@codesourcery.com>
9618
9619 [BZ #16642]
9620 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9621 (__ASSUME_PSELECT): Undefine.
9622
dd3946c6
AZ
96232014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9624
9625 [BZ #16689]
9626 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9627 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9628 static build.
9629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9630 selector for static builds.
9631
c44496df
SP
96322014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
9634 [BZ #16695]
9635 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9636 key in the buffer.
9637
27c7220a
AZ
96382014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9639
57f41c40
AS
9640 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9641 IFUNC selector for static builds.
27c7220a 9642
600fa361
JM
96432014-03-11 Joseph Myers <joseph@codesourcery.com>
9644
76c96cf7
JM
9645 * sysdeps/mips/math_private.h [__mips_hard_float]
9646 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9647 libc_feresetround_mips_ctx.
9648 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9649 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9650 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9651
600fa361
JM
9652 [BZ #16677]
9653 * math/s_nextafter.c (__nextafter): Do not return value from
9654 overflowing computation.
9655 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9656 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9658 Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9660 Likewise.
9661 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9662 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9663
d7706c32
RM
96642014-03-11 Roland McGrath <roland@hack.frob.com>
9665
9666 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9667 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9668 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9669 the new mov targetting sp.
9670
4facea47
AZ
96712014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9672
9673 [BZ #16683]
9674 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9675 Define it for static builds as well.
9676 (NO_BZERO_IMPL): Likewise.
9677
e65caf1f
VR
96782014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9679
9680 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9681 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9682 multiarch strspn for PPC64.
9683 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9684 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9686 (__libc_ifunc_impl_list): Likewise.
9687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9688 multiarch optimizations
9689 * string/strspn.c (strspn): Using macro to redefine symbol name.
9690
ba9cc071
AZ
96912014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9692 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9693
9694 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9695 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9696 multiarch strncat for PPC64.
9697 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9698 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9700 (__libc_ifunc_impl_list): Likewise.
9701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9702 multiarch optimizations
9703
8b4ff974
SP
97042014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
9706 [BZ #16639]
9707 * nscd/nscd.service: Make service type forking.
9708
54b46a4b
AZ
97092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710
9711 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9712 sign in non default rounding modes.
9713 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9714
e9996ef7
JM
97152014-03-08 Joseph Myers <joseph@codesourcery.com>
9716
9717 * math/libm-test.inc (ALL_RM_TEST): New macro.
9718 (ceil_test): Use ALL_RM_TEST.
9719 (cimag_test): Likewise.
9720 (conj_test): Likewise.
9721 (copysign_test): Likewise.
9722 (cproj_test): Likewise.
9723 (creal_test): Likewise.
9724 (fabs_test): Likewise.
9725 (floor_test): Likewise.
9726 (fmax_test): Likewise.
9727 (fmin_test): Likewise.
9728 (fmod_test): Likewise.
9729 (fpclassify_test): Likewise.
9730 (frexp_test): Likewise.
9731 (ilogb_test): Likewise.
9732 (isfinite_test): Likewise.
9733 (finite_test): Likewise.
9734 (isgreater_test): Likewise.
9735 (isgreaterequal_test): Likewise.
9736 (isinf_test): Likewise.
9737 (isless_test): Likewise.
9738 (islessequal_test): Likewise.
9739 (islessgreater_test): Likewise.
9740 (isnan_test): Likewise.
9741 (isnormal_test): Likewise.
9742 (issignaling_test): Likewise.
9743 (isunordered_test): Likewise.
9744 (logb_test): Likewise.
9745 (logb_downward_test_data): Remove.
9746 (logb_test_downward): Likewise.
9747 (lround_test): Use ALL_RM_TEST.
9748 (llround_test): Likewise.
9749 (modf_test): Likewise.
9750 (nexttoward_test): Likewise.
9751 (remainder_test): Likewise.
9752 (drem_test): Likewise.
9753 (remainder_tonearest_test_data): Likewise.
9754 (remainder_test_tonearest): Likewise.
9755 (drem_test_tonearest): Likewise.
9756 (remainder_towardzero_test_data): Likewise.
9757 (remainder_test_towardzero): Likewise.
9758 (drem_test_towardzero): Likewise.
9759 (remainder_downward_test_data): Likewise.
9760 (remainder_test_downward): Likewise.
9761 (drem_test_downward): Likewise.
9762 (remainder_upward_test_data): Likewise.
9763 (remainder_test_upward): Likewise.
9764 (drem_test_upward): Likewise.
9765 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9766 (round_test): Use ALL_RM_TEST.
9767 (signbit_test): Likewise.
9768 (trunc_test): Likewise.
9769 (significand_test): Likewise.
9770 (main): Don't call removed functions.
9771
bc61d27c
JM
97722014-03-07 Joseph Myers <joseph@codesourcery.com>
9773
5c780849
JM
9774 [BZ #16674]
9775 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9776 || __USE_XOPEN2K8].
9777 (ILL_ILLOPN): Likewise.
9778 (ILL_ILLADR): Likewise.
9779 (ILL_ILLTRP): Likewise.
9780 (ILL_PRVOPC): Likewise.
9781 (ILL_PRVREG): Likewise.
9782 (ILL_COPROC): Likewise.
9783 (ILL_BADSTK): Likewise.
9784 (FPE_INTDIV): Likewise.
9785 (FPE_INTOVF): Likewise.
9786 (FPE_FLTDIV): Likewise.
9787 (FPE_FLTOVF): Likewise.
9788 (FPE_FLTUND): Likewise.
9789 (FPE_FLTRES): Likewise.
9790 (FPE_FLTINV): Likewise.
9791 (FPE_FLTSUB): Likewise.
9792 (SEGV_MAPERR): Likewise.
9793 (SEGV_ACCERR): Likewise.
9794 (BUS_ADRALN): Likewise.
9795 (BUS_ADRERR): Likewise.
9796 (BUS_OBJERR): Likewise.
9797 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9798 (TRAP_TRACE): Likewise.
9799 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9800 __USE_XOPEN2K8].
9801 (CLD_KILLED): Likewise.
9802 (CLD_DUMPED): Likewise.
9803 (CLD_TRAPPED): Likewise.
9804 (CLD_STOPPED): Likewise.
9805 (CLD_CONTINUED): Likewise.
9806 (POLL_IN): Likewise.
9807 (POLL_OUT): Likewise.
9808 (POLL_MSG): Likewise.
9809 (POLL_ERR): Likewise.
9810 (POLL_PRI): Likewise.
9811 (POLL_HUP): Likewise.
9812 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9813 Likewise.
9814 (ILL_ILLOPN): Likewise.
9815 (ILL_ILLADR): Likewise.
9816 (ILL_ILLTRP): Likewise.
9817 (ILL_PRVOPC): Likewise.
9818 (ILL_PRVREG): Likewise.
9819 (ILL_COPROC): Likewise.
9820 (ILL_BADSTK): Likewise.
9821 (FPE_INTDIV): Likewise.
9822 (FPE_INTOVF): Likewise.
9823 (FPE_FLTDIV): Likewise.
9824 (FPE_FLTOVF): Likewise.
9825 (FPE_FLTUND): Likewise.
9826 (FPE_FLTRES): Likewise.
9827 (FPE_FLTINV): Likewise.
9828 (FPE_FLTSUB): Likewise.
9829 (SEGV_MAPERR): Likewise.
9830 (SEGV_ACCERR): Likewise.
9831 (BUS_ADRALN): Likewise.
9832 (BUS_ADRERR): Likewise.
9833 (BUS_OBJERR): Likewise.
9834 (BUS_MCEERR_AR): Likewise.
9835 (BUS_MCEERR_AO): Likewise.
9836 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9837 (TRAP_TRACE): Likewise.
9838 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9839 __USE_XOPEN2K8].
9840 (CLD_KILLED): Likewise.
9841 (CLD_DUMPED): Likewise.
9842 (CLD_TRAPPED): Likewise.
9843 (CLD_STOPPED): Likewise.
9844 (CLD_CONTINUED): Likewise.
9845 (POLL_IN): Likewise.
9846 (POLL_OUT): Likewise.
9847 (POLL_MSG): Likewise.
9848 (POLL_ERR): Likewise.
9849 (POLL_PRI): Likewise.
9850 (POLL_HUP): Likewise.
9851 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9852 (ILL_ILLOPN): Likewise.
9853 (ILL_ILLADR): Likewise.
9854 (ILL_ILLTRP): Likewise.
9855 (ILL_PRVOPC): Likewise.
9856 (ILL_PRVREG): Likewise.
9857 (ILL_COPROC): Likewise.
9858 (ILL_BADSTK): Likewise.
9859 (FPE_INTDIV): Likewise.
9860 (FPE_INTOVF): Likewise.
9861 (FPE_FLTDIV): Likewise.
9862 (FPE_FLTOVF): Likewise.
9863 (FPE_FLTUND): Likewise.
9864 (FPE_FLTRES): Likewise.
9865 (FPE_FLTINV): Likewise.
9866 (FPE_FLTSUB): Likewise.
9867 (SEGV_MAPERR): Likewise.
9868 (SEGV_ACCERR): Likewise.
9869 (BUS_ADRALN): Likewise.
9870 (BUS_ADRERR): Likewise.
9871 (BUS_OBJERR): Likewise.
9872 (BUS_MCEERR_AR): Likewise.
9873 (BUS_MCEERR_AO): Likewise.
9874 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9875 (TRAP_TRACE): Likewise.
9876 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9877 __USE_XOPEN2K8].
9878 (CLD_KILLED): Likewise.
9879 (CLD_DUMPED): Likewise.
9880 (CLD_TRAPPED): Likewise.
9881 (CLD_STOPPED): Likewise.
9882 (CLD_CONTINUED): Likewise.
9883 (POLL_IN): Likewise.
9884 (POLL_OUT): Likewise.
9885 (POLL_MSG): Likewise.
9886 (POLL_ERR): Likewise.
9887 (POLL_PRI): Likewise.
9888 (POLL_HUP): Likewise.
9889 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9890 Likewise.
9891 (ILL_ILLOPN): Likewise.
9892 (ILL_ILLADR): Likewise.
9893 (ILL_ILLTRP): Likewise.
9894 (ILL_PRVOPC): Likewise.
9895 (ILL_PRVREG): Likewise.
9896 (ILL_COPROC): Likewise.
9897 (ILL_BADSTK): Likewise.
9898 (ILL_BADIADDR): Likewise.
9899 (ILL_BREAK): Likewise.
9900 (FPE_INTDIV): Likewise.
9901 (FPE_INTOVF): Likewise.
9902 (FPE_FLTDIV): Likewise.
9903 (FPE_FLTOVF): Likewise.
9904 (FPE_FLTUND): Likewise.
9905 (FPE_FLTRES): Likewise.
9906 (FPE_FLTINV): Likewise.
9907 (FPE_FLTSUB): Likewise.
9908 (FPE_DECOVF): Likewise.
9909 (FPE_DECDIV): Likewise.
9910 (FPE_DECERR): Likewise.
9911 (FPE_INVASC): Likewise.
9912 (FPE_INVDEC): Likewise.
9913 (SEGV_MAPERR): Likewise.
9914 (SEGV_ACCERR): Likewise.
9915 (SEGV_PSTKOVF): Likewise.
9916 (BUS_ADRALN): Likewise.
9917 (BUS_ADRERR): Likewise.
9918 (BUS_OBJERR): Likewise.
9919 (BUS_MCEERR_AR): Likewise.
9920 (BUS_MCEERR_AO): Likewise.
9921 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9922 (TRAP_TRACE): Likewise.
9923 (TRAP_BRANCH): Likewise.
9924 (TRAP_HWBKPT): Likewise.
9925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9926 __USE_XOPEN2K8].
9927 (CLD_KILLED): Likewise.
9928 (CLD_DUMPED): Likewise.
9929 (CLD_TRAPPED): Likewise.
9930 (CLD_STOPPED): Likewise.
9931 (CLD_CONTINUED): Likewise.
9932 (POLL_IN): Likewise.
9933 (POLL_OUT): Likewise.
9934 (POLL_MSG): Likewise.
9935 (POLL_ERR): Likewise.
9936 (POLL_PRI): Likewise.
9937 (POLL_HUP): Likewise.
9938 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9939 (ILL_ILLOPN): Likewise.
9940 (ILL_ILLADR): Likewise.
9941 (ILL_ILLTRP): Likewise.
9942 (ILL_PRVOPC): Likewise.
9943 (ILL_PRVREG): Likewise.
9944 (ILL_COPROC): Likewise.
9945 (ILL_BADSTK): Likewise.
9946 (FPE_INTDIV): Likewise.
9947 (FPE_INTOVF): Likewise.
9948 (FPE_FLTDIV): Likewise.
9949 (FPE_FLTOVF): Likewise.
9950 (FPE_FLTUND): Likewise.
9951 (FPE_FLTRES): Likewise.
9952 (FPE_FLTINV): Likewise.
9953 (FPE_FLTSUB): Likewise.
9954 (SEGV_MAPERR): Likewise.
9955 (SEGV_ACCERR): Likewise.
9956 (BUS_ADRALN): Likewise.
9957 (BUS_ADRERR): Likewise.
9958 (BUS_OBJERR): Likewise.
9959 (BUS_MCEERR_AR): Likewise.
9960 (BUS_MCEERR_AO): Likewise.
9961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9962 (TRAP_TRACE): Likewise.
9963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9964 __USE_XOPEN2K8].
9965 (CLD_KILLED): Likewise.
9966 (CLD_DUMPED): Likewise.
9967 (CLD_TRAPPED): Likewise.
9968 (CLD_STOPPED): Likewise.
9969 (CLD_CONTINUED): Likewise.
9970 (POLL_IN): Likewise.
9971 (POLL_OUT): Likewise.
9972 (POLL_MSG): Likewise.
9973 (POLL_ERR): Likewise.
9974 (POLL_PRI): Likewise.
9975 (POLL_HUP): Likewise.
9976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9977 (ILL_ILLOPN): Likewise.
9978 (ILL_ILLADR): Likewise.
9979 (ILL_ILLTRP): Likewise.
9980 (ILL_PRVOPC): Likewise.
9981 (ILL_PRVREG): Likewise.
9982 (ILL_COPROC): Likewise.
9983 (ILL_BADSTK): Likewise.
9984 (FPE_INTDIV): Likewise.
9985 (FPE_INTOVF): Likewise.
9986 (FPE_FLTDIV): Likewise.
9987 (FPE_FLTOVF): Likewise.
9988 (FPE_FLTUND): Likewise.
9989 (FPE_FLTRES): Likewise.
9990 (FPE_FLTINV): Likewise.
9991 (FPE_FLTSUB): Likewise.
9992 (SEGV_MAPERR): Likewise.
9993 (SEGV_ACCERR): Likewise.
9994 (BUS_ADRALN): Likewise.
9995 (BUS_ADRERR): Likewise.
9996 (BUS_OBJERR): Likewise.
9997 (BUS_MCEERR_AR): Likewise.
9998 (BUS_MCEERR_AO): Likewise.
9999 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10000 (TRAP_TRACE): Likewise.
10001 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10002 __USE_XOPEN2K8].
10003 (CLD_KILLED): Likewise.
10004 (CLD_DUMPED): Likewise.
10005 (CLD_TRAPPED): Likewise.
10006 (CLD_STOPPED): Likewise.
10007 (CLD_CONTINUED): Likewise.
10008 (POLL_IN): Likewise.
10009 (POLL_OUT): Likewise.
10010 (POLL_MSG): Likewise.
10011 (POLL_ERR): Likewise.
10012 (POLL_PRI): Likewise.
10013 (POLL_HUP): Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10015 (ILL_ILLOPN): Likewise.
10016 (ILL_ILLADR): Likewise.
10017 (ILL_ILLTRP): Likewise.
10018 (ILL_PRVOPC): Likewise.
10019 (ILL_PRVREG): Likewise.
10020 (ILL_COPROC): Likewise.
10021 (ILL_BADSTK): Likewise.
10022 (FPE_INTDIV): Likewise.
10023 (FPE_INTOVF): Likewise.
10024 (FPE_FLTDIV): Likewise.
10025 (FPE_FLTOVF): Likewise.
10026 (FPE_FLTUND): Likewise.
10027 (FPE_FLTRES): Likewise.
10028 (FPE_FLTINV): Likewise.
10029 (FPE_FLTSUB): Likewise.
10030 (SEGV_MAPERR): Likewise.
10031 (SEGV_ACCERR): Likewise.
10032 (BUS_ADRALN): Likewise.
10033 (BUS_ADRERR): Likewise.
10034 (BUS_OBJERR): Likewise.
10035 (BUS_MCEERR_AR): Likewise.
10036 (BUS_MCEERR_AO): Likewise.
10037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10038 (TRAP_TRACE): Likewise.
10039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10040 __USE_XOPEN2K8].
10041 (CLD_KILLED): Likewise.
10042 (CLD_DUMPED): Likewise.
10043 (CLD_TRAPPED): Likewise.
10044 (CLD_STOPPED): Likewise.
10045 (CLD_CONTINUED): Likewise.
10046 (POLL_IN): Likewise.
10047 (POLL_OUT): Likewise.
10048 (POLL_MSG): Likewise.
10049 (POLL_ERR): Likewise.
10050 (POLL_PRI): Likewise.
10051 (POLL_HUP): Likewise.
10052 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10053 (ILL_ILLOPN): Likewise.
10054 (ILL_ILLADR): Likewise.
10055 (ILL_ILLTRP): Likewise.
10056 (ILL_PRVOPC): Likewise.
10057 (ILL_PRVREG): Likewise.
10058 (ILL_COPROC): Likewise.
10059 (ILL_BADSTK): Likewise.
10060 (ILL_DBLFLT): Likewise.
10061 (ILL_HARDWALL): Likewise.
10062 (FPE_INTDIV): Likewise.
10063 (FPE_INTOVF): Likewise.
10064 (FPE_FLTDIV): Likewise.
10065 (FPE_FLTOVF): Likewise.
10066 (FPE_FLTUND): Likewise.
10067 (FPE_FLTRES): Likewise.
10068 (FPE_FLTINV): Likewise.
10069 (FPE_FLTSUB): Likewise.
10070 (SEGV_MAPERR): Likewise.
10071 (SEGV_ACCERR): Likewise.
10072 (BUS_ADRALN): Likewise.
10073 (BUS_ADRERR): Likewise.
10074 (BUS_OBJERR): Likewise.
10075 (BUS_MCEERR_AR): Likewise.
10076 (BUS_MCEERR_AO): Likewise.
10077 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10078 (TRAP_TRACE): Likewise.
10079 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10080 __USE_XOPEN2K8].
10081 (CLD_KILLED): Likewise.
10082 (CLD_DUMPED): Likewise.
10083 (CLD_TRAPPED): Likewise.
10084 (CLD_STOPPED): Likewise.
10085 (CLD_CONTINUED): Likewise.
10086 (POLL_IN): Likewise.
10087 (POLL_OUT): Likewise.
10088 (POLL_MSG): Likewise.
10089 (POLL_ERR): Likewise.
10090 (POLL_PRI): Likewise.
10091 (POLL_HUP): Likewise.
10092 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10093 (ILL_ILLOPN): Likewise.
10094 (ILL_ILLADR): Likewise.
10095 (ILL_ILLTRP): Likewise.
10096 (ILL_PRVOPC): Likewise.
10097 (ILL_PRVREG): Likewise.
10098 (ILL_COPROC): Likewise.
10099 (ILL_BADSTK): Likewise.
10100 (FPE_INTDIV): Likewise.
10101 (FPE_INTOVF): Likewise.
10102 (FPE_FLTDIV): Likewise.
10103 (FPE_FLTOVF): Likewise.
10104 (FPE_FLTUND): Likewise.
10105 (FPE_FLTRES): Likewise.
10106 (FPE_FLTINV): Likewise.
10107 (FPE_FLTSUB): Likewise.
10108 (SEGV_MAPERR): Likewise.
10109 (SEGV_ACCERR): Likewise.
10110 (BUS_ADRALN): Likewise.
10111 (BUS_ADRERR): Likewise.
10112 (BUS_OBJERR): Likewise.
10113 (BUS_MCEERR_AR): Likewise.
10114 (BUS_MCEERR_AO): Likewise.
10115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10116 (TRAP_TRACE): Likewise.
10117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10118 __USE_XOPEN2K8].
10119 (CLD_KILLED): Likewise.
10120 (CLD_DUMPED): Likewise.
10121 (CLD_TRAPPED): Likewise.
10122 (CLD_STOPPED): Likewise.
10123 (CLD_CONTINUED): Likewise.
10124 (POLL_IN): Likewise.
10125 (POLL_OUT): Likewise.
10126 (POLL_MSG): Likewise.
10127 (POLL_ERR): Likewise.
10128 (POLL_PRI): Likewise.
10129 (POLL_HUP): Likewise.
10130 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10131 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10132
bc61d27c
JM
10133 [BZ #16670]
10134 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10135 before #include of <time.h>.
10136 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10137 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10138 (test-xfail-UNIX98/sched.h/conform): Likewise.
10139
302949e2
MS
101402014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10141
10142 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10143 error absence of trapping exception support.
10144 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10145
a00f522a
JM
101462014-03-07 Joseph Myers <joseph@codesourcery.com>
10147
6f99f280
JM
10148 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10149 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10150 * timezone/Makefile (testdata): Move definition above include of
10151 Rules.
10152 (test-zones): New variable.
10153 (tests-special): Add zone files.
10154 (build-testdata): Use $(evaluate-test).
10155
0b20a9e8
JM
10156 * elf/Makefile (tests-special): Rename tests to end with .out.
10157 ($(objpfx)noload-mem): Likewise.
10158 ($(objpfx)tst-leaks1-mem): Likewise.
10159 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10160 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10161 $(objpfx)test-iconvconfig.out.
10162 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10163 set -e inside subshell and redirect output to file.
10164 * iconvdata/Makefile (generated): Rename tests to end with .out.
10165 Correct type.
10166 (tests-special): Rename tests to end with .out.
10167 ($(objpfx)mtrace-tst-loading): Likewise.
10168 * intl/Makefile (generated): Likewise.
10169 (tests-special): Likewise.
10170 ($(objpfx)mtrace-tst-gettext): Likewise.
10171 * misc/Makefile (generated): Likewise.
10172 (tests-special): Likewise.
10173 ($(objpfx)tst-error1-mem): Likewise.
10174 * nptl/Makefile (tests-special): Likewise.
10175 ($(objpfx)tst-stack3-mem): Likewise.
10176 (generated): Likewise.
10177 * posix/Makefile (generated): Likewise.
10178 (tests-special): Likewise.
10179 (xtests-special): Likewise.
10180 ($(objpfx)tst-fnmatch-mem): Likewise.
10181 ($(objpfx)bug-regex2-mem): Likewise.
10182 ($(objpfx)bug-regex14-mem): Likewise.
10183 ($(objpfx)bug-regex21-mem): Likewise.
10184 ($(objpfx)bug-regex31-mem): Likewise.
10185 ($(objpfx)tst-vfork3-mem): Likewise.
10186 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10187 ($(objpfx)tst-pcre-mem): Likewise.
10188 ($(objpfx)tst-boost-mem): Likewise.
10189 ($(objpfx)bug-ga2-mem): Likewise.
10190 ($(objpfx)bug-glob2-mem): Likewise.
10191 * resolv/Makefile (generate): Likewise.
10192 (tests-special): Likewise.
10193 (xtests-special): Likewise.
10194 (generated): Likewise.
10195 ($(objpfx)mtrace-tst-leaks): Likewise.
10196 ($(objpfx)mtrace-tst-leaks2): Likewise.
10197
265d52ab
JM
10198 * scripts/merge-test-results.sh: New file.
10199 * Makefile (tests-special-notdir): New variable.
10200 (tests): Run merge-test-results.sh.
10201 (xtests): Likewise.
10202 * Rules (tests-special-notdir): New variable.
10203 (xtests-special-notdir): Likewise.
10204 (tests): Run merge-test-results.sh
10205 (xtests): Likewise.
10206
54ee292d
JM
10207 * Makeconfig (test-xfail-name): New variable.
10208 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10209 compute variable name for expected failures.
10210 * conform/Makefile (conformtest-headers-data): New variable.
10211 (conformtest-standards): Likewise.
10212 (conformtest-headers-ISO): Likewise.
10213 (conformtest-headers-ISO99): Likewise.
10214 (conformtest-headers-ISO11): Likewise.
10215 (conformtest-headers-POSIX): Likewise.
10216 (conformtest-headers-XPG3): Likewise.
10217 (conformtest-headers-XPG4): Likewise.
10218 (conformtest-headers-UNIX98): Likewise.
10219 (conformtest-headers-XOPEN2K): Likewise.
10220 (conformtest-headers-POSIX2008): Likewise.
10221 (conformtest-headers-XOPEN2K8): Likewise.
10222 (conformtest-header-list-base): Likewise.
10223 (conformtest-header-list-tests): Likewise.
10224 (conformtest-header-base): Likewise.
10225 (conformtest-header-tests): Likewise.
10226 (tests-special): Add $(conformtest-header-list-tests). If
10227 [$(fast-check) && !$(cross-compiling)], add
10228 $(conformtest-header-tests) instead of
10229 $(objpfx)run-conformtest.out.
10230 (generated): Add $(conformtest-header-list-base). If
10231 [$(fast-check) && !$(cross-compiling)], add
10232 $(conformtest-header-base). Remove previous setting.
10233 ($(conformtest-header-list-tests)): New target.
10234 (test-xfail-run-conformtest): Remove variable.
10235 ($(objpfx)run-conformtest.out): Remove target.
10236 (test-xfail-ISO11/complex.h/conform): New variable.
10237 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10238 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10239 (test-xfail-XPG3/varargs.h/conform): Likewise.
10240 (test-xfail-XPG4/varargs.h/conform): Likewise.
10241 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10242 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10243 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10244 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10245 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10246 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10247 (test-xfail-XPG3/ftw.h/conform): Likewise.
10248 (test-xfail-XPG3/grp.h/conform): Likewise.
10249 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10250 (test-xfail-XPG3/limits.h/conform): Likewise.
10251 (test-xfail-XPG3/pwd.h/conform): Likewise.
10252 (test-xfail-XPG3/search.h/conform): Likewise.
10253 (test-xfail-XPG3/signal.h/conform): Likewise.
10254 (test-xfail-XPG3/stdio.h/conform): Likewise.
10255 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10256 (test-xfail-XPG3/string.h/conform): Likewise.
10257 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10258 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10259 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10260 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10261 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10262 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10263 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10264 (test-xfail-XPG3/termios.h/conform): Likewise.
10265 (test-xfail-XPG3/time.h/conform): Likewise.
10266 (test-xfail-XPG3/unistd.h/conform): Likewise.
10267 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10268 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10269 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10270 (test-xfail-XPG4/netdb.h/conform): Likewise.
10271 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10272 (test-xfail-XPG4/signal.h/conform): Likewise.
10273 (test-xfail-XPG4/stdio.h/conform): Likewise.
10274 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10275 (test-xfail-XPG4/stropts.h/conform): Likewise.
10276 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10277 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10278 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10279 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10280 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10281 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10282 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10283 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10284 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10285 (test-xfail-XPG4/termios.h/conform): Likewise.
10286 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10287 (test-xfail-XPG4/unistd.h/conform): Likewise.
10288 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10289 (test-xfail-POSIX/sched.h/conform): Likewise.
10290 (test-xfail-POSIX/signal.h/conform): Likewise.
10291 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10292 (test-xfail-POSIX/tar.h/conform): Likewise.
10293 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10294 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10295 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10296 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10297 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10298 (test-xfail-UNIX98/sched.h/conform): Likewise.
10299 (test-xfail-UNIX98/signal.h/conform): Likewise.
10300 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10301 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10302 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10303 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10304 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10305 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10306 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10307 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10308 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10309 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10310 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10311 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10312 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10313 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10314 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10315 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10316 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10317 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10318 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10319 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10320 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10321 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10322 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10323 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10324 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10325 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10326 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10327 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10328 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10329 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10330 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10331 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10332 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10333 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10334 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10335 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10336 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10337 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10338 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10339 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10340 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10341 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10342 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10343 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10344 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10345 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10346 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10347 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10348 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10349 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10350 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10351 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10352 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10353 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10354 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10355 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10356 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10357 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10358 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10359 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10360 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10361 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10362 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10363 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10364 (conformtest-cc-flags): Likewise.
10365 ($(conformtest-header-tests): New target.
10366 * conform/check-header-lists.sh: New file.
10367 * conform/run-conformtest.sh: Remove.
10368
a00f522a
JM
10369 * conform/conformtest.pl: Allow ' and \ in values given for
10370 constants.
10371 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10372 inclusion.
10373 [POSIX] (sys/types.h): Likewise.
10374 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10375 inclusion.
10376 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10377 inclusion.
10378 * conform/data/signal.h-data (SIGIO): Remove expectation.
10379 [XPG3] (SIGBUS): Do not expect.
10380 [POSIX || XPG3] (SIGPOLL): Likewise.
10381 [POSIX || XPG3] (SIGPROF): Likewise.
10382 [POSIX || XPG3] (SIGSYS): Likewise.
10383 [XPG3] (SIGTRAP): Likewise.
10384 [POSIX || XPG3] (SIGURG): Likewise.
10385 [POSIX || XPG3] (SIGVTALRM): Likewise.
10386 [POSIX || XPG3] (SIGXCPU): Likewise.
10387 [POSIX || XPG3] (SIGXFSZ): Likewise.
10388 [POSIX] (SA_SIGINFO): Expect.
10389 [XPG3] (siginfo_t): Do not expect type or contents.
10390 [POSIX] (si_pid): Do not expect element.
10391 [POSIX] (si_uid): Likewise.
10392 [POSIX] (si_addr): Likewise.
10393 [POSIX] (si_status): Likewise.
10394 [POSIX] (si_band): Likewise.
10395 [XPG4] (si_value): Likewise.
10396 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10397 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10398 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10399 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10400 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10401 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10402 [POSIX || XPG3] (ILL_COPROC): Likewise.
10403 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10404 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10405 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10406 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10407 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10408 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10409 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10410 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10411 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10412 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10413 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10414 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10415 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10416 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10417 [POSIX || XPG3] (CLD_EXITED): Likewise.
10418 [POSIX || XPG3] (CLD_KILLED): Likewise.
10419 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10420 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10421 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10422 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10423 [POSIX || XPG3] (POLL_IN): Likewise.
10424 [POSIX || XPG3] (POLL_OUT): Likewise.
10425 [POSIX || XPG3] (POLL_MSG): Likewise.
10426 [POSIX || XPG3] (POLL_ERR): Likewise.
10427 [POSIX || XPG3] (POLL_PRI): Likewise.
10428 [POSIX || XPG3] (POLL_HUP): Likewise.
10429 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10430 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10431 (SIG*): Do not allow.
10432 [XPG3] (si_*): Likewise.
10433 [XPG3] (SI_*): Likewise.
10434 [XPG3 || XPG4] (sigev_*): Likewise.
10435 [XPG3 || XPG4] (SIGEV_*): Likewise.
10436 [XPG3 || XPG4] (sival_*): Likewise.
10437 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10438 [POSIX || XPG3] (BUS_*): Likewise.
10439 [POSIX || XPG3] (CLD_*): Likewise.
10440 [POSIX || XPG3] (FPE_*): Likewise.
10441 [POSIX || XPG3] (ILL_*): Likewise.
10442 [POSIX || XPG3] (POLL_*): Likewise.
10443 [POSIX || XPG3] (SEGV_*): Likewise.
10444 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10445 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10446 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10447 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10448 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10449 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10450 Specify type and value.
10451 (TVERSLEN): Likewise.
10452 (REGTYPE): Likewise.
10453 (AREGTYPE): Likewise.
10454 (LNKTYPE): Likewise.
10455 (SYMTYPE): Likewise.
10456 (CHRTYPE): Likewise.
10457 (BLKTYPE): Likewise.
10458 (DIRTYPE): Likewise.
10459 (FIFOTYPE): Likewise.
10460 (CONTTYPE): Likewise.
10461 (TSUID): Likewise.
10462 (TSGID): Likewise.
10463 (TSVTX): Likewise.
10464 (TUREAD): Likewise.
10465 (TUWRITE): Likewise.
10466 (TUEXEC): Likewise.
10467 (TGREAD): Likewise.
10468 (TGWRITE): Likewise.
10469 (TGEXEC): Likewise.
10470 (TOREAD): Likewise.
10471 (TOWRITE): Likewise.
10472 (TOEXEC): Likewise.
10473 [POSIX] (TSVTX): Expect constant.
10474
aa97dee1
JM
104752014-03-06 Joseph Myers <joseph@codesourcery.com>
10476
f214606a
JM
10477 * Makefile (tests): Change dependencies to ....
10478 (tests-special): ... additions to this variable.
10479 (tests): Depend on $(tests-special).
10480 * Makerules (check-abi-list): New variable.
10481 (check-abi): Depend on $(check-abi-list).
10482 [$(subdir) = elf] (tests-special): Add
10483 $(objpfx)check-abi-libc.out.
10484 [$(build-shared) = yes && subdir] (tests-special): Add
10485 $(check-abi-list).
10486 [$(build-shared) = yes && subdir] (tests): Do not depend on
10487 check-abi.
10488 * Rules (tests): Depend on $(tests-special).
10489 (xtests): Depend on $(xtests-special).
10490 * catgets/Makefile (tests): Change dependencies to ....
10491 (tests-special): ... additions to this variable.
10492 * conform/Makefile (tests): Change dependencies to ....
10493 (tests-special): ... additions to this variable.
10494 * elf/Makefile (tests): Change dependencies to ....
10495 (tests-special): ... additions to this variable.
10496 * grp/Makefile (tests): Change dependencies to ....
10497 (tests-special): ... additions to this variable.
10498 * iconv/Makefile (xtests): Change dependencies to ....
10499 (xtests-special): ... additions to this variable.
10500 * iconvdata/Makefile (tests): Change dependencies to ....
10501 (tests-special): ... additions to this variable.
10502 * intl/Makefile (tests): Change dependencies to ....
10503 (tests-special): ... additions to this variable. Also add
10504 $(objpfx)tst-gettext.out.
10505 * io/Makefile (tests): Change dependencies to ....
10506 (tests-special): ... additions to this variable.
10507 * libio/Makefile (tests): Change dependencies to ....
10508 (tests-special): ... additions to this variable.
10509 * malloc/Makefile (tests): Change dependencies to ....
10510 (tests-special): ... additions to this variable.
10511 * misc/Makefile (tests): Change dependencies to ....
10512 (tests-special): ... additions to this variable.
10513 * nptl/Makefile (tests): Change dependencies to ....
10514 (tests-special): ... additions to this variable.
10515 * nptl_db/Makefile (tests): Change dependencies to ....
10516 (tests-special): ... additions to this variable.
10517 * posix/Makefile (tests): Change dependencies to ....
10518 (tests-special): ... additions to this variable.
10519 (xtests): Change dependencies to ....
10520 (xtests-special): ... additions to this variable.
10521 * resolv/Makefile (tests): Change dependencies to ....
10522 (tests-special): ... additions to this variable.
10523 (xtests): Change dependencies to ....
10524 (xtests-special): ... additions to this variable.
10525 * stdio-common/Makefile (tests): Change dependencies to ....
10526 (tests-special): ... additions to this variable.
10527 (do-tst-unbputc): Remove target.
10528 (do-tst-printf): Likewise.
10529 * stdlib/Makefile (tests): Change dependencies to ....
10530 (tests-special): ... additions to this variable.
10531 * string/Makefile (tests): Change dependencies to ....
10532 (tests-special): ... additions to this variable.
10533 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10534 (tests-special): ... additions to this variable.
10535
81700b53
JM
10536 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10537 whole file.
10538 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10539 whole file.
10540 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10541 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10542
2ea18461
JM
10543 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10544 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10545 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10546 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10547 * conform/data/libgen.h-data [XPG3]: Likewise.
10548 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10549 * conform/data/ndbm.h-data [XPG3]: Likewise.
10550 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10551 * conform/data/netdb.h-data [XPG3]: Likewise.
10552 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10553 * conform/data/poll.h-data [XPG3]: Likewise.
10554 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10555 * conform/data/strings.h-data [XPG3]: Likewise.
10556 * conform/data/stropts.h-data [XPG3]: Likewise.
10557 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10558 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10559 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10560 Likewise.
10561 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10562 * conform/data/sys/time.h-data [XPG3]: Likewise.
10563 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10564 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10565 * conform/data/sys/un.h-data [XPG3]: Likewise.
10566 * conform/data/syslog.h-data [XPG3]: Likewise.
10567 * conform/data/ucontext.h-data [XPG3]: Likewise.
10568 * conform/data/utmpx.h-data [XPG3]: Likewise.
10569 * conform/data/varargs.h-data [UNIX98]: Enable file.
10570
355bc986
JM
10571 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10572
215db402
JM
10573 * math/libm-test.inc (struct test_f_f_data): Move expected results
10574 into structure for each rounding mode.
10575 (struct test_ff_f_data): Likewise.
10576 (struct test_ff_f_data_nexttoward): Likewise.
10577 (struct test_fi_f_data): Likewise.
10578 (struct test_fl_f_data): Likewise.
10579 (struct test_if_f_data): Likewise.
10580 (struct test_fff_f_data): Likewise.
10581 (struct test_c_f_data): Likewise.
10582 (struct test_f_f1_data): Likewise.
10583 (struct test_fF_f1_data): Likewise.
10584 (struct test_ffI_f1_data): Likewise.
10585 (struct test_c_c_data): Likewise.
10586 (struct test_cc_c_data): Likewise.
10587 (struct test_f_i_data): Likewise.
10588 (struct test_ff_i_data): Likewise.
10589 (struct test_f_l_data): Likewise.
10590 (struct test_f_L_data): Likewise.
10591 (struct test_fFF_11_data): Likewise.
10592 (RM_): New macro.
10593 (RM_FE_DOWNWARD): Likewise.
10594 (RM_FE_TONEAREST): Likewise.
10595 (RM_FE_TOWARDZERO): Likewise.
10596 (RM_FE_UPWARD): Likewise.
10597 (RUN_TEST_LOOP_f_f): Update references to expected results.
10598 (RUN_TEST_LOOP_2_f): Likewise.
10599 (RUN_TEST_LOOP_fff_f): Likewise.
10600 (RUN_TEST_LOOP_c_f): Likewise.
10601 (RUN_TEST_LOOP_f_f1): Likewise.
10602 (RUN_TEST_LOOP_fF_f1): Likewise.
10603 (RUN_TEST_LOOP_fI_f1): Likewise.
10604 (RUN_TEST_LOOP_ffI_f1): Likewise.
10605 (RUN_TEST_LOOP_c_c): Likewise.
10606 (RUN_TEST_LOOP_cc_c): Likewise.
10607 (RUN_TEST_LOOP_f_i): Likewise.
10608 (RUN_TEST_LOOP_f_i_tg): Likewise.
10609 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10610 (RUN_TEST_LOOP_f_b): Likewise.
10611 (RUN_TEST_LOOP_f_b_tg): Likewise.
10612 (RUN_TEST_LOOP_f_l): Likewise.
10613 (RUN_TEST_LOOP_f_L): Likewise.
10614 (RUN_TEST_LOOP_fFF_11): Likewise.
10615 * math/gen-libm-test.pl (parse_args): Output four copies of
10616 expected results for each test.
10617
67737b8f
JM
10618 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10619 (__ASSUME_UTIMES): Remove.
10620 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10621 (__ASSUME_UTIMES): Likewise.
10622
aa97dee1
JM
10623 * math/gen-auto-libm-tests.c: Update comment on output format.
10624 (output_for_one_input_case): Generate before-rounding and
10625 after-rounding information as conditions on output flags not
10626 floating-point format.
10627 * math/auto-libm-test-out: Regenerated.
10628 * math/gen-libm-test.pl (cond_value): New function.
10629 (or_cond_value): Use cond_value.
10630 (generate_testfile): Handle conditional exceptions.
10631
e6b6a857
JM
106322014-03-05 Joseph Myers <joseph@codesourcery.com>
10633
2f0a0f44
JM
10634 * math/libm-test.inc (max_valid_error): New variable.
10635 (init_max_error): Take new argument specifying whether function
10636 results are exactly determined. Set max_valid_error and bound
10637 other variables for errors based on this argument.
10638 (set_max_error): Do not record results above max_valid_error.
10639 (check_float_internal): Only accept errors of up to 0.5ulps if
10640 also at most max_valid_error.
10641 (START): Take new argument EXACT and pass it to init_max_error.
10642 (acos_test): Update call to START.
10643 (acos_test_tonearest): Likewise.
10644 (acos_test_towardzero): Likewise.
10645 (acos_test_downward): Likewise.
10646 (acos_test_upward): Likewise.
10647 (acosh_test): Likewise.
10648 (asin_test): Likewise.
10649 (asin_test_tonearest): Likewise.
10650 (asin_test_towardzero): Likewise.
10651 (asin_test_downward): Likewise.
10652 (asin_test_upward): Likewise.
10653 (asinh_test): Likewise.
10654 (atan_test): Likewise.
10655 (atanh_test): Likewise.
10656 (atan2_test): Likewise.
10657 (cabs_test): Likewise.
10658 (cacos_test): Likewise.
10659 (cacosh_test): Likewise.
10660 (carg_test): Likewise.
10661 (casin_test): Likewise.
10662 (casinh_test): Likewise.
10663 (catan_test): Likewise.
10664 (catanh_test): Likewise.
10665 (cbrt_test): Likewise.
10666 (ccos_test): Likewise.
10667 (ccosh_test): Likewise.
10668 (ceil_test): Likewise.
10669 (cexp_test): Likewise.
10670 (cimag_test): Likewise.
10671 (clog_test): Likewise.
10672 (clog10_test): Likewise.
10673 (conj_test): Likewise.
10674 (copysign_test): Likewise.
10675 (cos_test): Likewise.
10676 (cos_test_tonearest): Likewise.
10677 (cos_test_towardzero): Likewise.
10678 (cos_test_downward): Likewise.
10679 (cos_test_upward): Likewise.
10680 (cosh_test): Likewise.
10681 (cosh_test_tonearest): Likewise.
10682 (cosh_test_towardzero): Likewise.
10683 (cosh_test_downward): Likewise.
10684 (cosh_test_upward): Likewise.
10685 (cpow_test): Likewise.
10686 (cproj_test): Likewise.
10687 (creal_test): Likewise.
10688 (csin_test): Likewise.
10689 (csinh_test): Likewise.
10690 (csqrt_test): Likewise.
10691 (ctan_test): Likewise.
10692 (ctan_test_tonearest): Likewise.
10693 (ctan_test_towardzero): Likewise.
10694 (ctan_test_downward): Likewise.
10695 (ctan_test_upward): Likewise.
10696 (ctanh_test): Likewise.
10697 (ctanh_test_tonearest): Likewise.
10698 (ctanh_test_towardzero): Likewise.
10699 (ctanh_test_downward): Likewise.
10700 (ctanh_test_upward): Likewise.
10701 (erf_test): Likewise.
10702 (erfc_test): Likewise.
10703 (exp_test): Likewise.
10704 (exp_test_tonearest): Likewise.
10705 (exp_test_towardzero): Likewise.
10706 (exp_test_downward): Likewise.
10707 (exp_test_upward): Likewise.
10708 (exp10_test): Likewise.
10709 (exp10_test_tonearest): Likewise.
10710 (exp10_test_towardzero): Likewise.
10711 (exp10_test_downward): Likewise.
10712 (exp10_test_upward): Likewise.
10713 (pow10_test): Likewise.
10714 (exp2_test): Likewise.
10715 (expm1_test): Likewise.
10716 (expm1_test_tonearest): Likewise.
10717 (expm1_test_towardzero): Likewise.
10718 (expm1_test_downward): Likewise.
10719 (expm1_test_upward): Likewise.
10720 (fabs_test): Likewise.
10721 (fdim_test): Likewise.
10722 (floor_test): Likewise.
10723 (fma_test): Likewise.
10724 (fma_test_towardzero): Likewise.
10725 (fma_test_downward): Likewise.
10726 (fma_test_upward): Likewise.
10727 (fmax_test): Likewise.
10728 (fmin_test): Likewise.
10729 (fmod_test): Likewise.
10730 (fpclassify_test): Likewise.
10731 (frexp_test): Likewise.
10732 (hypot_test): Likewise.
10733 (ilogb_test): Likewise.
10734 (isfinite_test): Likewise.
10735 (finite_test): Likewise.
10736 (isgreater_test): Likewise.
10737 (isgreaterequal_test): Likewise.
10738 (isinf_test): Likewise.
10739 (isless_test): Likewise.
10740 (islessequal_test): Likewise.
10741 (islessgreater_test): Likewise.
10742 (isnan_test): Likewise.
10743 (isnormal_test): Likewise.
10744 (issignaling_test): Likewise.
10745 (isunordered_test): Likewise.
10746 (j0_test): Likewise.
10747 (j1_test): Likewise.
10748 (jn_test): Likewise.
10749 (ldexp_test): Likewise.
10750 (lgamma_test): Likewise.
10751 (gamma_test): Likewise.
10752 (lrint_test): Likewise.
10753 (lrint_test_tonearest): Likewise.
10754 (lrint_test_towardzero): Likewise.
10755 (lrint_test_downward): Likewise.
10756 (lrint_test_upward): Likewise.
10757 (llrint_test): Likewise.
10758 (llrint_test_tonearest): Likewise.
10759 (llrint_test_towardzero): Likewise.
10760 (llrint_test_downward): Likewise.
10761 (llrint_test_upward): Likewise.
10762 (log_test): Likewise.
10763 (log10_test): Likewise.
10764 (log1p_test): Likewise.
10765 (log2_test): Likewise.
10766 (logb_test): Likewise.
10767 (logb_test_downward): Likewise.
10768 (lround_test): Likewise.
10769 (llround_test): Likewise.
10770 (modf_test): Likewise.
10771 (nearbyint_test): Likewise.
10772 (nextafter_test): Likewise.
10773 (nexttoward_test): Likewise.
10774 (pow_test): Likewise.
10775 (pow_test_tonearest): Likewise.
10776 (pow_test_towardzero): Likewise.
10777 (pow_test_downward): Likewise.
10778 (pow_test_upward): Likewise.
10779 (remainder_test): Likewise.
10780 (drem_test): Likewise.
10781 (remainder_test_tonearest): Likewise.
10782 (drem_test_tonearest): Likewise.
10783 (remainder_test_towardzero): Likewise.
10784 (drem_test_towardzero): Likewise.
10785 (remainder_test_downward): Likewise.
10786 (drem_test_downward): Likewise.
10787 (remainder_test_upward): Likewise.
10788 (drem_test_upward): Likewise.
10789 (remquo_test): Likewise.
10790 (rint_test): Likewise.
10791 (rint_test_tonearest): Likewise.
10792 (rint_test_towardzero): Likewise.
10793 (rint_test_downward): Likewise.
10794 (rint_test_upward): Likewise.
10795 (round_test): Likewise.
10796 (scalb_test): Likewise.
10797 (scalbn_test): Likewise.
10798 (scalbln_test): Likewise.
10799 (signbit_test): Likewise.
10800 (sin_test): Likewise.
10801 (sin_test_tonearest): Likewise.
10802 (sin_test_towardzero): Likewise.
10803 (sin_test_downward): Likewise.
10804 (sin_test_upward): Likewise.
10805 (sincos_test): Likewise.
10806 (sinh_test): Likewise.
10807 (sinh_test_tonearest): Likewise.
10808 (sinh_test_towardzero): Likewise.
10809 (sinh_test_downward): Likewise.
10810 (sinh_test_upward): Likewise.
10811 (sqrt_test): Likewise.
10812 (sqrt_test_tonearest): Likewise.
10813 (sqrt_test_towardzero): Likewise.
10814 (sqrt_test_downward): Likewise.
10815 (sqrt_test_upward): Likewise.
10816 (tan_test): Likewise.
10817 (tan_test_tonearest): Likewise.
10818 (tan_test_towardzero): Likewise.
10819 (tan_test_downward): Likewise.
10820 (tan_test_upward): Likewise.
10821 (tanh_test): Likewise.
10822 (tgamma_test): Likewise.
10823 (trunc_test): Likewise.
10824 (y0_test): Likewise.
10825 (y1_test): Likewise.
10826 (yn_test): Likewise.
10827 (significand_test): Likewise.
10828
e6b6a857
JM
10829 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10830 individual tests in comment.
10831 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10832 (prev_max_error): New variable.
10833 (prev_real_max_error): Likewise.
10834 (prev_imag_max_error): Likewise.
10835 (compare_ulp_data): Don't refer to test names in comment.
10836 (find_test_ulps): Remove function.
10837 (find_function_ulps): Likewise.
10838 (find_complex_function_ulps): Likewise.
10839 (init_max_error): Take function name as argument. Look up ulps
10840 for that function.
10841 (print_ulps): Remove function.
10842 (print_max_error): Use prev_max_error instead of calling
10843 find_function_ulps.
10844 (print_complex_max_error): Use prev_real_max_error and
10845 prev_imag_max_error instead of calling find_complex_function_ulps.
10846 (check_float_internal): Take max_ulp parameter instead of calling
10847 find_test_ulps. Don't call print_ulps.
10848 (check_float): Update call to check_float_internal.
10849 (check_complex): Update calls to check_float_internal.
10850 (START): Pass argument to init_max_error.
10851 * math/gen-libm-test.pl (%results): Don't include "kind"
10852 information.
10853 (parse_ulps): Don't handle ulps of individual tests.
10854 (print_ulps_file): Likewise.
10855 (output_ulps): Likewise.
10856 * math/README.libm-test: Update.
10857 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10858 individual tests.
10859 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10860 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10861 * sysdeps/arm/libm-test-ulps: Likewise.
10862 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10863 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10864 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10865 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10866 * sysdeps/microblaze/libm-test-ulps: Likewise.
10867 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10868 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10870 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10872 * sysdeps/sh/libm-test-ulps: Likewise.
10873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10874 * sysdeps/tile/libm-test-ulps: Likewise.
10875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10876
45adef3c
JM
108772014-03-04 Joseph Myers <joseph@codesourcery.com>
10878
10879 * math/libm-test.inc (print_complex_max_error): Check separately
10880 whether real and imaginary errors are within allowed range and
10881 pass 0 to print_complex_function_ulps instead of value within
10882 allowed range.
10883
000232b9
SP
108842014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10885
d4b17258
SP
10886 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10887 formatting.
10888 (get_handles_fopen): Likewise.
10889 (do_write_test): Likewise.
10890
091eff71
SP
10891 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10892
fa3cd248
SP
10893 * libio/fileops.c (do_ftell): Use cached offset when
10894 available.
10895 * libio/iofwide.c (do_ftell_wide): Likewise.
10896 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10897 _IO_file_attach.
10898 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10899
000232b9
SP
10900 [BZ #16532]
10901 * libio/libioP.h (get_file_offset): New function.
10902 * libio/fileops.c (get_file_offset): Likewise.
10903 (do_ftell): Likewise.
10904 (_IO_new_file_seekoff): Split out ftell logic.
10905 * libio/wfileops.c (do_ftell_wide): Likewise.
10906 (_IO_wfile_seekoff): Split out ftell logic.
10907 * libio/tst-ftell-active-handler.c: New test case.
10908 * libio/Makefile (tests): Add it.
10909
116f4d1a
RM
109102014-03-03 Roland McGrath <roland@hack.frob.com>
10911
10912 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10913 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10914
532a6035
SP
109152014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10916
10917 [BZ #16639]
10918 * nscd/connections.c (nscd_init): Call do_exit.
10919 (start_threads): Call do_exit and notify_parent.
10920 (begin_drop_privileges): Call do_exit.
10921 (finish_drop_privileges): Likewise.
10922 * nscd/selinux.c (preserve_capabilities): Likewise.
10923 (install_real_capabilities): Likewise.
10924 (nscd_selinux_enabled): Likewise.
10925 (avc_create_thread): Likewise.
10926 (avc_alloc_lock): Likewise.
10927 (nscd_avc_init): Likewise.
10928 * nscd/nscd.c (parent_fd): New static variable.
10929 (main): Create a pipe between parent and child processes.
10930 Skip closing parent_fd.
10931 (monitor_child): New function.
10932 (do_exit): Likewise.
10933 (notify_parent): Likewise.
10934 * nscd/nscd.h (notify_parent): Likewise.
10935 (do_exit): Likewise.
10936
d6285c9f
CD
109372014-03-03 Carlos O'Donell <carlos@redhat.com>
10938
10939 * malloc/malloc.c (__libc_calloc): Revert last change.
10940
2b85d2a0
AZ
109412014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10942
10943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10944
c7debbdf
RS
109452014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10946
10947 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10949 implementation.
10950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10951 (__libc_ifunc_impl_list): Likewise.
10952 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10953 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10954 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10955 * string/strrchr.c: Define STRRCHR.
10956
235eed86
OB
109572014-02-28 Ondřej Bílka <neleai@seznam.cz>
10958
10959 * benchtest/bench-strtok.c (simple_strtok): Delete.
10960 (strtok_string): Use as benchmark.
10961 * string/strtok (STRTOK): New macro.
10962
8e25d1e7
CD
109632014-02-28 Carlos O'Donell <carlos@redhat.com>
10964
ef563f92
CD
10965 * manual/threads.texi: Add header and standard comments to all
10966 functions.
10967
8e25d1e7
CD
10968 * elf/dl-lookup.c (check_match): New function.
10969 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10970 (do_lookup_x): Remove nested function check_match. Use non-nested
10971 function check_match.
10972
ff71cc37
RM
109732014-02-28 Roland McGrath <roland@hack.frob.com>
10974
f08e9a26
RM
10975 * csu/Makefile (generated, before-compile): Use += rather than =.
10976 * catgets/Makefile (generated, generated-dirs): Likewise.
10977 * debug/Makefile (generated): Likewise.
10978 * dlfcn/Makefile (generated): Likewise.
10979 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10980 * iconvdata/Makefile (before-compile, generated): Likewise.
10981 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10982 * libio/Makefile (generated): Likewise.
10983 * malloc/Makefile (generated): Likewise.
10984 * manual/Makefile (generated, generated-dirs): Likewise.
10985 * misc/Makefile (generated): Likewise.
10986 * posix/Makefile (generated): Likewise.
10987 * resolv/Makefile (generated): Likewise.
10988 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10989 * timezone/Makefile (generated, generated-dirs): Likewise.
10990
ff71cc37
RM
10991 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10992
fe13a20c
AZ
109932014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10994
57f41c40
AS
10995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10996 power8 implementation.
10997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10998 file: POWER8 llround ifunc implementation.
10999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11000 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11001 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11002 POWER8 llround implementation.
11003
57f41c40
AS
11004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11005 power8 implementation.
11006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11007 file: POWER8 llrint ifunc implementation.
11008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11009 Add POWER8 implementation.
1ad8950a
AZ
11010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11011 POWER8 llrint implementation.
11012
57f41c40
AS
11013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11014 power8 implementation.
11015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11016 file: POWER8 finite ifunc implementation.
11017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11018 Add POWER8 implementation.
cac626d6
AZ
11019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11020 Likewise.
11021 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11022 POWER8 finite implementation.
11023 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11024
57f41c40
AS
11025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11026 power8 implementation.
11027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11028 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11030 POWER8 implementation.
11031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11032 Likewise.
57f41c40
AS
11033 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11034 isinf implementation.
4393fc11
AZ
11035 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11036
57f41c40
AS
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11038 (INIT_ARCH): Add hwcap2 initialization.
11039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11040 power8 implementation.
11041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11042 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11044 POWER8 implementation.
11045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11046 Likewise.
57f41c40
AS
11047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11048 isnan implementation.
487972ae
AZ
11049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11050
7d92b787
JY
110512014-02-27 Joey Ye <joey.ye@arm.com>
11052
11053 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11054 (_FP_NANFRAC_Q): Set to zero.
11055
1cadc858
SP
110562014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
11058 [BZ #16623]
11059 * math/auto-libm-test-in: New test inputs.
11060 * math/auto-libm-test-out: Regenerate.
11061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11062 and DA.
11063 (__cos): Likewise.
11064 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11065
f8c17e79
JM
110662014-02-27 Joseph Myers <joseph@codesourcery.com>
11067
11068 * scripts/evaluate-test.sh: Take new argument indicating whether
11069 failure is expected.
11070 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11071 indicating whether failure is expected.
11072 * conform/Makefile (test-xfail-run-conformtest): New variable.
11073 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11074 level.
11075 * posix/Makefile (test-xfail-annexc): New variable.
11076 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11077
a5f891ac
JM
110782014-02-26 Joseph Myers <joseph@codesourcery.com>
11079
11080 * argp/Makefile: Include Makeconfig immediately after defining
11081 subdir.
11082 * assert/Makefile: Likewise.
11083 * benchtests/Makefile: Likewise.
11084 * catgets/Makefile: Likewise.
11085 * conform/Makefile: Likewise.
11086 * crypt/Makefile: Likewise.
11087 * csu/Makefile: Likewise.
11088 (all): Remove target.
11089 * ctype/Makefile: Include Makeconfig immediately after defining
11090 subdir.
11091 * debug/Makefile: Likewise.
11092 * dirent/Makefile: Likewise.
11093 * dlfcn/Makefile: Likewise.
11094 * gmon/Makefile: Likewise.
11095 * gnulib/Makefile: Likewise.
11096 * grp/Makefile: Likewise.
11097 * gshadow/Makefile: Likewise.
11098 * hesiod/Makefile: Likewise.
11099 * hurd/Makefile: Likewise.
11100 (all): Remove target.
11101 * iconvdata/Makefile: Include Makeconfig immediately after
11102 defining subdir.
11103 * inet/Makefile: Likewise.
11104 * intl/Makefile: Likewise.
11105 * io/Makefile: Likewise.
11106 * libio/Makefile: Likewise.
11107 (all): Remove target.
11108 * locale/Makefile: Include Makeconfig immediately after defining
11109 subdir.
11110 * login/Makefile: Likewise.
11111 * mach/Makefile: Likewise.
11112 (all): Remove target.
11113 * malloc/Makefile: Include Makeconfig immediately after defining
11114 subdir.
11115 (all): Remove target.
11116 * manual/Makefile: Include Makeconfig immediately after defining
11117 subdir.
11118 * math/Makefile: Likewise.
11119 * misc/Makefile: Likewise.
11120 * nis/Makefile: Likewise.
11121 * nss/Makefile: Likewise.
11122 * po/Makefile: Likewise.
11123 (all): Remove target.
11124 * posix/Makefile: Include Makeconfig immediately after defining
11125 subdir.
11126 * pwd/Makefile: Likewise.
11127 * resolv/Makefile: Likewise.
11128 * resource/Makefile: Likewise.
11129 * rt/Makefile: Likewise.
11130 * setjmp/Makefile: Likewise.
11131 * shadow/Makefile: Likewise.
11132 * signal/Makefile: Likewise.
11133 * socket/Makefile: Likewise.
11134 * soft-fp/Makefile: Likewise.
11135 * stdio-common/Makefile: Likewise.
11136 * stdlib/Makefile: Likewise.
11137 * streams/Makefile: Likewise.
11138 * string/Makefile: Likewise.
11139 * sunrpc/Makefile: Likewise.
11140 (all): Remove target.
11141 * sysvipc/Makefile: Include Makeconfig immediately after defining
11142 subdir.
11143 * termios/Makefile: Likewise.
11144 * time/Makefile: Likewise.
11145 * timezone/Makefile: Likewise.
11146 (all): Remove target.
11147 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11148 subdir.
11149 * wctype/Makefile: Likewise.
11150
5b456e9d
SE
111512014-02-26 Steve Ellcey <sellcey@mips.com>
11152
11153 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11154 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11155 (libc_feholdexcept_setround_mips): Ditto.
11156 (libc_feholdsetround): New.
11157 (libc_feholdsetroundf): New.
11158 (libc_feholdsetroundl): New.
11159 (libc_feupdateenv_test_mips): New.
11160 (libc_feupdateenv_test): New.
11161 (libc_feupdateenv_testf): New.
11162 (libc_feupdateenv_testl): New.
11163 (libc_feresetround): New.
11164 (libc_feresetroundf): New.
11165 (libc_feresetroundl): New.
11166 (libc_fetestexcept_mips): New.
11167 (libc_fetestexcept): New.
11168 (libc_fetestexceptf): New.
11169 (libc_fetestexceptl): New.
11170 (HAVE_RM_CTX): New.
11171 (libc_feholdexcept_setround_mips_ctx): New.
11172 (libc_feholdexcept_setround_ctx): New.
11173 (libc_feholdexcept_setroundf_ctx): New.
11174 (libc_feholdexcept_setroundl_ctx): New.
11175 (libc_fesetenv_mips_ctx): New.
11176 (libc_fesetenv_ctx): New.
11177 (libc_fesetenv_ctxf): New.
11178 (libc_fesetenv_ctxl): New.
11179 (libc_feupdateenv_mips_ctx): New.
11180 (libc_feupdateenv_ctx): New.
11181 (libc_feupdateenvf_ctx): New.
11182 (libc_feupdateenvl_ctx): New.
11183 (libc_feholdsetround_mips_ctx): New.
11184 (libc_feholdsetround_ctx): New.
11185 (libc_feholdsetroundf_ctx): New.
11186 (libc_feholdsetroundl_ctx): New.
11187 (libc_feresetround_mips_ctx): New.
11188 (libc_feresetround_ctx): New.
11189 (libc_feresetroundf_ctx): New.
11190 (libc_feresetroundl_ctx): New.
11191
085d0e35
CD
111922014-02-26 Carlos O'Donell <carlos@redhat.com>
11193
f067bf1f
CD
11194 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11195
085d0e35
CD
11196 * manual/ipc.texi: New file.
11197 * manual/Makefile (chapters): Add ipc.
11198 * manual/job.texi: Add "Inter-Process Communication" to next.
11199 * manual/process.texi: Add "Inter-Process Communication" to prev.
11200
86e58c08
AZ
112012014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11202
11203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11204
4248f0da
OB
112052014-02-26 Ondřej Bílka <neleai@seznam.cz>
11206
11207 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11208
cf822e3c
OB
11209 * manual/arith.texi: Fix spaces after sentences.
11210 * manual/charset.texi: Likewise.
11211 * manual/errno.texi: Likewise.
11212 * manual/install.texi: Likewise.
11213 * manual/llio.texi: Likewise.
11214 * manual/locale.texi: Likewise.
11215 * manual/maint.texi: Likewise.
11216 * manual/math.texi: Likewise.
11217 * manual/memory.texi: Likewise.
11218 * manual/message.texi: Likewise.
11219 * manual/probes.texi: Likewise.
11220 * manual/resource.texi: Likewise.
11221 * manual/signal.texi: Likewise.
11222 * manual/socket.texi: Likewise.
11223 * manual/stdio.texi: Likewise.
11224 * manual/string.texi: Likewise.
11225 * manual/time.texi: Likewise.
11226 * manual/users.texi: Likewise.
11227
ade40b10
CD
112282014-02-25 Carlos O'Donell <carlos@redhat.com>
11229
11230 [BZ #16632]
11231 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11232 _DEFAULT_SOURCE is defined.
11233
d0503676
CD
112342014-02-25 Ulrich Drepper <drepper@gmail.com>
11235 Carlos O'Donell <carlos@redhat.com>
11236
11237 [BZ #16613]
11238 * elf/dl-tls.c (_dl_count_modids): New function.
11239 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11240 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11241 audit library and increment generation counter.
11242 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11243 * elf/tst-audit9.c: New file.
11244 * elf/tst-auditmod9a.c: New file.
11245 * elf/tst-auditmod9b.c: New file.
11246 * elf/Makefile: Add rules to build and run tst-audit9.
11247
4cbf380c
FW
112482014-02-25 Florian Weimer <fweimer@redhat.com>
11249
11250 [BZ #15347]
11251 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11252
80a56cc3
WN
112532014-02-25 Will Newton <will.newton@linaro.org>
11254
11255 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11256 (__longjmp): Restore sp and lr before restoring callee
11257 saved registers. Add longjmp and longjmp_target
11258 SystemTap probe point.
11259 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11260 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11261 Define to zero to match jmpbuf layout.
11262 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11263 (__sigsetjmp): Save sp and lr before saving callee
11264 saved registers. Add setjmp SystemTap probe point.
11265
3ea0f74e
SL
112662014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11267
11268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11269
b04acb26
AS
112702014-02-24 Andreas Schwab <schwab@suse.de>
11271
11272 [BZ #15804]
11273 * elf/pldd.c (wait_for_ptrace_stop): New function.
11274 (main): Call it after attaching.
11275
098ad55c
RM
112762014-02-22 Roland McGrath <roland@hack.frob.com>
11277
d4ec6ae1
RM
11278 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11279 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11280 Versions files is now verboten.
11281 * hurd/Versions (libc: GLIBC_2.0):
11282 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11283 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11284 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11285 * mach/Versions: Likewise.
11286
098ad55c
RM
11287 * csu/Versions: Remove unused %include.
11288 * resolv/Versions: Likewise.
11289
acd7f096
JM
112902014-02-21 Joseph Myers <joseph@codesourcery.com>
11291
f0881698
JM
11292 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11293 ($(objpfx)check-local-headers.out): Likewise.
11294 ($(objpfx)begin-end-check.out): Likewise.
11295 * Makerules (check-abi-%.out): Likewise.
11296 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11297 ($(objpfx)test2.cat): Likewise.
11298 ($(objpfx)de/libc.cat): Likewise.
11299 ($(objpfx)test-gencat.out): Likewise.
11300 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11301 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11302 ($(objpfx)noload-mem): Likewise.
11303 ($(objpfx)tst-pathopt.out): Likewise.
11304 ($(objpfx)tst-rtld-load-self.out): Likewise.
11305 ($(objpfx)tst-array1-cmp.out): Likewise.
11306 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11307 ($(objpfx)tst-array2-cmp.out): Likewise.
11308 ($(objpfx)tst-array3-cmp.out): Likewise.
11309 ($(objpfx)tst-array4-cmp.out): Likewise.
11310 ($(objpfx)tst-array5-cmp.out): Likewise.
11311 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11312 ($(objpfx)check-textrel.out): Likewise.
11313 ($(objpfx)check-execstack.out): Likewise.
11314 ($(objpfx)check-localplt.out): Likewise.
11315 ($(objpfx)order2-cmp.out): Likewise.
11316 ($(objpfx)tst-leaks1-mem): Likewise.
11317 ($(objpfx)tst-leaks1-static-mem): Likewise.
11318 ($(objpfx)tst-initorder-cmp.out): Likewise.
11319 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11320 ($(objpfx)tst-unused-dep.out): Likewise.
11321 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11322 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11323 * iconv/Makefile (test-iconvconfig): Likewise.
11324 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11325 ($(objpfx)iconv-test.out): Likewise.
11326 ($(objpfx)tst-tables.out): Likewise.
11327 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11328 ($(objpfx)tst-gettext.out): Likewise.
11329 ($(objpfx)tst-translit.out): Likewise.
11330 ($(objpfx)tst-gettext2.out): Likewise.
11331 ($(objpfx)tst-gettext4.out): Likewise.
11332 ($(objpfx)tst-gettext6.out): Likewise.
11333 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11334 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11335 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11336 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11338 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11339 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11340 ($(objpfx)wordexp-tst.out): Likewise.
11341 ($(objpfx)annexc.out): Likewise.
11342 ($(objpfx)tst-fnmatch-mem): Likewise.
11343 ($(objpfx)bug-regex2-mem): Likewise.
11344 ($(objpfx)bug-regex14-mem): Likewise.
11345 ($(objpfx)bug-regex21-mem): Likewise.
11346 ($(objpfx)bug-regex31-mem): Likewise.
11347 ($(objpfx)tst-vfork3-mem): Likewise.
11348 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11349 ($(objpfx)tst-pcre-mem): Likewise.
11350 ($(objpfx)tst-boost-mem): Likewise.
11351 ($(objpfx)tst-getconf.out): Likewise.
11352 ($(objpfx)bug-ga2-mem): Likewise.
11353 ($(objpfx)bug-glob2-mem): Likewise.
11354 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11355 ($(objpfx)mtrace-tst-leaks2): Likewise.
11356 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11357 ($(objpfx)tst-printf.out): Likewise.
11358 ($(objpfx)tst-setvbuf1.out): Likewise.
11359 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11360 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11361 ($(objpfx)tst-fmtmsg.out): Likewise.
11362 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11363 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11364
acd7f096
JM
11365 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11366 * bits/sigaction.h [__USE_MISC]: Likewise.
11367 * bits/waitstatus.h: Update #endif comments.
11368 * ctype/ctype.h: Likewise.
11369 * dirent/dirent.h: Likewise.
11370 [__USE_MISC]: Remove redundant conditionals.
11371 * grp/grp.h: Update #endif comments.
11372 [__USE_GNU]: Remove redundant conditionals.
11373 [__USE_MISC]: Likewise.
11374 * inet/netinet/in.h [__USE_GNU]: Likewise.
11375 * io/sys/stat.h [__USE_MISC]: Likewise.
11376 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11377 * libio/bits/stdio.h: Update #endif comments.
11378 [__USE_MISC]: Remove redundant conditionals.
11379 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11380 * libio/stdio.h: Update #endif comments.
11381 [__USE_MISC]: Remove redundant conditionals.
11382 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11383 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11384 * math/math.h: Update #else and #endif comments.
11385 [__USE_MISC]: Remove redundant conditionals.
11386 * misc/sys/uio.h: Update #endif comments.
11387 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11388 * posix/glob.h [__USE_MISC]: Likewise.
11389 * posix/sys/types.h: Update #endif comments.
11390 [__USE_MISC]: Remove redundant conditionals.
11391 * posix/sys/wait.h: Update #endif comments.
11392 [__USE_MISC]: Remove redundant conditionals.
11393 * posix/unistd.h: Update #endif comments.
11394 [__USE_MISC]: Remove redundant conditionals.
11395 * pwd/pwd.h [__USE_GNU]: Likewise.
11396 [__USE_MISC]: Likewise.
11397 * resolv/netdb.h [__USE_GNU]: Likewise.
11398 * signal/signal.h: Update #endif comments.
11399 [__USE_MISC]: Remove redundant conditionals.
11400 * stdlib/stdlib.h: Update #else and #endif comments.
11401 [__USE_MISC]: Remove redundant conditionals.
11402 [__USE_GNU]: Likewise.
11403 * string/bits/string2.h [__USE_MISC]: Likewise.
11404 * string/string.h: Update #endif comments.
11405 [__USE_MISC]: Remove redundant conditionals.
11406 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11407 Likewise.
11408 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11409 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11410 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11411 Likewise.
11412 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11413 Likewise.
11414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11415 comments.
11416 [__USE_MISC]: Remove redundant conditionals.
11417 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11418 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11419 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11420 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11421 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11422 Likewise.
11423 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11424 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11425 Likewise.
11426 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11428 Likewise.
11429 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11430 Likewise.
11431 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11433 Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11435 Likewise.
11436 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11437 * sysdeps/x86/bits/string.h: Update #endif comments.
11438 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11439 conditionals.
11440 * time/sys/time.h: Update #endif comments.
11441 * time/time.h: Likewise.
11442 [__USE_MISC]: Remove redundant conditionals.
11443
a5d82e4e
YG
114442014-02-21 Yury Gribov <y.gribov@samsung.com>
11445
11446 [BZ #16600]
11447 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11448
9a80491d
AS
114492014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11450
11451 * Versions.def (librt): Add GLIBC_2.17.
11452
105fa381
AC
114532014-02-21 Adam Conrad <adconrad@0c3.net>
11454
11455 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11456 synonym for _SYS_AUXV_H to allow direct inclusion.
11457 * sysdeps/sparc/bits/hwcap.h: Likewise.
11458 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11459 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11460 * sysdeps/sparc/sysdep.h: Likewise.
11461
b8cd1c4e
SP
114622014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11463
11464 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11465
bd939d23
RS
114662014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11467
11468 * benchtests/bench-strrchr.c: Print length instead of position.
11469
5d7b57ca
JM
114702014-02-20 Joseph Myers <joseph@codesourcery.com>
11471
bc688c10
JM
11472 [BZ #16611]
11473 * sysdeps/unix/sysv/linux/kernel-features.h
11474 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11475 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11476 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11477 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11478 Likewise.
11479 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11480 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11481 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11482 (__ASSUME_SENDMMSG): Define instead of using previous
11483 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11484 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11485 (__ASSUME_SENDMMSG_SYSCALL): Define.
11486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11487 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11488 Likewise.
11489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11490 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11491 Likewise.
11492 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11493 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11494 Likewise.
11495 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11496 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11497 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11498 [__ASSUME_SENDMMSG]: Change conditionals to
11499 [__ASSUME_SENDMMSG_SOCKETCALL].
11500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11501 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11502 Define.
11503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11504 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11505 Likewise.
11506 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11507 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11508 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11509 [!__ASSUME_SENDMMSG]: Change conditional to
11510 [!__ASSUME_SENDMMSG_SOCKETCALL].
11511 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11512 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11513 Define.
11514
0e31b18c
JM
11515 [BZ #16610]
11516 * sysdeps/unix/sysv/linux/kernel-features.h
11517 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11518 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11519 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11520 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11521 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11522 [__i386__ || __sparc__]
11523 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11524 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11525 (__ASSUME_RECVMMSG): Define instead of using previous
11526 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11528 (__ASSUME_RECVMMSG_SYSCALL): Define.
11529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11531 Likewise.
11532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11533 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11534 Likewise.
11535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11537 Likewise.
11538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11539 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11540 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11541 [__ASSUME_RECVMMSG]: Change condition to
11542 [__ASSUME_RECVMMSG_SOCKETCALL].
11543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11544 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11545 Define.
11546 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11547 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11548 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11549 Likewise.
11550 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11551 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11552 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11553 [!__ASSUME_RECVMMSG]: Change condition to
11554 [!__ASSUME_RECVMMSG_SOCKETCALL].
11555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11556 (__ASSUME_RECVMMSG_SYSCALL): Define.
11557
dd481ccf
JM
11558 [BZ #16609]
11559 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11560 __powerpc__ || __s390__ || __sh__ || __sparc__]
11561 (__ASSUME_SOCKETCALL): Define.
11562 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11563 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11564 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11565 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11566 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11567 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11568 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11569 (__ASSUME_ACCEPT4): Define instead of using previous
11570 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11571 __powerpc__ || __sparc__ || __s390__)] condition.
11572 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11573 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11574 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11575 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11576 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11577 [!__ASSUME_ACCEPT4]: Change condition to
11578 [!__ASSUME_ACCEPT4_SOCKETCALL].
11579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11580 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11581 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11582 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11583 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11584 __ASSUME_ACCEPT4_SYSCALL.
11585 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11586 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11587 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11588 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11589 __ASSUME_ACCEPT4_SYSCALL.
11590 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11591 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11592 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11593 [__ASSUME_ACCEPT4]: Change condition to
11594 [__ASSUME_ACCEPT4_SOCKETCALL].
11595 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11596 (__ASSUME_SOCKETCALL): Define.
11597 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11599 (__ASSUME_SOCKETCALL): Define.
11600 (__ASSUME_ACCEPT4): Remove.
11601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11602 Define.
11603 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11604 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11605 Likewise.
11606 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11607 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11608
5d7b57ca
JM
11609 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11610 macro.
11611 (HWCAP_ARM_LPAE): Likewise.
11612 (HWCAP_ARM_EVTSTRM): Likewise.
11613 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11614 Add vpfd32, lpae and evtstrm.
11615 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11616 Increase to 22.
11617
63689d61
JM
116182014-02-19 Joseph Myers <joseph@codesourcery.com>
11619
11620 * math/auto-libm-test-in: Add tests of clog10.
11621 * math/auto-libm-test-out: Regenerated.
11622 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11623 * sysdeps/i386/fpu/libm-test-ulps: Update.
11624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625
ab09bf61
AS
116262014-02-18 Andreas Schwab <schwab@suse.de>
11627
11628 [BZ #16574]
11629 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11630 Store non-zero if the second buffer was newly allocated.
11631 (send_dg): Likewise.
11632 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11633 to send_vc and send_dg.
11634 (res_nsend): Pass NULL for ansp2_malloced.
11635 * resolv/res_query.c (__libc_res_nquery): Add parameter
11636 answerp2_malloced and pass it down to __libc_res_nsend.
11637 (res_nquery): Pass additional NULL to __libc_res_nquery.
11638 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11639 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11640 second answer buffer if answerp2_malloced was set.
11641 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11642 (__libc_res_nquerydomain): Add parameter
11643 answerp2_malloced and pass it down to __libc_res_nquery.
11644 (res_nquerydomain): Pass additional NULL to
11645 __libc_res_nquerydomain.
11646 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11647 additional NULL to __libc_res_nsend and __libc_res_nquery.
11648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11649 additional NULL to __libc_res_nsearch.
11650 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11651 parameter of __libc_res_nsearch to check for separately allocated
11652 second buffer.
11653 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11654 __libc_res_nquery.
11655 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11656 additional NULL to __libc_res_nquery.
11657 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11658 __libc_res_nsearch.
11659 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11660 * include/resolv.h: Update prototypes of __libc_res_nquery,
11661 __libc_res_nsearch, __libc_res_nsend.
11662
a4fb7861
JM
116632014-02-18 Joseph Myers <joseph@codesourcery.com>
11664
c6af2d89
JM
11665 * math/auto-libm-test-in: Add tests of fma.
11666 * math/auto-libm-test-out: Regenerated.
11667 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11668 (fma_towardzero_test_data): Likewise.
11669 (fma_downward_test_data): Likewise.
11670 (fma_upward_test_data): Likewise.
11671 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11672 mpc_mode.
11673 (rounding_modes): Add values for new field.
11674 (func_calc_method): Add value mpfr_fff_f.
11675 (func_calc_desc): Add mpfr_fff_f union field.
11676 (test_function): Add field exact_args.
11677 (FUNC): Add macro argument EXACT_ARGS.
11678 (FUNC_mpfr_f_f): Update call to FUNC.
11679 (FUNC_mpfr_f_f): Likewise.
11680 (FUNC_mpfr_ff_f): Likewise.
11681 (FUNC_mpfr_if_f): Likewise.
11682 (FUNC_mpc_c_f): Likewise.
11683 (FUNC_mpc_c_c): Likewise.
11684 (test_functions): Add fma. Update calls to FUNC.
11685 (handle_input_arg): Add argument exact_args.
11686 (add_test): Update call to handle_input_arg.
11687 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11688 (output_for_one_input_case): Update call to calc_generic_results.
11689 Recalculate exact zero results in each rounding mode.
11690
a4fb7861
JM
11691 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11692 non-negative before setting low bit.
11693 * math/auto-libm-test-in: Mark one asin test possibly having
11694 spurious underflow.
11695 * math/auto-libm-test-out: Regenerated.
11696 * sysdeps/i386/fpu/libm-test-ulps: Update.
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11698
ef114eaf
DH
116992014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11700
2b7f4f2c
SP
11701 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11702 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11703 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11704 * README: Add missing listing for microblaze*-*-linux-gnu.
11705
8125aedc
AM
117062014-02-16 Ondřej Bílka <neleai@seznam.cz>
11707
11708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11709 duplicate code
11710
c70a4b1d
MF
117112014-02-16 Mike Frysinger <vapier@gentoo.org>
11712
11713 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11714 * sysdeps/unix/sysv/linux/ia64: Move directory from
11715 ports/sysdeps/unix/sysv/linux/ia64.
11716 * README: Update listing for ia64-*-linux-gnu.
11717
591aeaf7
TD
117182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11719 Joseph Myers <joseph@codesourcery.com>
11720
11721 * Makeconfig (test-name): New variable.
11722 (evaluate-test): Likewise.
11723 * Makerules (do-test-clean): Remove .test-result files.
11724 (common-mostlyclean): Likewise.
11725 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11726 * scripts/evaluate-test.sh: New file.
11727
6e89caf1
JM
117282014-02-14 Joseph Myers <joseph@codesourcery.com>
11729
7f98f180
JM
11730 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11731 separate $(objpfx)tst-fopenloc-cmp.out and
11732 $(objpfx)tst-fopenloc-mem.out targets.
11733 (tests): Update dependencies.
11734 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11735 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11736 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11737 (tst-rxspencer-no-utf8-ARGS): New variable.
11738 (tst-rxspencer-no-utf8-ENV): Likewise.
11739 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11740 instead of $(objpfx)tst-rxspencer-mem.
11741 ($(objpfx)tst-rxspencer-mem): Change target to
11742 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11743 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11744 * posix/tst-rxspencer-no-utf8.c: New file.
11745
6e89caf1
JM
11746 * elf/Makefile ($(objpfx)order.out): Remove rule.
11747 [$(run-built-tests) = yes] (tests): Depend on
11748 $(objpfx)order-cmp.out.
11749 ($(objpfx)order-cmp.out): New rule.
11750 [$(run-built-tests) = yes] (tests): Depend on
11751 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11752 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11753 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11754 $(objpfx)tst-array5-static-cmp.out.
11755 ($(objpfx)tst-array1.out): Remove rule.
11756 ($(objpfx)tst-array1-cmp.out): New rule.
11757 ($(objpfx)tst-array1-static.out): Remove rule.
11758 ($(objpfx)tst-array1-static-cmp.out): New rule.
11759 ($(objpfx)tst-array2.out): Remove rule.
11760 ($(objpfx)tst-array2-cmp.out): New rule.
11761 ($(objpfx)tst-array3.out): Remove rule.
11762 ($(objpfx)tst-array3-cmp.out): New rule.
11763 ($(objpfx)tst-array4.out): Remove rule.
11764 ($(objpfx)tst-array4-cmp.out): New rule.
11765 ($(objpfx)tst-array5.out): Remove rule.
11766 ($(objpfx)tst-array5-cmp.out): New rule.
11767 ($(objpfx)tst-array5-static.out): Remove rule.
11768 ($(objpfx)tst-array5-static-cmp.out): New rule.
11769 [$(run-built-tests) = yes] (tests): Depend on
11770 $(objpfx)order2-cmp.out.
11771 ($(objpfx)order2.out): Remove rule.
11772 ($(objpfx)order2-cmp.out): New rule.
11773 ($(objpfx)tst-initorder.out): Remove rule.
11774 [$(run-built-tests) = yes] (tests): Depend on
11775 $(objpfx)tst-initorder-cmp.out.
11776 ($(objpfx)tst-initorder-cmp.out): New rule.
11777 ($(objpfx)tst-initorder2.out): Remove rule.
11778 [$(run-built-tests) = yes] (tests): Depend on
11779 $(objpfx)tst-initorder2-cmp.out.
11780 ($(objpfx)tst-initorder2-cmp.out): New rule.
11781 [$(run-built-tests) = yes] (tests): Depend on
11782 $(objpfx)tst-unused-dep-cmp.out.
11783 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11784 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11785 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11786 on $(objpfx)tst-setvbuf1-cmp.out.
11787 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11788 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11789 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11790 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11791 ($(objpfx)tst-svc.out): Remove rule.
11792 ($(objpfx)tst-svc-cmp.out): New rule.
11793
ed9a38e2
JM
117942014-02-13 Joseph Myers <joseph@codesourcery.com>
11795
11796 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11797 * ctype/ctype.h [__USE_MISC]: Likewise.
11798 * dirent/dirent.h [__USE_MISC]: Likewise.
11799 * grp/grp.h [__USE_MISC]: Likewise.
11800 * io/fcntl.h [__USE_MISC]: Likewise.
11801 * io/sys/stat.h [__USE_MISC]: Likewise.
11802 * libio/stdio.h [__USE_MISC]: Likewise.
11803 * posix/unistd.h [__USE_MISC]: Likewise.
11804 * pwd/pwd.h [__USE_MISC]: Likewise.
11805 * stdlib.h [__USE_MISC]: Likewise.
11806 * string/bits/string2.h [__USE_MISC]: Likewise.
11807 * string/string.h [__USE_MISC]: Likewise.
11808 * time/time.h [__USE_MISC]: Likewise.
11809
d6680619
AS
118102014-02-13 Andreas Schwab <schwab@suse.de>
11811
11812 [BZ #16574]
11813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11814 second answer buffer if it was separately allocated.
11815
ace614b8
JM
118162014-02-12 Joseph Myers <joseph@codesourcery.com>
11817
743151ae
JM
11818 * sysdeps/mips/math-tests.h: Include <features.h>.
11819 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11820 (ROUNDING_TESTS_long_double): Do not define.
11821 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11822 (EXCEPTION_TESTS_long_double): Likewise.
11823 * sysdeps/mips/mips64/libm-test-ulps: Update.
11824
498afc54
JM
11825 * include/features.h (__USE_BSD): Remove macro definitions.
11826 (__USE_SVID): Likewise.
11827 (_BSD_SOURCE): Likewise.
11828 (_SVID_SOURCE): Likewise.
11829 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11830 from definition of _DEFAULT_SOURCE.
11831 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11832 [_DEFAULT_SOURCE].
11833 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11834 * bits/mman.h [__USE_BSD]: Likewise.
11835 * bits/termios.h [__USE_BSD]: Likewise.
11836 * bits/waitstatus.h [__USE_BSD]: Likewise.
11837 * ctype/ctype.h [__USE_SVID]: Likewise.
11838 * dirent/dirent.h [__USE_BSD]: Likewise.
11839 * grp/grp.h [__USE_SVID]: Likewise.
11840 [__USE_BSD]: Likewise.
11841 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11842 * io/fcntl.h [__USE_BSD]: Likewise.
11843 * io/ftw.h [__USE_BSD]: Likewise.
11844 * io/sys/stat.h [__USE_BSD]: Likewise.
11845 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11846 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11847 * libio/stdio.h [__USE_SVID]: Likewise.
11848 [__USE_BSD]: Likewise.
11849 * math/math.h [__USE_SVID]: Likewise.
11850 [__USE_BSD]: Likewise.
11851 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11852 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11853 * misc/search.h [__USE_SVID]: Likewise.
11854 * misc/sys/mman.h [__USE_BSD]: Likewise.
11855 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11856 * misc/sys/uio.h [__USE_BSD]: Likewise.
11857 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11858 * posix/glob.h [__USE_BSD]: Likewise.
11859 * posix/regex.h [__USE_BSD]: Likewise.
11860 * posix/sys/types.h [__USE_BSD]: Likewise.
11861 [__USE_SVID]: Likewise.
11862 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11863 * posix/sys/wait.h [__USE_BSD]: Likewise.
11864 [__USE_SVID]: Likewise.
11865 * posix/unistd.h [__USE_BSD]: Likewise.
11866 [__USE_SVID]: Likewise.
11867 * pwd/pwd.h [__USE_SVID]: Likewise.
11868 * resolv/netdb.h [__USE_BSD]: Likewise.
11869 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11870 * signal/signal.h [__USE_BSD]: Likewise.
11871 [__USE_SVID]: Likewise.
11872 * socket/sys/socket.h [__USE_BSD]: Likewise.
11873 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11874 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11875 [__USE_SVID]: Likewise.
11876 * string/bits/string2.h [__USE_BSD]: Likewise.
11877 [__USE_SVID]: Likewise.
11878 * string/bits/string3.h [__USE_BSD]: Likewise.
11879 * string/endian.h [__USE_BSD]: Likewise.
11880 * string/string.h [__USE_SVID]: Likewise.
11881 [__USE_BSD]: Likewise.
11882 * string/strings.h [__USE_BSD]: Likewise.
11883 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11884 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11886 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11887 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11888 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11889 Likewise.
11890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11893 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11894 Likewise.
11895 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11896 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11897 Likewise.
11898 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11899 Likewise.
11900 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11901 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11903 Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11905 Likewise.
11906 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11907 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11908 * termios/termios.h [__USE_BSD]: Likewise.
11909 * time/sys/time.h [__USE_BSD]: Likewise.
11910 * time/time.h [__USE_BSD]: Likewise.
11911 [__USE_SVID]: Likewise.
11912
dd7b064c
JM
11913 * Makefile (subdir_targets): Remove subdir_lint.out.
11914
a2c4c199
JM
11915 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11916 (do-tst-printf): Likewise.
11917 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11918 $(objpfx)tst-printf.out.
11919
8756f740
JM
11920 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11921
1b6dd3f1
JM
11922 * Makerules (check-abi-%): Change target to
11923 $(objpfx)check-abi-%.out.
11924 (check-abi target): Update dependencies.
11925 (check-abi-pattern variable): Redirect output of diff to $@.
11926 (check-abi variable): Likewise.
11927 * elf/Makefile (check-abi): Update dependencies.
11928
ace614b8
JM
11929 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11930 unused.
11931 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11932 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11933 subnormal range.
11934 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11935 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11936 value has largest subnormal exponent.
11937 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11938 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11939 * sysdeps/aarch64/soft-fp/sfp-machine.h
11940 (_FP_TININESS_AFTER_ROUNDING): New macro.
11941 * sysdeps/alpha/soft-fp/sfp-machine.h
11942 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11943 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11944 Likewise.
11945 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11947 * sysdeps/mips/soft-fp/sfp-machine.h
11948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11949 * sysdeps/powerpc/soft-fp/sfp-machine.h
11950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11951 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11952 Likewise.
11953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11957 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11958 Likewise.
11959
fbfdf9cb
DAS
119602014-02-12 Dylan Alex Simon <dylan@dylex.net>
11961
11962 [BZ #16545]
11963 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11964 model 1.
11965
68b7efaa
RH
119662014-02-12 Richard Henderson <rth@redhat.com>
11967
c70a4b1d 11968 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11969 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11970 * sysdeps/unix/sysv/linux/alpha: Move directory from
11971 ports/sysdeps/unix/sysv/linux/alpha.
11972 * README: Update listing for alpha-*-linux-gnu.
11973
cb4a2928
JM
119742014-02-11 Joseph Myers <joseph@codesourcery.com>
11975
c941736c
JM
11976 * include/features.h: Update comment documenting feature test
11977 macros.
11978 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11979 _DEFAULT_SOURCE.
11980 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11981 (_SVID_SOURCE): Likewise.
11982 (_DEFAULT_SOURCE): Update description of default features.
11983 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11984 with _GNU_SOURCE.
11985 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11986 (S_ISVTX): Likewise.
11987 * manual/math.texi (Mathematical Constants): Likewise.
11988 * manual/signal.texi (Interrupted Primitives): Likewise.
11989 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11990 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11991 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11992 Don't refer to _SVID_SOURCE in warning text.
11993
e8d8d7ec
JM
11994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11995
cb4a2928
JM
11996 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11997 already defined.
11998 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11999 * sysdeps/mips/dl-lookup.c: Remove.
12000 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12001
7e6424e3
AK
120022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12003
12004 [BZ #16447]
12005 * math/auto-libm-test-in: Add testcase for expl.
12006 * math/auto-libm-test-out: Regenerate.
12007 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12008 calculation of unsafe.
12009 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12010
75eff3fe
MS
120112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12012
12013 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12014 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12015 ports/sysdeps/unix/sysv/linux/aarch64.
12016 * README: Update listing for aarch64*-*-linux-gnu.
12017
d35f1e80
WN
120182014-02-11 Will Newton <will.newton@linaro.org>
12019
12020 * manual/probes.texi (Mathematical Function Probes): Use
12021 "triggered" instead of "hit".
12022
7b3436d4
WN
12023 * manual/probes.texi (Internal Probes): Add documentation
12024 of setjmp, longjmp and longjmp_target probes.
12025
b4f12ca3
WN
12026 * include/stap-probe.h: Add comment about probe argument
12027 format.
12028
c13a72b7
WN
12029 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12030 definition. (tr_where, tr_freehook, tr_mallochook,
12031 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12032
195b8165
DM
120332014-02-11 David S. Miller <davem@davemloft.net>
12034
12035 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12036 processing int_tests.
12037
2ad7600b
JM
120382014-02-10 Joseph Myers <joseph@codesourcery.com>
12039
12040 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12041 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12042 * sysdeps/unix/sysv/linux/mips: Move directory from
12043 ports/sysdeps/unix/sysv/linux/mips.
12044 * README: Update listing for mips-*-linux-gnu and
12045 mips64-*-linux-gnu.
12046
73588a72
AS
120472014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12048
12049 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12050 * sysdeps/unix/sysv/linux/m68k: Move directory from
12051 ports/sysdeps/unix/sysv/linux/m68k.
12052 * README: Update listing for m68k-*-linux-gnu.
12053
4372980f
CM
120542014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12055
12056 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12057 * sysdeps/unix/sysv/linux/generic: Move directory from
12058 ports/sysdeps/unix/sysv/linux/generic.
12059 * sysdeps/unix/sysv/linux/tile: Move directory from
12060 ports/sysdeps/unix/sysv/linux/tile.
12061 * README: Update listing for tile*-*-linux-gnu.
12062
a1ffb40e
OB
120632014-02-10 Ondřej Bílka <neleai@seznam.cz>
12064
57f41c40
AS
12065 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12066 __builtin_expect.
a1ffb40e
OB
12067 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12068 * catgets/open_catalog.c (__open_catalog): Likewise.
12069 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12070 * debug/confstr_chk.c: Likewise.
12071 * debug/fread_chk.c (__fread_chk): Likewise.
12072 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12073 * debug/getgroups_chk.c: Likewise.
12074 * debug/mbsnrtowcs_chk.c: Likewise.
12075 * debug/mbsrtowcs_chk.c: Likewise.
12076 * debug/mbstowcs_chk.c: Likewise.
12077 * debug/memcpy_chk.c: Likewise.
12078 * debug/memmove_chk.c: Likewise.
12079 * debug/mempcpy_chk.c: Likewise.
12080 * debug/memset_chk.c: Likewise.
12081 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12082 * debug/strcat_chk.c (__strcat_chk): Likewise.
12083 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12084 * debug/strncat_chk.c (__strncat_chk): Likewise.
12085 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12086 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12087 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12088 * debug/wcpncpy_chk.c: Likewise.
12089 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12090 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12091 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12092 * debug/wcsncpy_chk.c: Likewise.
12093 * debug/wcsnrtombs_chk.c: Likewise.
12094 * debug/wcsrtombs_chk.c: Likewise.
12095 * debug/wcstombs_chk.c: Likewise.
12096 * debug/wmemcpy_chk.c: Likewise.
12097 * debug/wmemmove_chk.c: Likewise.
12098 * debug/wmempcpy_chk.c: Likewise.
12099 * debug/wmemset_chk.c: Likewise.
12100 * dirent/scandirat.c (SCANDIRAT): Likewise.
12101 * dlfcn/dladdr1.c (dladdr1): Likewise.
12102 * dlfcn/dladdr.c (dladdr): Likewise.
12103 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12104 * dlfcn/dlerror.c (__dlerror): Likewise.
12105 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12106 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12107 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12108 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12109 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12110 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12111 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12112 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12113 Likewise.
12114 * elf/dl-conflict.c: Likewise.
12115 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12116 * elf/dl-dst.h: Likewise.
12117 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12118 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12119 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12120 * elf/dl-init.c (call_init, _dl_init): Likewise.
12121 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12122 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12123 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12124 Likewise.
a1ffb40e
OB
12125 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12126 Likewise.
12127 * elf/dl-minimal.c (__libc_memalign): Likewise.
12128 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12130 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12131 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12132 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12133 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12134 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12135 * elf/dl-writev.h (_dl_writev): Likewise.
12136 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12137 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12138 (dl_main): Likewise.
a1ffb40e
OB
12139 * elf/setup-vdso.h (setup_vdso): Likewise.
12140 * grp/compat-initgroups.c (compat_call): Likewise.
12141 * grp/fgetgrent.c (fgetgrent): Likewise.
12142 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12143 * grp/putgrent.c (putgrent): Likewise.
12144 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12145 Likewise.
12146 * hurd/hurdinit.c: Likewise.
12147 * iconvdata/8bit-gap.c (struct): Likewise.
12148 * iconvdata/ansi_x3.110.c : Likewise.
12149 * iconvdata/big5.c : Likewise.
12150 * iconvdata/big5hkscs.c : Likewise.
12151 * iconvdata/cp1255.c: Likewise.
12152 * iconvdata/cp1258.c : Likewise.
12153 * iconvdata/cp932.c : Likewise.
12154 * iconvdata/euc-cn.c: Likewise.
12155 * iconvdata/euc-jisx0213.c : Likewise.
12156 * iconvdata/euc-jp.c: Likewise.
12157 * iconvdata/euc-jp-ms.c : Likewise.
12158 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12159 * iconvdata/gb18030.c : Likewise.
12160 * iconvdata/gbbig5.c (const): Likewise.
12161 * iconvdata/gbgbk.c: Likewise.
12162 * iconvdata/gbk.c : Likewise.
12163 * iconvdata/ibm1364.c : Likewise.
12164 * iconvdata/ibm930.c : Likewise.
12165 * iconvdata/ibm932.c: Likewise.
12166 * iconvdata/ibm933.c : Likewise.
12167 * iconvdata/ibm935.c : Likewise.
12168 * iconvdata/ibm937.c : Likewise.
12169 * iconvdata/ibm939.c : Likewise.
12170 * iconvdata/ibm943.c: Likewise.
12171 * iconvdata/iso_11548-1.c: Likewise.
12172 * iconvdata/iso-2022-cn.c : Likewise.
12173 * iconvdata/iso-2022-cn-ext.c : Likewise.
12174 * iconvdata/iso-2022-jp-3.c: Likewise.
12175 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12176 * iconvdata/iso-2022-kr.c : Likewise.
12177 * iconvdata/iso646.c (gconv_end): Likewise.
12178 * iconvdata/iso_6937-2.c : Likewise.
12179 * iconvdata/iso_6937.c : Likewise.
12180 * iconvdata/iso8859-1.c: Likewise.
12181 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12182 * iconvdata/shift_jisx0213.c : Likewise.
12183 * iconvdata/sjis.c : Likewise.
12184 * iconvdata/t.61.c : Likewise.
12185 * iconvdata/tcvn5712-1.c : Likewise.
12186 * iconvdata/tscii.c: Likewise.
12187 * iconvdata/uhc.c : Likewise.
12188 * iconvdata/unicode.c (gconv_end): Likewise.
12189 * iconvdata/utf-16.c (gconv_end): Likewise.
12190 * iconvdata/utf-32.c (gconv_end): Likewise.
12191 * iconvdata/utf-7.c (base64): Likewise.
12192 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12193 * iconv/gconv_close.c (__gconv_close): Likewise.
12194 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12195 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12196 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12197 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12198 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12199 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12200 * iconv/iconv.c (iconv): Likewise.
12201 * iconv/iconv_close.c: Likewise.
12202 * iconv/loop.c (SINGLE): Likewise.
12203 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12204 * include/atomic.h: Likewise.
12205 * inet/inet6_option.c (option_alloc): Likewise.
12206 * intl/bindtextdom.c (set_binding_values): Likewise.
12207 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12208 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12209 * intl/localealias.c (read_alias_file): Likewise.
12210 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12211 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12212 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12213 * libio/fmemopen.c (fmemopen): Likewise.
12214 * libio/iofgets.c (_IO_fgets): Likewise.
12215 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12216 * libio/iofgetws.c (fgetws): Likewise.
12217 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12218 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12219 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12220 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12221 * locale/findlocale.c (_nl_find_locale): Likewise.
12222 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12223 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12224 Likewise.
12225 * locale/setlocale.c (setlocale): Likewise.
12226 * login/programs/pt_chown.c (main): Likewise.
12227 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12228 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12229 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12230 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12231 * math/e_exp2l.c: Likewise.
12232 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12233 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12234 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12235 * math/s_catan.c (__catan): Likewise.
12236 * math/s_catanf.c (__catanf): Likewise.
12237 * math/s_catanh.c (__catanh): Likewise.
12238 * math/s_catanhf.c (__catanhf): Likewise.
12239 * math/s_catanhl.c (__catanhl): Likewise.
12240 * math/s_catanl.c (__catanl): Likewise.
12241 * math/s_ccosh.c (__ccosh): Likewise.
12242 * math/s_ccoshf.c (__ccoshf): Likewise.
12243 * math/s_ccoshl.c (__ccoshl): Likewise.
12244 * math/s_cexp.c (__cexp): Likewise.
12245 * math/s_cexpf.c (__cexpf): Likewise.
12246 * math/s_cexpl.c (__cexpl): Likewise.
12247 * math/s_clog10.c (__clog10): Likewise.
12248 * math/s_clog10f.c (__clog10f): Likewise.
12249 * math/s_clog10l.c (__clog10l): Likewise.
12250 * math/s_clog.c (__clog): Likewise.
12251 * math/s_clogf.c (__clogf): Likewise.
12252 * math/s_clogl.c (__clogl): Likewise.
12253 * math/s_csin.c (__csin): Likewise.
12254 * math/s_csinf.c (__csinf): Likewise.
12255 * math/s_csinh.c (__csinh): Likewise.
12256 * math/s_csinhf.c (__csinhf): Likewise.
12257 * math/s_csinhl.c (__csinhl): Likewise.
12258 * math/s_csinl.c (__csinl): Likewise.
12259 * math/s_csqrt.c (__csqrt): Likewise.
12260 * math/s_csqrtf.c (__csqrtf): Likewise.
12261 * math/s_csqrtl.c (__csqrtl): Likewise.
12262 * math/s_ctan.c (__ctan): Likewise.
12263 * math/s_ctanf.c (__ctanf): Likewise.
12264 * math/s_ctanh.c (__ctanh): Likewise.
12265 * math/s_ctanhf.c (__ctanhf): Likewise.
12266 * math/s_ctanhl.c (__ctanhl): Likewise.
12267 * math/s_ctanl.c (__ctanl): Likewise.
12268 * math/w_pow.c: Likewise.
12269 * math/w_powf.c: Likewise.
12270 * math/w_powl.c: Likewise.
12271 * math/w_scalb.c (sysv_scalb): Likewise.
12272 * math/w_scalbf.c (sysv_scalbf): Likewise.
12273 * math/w_scalbl.c (sysv_scalbl): Likewise.
12274 * misc/error.c (error_tail): Likewise.
12275 * misc/pselect.c (__pselect): Likewise.
12276 * nis/nis_callback.c (__nis_create_callback): Likewise.
12277 * nis/nis_call.c (__nisfind_server): Likewise.
12278 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12279 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12281 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12282 * nis/nis_lookup.c (nis_lookup): Likewise.
12283 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12284 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12285 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12286 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12287 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12288 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12289 * nis/nss_compat/compat-initgroups.c (add_group)
12290 (internal_getgrent_r): Likewise.
12291 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12292 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12293 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12294 (internal_getspnam_r): Likewise.
12295 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12296 (_nss_nis_getaliasbyname_r): Likewise.
12297 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12298 (_nss_nis_getntohost_r): Likewise.
12299 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12300 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12301 (_nss_nis_getgrgid_r): Likewise.
12302 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12303 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12304 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12305 (_nss_nis_gethostbyname4_r): Likewise.
12306 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12307 (initgroups_netid): Likewise.
a1ffb40e 12308 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12309 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12310 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12311 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12312 (_nss_nis_getprotobynumber_r): Likewise.
12313 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12314 (_nss_nis_getsecretkey): Likewise.
12315 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12316 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12317 (_nss_nis_getpwuid_r): Likewise.
12318 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12319 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12320 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12321 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12322 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12323 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12324 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12325 Likewise.
57f41c40
AS
12326 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12327 (_nss_nisplus_getntohost_r): Likewise.
12328 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12329 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12330 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12331 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12332 Likewise.
57f41c40
AS
12333 * nis/nss_nisplus/nisplus-initgroups.c
12334 (_nss_nisplus_initgroups_dyn): Likewise.
12335 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12336 (_nss_nisplus_getnetbyaddr_r): Likewise.
12337 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12338 (_nss_nisplus_getprotobynumber_r): Likewise.
12339 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12340 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12341 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12342 Likewise.
57f41c40
AS
12343 * nis/nss_nisplus/nisplus-service.c
12344 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12345 (_nss_nisplus_getservbyport_r): Likewise.
12346 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12347 (_nss_nisplus_getspnam_r): Likewise.
12348 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12349 Likewise.
a1ffb40e
OB
12350 * nscd/aicache.c (addhstaiX): Likewise.
12351 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12352 * nscd/connections.c (register_traced_file, send_ro_fd)
12353 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12354 (main_loop_epoll): Likewise.
a1ffb40e
OB
12355 * nscd/grpcache.c (addgrbyX): Likewise.
12356 * nscd/hstcache.c (addhstbyX): Likewise.
12357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12358 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12359 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12360 (addinnetgrX): Likewise.
12361 * nscd/nscd-client.h (__nscd_acquire_maplock)
12362 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12363 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12364 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12366 Likewise.
12367 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12369 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12370 (__nscd_get_map_ref): Likewise.
a1ffb40e 12371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12372 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12373 Likewise.
a1ffb40e
OB
12374 * nscd/pwdcache.c (addpwbyX): Likewise.
12375 * nscd/selinux.c (preserve_capabilities): Likewise.
12376 * nscd/servicescache.c (addservbyX): Likewise.
12377 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12378 * posix/fnmatch.c (fnmatch): Likewise.
12379 * posix/getopt.c (_getopt_internal_r): Likewise.
12380 * posix/glob.c (glob, glob_in_dir): Likewise.
12381 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12382 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12383 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12384 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12385 * resolv/res_init.c: Likewise.
12386 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12387 * resolv/res_query.c (__libc_res_nquery): Likewise.
12388 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12389 Likewise.
12390 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12391 * stdio-common/perror.c (perror): Likewise.
12392 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12393 * stdio-common/tmpnam.c (tmpnam): Likewise.
12394 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12395 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12396 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12397 Likewise.
a1ffb40e
OB
12398 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12399 * stdlib/putenv.c (putenv): Likewise.
12400 * stdlib/setenv.c (__add_to_environ): Likewise.
12401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12402 * stdlib/strtol_l.c (INTERNAL): Likewise.
12403 * string/memmem.c (memmem): Likewise.
12404 * string/strerror.c (strerror): Likewise.
12405 * string/strnlen.c (__strnlen): Likewise.
12406 * string/test-memmem.c (simple_memmem): Likewise.
12407 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12408 * sunrpc/pm_getport.c (__get_socket): Likewise.
12409 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12410 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12411 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12412 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12413 Likewise.
12414 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12416 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12417 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12418 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12419 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12420 Likewise.
12421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12422 Likewise.
a1ffb40e
OB
12423 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12424 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12426 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12427 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12429 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12431 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12433 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12435 Likewise.
12436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12437 Likewise.
12438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12439 Likewise.
12440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12444 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12445 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12456 Likewise.
a1ffb40e
OB
12457 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12458 Likewise.
12459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12460 Likewise.
12461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12462 Likewise.
12463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12465 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12466 Likewise.
12467 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12468 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12469 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12470 * sysdeps/posix/sleep.c: Likewise.
12471 * sysdeps/posix/tempname.c: Likewise.
12472 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12473 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12474 Likewise.
57f41c40
AS
12475 * sysdeps/powerpc/powerpc32/dl-machine.h
12476 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12477 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12479 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12480 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12481 Likewise.
12482 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12484 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12486 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12487 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12488 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12489 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12491 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12493 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12494 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12496 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12497 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12498 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12499 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12500 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12501 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12502 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12503 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12505 Likewise.
12506 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12507 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12508 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12509 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12510 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12511 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12512 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12513 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12514 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12516 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12517 Likewise.
12518 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12519 (__posix_fallocate64_l64): Likewise.
12520 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12521 (posix_fallocate): Likewise.
57f41c40
AS
12522 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12523 Likewise.
a1ffb40e 12524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12525 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12526 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12527 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12529 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12530 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12531 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12532 (__posix_fallocate64_l64): Likewise.
12533 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12534 Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12536 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12537 (__get_clockfreq): Likewise.
a1ffb40e
OB
12538 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12539 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12540 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12543 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12544 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12545 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12546 Likewise.
12547 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12548 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12549 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12552 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12553 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12554 Likewise.
12555 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12556 (posix_fallocate): Likewise.
12557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12558 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12559 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12560 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12561 (elf_machine_rela, elf_machine_rela_relative)
12562 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12563 * time/asctime.c (asctime_internal): Likewise.
12564 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12565 * time/tzset.c (__tzset_parse_tz): Likewise.
12566 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12567 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12568 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12569 * wcsmbs/wcsmbsload.h: Likewise.
12570
f3d338c9
OB
12571 [BZ #15894]
12572 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12573
57f41c40
AS
12574 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12575 (arena_get2): Remove THREAD_STATS conditionals.
12576 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12577 (__malloc_stats, int): Likewise.
bdfe308a 12578
d674667c
MF
125792014-02-08 Mike Frysinger <vapier@gentoo.org>
12580
12581 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12582 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12583
6349768c
MF
12584 * manual/setjmp.texi: Fix typos/grammar errors.
12585
0b7c7473
MF
12586 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12587 Only return early when n is <= 0. Delete unused return statement.
12588
ac8cc9e3
MF
12589 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12590 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12591 * debug/tst-longjmp_chk3.c: New file.
12592
c5bb8e23
MF
12593 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12594 (test_main): Replace code with set_fortify_handler call.
12595 * debug/test-strcpy_chk.c: Likewise.
12596 * debug/tst-chk1.c: Likewise.
12597 * debug/tst-longjmp_chk.c: Likewise.
12598 * test-skeleton.c: Include fcntl.h & paths.h
12599 (set_fortify_handler): Define.
12600
10444e42
MF
12601 * debug/tst-longjmp_chk.c: Add header comment and include
12602 ../test-skeleton.c.
12603 (do_test): Mark static.
12604 (TEST_FUNCTION): Define.
12605
1e805e8d
MF
12606 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12607 (IP_PMTUDISC_INTERFACE): Likewise.
12608 (IP_MULTICAST_IF): Likewise.
12609 (IP_MULTICAST_TTL): Likewise.
12610 (IP_MULTICAST_LOOP): Likewise.
12611 (IP_ADD_MEMBERSHIP): Likewise.
12612 (IP_DROP_MEMBERSHIP): Likewise.
12613 (IP_UNBLOCK_SOURCE): Likewise.
12614 (IP_BLOCK_SOURCE): Likewise.
12615 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12616 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12617 (IP_MSFILTER): Likewise.
12618 (MCAST_JOIN_GROUP): Likewise.
12619 (MCAST_BLOCK_SOURCE): Likewise.
12620 (MCAST_UNBLOCK_SOURCE): Likewise.
12621 (MCAST_LEAVE_GROUP): Likewise.
12622 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12623 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12624 (MCAST_MSFILTER): Likewise.
12625 (IP_MULTICAST_ALL): Likewise.
12626 (IP_UNICAST_IF): Likewise.
12627
73f79bb7
MF
12628 * timezone/Makefile: Delete $(have-ksh) check.
12629 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12630 * timezone/tzselect.ksh: Add +x mode bits.
12631
8da79b60
MF
12632 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12633 (ANON_INODE_FS_MAGIC): Likewise.
12634 (BDEVFS_MAGIC): Likewise.
12635 (BINFMTFS_MAGIC): Likewise.
12636 (BTRFS_TEST_MAGIC): Likewise.
12637 (CRAMFS_MAGIC_WEND): Likewise.
12638 (DEBUGFS_MAGIC): Likewise.
12639 (ECRYPTFS_SUPER_MAGIC): Likewise.
12640 (EXT3_SUPER_MAGIC): Likewise.
12641 (EXT4_SUPER_MAGIC): Likewise.
12642 (FUTEXFS_SUPER_MAGIC): Likewise.
12643 (HOSTFS_SUPER_MAGIC): Likewise.
12644 (HUGETLBFS_MAGIC): Likewise.
12645 (MINIX3_SUPER_MAGIC): Likewise.
12646 (MTD_INODE_FS_MAGIC): Likewise.
12647 (NILFS_SUPER_MAGIC): Likewise.
12648 (OPENPROM_SUPER_MAGIC): Likewise.
12649 (PIPEFS_MAGIC): Likewise.
12650 (PSTOREFS_MAGIC): Likewise.
12651 (QNX6_SUPER_MAGIC): Likewise.
12652 (RAMFS_MAGIC): Likewise.
12653 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12654 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12655 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12656 (SECURITYFS_MAGIC): Likewise.
12657 (SELINUX_MAGIC): Likewise.
12658 (SMACK_MAGIC): Likewise.
12659 (SOCKFS_MAGIC): Likewise.
12660 (SQUASHFS_MAGIC): Likewise.
12661 (STACK_END_MAGIC): Likewise.
12662 (TMPFS_MAGIC): Likewise.
12663 (USBDEVICE_SUPER_MAGIC): Likewise.
12664 (V9FS_MAGIC): Likewise.
12665 (XENFS_SUPER_MAGIC): Likewise.
12666 (CRAMFS_MAGIC): Fix typo in comment.
12667 (EXT2_SUPER_MAGIC): Update comment.
12668 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12669
464263cc
JM
126702014-02-08 Joseph Myers <joseph@codesourcery.com>
12671
c6bfe5c4
JM
12672 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12673 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12674 * sysdeps/unix/sysv/linux/arm: Move directory from
12675 ports/sysdeps/unix/sysv/linux/arm.
12676 * README: Update listing for arm-*-linux-gnueabi.
12677
464263cc
JM
12678 * README: Remove mention of am33.
12679
32749f6c
RM
126802014-02-07 Roland McGrath <roland@hack.frob.com>
12681
12682 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12683 than the comma operator, to avoid "rhs of comma has no effect"
12684 compiler warnings.
12685 (__sigfillset, __sigandset, __sigorset): Likewise.
12686 * include/signal.h (__sigemptyset): Likewise.
12687 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12688
d5b396c1
AM
126892014-02-07 Allan McRae <allan@archlinux.org>
12690
12691 * version.h (RELEASE): Set to "development".
12692 (VERSION): Set to "2.19.90"
12693 * NEWS: Add 2.20 section.
12694
3bfff2ed
CD
126952014-02-06 Carlos O'Donell <carlos@redhat.com>
12696
12697 [BZ #16529]
12698 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12699
ee7cc385
SP
127002014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12701
12702 * manual/contrib.texi: Update entry for Carlos O'Donell,
12703 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12704
f877c4f2
CD
127052014-02-05 Carlos O'Donell <carlos@rehdat.com>
12706
27e839f6
CD
12707 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12708
f877c4f2
CD
12709 * sysdeps/unix/sysv/linux/kernel-features.h
12710 [__LINUX_KERNEL_VERSION >= 0x020621]
12711 (__ASSUME_PROC_PID_TASK_COMM): Define.
12712
68159946
SP
127132014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12714
ba17cdbd
SP
12715 [BZ #16398]
12716 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12717 conversion when destination buffer does not have enough space.
12718 * libio/tst-ftell-partial-wide.c: New test case.
12719 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12720
68159946
SP
12721 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12722 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12723 Leonard and Allan McRae.
12724
2b528732
DM
127252014-02-04 David S. Miller <davem@davemloft.net>
12726
12727 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12728 32-bit.
12729
0ff82463
AZ
127302014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12731
57f41c40
AS
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12733 New file
c01603f7
AZ
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12735 New file
57f41c40
AS
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12737 New file.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12739 New file.
c01603f7
AZ
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12741 New file.
57f41c40
AS
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12743 New file.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12745 New file.
c01603f7
AZ
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12747 New file.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12749 New file.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12751 New file.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12753 New file.
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12755 New file.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12757 New file.
12758
127592014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12760
0ff82463
AZ
12761 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12762 * shlib-versions: Likewise.
12763
1695c773
AZ
127642014-02-04 Roland McGrath <roland@hack.frob.com>
12765 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12766
12767 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12768 (abilist-pattern): New variable, set to %-le.abilist.
12769
12770 * Makerules (abilist-pattern): New variable.
12771 (vpath): Use $(abilist-pattern) in place of %.abilist.
12772 (check-abi-% pattern rule): Likewise.
12773 (check-abi, update-abi): Likewise.
12774
6c0ce4b4
EW
127752014-02-04 Eric Wong <normalperson@yhbt.net>
12776
12777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12778
481e3524
CD
127792014-02-03 Carlos O'Donell <carlos@redhat.com>
12780
12781 * manual/startup.texi: Add next, previous, and top entries for
12782 the `Program Arguments' and `Environment Variables' nodes.
12783
375592d3
AO
127842014-02-03 Alexandre Oliva <aoliva@redhat.com>
12785
12786 * manual/macros.texi: Add comments before MTASC-safety macros.
12787
f54838ba
AO
12788 * manual/users.texi: Document MTASC-safety properties.
12789
57f41c40
AS
12790 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12791 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12792 @deftypefun, and add @safety note.
12793 * manual/signal.texi: Move comments that analyze the above
12794 functions to their home place.
12795
fd3daba4
AM
127962014-02-03 Allan McRae <allan@archlinux.org>
12797
12798 * po/sl.po: Update Slovenian translation from translation project.
12799
597636d7
AO
128002014-02-02 Alexandre Oliva <aoliva@redhat.com>
12801
12802 * manual/time.texi (timegm): Add missing blank after @c.
12803 Reported by Joseph Myers <joseph@codesourcery.com>.
12804
ee196e3c
AO
128052014-02-01 Alexandre Oliva <aoliva@redhat.com>
12806
12807 * manual/check-safety.sh: New.
12808 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12809
f8d529d5
AO
12810 * manual/terminal.texi: Document MTASC-safety properties.
12811
de55fdf4
AO
12812 * manual/filesys.texi: Document MTASC-safety properties.
12813
c3299c08
AO
12814 * manual/errno.texi: Document MTASC-safety properties.
12815
06e90b14
AO
12816 * manual/intro.texi: Document safety identifiers and
12817 conditionals.
12818
1acd4371
AO
12819 * manual/string.texi (wcstok): Fix prototype.
12820 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12821
23e5b8cb
AO
12822 * manual/time.texi: Document MTASC-safety properties.
12823
11087373
AO
12824 * manual/string.texi: Document MTASC-safety properties.
12825
5da2c93d
AO
12826 * manual/threads.texi: Document MTASC-safety properties.
12827
171e9210
AO
12828 * manual/stdio.texi: Document MTASC-safety properties.
12829
d9e02532
AO
12830 * manual/syslog.texi: Document MTASC-safety properties.
12831
6af8bab7
AO
12832 * manual/sysinfo.texi: Document MTASC-safety properties.
12833
663b02d7
AO
12834 * manual/startup.texi: Document MTASC-safety properties.
12835
973f180b
AO
12836 * manual/socket.texi: Document MTASC-safety properties.
12837
8f3c25c8
AO
12838 * manual/signal.texi: Document MTASC-safety properties.
12839
542210fb
AO
128402014-01-31 Alexandre Oliva <aoliva@redhat.com>
12841
12842 * manual/setjmp.texi: Document MTASC-safety properties.
12843
433c45a2
AO
12844 * manual/search.texi: Document MTASC-safety properties.
12845
c8ce789c
AO
12846 * manual/resource.texi: Document MTASC-safety properties.
12847
19f5d29c
AO
12848 * manual/process.texi: Document MTASC-safety properties.
12849
e2dfb7f4
AO
12850 * manual/platform.texi: Document MTASC-safety properties.
12851
8c1413f5
AO
12852 * manual/pipe.texi: Document MTASC-safety properties.
12853
03483ada
AO
12854 * manual/pattern.texi: Document MTASC-safety properties.
12855
29e7e2df
AO
12856 * manual/message.texi: Document MTASC-safety properties.
12857
9f529d7c
AO
12858 [BZ #12751]
12859 * manual/memory.texi: Document MTASC-safety properties.
12860
27aaa791
AO
12861 * manual/math.texi: Document MTASC-safety properties.
12862
f2d58726
AO
12863 * manual/locale.texi: Document MTASC-safety properties.
12864
2cc3615c
AO
12865 * manual/llio.texi: Document MTASC-safety properties.
12866
d9f0ec97
AO
12867 * manual/libdl.texi: New.
12868
e7c4409a
AO
12869 * manual/lang.texi: Document MTASC-safety properties.
12870
27bdc63c
AO
12871 * manual/job.texi: Document MTASC-safety properties.
12872
a7b90ea9
AO
12873 * manual/getopt.texi: Document MTASC-safety properties.
12874
c49130e3
AO
12875 * manual/ctype.texi: Document MTASC-safety properties.
12876
0d23a5c1
MR
128772014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12878
12879 [BZ #16046]
12880 * csu/libc-tls.c (static_map): Remove variable.
12881 (__libc_setup_tls): Use main executable's link map for TLS data.
12882 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12883 casing for LM_ID_BASE and GL(dl_nns).
12884 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12885 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12886 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12887 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12888 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12889 member.
12890 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12891 l_phnum members.
12892
0037bb60
AO
128932014-01-30 Alexandre Oliva <aoliva@redhat.com>
12894
12895 * manual/debug.texi: Document MTASC-safety properties.
12896
409e00bd
L
128972014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12898
12899 [BZ #16510]
12900 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12901 of __x86_64__ when disabling x87 inline functions.
12902
86e60666
AO
129032014-01-29 Alexandre Oliva <aoliva@redhat.com>
12904
12905 * manual/charset.texi: Document MTASC-safety properties.
12906
76167637
AO
12907 * manual/crypt.texi: Document MTASC-safety properties.
12908
e567f2a0
AO
12909 * manual/conf.texi: Document MTASC-safety properties.
12910
b719dafd
AO
12911 * manual/arith.texi: Document MTASC-safety properties.
12912
4a16c662
AO
12913 * manual/argp.texi: Document MTASC-safety properties.
12914
0a57b83e
AO
12915 * manual/macros.texi: Introduce macros to document multi
12916 thread, asynchronous signal and asynchronous cancellation
12917 safety properties.
12918 * manual/intro.texi: Introduce the properties themselves.
12919
feab2397
KK
129202014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12921
12922 * sysdeps/sh/sh4/Makefile: New file.
12923
1c0d11bc
AS
129242014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12925
12926 * math/gen-libm-test.pl ($srcdir): New variable.
12927 ($auto_input): Use it.
12928
af37a8a3
SP
129292014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12930
d7b00f98
SP
12931 [BZ #16506]
12932 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12933 access beyond array bounds when parsing netgroups file.
12934
af37a8a3
SP
12935 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12936 the old buffer before realloc.
12937
0c00f062
AM
129382014-01-27 Allan McRae <allan@archlinux.org>
12939
12940 * po/fr.po: Update French translation from translation project.
12941
7d69a1b0
KK
129422014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12943
12944 * sysdeps/sh/libm-test-ulps: Regenerate.
12945
6e697ff7
DM
129462014-01-24 David S. Miller <davem@davemloft.net>
12947
12948 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12949
9cadb35c
KK
129502014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12951
12952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12953 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12954
5d41dadf
SP
129552013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12956
12957 [BZ #16474]
12958 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12959 string pointers after reallocation.
12960
0bad441c
KK
129612014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12962
12963 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12964 __SH4A__ instead of __SH_FPU_ANY__.
12965
7007c661
KK
129662014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12967
12968 * sysdeps/sh/fpu_control.h: New file.
12969 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12970 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12971 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12972 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12973 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12974 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12975 * sysdeps/sh/sys/ucontext.h: Remove.
12976 * sysdeps/sh/sys: Remove directory.
12977
0f0c35e4
AK
129782014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12979
12980 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12981 s390/sys/ucontext.h.
12982 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12984
4959e284
L
129852014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12986
12987 [BZ #15605]
12988 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12989
d98720e0
AZ
129902014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12991
12992 [BZ#16431]
12993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12994 Adjust the vDSO correctly for internal calls.
12995 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12996
91cbd0bc
AM
129972014-01-20 Allan McRae <allan@archlinux.org>
12998
12999 * po/ca.po: Update Catalan translation from translation project.
13000
7a02cfad
MF
130012014-01-16 Mike Frysinger <vapier@gentoo.org>
13002
13003 * sysdeps/s390/sotruss-lib.c: New file.
13004
736c304a
AZ
130052014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13006
13007 [BZ#16430]
6e077ee5 13008 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13009 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13010 local calls issues by not having a PLT stub required for IFUNC calls.
13011 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13012
94d0cea0
JM
130132014-01-16 Joseph Myers <joseph@codesourcery.com>
13014
13015 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13016 * math/test-fpucw-static.c: Likewise.
13017
980cb518
SP
130182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13019
13020 [BZ #16453]
13021 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13022
2393fc01
AZ
130232014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13024
13025 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13026 implementation for powerpc.
13027
d359bcc2
OB
130282014-01-15 Ondřej Bílka <neleai@seznam.cz>
13029
13030 [BZ #14782]
13031 * sysdeps/posix/system.c (__libc_system): Do not enable
13032 asynchronous cancellation.
13033
7beb48cb
AK
130342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13035
13036 [BZ #16427]
13037 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13038 handling only for numbers special also in the IEEE case.
13039
c20d5bf5
AK
130402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13041
13042 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13043
e83bd4ee
AM
130442014-01-11 Allan McRae <allan@archlinux.org>
13045
76d0ea69
AM
13046 * po/bg.po: Update Bulgarian translation from translation project.
13047
e83bd4ee
AM
13048 * po/de.po: Update German translation from translation project.
13049
bc2ba20a
RM
130502014-01-10 Roland McGrath <roland@hack.frob.com>
13051
13052 * sysdeps/generic/gcc-compat.h: New file.
13053
649ecea2
SP
130542014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13055
13056 * benchtests/asin-inputs: Correct slow inputs.
13057 * benchtests/acos-inputs: Likewise.
13058
1b19c006
AM
130592014-01-10 Allan McRae <allan@archlinux.org>
13060
a46dab08
AM
13061 * po:sv.po: Update Swedish translation from translation project.
13062
421df74a
AM
13063 * po/vi.po: Update Vietnamese translation from translation project.
13064
d61c51a7
AM
13065 * po/eo.po: Update Esperanto translation from translation project.
13066
0339a319
AM
13067 * po/cs.po: Update Czech translation from translation project.
13068
94ad3e99
AM
13069 * po/nl.po: Update Dutch translation from translation project.
13070
e349ca71
AM
13071 * po/pl.po: Update Polish translation from translation project.
13072
ddf930c1
AM
13073 * po/ru.po: Update Russian translation from translation project.
13074
1b19c006
AM
13075 * po/uk.po: Update Ukrainian translation from translation project.
13076
9f236c49
BM
130772014-01-08 Brooks Moses <bmoses@google.com>
13078
13079 * elf/dl-load.c: Fix comment typo.
13080
cd6701cf
CD
130812014-01-08 Carlos O'Donell <carlos@redhat.com>
13082
13083 * po/header.pot: Rename to...
13084 * po/pot.header: ... this.
13085 * po/Makefile: Use pot.header.
13086
66671c84
YK
130872014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13088 Maxim Kuvyrkov <maxim@kugelworks.com>
13089
13090 [BZ #16394]
cd6701cf
CD
13091 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13092 SRC and DEST against LEN.
66671c84 13093
38f34581
AZ
130942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095
13096 [BZ #16414]
13097 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13098 implementation.
13099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13100
131012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13102
13103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13104
4c327f2a
JM
131052014-01-08 Joseph Myers <joseph@codesourcery.com>
13106
13107 [BZ #16408]
13108 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13109 for large positive arguments.
13110
b821f414
JM
131112014-01-07 Joseph Myers <joseph@codesourcery.com>
13112
1f0f2067
JM
13113 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13114
a5a326f6
JM
13115 * math/auto-libm-test-in: Mark various tests with
13116 xfail-rounding:ldbl-128ibm.
13117 * math/auto-libm-test-out: Regenerated.
13118
b821f414
JM
13119 [BZ #16407]
13120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13121 Increase overflow threshold.
13122
94c8a4bc
OB
131232014-01-07 Ondřej Bílka <neleai@seznam.cz>
13124
13125 [BZ #14286]
13126 * stdio-common/vfprintf.c: Check for integer overflow.
13127
87ded0c3
AK
131282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13129
13130 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13131 the first argument and return value of __tls_get_addr_internal.
13132
c5eebdd0
AK
131332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13134
13135 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13136 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13137
05d138ef
AK
131382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13139
13140 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13141 * sysdeps/s390/rtld-global-offsets.sym: New file.
13142 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13143 GLIBC_2.19 symbol.
13144 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13146 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13147 ... this.
13148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13149 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13150 ... this.
13151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13152 Regenerate.
13153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13154 Regenerate.
13155 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13156 halfs of GPRs for high_gprs contexts.
13157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13158 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13159 field.
13160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13161 uc_flags field.
13162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13163 64 bit versions:
13164 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13165 for high GPRs (uc_high_gprs) and for future extensions
13166 (__reserved).
13167 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13168 for future extensions (__reserved).
13169 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13170 64 bit versions:
13171 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13172 SC_HIGHGPRS offset definition.
13173 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13174 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13175
93a45ff1
AK
13176 * Versions.def: Add GLIBC_2.19 for libpthread.
13177 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13178 siglongjmp for libpthread with GLIBC_2.19 symver.
13179 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13180 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13181 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13182 * sysdeps/s390/__longjmp.c: New file.
13183 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13184 * sysdeps/s390/longjmp.c: New file.
13185 * sysdeps/s390/setjmp.S: New file.
13186 * sysdeps/s390/sigjmp.S: New file.
13187 * sysdeps/s390/v1-longjmp.c: New file.
13188 * sysdeps/s390/v1-setjmp.h: New file.
13189 * sysdeps/s390/v1-sigjmp.c: New file.
13190 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13191 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13192 GLIBC_2.19 version.
13193 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13194 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13195 versioned symbols for ____longjmp_chk.
13196 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13199 Regenerate.
13200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13201 Regenerate.
13202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13203 Regenerate.
13204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13205 Regenerate.
13206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13207 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13208 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13209 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13210 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13211 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13212 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13213 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13214 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13215 * sysdeps/s390/rtld-__longjmp.c: New file.
13216 * sysdeps/s390/rtld-setjmp.S: New file.
13217
eb3fc44b
JM
132182014-01-06 Joseph Myers <joseph@codesourcery.com>
13219
13220 [BZ #16400]
13221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13222 Return -__logl (x) for small positive arguments without evaluating
13223 a polynomial.
13224
9341dde4
MF
132252014-01-06 Mike Frysinger <vapier@gentoo.org>
13226
13227 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13228 Rename to ...
13229 (__ptrace_peeksiginfo_args): ... this.
13230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13233
4cff0293
AM
132342014-01-06 Allan McRae <allan@archlinux.org>
13235
13236 * inet/netinet/in.h: Fix typo in comment.
13237
75595dcf
AJ
132382014-01-05 Andreas Jaeger <aj@suse.de>
13239
13240 * sysdeps/i386/fpu/libm-test-ulps: Update.
13241
79c1e109
AM
132422014-01-05 Allan McRae <allan@archlinux.org>
13243
dd804818
AM
13244 * po/libc.pot: Regenerated.
13245
79c1e109
AM
13246 * malloc/memusagestat.c: Fix gettext call formatting.
13247
0c813d1f
SK
132482014-01-04 Sami Kerola <kerolasa@iki.fi>
13249
13250 * nscd/nscd.c: Improve usage() output.
13251
20f4a8d9
MF
132522014-01-04 Mike Frysinger <vapier@gentoo.org>
13253
13254 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13255 * sysdeps/unix/sysv/linux/configure: Regenerated.
13256 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13257 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13258
22562bb2
JM
132592014-01-03 Joseph Myers <joseph@codesourcery.com>
13260
13261 [BZ #16390]
13262 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13263 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13264
d7ad2d9b
AZ
132652014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13266
13267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13268 extra tokens at end of #undef directive.
13269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13270 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13271 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13272
7dd009d8
JM
132732014-01-03 Joseph Myers <joseph@codesourcery.com>
13274
24db925a
JM
13275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13276
7dd009d8
JM
13277 * math/auto-libm-test-in: Mark various tests with
13278 xfail-rounding:ldbl-128ibm.
13279 * math/auto-libm-test-out: Regenerated.
13280
396e3ecf
JM
132812014-01-02 Joseph Myers <joseph@codesourcery.com>
13282
819e5d50
JM
13283 [BZ #16386]
13284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13285 numbers with subnormal high part when calculating exponent.
13286
90b6a1e5
JM
13287 [BZ #16385]
13288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13289 fabs.
13290
396e3ecf
JM
13291 [BZ #16384]
13292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13293 M_LN2l.
13294 (__ieee754_acoshl): Use __log1pl not __log1p.
13295
6c8dbf00
OB
132962013-01-02 Ondřej Bílka <neleai@seznam.cz>
13297
57f41c40
AS
13298 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13299 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13300 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13301 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13302 (reused_arena, arena_get2): Convert to GNU style.
13303 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13304 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13305 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13306 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13307 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13308 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13309 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13310 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13311 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13312 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13313 * malloc/malloc.h: Likewise.
57f41c40
AS
13314 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13315 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13316 * malloc/mcheck.h: Likewise.
57f41c40
AS
13317 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13318 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13319 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13320 * malloc/morecore.c (__default_morecore): Likewise.
13321 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13322 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13323 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13324 (print_and_abort): Likewise.
6c8dbf00
OB
13325 * malloc/obstack.h: Likewise.
13326 * malloc/set-freeres.c (__libc_freeres): Likewise.
13327 * malloc/tst-mallocstate.c (main): Likewise.
13328 * malloc/tst-mtrace.c (main): Likewise.
13329 * malloc/tst-realloc.c (do_test): Likewise.
13330
d4124212
SP
133312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13332
9a3c6a6f
SP
13333 [BZ #16366]
13334 * nscd/netgroupcache.c (do_notfound): New function.
13335 (addgetnetgrentX): Use it.
13336
d4124212
SP
13337 [BZ # 16365]
13338 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13339 NSS_STATUS_NOTFOUND.
13340
97b9a009
JM
133412014-01-01 Joseph Myers <joseph@codesourcery.com>
13342
13343 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13345
d4697bc9
AM
133462014-01-01 Allan McRae <allan@archlinux.org>
13347
ddb3687f
AM
13348 * scripts/update-copyrights: Update configure input file suffix.
13349
88726d48
AM
13350 * NEWS: Update copyright year.
13351 * catgets/gencat.c: Likewise.
13352 * csu/version.c: Likewise.
13353 * debug/catchsegv.sh: Likewise.
13354 * debug/pcprofiledump.c: Likewise.
13355 * debug/xtrace.sh: Likewise.
13356 * elf/ldconfig.c: Likewise.
13357 * elf/ldd.bash.in: Likewise.
13358 * elf/pldd.c: Likewise.
13359 * elf/sotruss.ksh: Likewise.
13360 * elf/sprof.c: Likewise.
13361 * iconv/iconv_prog.c: Likewise.
13362 * iconv/iconvconfig.c: Likewise.
13363 * locale/programs/locale.c: Likewise.
13364 * locale/programs/localedef.c: Likewise.
13365 * login/programs/pt_chown.c: Likewise.
13366 * malloc/memusage.sh: Likewise.
13367 * malloc/memusagestat.c: Likewise.
13368 * malloc/mtrace.pl: Likewise.
13369 * manual/libc.texinfo: Likewise.
13370 * nscd/nscd.c: Likewise.
13371 * nss/getent.c: Likewise.
13372 * nss/makedb.c: Likewise.
13373 * posix/getconf.c: Likewise.
13374 * scripts/test-installation.pl: Likewise.
13375
d4697bc9
AM
13376 * All files with FSF copyright notices: Update copyright dates
13377 using scripts/update-copyrights.
13378 * intl/plural.c: Regenerated.
13379 * locale/programs/charmap-kw.h: Likewise.
13380 * locale/programs/locfile-kw.h: Likewise.
13381
c8590f9d
MF
133822013-12-31 Mike Frysinger <vapier@gentoo.org>
13383
13384 * sysdeps/unix/sysv/linux/configure: Regenerated.
13385 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13386 the linux/fanotify.h header.
13387 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13388 HAVE_LINUX_FANOTIFY_H is defined.
13389
b19221b9
SP
133902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13391
dd1d85e5
SP
13392 * benchtests/cos-inputs: New inputs.
13393 * benchtests/sin-inputs: Likewise.
13394
1acbb90f
SP
13395 * benchtests/atan-inputs: New inputs. Fix name of multiple
13396 precision fallback inputs.
13397
4c012ed3
SP
13398 * benchtests/atanh-inputs: New inputs.
13399 * benchtests/tanh-inputs: Likewise.
13400
eff98324
SP
13401 * benchtests/acosh-inputs: New inputs.
13402 * benchtests/asinh-inputs: Likewise.
13403
ce641152
SP
13404 * benchtests/cosh-inputs: New inputs.
13405 * benchtests/sinh-inputs: Likewise.
13406
b19221b9
SP
13407 * benchtests/acos-inputs: Add more inputs.
13408 * benchtests/asin-inputs: Likewise.
13409
030a4976 134102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13411
030a4976 13412 [BZ #16375]
9dcc8f11
VS
13413 * manual/arith.texi: Fix spelling.
13414 * manual/charset.texi: Likewise.
13415 * manual/errno.texi: Likewise.
13416 * manual/filesys.texi: Likewise.
13417 * manual/lang.texi: Likewise.
13418 * manual/llio.texi: Likewise.
13419 * manual/locale.texi: Likewise.
13420 * manual/message.texi: Likewise.
13421 * manual/resource.texi: Likewise.
13422 * manual/search.texi: Likewise.
13423 * manual/setjmp.texi: Likewise.
13424 * manual/stdio.texi: Likewise.
13425 * manual/string.texi: Likewise.
13426 * manual/sysinfo.texi: Likewise.
13427 * manual/time.texi: Likewise.
13428
11520a57
CD
134292013-12-27 Carlos O'Donell <carlos@redhat.com>
13430
13431 * po/sl.po: New file.
13432
471103ae
MF
134332013-12-27 Mike Frysinger <vapier@gentoo.org>
13434
13435 * .gitignore: Add core/.gdbinit/.gdb_history.
13436
6c9642ed
AM
134372013-12-27 Allan McRae <allan@archlinux.org>
13438
13439 [BZ #16369]
13440 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13441 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13442
3f637079
BM
134432013-12-24 Brooks Moses <bmoses@google.com>
13444
13445 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13446 all compilers that claim C++98 compliance, not just GCC.
13447 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13448 Likewise.
13449
abc26e99
MK
134502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13451
13452 * NEWS: Restore accidentally deleted bug-fix entries.
13453
362b47fe
MK
134542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13455 Ondřej Bílka <neleai@seznam.cz>
13456
13457 [BZ #15073]
13458 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13459 have_lock.
362b47fe 13460
b9bcbbcb
OB
134612013-12-23 Ondřej Bílka <neleai@seznam.cz>
13462
13463 [BZ #12986]
13464 * manual/stdio.texi (String Input Conversions): Clarify that character
13465 classes are not supported.
13466
fb55fcd2
AZ
134672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13468
13469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13470
ef7344f0
JM
134712013-12-22 Joseph Myers <joseph@codesourcery.com>
13472
4f40e4b3
JM
13473 [BZ #16337]
13474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13475 Calculate results for small negative arguments directly rather
13476 than using reflection formula with special underflow handling.
13477
ef7344f0
JM
13478 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13479 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13480 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13481 (fchflags): Likewise.
13482 (revoke): Likewise.
13483 (setlogin): Likewise.
13484 (sigaltstack): Likewise.
13485 (wait4): Likewise.
13486 (sigblock): Remove.
13487 (sigsetmask): Likewise.
13488 (wait3): Likewise.
13489 (waitpid): Likewise.
13490 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13491 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13492 file.
13493 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13494 * sysdeps/unix/bsd/Makefile: ... here.
13495 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13496 * sysdeps/unix/bsd/Versions: ... here.
13497 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13498 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13499 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13500 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13501 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13502 * sysdeps/unix/bsd/sigblock.c: ... here.
13503 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13504 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13505 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13506 * sysdeps/unix/bsd/sigvec.c: ... here.
13507 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13508 * sysdeps/unix/bsd/tcdrain.c: ... here.
13509 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13510 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13511 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13512 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13513 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13514 * sysdeps/unix/bsd/wait.c: ... here.
13515 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13516 * sysdeps/unix/bsd/wait3.c: ... here.
13517 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13518 * sysdeps/unix/bsd/waitpid.c: ... here.
13519
5b0626b9
JM
135202013-12-21 Joseph Myers <joseph@codesourcery.com>
13521
13522 [BZ #16356]
13523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13524 round-to-nearest for [!USE_AS_EXPM1L].
13525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13526 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13527 more tests of exp and exp10. Expect some exp10 tests to miss
13528 exceptions or fail in directed rounding modes.
13529 * math/auto-libm-test-out: Regenerated.
13530 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13531 (exp10_test_tonearest): New function.
13532 (exp10_towardzero_test_data): New array.
13533 (exp10_test_towardzero): New function.
13534 (exp10_downward_test_data): New array.
13535 (exp10_test_downward): New function.
13536 (exp10_upward_test_data): New array.
13537 (exp10_test_upward): New function.
13538 (main): Call the new functions.
13539 * sysdeps/i386/fpu/libm-test-ulps: Update.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13541
7fda5682
JM
135422013-12-20 Joseph Myers <joseph@codesourcery.com>
13543
31e3a405
JM
13544 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13545 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13546 * math/auto-libm-test-out: Regenerated.
13547 * math/libm-test.inc (acosh_test_data): Add more tests.
13548 (atanh_test_data): Likewise.
13549 (ceil_test_data): Likewise.
13550 (copysign_test_data): Likewise.
13551 * sysdeps/i386/fpu/libm-test-ulps: Update.
13552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13553
85bff96a
JM
13554 * timezone/checktab.awk: Update from tzcode 2013i.
13555 * timezone/private.h: Likewise.
13556 * timezone/scheck.c: Likewise.
13557 * timezone/tzfile.h: Likewise.
13558 * timezone/tzselect.ksh: Likewise.
13559 * timezone/zdump.c: Likewise.
13560 * timezone/zic.c: Likewise.
13561
b7867a3b
JM
13562 * math/auto-libm-test-in: Add tests of cpow.
13563 * math/auto-libm-test-out: Regenerated.
13564 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13566 mpc_cc_c.
13567 (func_calc_desc): Add mpc_cc_c union field.
13568 (test_functions): Add cpow.
13569 (special_fill_2pi): New function.
13570 (special_real_inputs): Add 2pi.
13571 (calc_generic_results): Handle mpc_cc_c.
13572 * sysdeps/i386/fpu/libm-test-ulps: Update.
13573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13574
7fda5682
JM
13575 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13576 csqrt, ctan and ctanh.
13577 * math/auto-libm-test-out: Regenerated.
13578 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13579 (TEST_COND_x86): Likewise.
13580 (ccos_test_data): Use AUTO_TESTS_c_c.
13581 (ccosh_test_data): Likewise.
13582 (cexp_test_data): Likewise.
13583 (clog_test_data): Likewise.
13584 (csqrt_test_data): Likewise.
13585 (ctan_test_data): Likewise.
13586 (ctan_tonearest_test_data): Likewise.
13587 (ctan_towardzero_test_data): Likewise.
13588 (ctan_downward_test_data): Likewise.
13589 (ctan_upward_test_data): Likewise.
13590 (ctanh_test_data): Likewise.
13591 (ctanh_tonearest_test_data): Likewise.
13592 (ctanh_towardzero_test_data): Likewise.
13593 (ctanh_downward_test_data): Likewise.
13594 (ctanh_upward_test_data): Likewise.
13595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13596 mpc_c_c.
13597 (func_calc_desc): Add mpc_c_c union field.
13598 (FUNC_mpc_c_c): New macro.
13599 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13600 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13601 ctanh.
13602 (special_fill_min_subnorm_p120): New function.
13603 (special_real_inputs): Add min_subnorm_p120.
13604 (calc_generic_results): Handle mpc_c_c.
13605 * sysdeps/i386/fpu/libm-test-ulps: Update.
13606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607
5ff8d60e
SP
136082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13609
57f41c40
AS
13610 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13611 (do_sin_slow): New functions.
13612 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13613 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13614
84ba214c
SP
13615 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13616 Use M to change sign of result instead of X. Assume X is
13617 positive.
13618 (csloww1): Likewise.
13619 (__sin): Adjust.
13620 (__cos): Adjust.
13621
975195e4
SP
13622 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13623 arguments A and DA.
13624 (__sin): Adjust.
13625 (__cos): Likewise.
13626
5ff8d60e
SP
13627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13628 (__cos): Likewise.
13629 (sloww1): Don't adjust sign of DX.
13630 (csloww1): Likewise.
13631 (sloww2): Use X directly and don't adjust sign of DX.
13632 (csloww2): Likewise.
13633
eb983568
JM
136342013-12-19 Joseph Myers <joseph@codesourcery.com>
13635
64a17f1a
JM
13636 * math/auto-libm-test-in: Add tests of cabs and carg.
13637 * math/auto-libm-test-out: Regenerated.
13638 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13639 (carg_test_data): Likewise.
13640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13641 mpc_c_f.
13642 (func_calc_desc): Add mpc_c_f union field.
13643 (test_functions): Add cabs and carg.
13644 (calc_generic_results): Handle mpc_c_f.
13645
eb983568
JM
13646 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13647 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13648 as a macro and a compat symbol.
13649 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13650 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13651 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13652 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13653 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13655 not use .hidden.
13656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13657 Likewise.
13658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13659 Likewise.
13660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13661 Likewise.
13662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13663 Likewise.
13664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13665 Likewise.
13666 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13667 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13668 from GLIBC_2.3.2.
13669
6eeb678a
AZ
136702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13671
13672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13673
6f6fc482
JM
136742013-12-19 Joseph Myers <joseph@codesourcery.com>
13675
21fea2e2
JM
13676 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13677 trailing whitespace removed.
13678 * scripts/config.guess: Update to version 2013-11-29.
13679 * scripts/config.sub: Update to version 2013-10-01.
13680
6f6fc482
JM
13681 * math/auto-libm-test-in: Add tests of sincos.
13682 * math/auto-libm-test-out: Regenerated.
13683 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13685 mpfr_f_11.
13686 (func_calc_desc): Add mpfr_f_11 union field.
13687 (test_functions): Add sincos.
13688 (calc_generic_results): Handle mpfr_f_11.
13689 * sysdeps/i386/fpu/libm-test-ulps: Update.
13690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13691
83f5c32d
AS
136922013-12-19 Andreas Schwab <schwab@suse.de>
13693
13694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13695 CALL_MCOUNT.
13696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13698 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13699
c688b419
JM
137002013-12-19 Joseph Myers <joseph@codesourcery.com>
13701
335ee092
JM
13702 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13703 * sysdeps/i386/fpu/libm-test-ulps: Update.
13704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705
f88acd39
JM
13706 [BZ #16293]
13707 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13708 round-to-nearest mode when using frndint.
13709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13710 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13712 Likewise.
13713 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13714 sinh test to fail.
13715 * math/auto-libm-test-out: Regenerated.
13716 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13717 (TEST_COND_x86): Likewise.
13718 (expm1_tonearest_test_data): New array.
13719 (expm1_test_tonearest): New function.
13720 (expm1_towardzero_test_data): New array.
13721 (expm1_test_towardzero): New function.
13722 (expm1_downward_test_data): New array.
13723 (expm1_test_downward): New function.
13724 (expm1_upward_test_data): New array.
13725 (expm1_test_upward): New function.
13726 (main): Run the new test functions.
13727 * sysdeps/i386/fpu/libm-test-ulps: Update.
13728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13729
c688b419
JM
13730 * include/features.h: Update comment documenting feature test
13731 macros. Mention _DEFAULT_SOURCE in comment.
13732 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13733 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13734 _BSD_SOURCE and _SVID_SOURCE.
13735 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13736 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13737 !_SVID_SOURCE]: Likewise.
13738 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13739 (__USE_POSIX_IMPLICITLY): Define.
13740 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13741 (_POSIX_SOURCE): Undefine and redefine.
13742 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13743 (_POSIX_C_SOURCE): Likewise.
13744 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13745 (Feature Test Macros): Update documentation of default features.
13746
9f6e964c
RS
137472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13748
13749 * benchtests/Makefile: Add bench-strtok.
13750 * benchtests/bench-strtok.c: New file: strtok benchtest.
13751
ee0a148a
AM
137522013-12-19 Allan McRae <allan@archlinux.org>
13753
13754 * manual/install.texi: Suppress menu for plain text output.
13755 * INSTALL: Regenerated.
13756
b9ab448f
BM
137572013-12-18 Brooks Moses <bmoses@google.com>
13758
13759 [BZ #15846]
13760 * misc/getauxval.c: Include errno.h.
13761 (__getauxval): Set errno to ENOENT if the requested type is not
13762 found.
13763 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13764 don't declare with __attribute_const__.
13765 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13766 * manual/startup.texi: Document that getauxval sets errno.
13767
23776487
JM
137682013-12-18 Joseph Myers <joseph@codesourcery.com>
13769
f889953b
JM
13770 * math/auto-libm-test-in: Add tests of jn and yn.
13771 * math/auto-libm-test-out: Regenerated.
13772 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13773 (yn_test_data): Likewise.
13774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13775 mpfr_if_f.
13776 (func_calc_desc): Add mpfr_if_f union field.
13777 (FUNC_mpfr_if_f): New macro.
13778 (test_functions): Add jn and yn.
13779 (calc_generic_results): Assert type of second input for
13780 mpfr_ff_f. Handle mpfr_if_f.
13781 (output_for_one_input_case): Disable all checking for arguments
13782 fitting floating-point types in case of an integer argument.
13783 * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13785
23776487
JM
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13787 Don't expect fegetround reference in libm.so.
13788
cb756c6d
MS
137892013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13790
13791 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13792 $(config-cflags-nofma).
13793
2dec468f
JM
137942013-12-18 Joseph Myers <joseph@codesourcery.com>
13795
5953eb3a
JM
13796 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13797 * math/auto-libm-test-out: Regenerated.
13798
2dec468f
JM
13799 [BZ #16338]
13800 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13801 to determine exponent and adjust argument to have exponent of -1.
13802 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13803 log2.
13804 * math/auto-libm-test-out: Regenerated.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807
4d84e6ad
OB
138082013-12-18 Ondřej Bílka <neleai@seznam.cz>
13809
13810 * manual/probes.texi: Remove cases when per-thread arenas are
13811 disabled.
13812
1818483b
AS
138132013-12-18 Andreas Schwab <schwab@suse.de>
13814
13815 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13816 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13817 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13818 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13819 * sysdeps/i386/i686/multiarch/Makefile: Update.
13820 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13821
25de95bf
JM
138222013-12-17 Joseph Myers <joseph@codesourcery.com>
13823
13824 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13825 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13826
674762d9
PE
138272013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13828
ed27ed83 13829 [BZ #15968]
0748546f
PE
13830 Support TZ transition times < 00:00:00.
13831 This is needed for version-3 tz-format files; it supports time
13832 stamps past 2037 for America/Godthab (the only entry in the tz
13833 database for which this change is relevant).
13834 * manual/time.texi (TZ Variable): Document transition times
13835 from -167:59:59 through -00:00:01.
13836 * time/tzset.c (tz_rule): Time of day is now signed.
13837 (__tzset_parse_tz): Parse negative time of day.
13838
4480e934
PE
13839 Document TZ transition times >= 25:00:00.
13840 * manual/time.texi (TZ Variable): Document transition times from
13841 25:00:00 through 167:59:59. These are already supported, and this
13842 support will help with version-3 tz-format files.
13843
69947401
PE
13844 * manual/time.texi (TZ Variable): Modernize North America example
13845 to reflect current (i.e., 2007-and-later) daylight saving rules.
13846
674762d9
PE
13847 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13848
7011c262
JM
138492013-12-17 Joseph Myers <joseph@codesourcery.com>
13850
2fc6557e
JM
13851 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13852 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13855 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13856 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13857 * sysdeps/unix/bsd/clock.c: Likewise.
13858 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13859 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13860 * sysdeps/unix/bsd/init-posix.c: Likewise.
13861 * sysdeps/unix/bsd/poll.c: Likewise.
13862 * sysdeps/unix/bsd/ptsname.c: Likewise.
13863 * sysdeps/unix/bsd/seekdir.c: Likewise.
13864 * sysdeps/unix/bsd/setegid.c: Likewise.
13865 * sysdeps/unix/bsd/seteuid.c: Likewise.
13866 * sysdeps/unix/bsd/setgid.c: Likewise.
13867 * sysdeps/unix/bsd/setrgid.c: Likewise.
13868 * sysdeps/unix/bsd/setruid.c: Likewise.
13869 * sysdeps/unix/bsd/setsid.c: Likewise.
13870 * sysdeps/unix/bsd/setuid.c: Likewise.
13871 * sysdeps/unix/bsd/sigaction.c: Likewise.
13872 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13873 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13874 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13875 * sysdeps/unix/bsd/telldir.c: Likewise.
13876 * sysdeps/unix/bsd/times.c: Likewise.
13877 * sysdeps/unix/bsd/usleep.c: Likewise.
13878
029c7b25
JM
13879 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13880 ($(objpfx)libbsd-compat.a): Remove rule.
13881
7011c262
JM
13882 * include/features.h (__FAVOR_BSD): Do not define.
13883 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13884 features conflicting with POSIX.
13885 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13886 (_BSD_SOURCE): Remove description of not being a subset of other
13887 feature test macros.
13888 * manual/job.texi (getpgrp): Do not document BSD version.
13889 (getpgid): Do not document by reference to BSD getpgrp.
13890 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13891 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13892 * signal/signal.h [__FAVOR_BSD]: Likewise.
13893 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13894 instead of making contents conditional on [__FAVOR_BSD].
13895 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13896
affb6f78
AZ
138972013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13898
13899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13900
c88769dd
JM
139012013-12-17 Joseph Myers <joseph@codesourcery.com>
13902
6432a540
JM
13903 [BZ #16314]
13904 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13905 values below 2**-450, not 2**-500.
13906 * math/auto-libm-test-in: Don't allow spurious underflow from
13907 hypot.
13908 * math/auto-libm-test-out: Regenerated.
13909
c88769dd
JM
13910 [BZ #16316]
13911 [BZ #16330]
13912 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13913 values of ha and hb and sort them after adjusting subnormal
13914 arguments.
13915 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13916 Likewise.
13917 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13918 values of ea and eb and sort them after adjusting subnormal
13919 arguments.
13920 * math/auto-libm-test-in: Do not expect some hypot tests of
13921 subnormals to fail. Add more hypot tests.
13922 * math/auto-libm-test-out: Regenerated.
13923
29618f6b
KK
139242013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13925
13926 [BZ #13304]
13927 * sysdeps/sh/s_fma.c: New file.
13928 * sysdeps/sh/s_fmaf.c: New file.
13929 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13930 version.
13931 * sysdeps/sh/Implies: Add sh/soft-fp.
13932
eacfdfbf
RM
139332013-12-16 Roland McGrath <roland@hack.frob.com>
13934
13935 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13936 level of indirection to members `objname', `errstring', `malloced'.
13937 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13938 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13939 it as the __longjmp argument (just pass 1 instead).
13940 (_dl_catch_error): Initialize C with argument pointers and address of
13941 volatile local ERRCODE rather than copying values out of C at return.
13942
ff362e5b
JM
139432013-12-16 Joseph Myers <joseph@codesourcery.com>
13944
13945 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13946 * math/auto-libm-test-out: Regenerated.
13947 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13948 (hypot_test_data): Likewise.
13949 (pow_test_data): Likewise.
13950 (pow_tonearest_test_data): Likewise.
13951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13952 mpfr_ff_f.
13953 (func_calc_desc): Add mpfr_ff_f union field.
13954 (FUNC_mpfr_ff_f): New macro.
13955 (test_functions): Add atan2, hypot and pow.
13956 (special_fill_min): New function.
13957 (special_fill_minus_min): Likewise.
13958 (special_fill_min_subnorm): Likewise.
13959 (special_fill_minus_min_subnorm): Likewise.
13960 (special_real_inputs): Add min, -min, min_subnorm and
13961 -min_subnorm.
13962 (calc_generic_results): Handle mpfr_ff_f.
13963 * sysdeps/i386/fpu/libm-test-ulps: Update.
13964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13965
5764c27f
WN
139662013-12-16 Will Newton <will.newton@linaro.org>
13967
13968 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13969 (Aligned Memory Blocks): Add documentation for aligned_alloc
13970 and suggest it as an alternative to posix_memalign.
13971 (Hooks for Malloc): Document __memalign_hook is also called
13972 for aligned_alloc. (Summary of Malloc): Add summary for
13973 aligned alloc. Document __memalign_hook is also called
13974 for aligned_alloc.
13975
0a096e44
WN
139762013-12-16 Will Newton <will.newton@linaro.org>
13977
13978 * manual/memory.texi (Malloc Examples): Clarify default
13979 alignment documentation. Suggest posix_memalign rather
13980 than memalign or valloc.
13981 (Aligned Memory Blocks): Remove suggestion to use memalign
13982 or valloc. Remove obsolete comment about BSD.
13983 Document memalign errno values and mark the function obsolete.
13984 Document posix_memalign returned error codes. Mark valloc
13985 as obsolete. (Hooks for Malloc): __memalign_hook is also
13986 called for posix_memalign and valloc.
13987 (Summary of Malloc): Add posix_memalign to function summary.
13988 __memalign_hook is also called for posix_memalign and valloc.
13989
8d561986
SP
139902013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13991
13992 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13993 TAYLOR_SIN.
13994 (__sin): Adjust.
13995 (__cos): Likewise.
13996 (sloww): Use mynumber union. Expand ternary operator into
13997 if-else statements.
13998 (cslow): use mynumber union.
13999
73616a74
AM
140002013-12-16 Allan McRae <allan@archlinux.org>
14001
9e8ac24b
AM
14002 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14003 * configure: Regenerated.
14004
6f8e37eb
AM
14005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14006
8894bad3
AM
14007 [BZ #14120]
14008 * configure.ac: Added --enable-maintainer-mode. Check for
14009 autoconf when enabled.
14010 * configure: Regenerated.
14011
73616a74
AM
14012 * nscd/nscd.service: New file.
14013 * nscd/nscd.tmpfiles: New file.
14014
584b18eb
OB
140152013-12-14 Ondřej Bílka <neleai@seznam.cz>
14016
14017 [BZ #12100]
14018 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14019 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14020 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14021 (strstr): Add __strstr_sse2_unaligned ifunc.
14022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14023 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14024 (strcasestr): Remove __strcasestr_sse42 ifunc.
14025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14028
8a5c7897
KK
140292013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14030
14031 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14032 * sysdeps/sh/bits/fenv.h: ... here.
14033 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14034
fd712ef3
AZ
140352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14036
14037 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14038
42fcb46c
AZ
14039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14040 hypotf multiarch implementations.
14041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14044 multiarch hypot for PPC64.
14045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14048 multiarch hypotf for PPC64.
14049
83efded4
AZ
14050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14051 modff multiarch implementations.
14052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14055 multiarch modf for PPC64.
14056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14059 multiarch modff for PPC64.
14060
43e246d2
AZ
14061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14062 and logl multiarch implementations.
14063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14066 multiarch logb for PPC64.
14067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14070 multiarch logb for PPC64.
14071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14074 multiarch logb for PPC64.
14075
8fdad123
AZ
14076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14077 isinff multiarch implementation.
14078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14079 file.
14080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14082 multiarch isinf for PPC64.
14083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14084 file.
14085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14086 multiarch isinff for PPC64.
14087
1481d706
AZ
14088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14089 finitef multiarch implementation.
14090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14091 file.
14092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14094 multiarch finite for PPC64.
14095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14096 file.
14097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14098 multiarch finitef for PPC64.
14099
5ccd5fc8
AZ
14100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14101 lrint multiarch implementation.
14102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14103 file.
14104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14106 multiarch llrint for PPC64.
14107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14108 multiarch lrint for PPC64.
14109
2568f3fa
AZ
14110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14111 copysignf multiarch implementation.
14112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14113 file.
14114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14115 file.
14116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14117 multiarch copysign for PPC64.
14118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14119 multiarch copysignf for PPC64.
14120
1cb341fd
AZ
14121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14122 multiarch implementation.
14123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14124 file.
14125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14126 file.
14127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14128 file.
14129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14130 file.
14131 multiarch llround for PPC64.
14132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14133 multiarch trunc for PPC64.
14134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14135 multiarch truncf for PPC64.
14136
59a3e194
AZ
14137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14138 multiarch implementation.
14139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14140 file.
14141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14142 file.
14143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14144 file.
14145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14146 file.
14147 multiarch llround for PPC64.
14148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14149 multiarch round for PPC64.
14150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14151 multiarch roundf for PPC64.
14152
357fd3b4
AZ
14153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14154 multiarch implementation.
14155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14156 file.
14157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14158 file.
14159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14160 file.
14161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14162 file.
14163 multiarch llround for PPC64.
14164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14165 multiarch floor for PPC64.
14166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14167 multiarch floorf for PPC64.
14168
96770f12
AZ
14169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14170 multiarch implementation.
14171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14172 file.
14173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14174 file.
14175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14176 file.
14177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14178 file.
14179 multiarch llround for PPC64.
14180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14181 multiarch ceil for PPC64.
14182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14183 multiarch ceilf for PPC64.
14184
c3627f6e
AZ
14185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14186 multiarch implementation.
14187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14188 file.
14189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14190 file.
14191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14192 file.
14193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14194 multiarch llround for PPC64.
14195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14196 multiarch lround for PPC64.
14197
b2284ad7
AZ
14198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14199 multiarch implementation.
14200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14203 file.
14204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14207 multiarch isnan for PPC64.
14208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14209 multiarch isnanf for PPC64.
14210
69bbc63d
AZ
14211 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14212 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14213 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14214 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14215 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14217
c24517c9
AZ
14218 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14219 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14222
a52374e8
AZ
14223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14224 multiarch implementations.
14225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14226 (__libc_ifunc_impl_list): Likewise.
14227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14230 multiarch stpcpy for PPC64.
14231
7f5ec113
AZ
14232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14233 multiarch implementations.
14234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14235 (__libc_ifunc_impl_list): Likewise.
14236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14237 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14238 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14239 multiarch strcpy for PPC64.
14240
e28bcd42
AZ
14241 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14242 redefine function name.
14243 (_wordcopy_fwd_dest_aligned): Likewise.
14244 (_wordcopy_bwd_aligned): Likewise.
14245 (_wordcopy_bwd_dest_aligned): Likewise.
14246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14247 multiarch implementations.
14248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14249 (__libc_ifunc_impl_list): Likewise.
14250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14251 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14253 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14254 multiarch wcscpy for PPC64.
14255
92cacfce
AZ
14256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14257 multiarch implementations.
14258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14259 (__libc_ifunc_impl_list): Likewise.
14260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14264 multiarch wcscpy for PPC64.
14265
7b714620
AZ
14266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14267 multiarch implementations.
14268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14269 (__libc_ifunc_impl_list): Likewise.
14270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14274 multiarch wcsrchr for PPC64.
14275
16fd2ae3
AZ
14276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14277 multiarch implementations.
14278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14279 (__libc_ifunc_impl_list): Likewise.
14280 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14281 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14282 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14283 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14284 multiarch wcschr for PPC64.
14285
9ee2969b
AZ
14286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14287 multiarch implementations.
14288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14289 (__libc_ifunc_impl_list): Likewise.
14290 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14291 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14293 multiarch strchrnul for PPC64.
14294
372dc060
AZ
14295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14296 implementations.
14297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14298 (__libc_ifunc_impl_list): Likewise.
14299 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14300 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14301 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14302 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14303 strchr for PPC64.
14304
24c2c3b9
AZ
14305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14306 implementations.
14307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14308 (__libc_ifunc_impl_list): Likewise.
14309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14312 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14313 strncmp for PPC64.
14314
1c92d9a0
AZ
14315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14316 multiarch implementations.
14317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14318 (__libc_ifunc_impl_list): Likewise.
14319 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14320 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14321 strncasecmp for PPC64.
14322 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14323 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14324 multiarch strncasecmp_l for PPC64.
14325
17de3ee3
AZ
14326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14327 multiarch implementations.
14328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14329 (__libc_ifunc_impl_list): Likewise.
14330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14332 multiarch strcasecmp for PPC64.
14333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14334 file.
14335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14336 multiarch strcasecmp_l for PPC64.
14337
62982bf9
AZ
14338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14339 implementations.
14340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14341 (__libc_ifunc_impl_list): Likewise.
14342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14343 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14344 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14345 strnlen for PPC64.
14346
a65f4904
AZ
14347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14348 implementations.
14349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14350 (__libc_ifunc_impl_list): Likewise.
14351 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14352 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14353 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14354 strlen for PPC64.
14355
1fd005ad
AZ
14356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14357 implementations.
14358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14359 (__libc_ifunc_impl_list): Likewise.
14360 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14361 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14362 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14363 rawmemrchr for PPC64.
14364
cd05ba91
AZ
14365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14366 implementation.
14367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14368 (__libc_ifunc_impl_list): Likewise.
14369 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14370 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14371 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14372 memrchr for PPC64.
14373
870f8676
AZ
14374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14375 implementation.
14376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14377 (__libc_ifunc_impl_list): Likewise.
14378 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14379 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14380 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14381 memchr for PPC64.
14382
f00be62b
AZ
14383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14384 implementation.
14385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14386 (__libc_ifunc_impl_list): Likewise.
14387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14390 mempcpy for PPC64.
14391
8a29a3d0
AZ
14392 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14393 avoid cretion of __bzero symbol.
14394 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14395 Likewise.
14396 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14397 Likewise.
14398 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14399 Likewise.
14400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14401 multiarch implementations.
14402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14403 (__libc_ifunc_impl_list): Likewise.
14404 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14405 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14407 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14408 bzero for PPC32.
14409 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14410 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14411 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14412 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14413 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14414 memset for PPC64.
14415 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14416
07253fcf
AZ
14417 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14419 implementations.
14420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14421 (__libc_ifunc_impl_list): Likewise.
14422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14424 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14425 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14426 memcmp for PPC64.
14427
b5beafbc
AZ
14428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14429 multiarch for POWER/PPC64.
14430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14431 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14438 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14439 memcpy for PPC64.
14440
5e6a4d4b
AZ
14441 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14442 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14443 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14444 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14445 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14446 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14447 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14448 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14449 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14450 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14451 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14452 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14453 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14454 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14455 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14463
ddfab6dc
KK
144642013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14465
14466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14467
19b5525e
SP
144682013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14469
14470 * benchtests/Makefile (bench): Add exp2 and log2.
14471 (LDLIBS-bench-exp2): Add -lm.
14472 (LDLIBS-bench-log2): Likewise.
14473 * benchtests/exp2-inputs: New inputs file.
14474 * benchtests/log2-inputs: New inputs file.
14475 * benchtests/log-inputs: Add new inputs.
14476 * benchtests/tan-inputs: Likewise.
14477
196f7f5d
SP
144782013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14479
7a74607f
SP
14480 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14481 definition...
57f41c40
AS
14482 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14483 (csloww2): ... from here.
7a74607f 14484
196f7f5d
SP
14485 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14486 instead of structures.
14487 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14488 (POLYNOMIAL): Likewise.
14489 (TAYLOR_SLOW): Likewise.
14490 (__sin): Likewise.
14491 (__cos): Likewise.
14492 (slow1): Likewise.
14493 (slow2): Likewise.
14494 (sloww): Likewise.
14495 (sloww1); Likewise.
14496 (sloww2): Likewise.
14497 (bsloww1): Likewise.
14498 (bsloww2): Likewise.
14499 (cslow2): Likewise.
14500 (csloww): Likewise.
14501 (csloww1): Likewise.
14502 (csloww2): Likewise.
14503
0dfa665c
OB
145042013-12-10 Ondřej Bílka <neleai@seznam.cz>
14505
14506 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14507 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14508 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14509 * malloc/hooks.c (realloc_check): Likewise.
14510
5782a80f
OB
14511 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14512 * malloc/arena.c: Remove PER_THREAD conditional.
14513 [!PER_THREAD]: Remove code.
14514 (ptmalloc_unlock_all2): Likewise.
14515 (ptmalloc_init): Likewise.
14516 (_int_new_arena): Likewise.
14517 (arena_get2): Likewise.
14518 * malloc/hooks.c (__malloc_get_state): Likewise.
14519 (__malloc_set_state): Likewise.
14520 * malloc/malloc.c: Likewise.
14521 (struct malloc_state): Likewise.
14522 (struct malloc_par): Likewise.
14523 (__libc_realloc): Likewise.
14524 (__libc_mallopt): Likewise.
14525
aeb95445
AZ
145262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14527
14528 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14529
e8349efd
OB
145302013-12-09 Ondřej Bílka <neleai@seznam.cz>
14531
14532 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14533 macro to a function. Check for zero perturb_byte.
14534 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14535
f3eeb3fc 14536 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14537 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14538 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14539 force_reg by atomic_forced_read.
14540 * malloc/arena.c (ptmalloc_init): Likewise.
14541 * malloc/hooks.c (top_check): Likewise.
14542
be2f9009
AZ
145432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14544
14545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14546
e7b914bd
MT
145472013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14548
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14550
9f0be4f8
JM
145512013-12-08 Joseph Myers <joseph@codesourcery.com>
14552
14553 * math/auto-libm-test-in: Add tests of lgamma.
14554 * math/auto-libm-test-out: Regenerated.
14555 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14556 (M_LOG_2_SQRT_PIl): Likewise.
14557 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14559 mpfr_f_f1.
14560 (func_calc_desc): Add mpfr_f_f1 union field.
14561 (ARGS1): New macro.
14562 (ARGS2): Likewise.
14563 (ARGS3): Likewise.
14564 (ARGS4): Likewise.
14565 (RET1): Likewise.
14566 (RET2): Likewise.
14567 (CALC): Likewise.
14568 (FUNC): Likewise.
14569 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14570 (test_functions): Add lgamma.
14571 (calc_generic_results): Handle mpfr_f_f1.
14572 * sysdeps/i386/fpu/libm-test-ulps: Update.
14573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14574
24eeafdb
AZ
145752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14576
14577 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14578 __mpn_add_n for PowerPC64/POWER7.
14579 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14580 __mpn_sub_n for PowerPC64/POWER7.
14581
4a2c0fd4
AZ
14582 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14583 __mpn_addmul_1 for PowerPC64.
14584 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14585 __mpn_submul_1 for PowerPC64.
14586 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14587 for PowerPC64.
14588 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14589 for PowerPC64.
14590
4b5b548c
FS
145912013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14592
14593 [BZ #15089]
14594 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14595
0a3ac0aa
AZ
145962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14597
14598 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14599
ccdc8438
AZ
14600 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14601 add multiarch folders.
14602 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14605 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14606 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14607 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14608 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14610 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14611 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14619
2e973d99
AZ
14620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14621 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14623 New file.
14624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14625 New file.
14626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14627 multiarch __ieee754_hypot for PowerPC32.
14628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14629 New file.
14630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14631 New file.
14632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14633 multiarch __ieee754_hypotf for PowerPC32.
14634
2d9470b2
AZ
14635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14636 long_double_symbol only if __logbl is defined.
14637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14638 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14640 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14642 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14643 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14644 path for implementation.
14645 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14646 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14648 logb, and logbl multiarch implementations for PowerPC32.
14649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14650 file.
14651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14652 file.
14653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14654 multiarch logb for PowerPC32.
14655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14656 file.
14657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14658 file.
14659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14660 multiarch logbf for PowerPC32.
14661 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14663 file.
14664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14665 multiarch logbl implementation for PowerPC32.
14666
5212ffce
AZ
14667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14668 and modff multiarch implementations.
14669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14670 New file.
14671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14672 New file.
14673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14674 multiarch modf for PowerPC32.
14675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14676 New file.
14677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14678 New file.
14679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14680 multiarch modff for PowerPC32.
14681
79dccf31
AZ
14682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14683 and lrintf multiarch implementations.
14684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14685 New file.
14686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14687 New file.
14688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14689 multiarch lrint for PowerPC32.
14690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14691 file: multiarch lrintf for PowerPC32.
14692
deb66480
AZ
14693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14694 and lroundf multiarch implementations.
14695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14696 New file.
14697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14698 New file.
14699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14700 New file.
14701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14702 multiarch lround for PowerPC32.
14703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14704 file: multiarch lroundf for PowerPC32.
14705
264b036b
AZ
14706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14707 copysign and copysignf multiarch implementations.
14708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14709 New file.
14710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14711 New file.
14712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14713 file: multiarch copysign for PowerPC32.
14714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14715 file: multiarch copysignf for PowerPC32.
14716
d47db6c9
AZ
14717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14718 and truncf multiarch implementations.
14719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14720 New file.
14721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14722 file.
14723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14724 multiarch trunc for PowerPC32.
14725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14726 New file.
14727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14728 New file.
14729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14730 multiarch truncf for PowerPC32.
14731
ddb60b5a
AZ
14732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14733 and roundf multiarch implementations.
14734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14735 New file.
14736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14737 file.
14738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14739 multiarch round for PowerPC32.
14740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14741 New file.
14742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14743 New file.
14744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14745 multiarch roundf for PowerPC32.
14746
bedcf49b
AZ
14747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14748 and floorf multiarch implementations.
14749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14750 New file.
14751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14752 file.
14753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14754 multiarch floor for PowerPC32.
14755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14756 New file.
14757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14758 New file.
14759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14760 multiarch floorf for PowerPC32.
14761
35ae5b40
AZ
14762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14763 and ceilf multiarch implementations.
14764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14765 New file.
14766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14767 file.
14768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14769 multiarch ceil for PowerPC32.
14770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14771 New file.
14772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14773 file.
14774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14775 multiarch ceilf for PowerPC32.
14776
ae1a4cd9
AZ
14777 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14778 is defined.
14779 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14780 FINITEF is defined.
14781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14782 and finitef multiarch implementations.
14783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14784 New file.
14785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14786 file.
14787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14788 multiarch finite for PowerPC32.
14789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14790 New file.
14791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14792 file: multiarch finitef for PowerPC32.
14793
64fffd65
AZ
14794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14795 and isinff multiarch implementations.
14796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14797 file.
14798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14799 file.
14800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14801 multiarch isinf for PowerPC32.
14802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14803 New file.
14804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14805 multiarch isinff for PowerPC32.
14806
8e4e7ba2
AZ
14807 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14808 alias when __isnan is defined.
14809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14810 and isnanf multiarch implementations.
14811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14812 file.
14813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14814 file.
14815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14816 file.
14817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14818 file.
14819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14820 multiarch isnan for PowerPC32.
14821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14822 New file.
14823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14824 New file.
14825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14826 multiarch isnanf for PowerPC32.
14827
ddba588e
AZ
14828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14829 and sqrtf multiarch implementations.
14830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14831 file.
14832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14833 file.
14834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14835 multiarch sqrt for PowerPC32.
14836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14837 file.
14838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14839 file.
14840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14841 multiarch sqrtf for PowerPC32.
14842
0f96a2f0
AZ
14843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14844 and llroundf multiarch implementations.
14845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14846 New file.
14847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14848 New file.
14849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14850 New file.
14851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14852 file: multiarch llround for PowerPC32.
14853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14854 file: multiarch llroundf for PowerPC32.
14855
c9b5d79e
AZ
14856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14857 multiarch PowerPC32 fpu implementations.
14858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14859 New file.
14860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14861 New file.
14862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14863 multiarch llrint for PowerPC32.
14864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14865 New file.
14866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14867 New file.
14868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14869 file.
14870
9cbb3aab
AZ
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14872
ea5a72f8
AZ
14873 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14874 file.
14875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14876 file.
14877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14878 file.
14879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14880 multiarch wordcopy for PPC32.
14881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14882 wordcopy objects.
14883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14884 (__libc_ifunc_impl_list): Likewise.
14885 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14886 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14888 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14890 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14891
93be09e7
AZ
14892 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14894 file.
14895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14896 file.
14897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14898 file.
14899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14900 multiarch wcscpy for PPC32.
14901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14902 multiarch objects.
14903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14904 (__libc_ifunc_impl_list): Likewise.
14905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14906 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14907 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14908 sysdeps/powerpc/power6/wcscpy.c.
14909
bb04e529
AZ
14910 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14912 file.
14913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14914 file.
14915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14916 file.
14917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14918 multiarch wcsrchr for PPC32.
14919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14920 multiarch objects.
14921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14922 (__libc_ifunc_impl_list): Likewise.
14923 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14924 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14925 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14926 sysdeps/powerpc/power6/wcsrchr.c.
14927
05b5cd1c
AZ
14928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14929 file.
14930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14931 file.
14932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14934 multiarch wcschr for PPc32.
14935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14936 multiarch objects.
14937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14938 (__libc_ifunc_impl_list): Likewise.
14939 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14940 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14941 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14942 sysdeps/powerpc/power6/wcschr.c.
14943
ba964147
AZ
14944 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14945 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14946 file.
14947 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14948 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14949 file: multiarch strchr for PPC32.
14950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14951 multiarch objects.
14952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14953 (__libc_ifunc_impl_list): Likewise.
14954
31c81aaa
AZ
14955 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14956 name.
14957 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14958 file.
14959 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14960 file.
14961 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14962 multiarch strchrnul for PPC32.
14963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14964 multiarch objects.
14965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14966 (__libc_ifunc_impl_list): Likewise.
14967
0d0607d9
AZ
14968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14969 file.
14970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14971 multiarch strncasecmp for PPC32.
14972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14973 file.
14974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14975 multiarch strncasecmp_l for PPC32.
14976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14977 strncasecmp multiarch objects.
14978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14979 (__libc_ifunc_impl_list): Likewise.
14980
4dfd5c86
AZ
14981 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14982 file.
14983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14984 multiarch strncasecmp for PPC32.
14985 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14986 New file.
14987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14988 multiarch strcasecmp_l for PPC32.
14989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14990 multiarch objects.
14991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14992 (__libc_ifunc_impl_list): Likewise.
14993
a19e01a3
AZ
14994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14995 file.
14996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14997 file.
14998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14999 multiarch strncmp for PPC32.
15000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15001 multiarch objects.
15002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15003 (__libc_ifunc_impl_list): Likewise.
15004
ae9cf7a2
AZ
15005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15006 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15007 file.
15008 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15009 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15011 multiarch objects.
15012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15013 (__libc_ifunc_impl_list): Likewise.
15014
3148bb7d
AZ
15015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15016 file.
15017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15018 file.
15019 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15021 multiarch objects.
15022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15023 (__libc_ifunc_impl_list): Likewise.
15024
7af8b946
AZ
15025 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15026 file.
15027 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15028 file.
15029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15030 multiarch rawmemchr for PPC32.
15031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15032 multiarch objects.
15033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15034 (__libc_ifunc_impl_list): Likewise.
15035
03a6aa6a
AZ
15036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15037 file.
15038 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15039 file.
15040 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15041 file: memrchr multiarch for PPC32.
15042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15043 multiarch objects.
15044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15045 (__libc_ifunc_impl_list): Likewise.
15046
1c62e6d9
AZ
15047 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15049 file.
15050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15051 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15052 multiarch memchr for PPC32.
15053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15054 multiarch objects.
15055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15056 (__libc_ifunc_impl_list): Likewise.
15057
87da8bdb
AZ
15058 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15059 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15060 file.
15061 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15062 file.
15063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15064 file: multiarch mempcpy for PPC32.
15065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15066 multiarch objects.
15067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15068 (__libc_ifunc_impl_list): Likewise.
15069
20ed4714
AZ
15070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15073 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15074 multiarch bzero for PPC32.
15075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15076 file.
15077 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15078 file.
15079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15080 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15081 file: multiarch memset for PPC32.
15082 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15084 memset multiarch objects.
15085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15086 (__libc_ifunc_impl_list): Likewise.
15087
ab3e3a46
AZ
15088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15089 file.
15090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15092 memcmp for PPC32.
15093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15095 multiarch objects.
15096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15097 (__libc_ifunc_impl_list): Likewise.
15098
930de6f0
AZ
15099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15102 file.
15103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15104 file.
15105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15106 file.
15107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15108 multiarch memcpy for PPC32.
15109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15110 multiarch objects.
15111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15112 (__libc_ifunc_impl_list): Likewise.
15113
4c628e00
AZ
15114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15115 support multiarch for POWER/PPC32.
15116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15117 Likewise.
15118 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15120 Implies file to make multiarch folder appers before the fpu and
15121 default folder for power4 configuration.
15122
f4479220
SP
151232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 * scripts/bench.pl: Append volatile keyword to type.
15126
8517800f
KK
151272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15128
15129 * sysdeps/sh/sotruss-lib.c: New file.
15130 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15131
180138f1
AZ
151322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15133
15134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15135
bbf37bdc
JM
151362013-12-05 Joseph Myers <joseph@codesourcery.com>
15137
e47cc4e0
JM
15138 [BZ #6810]
15139 * math/w_tgamma.c: Include <errno.h>.
15140 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15141 * math/w_tgammaf.c: Include <errno.h>.
15142 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15143 * math/w_tgammal.c: Include <errno.h>.
15144 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15145 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15146 underflow. Add more tgamma tests.
15147 * math/auto-libm-test-out: Regenerated.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150
bbf37bdc
JM
15151 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15152 sin, sinh, tan, tanh, tgamma, y0 and y1.
15153 * math/auto-libm-test-out: Regenerated.
15154 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15155 (TEST_COND_x86): Likewise.
15156 (M_E2l): Remove macro.
15157 (M_E3l): Likewise.
15158 (M_2_SQRT_PIl): Likewise.
15159 (M_SQRT_PIl): Likewise.
15160 (M_1_DIV_El): Likewise.
15161 (log_test_data): Use AUTO_TESTS_f_f.
15162 (log10_test_data): Likewise.
15163 (log1p_test_data): Likewise.
15164 (log2_test_data): Likewise.
15165 (sin_test_data): Likewise.
15166 (sin_tonearest_test_data): Likewise.
15167 (sin_towardzero_test_data): Likewise.
15168 (sin_downward_test_data): Likewise.
15169 (sin_upward_test_data): Likewise.
15170 (sinh_test_data): Likewise.
15171 (sinh_tonearest_test_data): Likewise.
15172 (sinh_towardzero_test_data): Likewise.
15173 (sinh_downward_test_data): Likewise.
15174 (sinh_upward_test_data): Likewise.
15175 (tan_test_data): Likewise.
15176 (tan_tonearest_test_data): Likewise.
15177 (tan_towardzero_test_data): Likewise.
15178 (tan_downward_test_data): Likewise.
15179 (tan_upward_test_data): Likewise.
15180 (tanh_test_data): Likewise.
15181 (tgamma_test_data): Likewise.
15182 (y0_test_data): Likewise.
15183 (y1_test_data): Likewise.
15184 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15185 (special_real_inputs): Add pi/4.
15186 * sysdeps/i386/fpu/libm-test-ulps: Update.
15187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188
eb5ad6b9
AZ
151892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15190
15191 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15192 "longjmp_target" static probes.
15193 (__longjmp): Rename to __longjmp_symbol.
15194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15195 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15196 on which longjmp to generate.
15197 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15198 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15199 probe.
15200 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15201 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15203 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15204 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15205 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15207 __longjmp_symbol based on which __longjmp to generate.
15208 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15209 probe.
15210 (setjmp): Rename to setjmp_symbol.
15211 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15212 (_setjmp): Rename to _setjmp_symbol.
15213 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15214 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15215 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15216 which setjmp to generate.
15217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15218 "longjmp_target" static probes.
15219
d136c6dc
SP
152202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15221
9298ecba
SP
15222 * benchtests/README: Add note about output arguments.
15223 * benchtests/bench-sincos.c: Remove file.
15224 * benchtests/sincos-inputs: New file.
15225 * scripts/bench.pl: Identify output arguments and define
15226 static variables for them.
15227
232983e9
SP
15228 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15229
d136c6dc
SP
15230 [BZ #15941]
15231 * Makefile (INSTALL): Add install-plain.texi as the primary
15232 dependency.
15233 * manual/install-plain.texi: New file.
15234 * manual/install.texi: Include node directive only for
15235 non-plaintext output.
15236
699ff837
JM
152372013-12-04 Joseph Myers <joseph@codesourcery.com>
15238
ab07cea8
JM
15239 * stdlib/longlong.h: Update from GCC.
15240
699ff837
JM
15241 [BZ #6807]
15242 [BZ #15901]
15243 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15244 * math/w_j0f.c (y0f): Likewise.
15245 * math/w_j0l.c (__y0l): Likewise.
15246 * math/w_j1.c (y1): Likewise.
15247 * math/w_j1f.c (y1f): Likewise.
15248 * math/w_j1l.c (__y1l): Likewise
15249 * math/w_jn.c (yn): Likewise.
15250 * math/w_jnf.c (ynf): Likewise.
15251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15252 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15253 value for Bessel function domain errors outside _SVID_ mode.
15254 Adjust sign of return value for yn (negative integer, 0).
15255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15256 by zero in return for negative x and set sign appropriately for
15257 negative n.
15258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15259 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15260 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15261 expectations in error cases.
15262 (y1_test_data): Likewise.
15263 (yn_test_data): Likewise.
15264 * sysdeps/i386/fpu/libm-test-ulps: Update.
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15266
5b118558
UW
152672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15268
15269 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15270 "64" to "64-v1". Add "64-v2".
15271 (abi-64-options): Rename to ...
15272 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15273 (abi-64-condition): Rename to ...
15274 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15275 (abi-64-ld-soname): Rename to ...
15276 (abi-64-v1-ld-soname): ... this.
15277 (abi-64-v2-options): Define.
15278 (abi-64-v2-condition): Likewise.
15279 (abi-64-v2-ld-soname): Likewise.
15280 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15285
61cd8fe4
UW
152862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15287 Alan Modra <amodra@gmail.com>
15288
15289 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15290 New versions for use with the ELFv2 ABI.
15291 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15292 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15293 declaration.
15294 (struct La_ppc64v2_retval): Likewise.
15295 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15296 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15297 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15298 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15299 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15301 Do not save or restore CR.
15302 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15303 (_dl_profile_resolve): Do no save or restore CR. Support extended
15304 return values for ELFv2 ABI. Fix location of FPR return registers.
15305 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15306 updated values for _CALL_ELF == 2.
15307 (La_regs, La_retval, int_retval): Likewise.
15308
8b8a692c
UW
153092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15310
15311 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15312 (FRAME_MIN_SIZE_PARM): Likewise.
15313 (FRAME_BACKCHAIN): Likewise.
15314 (FRAME_CR_SAVE): Likewise.
15315 (FRAME_LR_SAVE): Likewise.
15316 (FRAME_TOC_SAVE): Likewise.
15317 (FRAME_PARM_SAVE): Likewise.
15318 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15319 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15320 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15321 (call_mcount_parm_offset): New macro.
15322 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15323 (PROF): Use symbolic stack frame offsets.
15324 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15326 Redefine in terms of FRAME_MIN_SIZE.
15327 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15328 (_dl_profile_resolve): Likewise. Update comment.
15329 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15330 symbols stack frame offsets.
15331 (__sigsetjmp): Likewise.
15332 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15333 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15334 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15335 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15336
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15338 (FRAME_BACKCHAIN): Remove.
15339 (FRAME_CR_SAVE): Likewise.
15340 (FRAME_LR_SAVE): Likewise.
15341 (FRAME_COMPILER_DW): Likewise.
15342 (FRAME_LINKER_DW): Likewise.
15343 (FRAME_TOC_SAVE): Likewise.
15344 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15345 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15346 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15347 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15349 (CHECK_SP): Use symbolic stack frame offsets.
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15351 zone" instead of caller's parameter save area for temp storage.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15353 Likewise. Also, use symbolic stack frame offsets.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15355 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15356 our own stack frame instead of the caller's.
15357 (__socket): Use symbolic stack frame offsets.
15358
122b66de
UW
153592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15360 Alan Modra <amodra@gmail.com>
15361
15362 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15363 Define.
57f41c40
AS
15364 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15365 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15366 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15367 New function.
15368 (elf_machine_fixup_plt): Call it.
15369 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15370 reloc arguments.
15371 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15372 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15373 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15374 r2 before calling target.
15375
696caf1d
UW
153762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15377 Alan Modra <amodra@gmail.com>
15378
15379 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15380 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15381 versions of macros to support ELFv2 ABI.
15382 (LOCALENTRY): New macro.
15383 (ENTRY, EALIGN): Use it.
15384 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15385 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15386 fall through into ENTRY entry point.
15387 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15388 Only define if _CALL_ELF != 2.
15389
15390 (elf_machine_matches_host): Verify ABI version matches.
15391 (RTLD_START): Use LOCALENTRY.
15392 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15393 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15394 (PLT_ENTRY_WORDS): New macro.
15395 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15396 (elf_machine_runtime_setup): Support ELFv2 ABI.
15397 (elf_machine_fixup_plt): Likewise.
15398 (elf_machine_plt_conflict): Likewise.
15399 (resolve_ifunc): Likewise.
15400 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15402 Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15404 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15406 (makecontext): Support ELFv2 ABI.
15407 * elf/elf.h (EF_PPC64_ABI): Define.
15408
d31beafa
UW
154092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15410
57f41c40
AS
15411 * sysdeps/powerpc/powerpc64/sysdep.h
15412 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15413 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15414 (ENTRY) [ASSEMBLER]: ... but instead here ...
15415 (EALIGN) [ASSEMBLER]: ... and here.
15416 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15417 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15418 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15419 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15420 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15422 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15425 Use PPC64_LOAD_FUNCPTR.
15426
b525166b
UW
15427 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15428
7ec07d9a
AM
154292013-12-04 Alan Modra <amodra@gmail.com>
15430
15431 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15432 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15433 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15434 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15435
15436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15437 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15438 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15439 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15440 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15441 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15442
5162e7dd
UW
154432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15444
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15446 (__makecontext): Fix incorrect CFI when backtracing out of
15447 context created via makecontext.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15449 (__setcontext): Fix incorrect CFI during switch to new context.
15450 (__novec_setcontext): Likewise.
15451
19e3372b
OB
154522013-12-04 Ondřej Bílka <neleai@seznam.cz>
15453
15454 [BZ #4772]
15455 * time/strptime_l.c (__strptime_internal): Allow modifiers
15456 in strptime.
15457 * time/tst-strptime.c (day_tests): Add testcase.
15458
ecaf142d
SP
154592013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15460
15461 * scripts/bench.pl: Skip over blank lines.
15462
fbf964ae
PE
154632013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15464
15465 [BZ #926]
15466 * manual/time.texi (Calendar Time): Clarify what timezone functions
15467 use.
15468
fa60a674
AZ
154692013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15470
15471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472
d674f0ef
OB
154732013-12-04 Ondřej Bílka <neleai@seznam.cz>
15474
15475 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15476 implementation.
15477 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15478 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15479 * debug/memset_chk.c (__memset_chk): Likewise.
15480 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15481 * debug/strncpy_chk.c: Likewise.
15482
17dea188
JM
154832013-12-03 Joseph Myers <joseph@codesourcery.com>
15484
749008ff
JM
15485 [BZ #15268]
15486 [BZ #15425]
15487 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15488 (__ieee754_exp): For possibly underflowing results, check size of
15489 result and force underflow exception if required.
15490 * math/auto-libm-test-in: Add more tests of exp.
15491 * math/auto-libm-test-out: Regenerated.
15492 * sysdeps/i386/fpu/libm-test-ulps: Update.
15493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15494
17dea188
JM
15495 [BZ #16283]
15496 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15497 * math/w_exp2f.c (__exp2f): Likewise.
15498 * math/w_exp2l.c (__exp2l): Likewise.
15499 * math/auto-libm-test-in: Do not allow missing errno on exp2
15500 underflow.
15501 * math/auto-libm-test-out: Regenerated.
15502
b20de2c3
OB
155032013-12-03 Ondřej Bílka <neleai@seznam.cz>
15504
15505 [BZ #16274]
15506 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15507 handle filename validation.
15508 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15509 (do_open): Delete.
15510
d8e2dbe3
JM
155112013-12-03 Joseph Myers <joseph@codesourcery.com>
15512
34e16df5
JM
15513 [BZ #6786]
15514 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15515 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15516 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15517 <float.h>.
15518 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15519 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15520 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15522 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15525 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15526 Add more erfc tests.
15527 * math/auto-libm-test-out: Regenerated.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15530
d8e2dbe3
JM
15531 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15532 exp2, expm1, j0 and j1.
15533 * math/auto-libm-test-out: Regenerated.
15534 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15535 (erfc_test_data): Likewise.
15536 (exp_test_data): Likewise.
15537 (exp_tonearest_test_data): Likewise.
15538 (exp_towardzero_test_data): Likewise.
15539 (exp_downward_test_data): Likewise.
15540 (exp_upward_test_data): Likewise.
15541 (exp10_test_data): Likewise.
15542 (exp2_test_data): Likewise.
15543 (expm1_test_data): Likewise.
15544 (j0_test_data): Likewise.
15545 (j1_test_data): Likewise.
15546 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15547 (input_flag_type): Add flag_xfail_rounding.
15548 (input_flags): Add xfail-rounding.
15549 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15550 (output_for_one_input_case): Handle flag_xfail_rounding.
15551 * sysdeps/i386/fpu/libm-test-ulps: Update.
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15553
18d14251
AJ
155542013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15555
3d2e6075 15556 [BZ #16289]
18d14251
AJ
15557 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15558 division by 0.
15559
520d437b
SP
155602013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15561
15562 [BZ #16195]
15563 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15564 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15565 (STAP_PROBE0): New macro.
15566 (STAP_PROBE1): Likewise.
15567 (STAP_PROBE2): Likewise.
15568 (STAP_PROBE3): Likewise.
15569 (STAP_PROBE4): Likewise.
15570
416e0145
OB
155712013-12-02 Ondřej Bílka <neleai@seznam.cz>
15572
15573 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15574
9d17796a
SE
155752013-12-02 Steve Ellcey <sellcey@mips.com>
15576
15577 * benchtests/Makefile (bench): Add sqrt.
15578 (LDLIBS-bench-sqrt): New.
15579 * benchtests/sqrt-input: New.
15580
f524d6a8
PS
155812013-12-02 Pavel Simerda <psimerda@redhat.com>
15582
639a0ef8
PS
15583 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15584 (GAIH_EAI): Likewise.
15585 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15586 (gaih_inet): Likewise.
15587 (getaddrinfo): Don't use GAIH_EAI.
15588
f524d6a8
PS
15589 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15590 (struct gaih): Remove definition.
15591
df3aedaf
SP
155922013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15593
15594 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15595 Use HERRNOP directly.
15596
1ab19dec
AZ
155972013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15598
b42ad38d 15599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15600
176b0c79
JM
156012013-11-30 Joseph Myers <joseph@codesourcery.com>
15602
15603 * math/gen-auto-libm-tests.c (test_functions): Add more
15604 single-argument functions.
15605 (special_fill_pi_2): New function.
15606 (special_fill_minus_pi_2): Likewise.
15607 (special_fill_pi_6): Likewise.
15608 (special_fill_minus_pi_6): Likewise.
15609 (special_fill_pi_3): Likewise.
15610 (special_fill_2pi_3): Likewise.
15611 (special_fill_e): Likewise.
15612 (special_fill_1_e): Likewise.
15613 (special_fill_e_minus_1): Likewise.
15614 (special_real_inputs): Add more special inputs.
15615 (output_for_one_input_case): Do not require ERANGE on underflow to
15616 zero if round-to-nearest result does not underflow to zero, unless
15617 exact results required.
15618 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15619 atan, atanh, cbrt, cos and cosh.
15620 * math/auto-libm-test-out: Regenerated.
15621 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15622 (acos_tonearest_test_data): Likewise.
15623 (acos_towardzero_test_data): Likewise.
15624 (acos_downward_test_data): Likewise.
15625 (acos_upward_test_data): Likewise.
15626 (acosh_test_data): Likewise.
15627 (asin_test_data): Likewise.
15628 (asin_tonearest_test_data): Likewise.
15629 (asin_towardzero_test_data): Likewise.
15630 (asin_upward_test_data): Likewise.
15631 (asinh_test_data): Likewise.
15632 (atan_test_data): Likewise.
15633 (atanh_test_data): Likewise.
15634 (cbrt_test_data): Likewise.
15635 (cos_test_data): Likewise.
15636 (cos_tonearest_test_data): Likewise.
15637 (cos_towardzero_test_data): Likewise.
15638 (cos_downward_test_data): Likewise.
15639 (cos_upward_test_data): Likewise.
15640 (cosh_test_data): Likewise.
15641 (cosh_tonearest_test_data): Likewise.
15642 (cosh_towardzero_test_data): Likewise.
15643 (cosh_downward_test_data): Likewise.
15644 (cosh_upward_test_data): Likewise.
15645 * sysdeps/i386/fpu/libm-test-ulps: Update.
15646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15647
ffb536d0
JM
156482013-11-29 Joseph Myers <joseph@codesourcery.com>
15649
2a77a467
JM
15650 [BZ #6787]
15651 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15652 * math/w_exp10f.c (__exp10f): Likewise.
15653 * math/w_exp10l.c (__exp10l): Likewise.
15654 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15655 errno settings in existing tests.
15656
ea3bc4e8
JM
15657 [BZ #14032]
15658 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15659 precision control set to double precision.
15660 * sysdeps/i386/fpu/w_sqrt.c: New file.
15661 * math/auto-libm-test-in: Add more tests.
15662 * math/auto-libm-test-out: Update.
15663
0712c9d8
JM
15664 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15665 (sqrt_test_tonearest): New function.
15666 (sqrt_towardzero_test_data): New variable.
15667 (sqrt_test_towardzero): New function.
15668 (sqrt_downward_test_data): New variable.
15669 (sqrt_test_downward): New function.
15670 (sqrt_upward_test_data): New variable.
15671 (sqrt_test_upward): New function.
15672 (main): Call the new functions.
15673
ffb536d0
JM
15674 * math/gen-auto-libm-tests.c: New file.
15675 * math/auto-libm-test-in: Likewise.
15676 * math/auto-libm-test-out: New generated file.
15677 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15678 variables.
15679 (%beautify): Add generated representations of zero.
15680 (top level): Set $auto_input and call parse_auto_input.
15681 (beautify): Remove trailing "f" from hex float constants.
15682 (parse_args): Handle XFAIL_TEST.
15683 (convert_condition): New function.
15684 (or_value): Likewise.
15685 (or_cond_value): Likewise.
15686 (generate_testfile): Handle AUTO_TESTS_* lines.
15687 (parse_auto_input): New function.
15688 * math/libm-test.inc (XFAIL_TEST): New macro.
15689 (ERRNO_UNCHANGED): Update value.
15690 (ERRNO_EDOM): Likewise.
15691 (ERRNO_ERANGE): Likewise.
15692 (IGNORE_RESULT): Likewise.
15693 (TEST_COND_flt_32): New macro.
15694 (TEST_COND_dbl_64): Likewise.
15695 (TEST_COND_ldbl_96_intel): Likewise.
15696 (TEST_COND_ldbl_96_m68k): Likewise.
15697 (TEST_COND_ldbl_128): Likewise.
15698 (TEST_COND_ldbl_128ibm): Likewise.
15699 (TEST_COND_long32): Likewise.
15700 (TEST_COND_long64): Likewise.
15701 (TEST_COND_before_rounding): Likewise.
15702 (TEST_COND_after_rounding): Likewise.
15703 (enable_test): Handle XFAIL_TEST flag.
15704 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15705 with finite results.
15706 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15707 auto-libm-test-out.
15708
acd98a8e
AK
157092013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15710 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15711
15712 [BZ #16214]
15713 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15714 __tls_get_addr_internal instead of __tls_get_offset in order to
15715 avoid GOT pointer dependency. Make rtld export
15716 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15717 __tls_get_addr since we are a __tls_get_offset platform.
15718 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15719 GOT pointer being set up before.
15720 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15721
3c1c46a6
JM
157222013-11-28 Joseph Myers <joseph@codesourcery.com>
15723
7475aef5
JM
15724 * manual/math.texi (Errors in Math Functions): Document accuracy
15725 goals.
15726
8bca7cd8
JM
15727 [BZ #15004]
15728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15744
91a1f3fe
JM
15745 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15746 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15747 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15748 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15749 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15750 Likewise.
15751 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15752 Likewise.
15753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15754 Likewise.
15755 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15756 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15757 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15758 atomic-feupdateenv and flt-rounds.
15759 * sysdeps/powerpc/nofpu/Versions (libc): Add
15760 __atomic_feholdexcept, __atomic_feclearexcept,
15761 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15763 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15764 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15765 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15766 here.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15768 Update.
15769
c5df7609
JM
15770 * manual/arith.texi (FP Exceptions): Document that exceptions may
15771 not be raised when matherr is used.
15772 (Math Error Reporting): Document overflow in directed rounding
15773 modes. Document that errno may not be set when finite values are
15774 returned on overflow. Document intent to set errno on underflow
15775 only for underflow to zero.
15776
3c1c46a6
JM
15777 [BZ #16271]
15778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15779 round-to-nearest then adjust result for other rounding modes.
15780 * include/fenv.h (fegetround): Use libm_hidden_proto.
15781 * math/fegetround.c (fegetround): Use libm_hidden_def.
15782 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15783 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15784 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15786 Likewise.
15787 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15789 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15790 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15791
5a4c6d53
SP
157922013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15793
15794 [BZ #16077]
15795 * nss/Versions (libnss_files): Add
15796 _nss_files_gethostbyname3_r.
15797 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15798 New function.
15799 (HOST_DB_LOOKUP): Remove macro.
15800 (_nss_files_gethostbyname_r): Implement function without the
15801 HOST_DB_LOOKUP macro.
15802 (_nss_files_gethostbyname2_r): Likewise.
15803
897b98ba
OB
158042013-11-28 Ondřej Bílka <neleai@seznam.cz>
15805
15806 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15807
6f476861
UB
158082013-11-26 Uros Bizjak <ubizjak@gmail.com>
15809
15810 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15811 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15812 warning.
15813
bd12ab55
AZ
158142013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15815
15816 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15817 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15818 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15819 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15820 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15821 __fe_nomask_env_priv and attribute_hidden.
15822 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15823 (libc_feupdateenv_test_ppc): Likewise.
15824 (libc_feresetround_ppc): Likewise.
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15826 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15827 compat_symbol macro.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15829 (__fe_nomask_env): Likewise.
15830 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15831
52bb6543
OB
158322013-11-26 Ondřej Bílka <neleai@seznam.cz>
15833
15834 * string/Makefile: Remove ifunc tests.
15835 * string/test-string.h: Define TEST_IFUNC.
15836 * string/test-bcopy-ifunc.c: Remove.
15837 * string/test-bzero-ifunc.c: Likewise.
15838 * string/test-memccpy-ifunc.c: Likewise.
15839 * string/test-memchr-ifunc.c: Likewise.
15840 * string/test-memcmp-ifunc.c: Likewise.
15841 * string/test-memcpy-ifunc.c: Likewise.
15842 * string/test-memmem-ifunc.c: Likewise.
15843 * string/test-memmove-ifunc.c: Likewise.
15844 * string/test-mempcpy-ifunc.c: Likewise.
15845 * string/test-memrchr-ifunc.c: Likewise.
15846 * string/test-memset-ifunc.c: Likewise.
15847 * string/test-rawmemchr-ifunc.c: Likewise.
15848 * string/test-stpcpy-ifunc.c: Likewise.
15849 * string/test-stpncpy-ifunc.c: Likewise.
15850 * string/test-strcasecmp-ifunc.c: Likewise.
15851 * string/test-strcasestr-ifunc.c: Likewise.
15852 * string/test-strcat-ifunc.c: Likewise.
15853 * string/test-strchr-ifunc.c: Likewise.
15854 * string/test-strchrnul-ifunc.c: Likewise.
15855 * string/test-strcmp-ifunc.c: Likewise.
15856 * string/test-strcpy-ifunc.c: Likewise.
15857 * string/test-strcspn-ifunc.c: Likewise.
15858 * string/test-strlen-ifunc.c: Likewise.
15859 * string/test-strncasecmp-ifunc.c: Likewise.
15860 * string/test-strncat-ifunc.c: Likewise.
15861 * string/test-strncmp-ifunc.c: Likewise.
15862 * string/test-strncpy-ifunc.c: Likewise.
15863 * string/test-strnlen-ifunc.c: Likewise.
15864 * string/test-strpbrk-ifunc.c: Likewise.
15865 * string/test-strrchr-ifunc.c: Likewise.
15866 * string/test-strspn-ifunc.c: Likewise.
15867 * string/test-strstr-ifunc.c: Likewise.
15868
ab260039 158692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15870
15871 * benchtests/Makefile: Remove ifunc tests.
15872 * benchtests/bench-string.h: Define TEST_IFUNC.
15873 * benchtests/bench-bcopy-ifunc.c: Remove.
15874 * benchtests/bench-bzero-ifunc.c: Likewise.
15875 * benchtests/bench-memccpy-ifunc.c: Likewise.
15876 * benchtests/bench-memchr-ifunc.c: Likewise.
15877 * benchtests/bench-memcmp-ifunc.c: Likewise.
15878 * benchtests/bench-memcpy-ifunc.c: Likewise.
15879 * benchtests/bench-memmem-ifunc.c: Likewise.
15880 * benchtests/bench-memmove-ifunc.c: Likewise.
15881 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15882 * benchtests/bench-memrchr-ifunc.c: Likewise.
15883 * benchtests/bench-memset-ifunc.c: Likewise.
15884 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15885 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15886 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15887 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15888 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15889 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15890 * benchtests/bench-strcat-ifunc.c: Likewise.
15891 * benchtests/bench-strchr-ifunc.c: Likewise.
15892 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15893 * benchtests/bench-strcmp-ifunc.c: Likewise.
15894 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15895 * benchtests/bench-strcpy-ifunc.c: Likewise.
15896 * benchtests/bench-strcspn-ifunc.c: Likewise.
15897 * benchtests/bench-strlen-ifunc.c: Likewise.
15898 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15899 * benchtests/bench-strncat-ifunc.c: Likewise.
15900 * benchtests/bench-strncmp-ifunc.c: Likewise.
15901 * benchtests/bench-strncpy-ifunc.c: Likewise.
15902 * benchtests/bench-strnlen-ifunc.c: Likewise.
15903 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15904 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15905 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15906 * benchtests/bench-strspn-ifunc.c: Likewise.
15907 * benchtests/bench-strstr-ifunc.c: Likewise.
15908
159092013-11-26 Ondřej Bílka <neleai@seznam.cz>
15910
ab260039
OB
15911 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15912
d1d9eaf4 159132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15914
d1d9eaf4
OB
15915 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15916 * rt/aio.h: Likewise.
15917 * sysdeps/gnu/bits/utmp.h: Likewise.
15918 * sysdeps/gnu/bits/utmpx.h: Likewise.
15919 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15920 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15921 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15922 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15923 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15924 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15925 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15926 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15927 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15929 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15930 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15931 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15934 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15935 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15936 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15937 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15938 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15939 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15940 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15941 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15942 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15943 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15945 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15947 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15949 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15953 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15954 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15955 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15959 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15960 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15961
a7624ed9
CD
159622013-11-25 Carlos O'Donell <carlos@redhat.com>
15963
15964 [BZ #16245]
15965 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15966 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15967
63cfe52b
JM
159682013-11-25 Joseph Myers <joseph@codesourcery.com>
15969
15970 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15971 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15972 Likewise.
15973
41e8926a
AZ
159742013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15975
15976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15977 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15978 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15979 (__fesetround): Remove define.
15980 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15981 rounding and exceptions handling.
15982 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15983 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15984 (__fe_nomask_env): Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15986 __fegetround instead of fegetround.
15987 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15989
6851bd4d
RM
159902013-11-21 Roland McGrath <roland@hack.frob.com>
15991
070906ff
RM
15992 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15993 it's there.
15994
6851bd4d
RM
15995 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15996
84ae135d
MI
159972013-11-21 Meador Inge <meadori@codesourcery.com>
15998
15999 [BZ #11157]
16000 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16001 (encrypt_r): Likewise.
16002 * malloc/obstack.h (obstack_free): Likewise.
16003 * posix/unistd.h (encrypt): Likewise.
16004
daf75146
GM
160052013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16006
16007 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16008 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16009 DL_CALL_DT_FINI() that call the functions directly.
16010 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16011 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16012 * elf/dl-fini.c: Likewise.
16013
10ad46bc
OB
160142013-11-20 Ondřej Bílka <neleai@seznam.cz>
16015
16016 * malloc/hooks.c (memalign_check): Add alignment rounding.
16017 * malloc/malloc.c (_mid_memalign): New function.
16018 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16019 Implement by calling _mid_memalign.
16020 * manual/probes.texi (Memory Allocation Probes): Remove
16021 memory_valloc_retry and memory_pvalloc_retry.
16022
f3fd2628
SP
160232013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16024
4712799f
SP
16025 * locale/programs/locarchive.c (open_archive): Add const
16026 qualifier to ARCHIVEFNAME and copy default fname to
16027 DEFAULT_FNAME.
16028
0417b20f
SP
16029 [BZ #15601]
16030 * libio/tst-widetext.input: Rename Oriya to Odia.
16031 * locale/iso-639.def: Likewise.
16032
f3fd2628
SP
16033 * manual/probes.texi (Mathematical Function Probes): Add
16034 documentation for sin, cos, asin and acos probes.
16035 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16036 (__sin32): Add slowasin probe.
16037 (__cos32): Add slowacos probe.
16038 (__mpsin): Add slowsin probe.
16039 (__mpcos): Add slowcos probe.
16040
73c1ce4f
JM
160412013-11-19 Joseph Myers <joseph@codesourcery.com>
16042
16043 [BZ #15483]
16044 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16045 thread-local __sim_exceptions_thread and global
16046 __sim_exceptions_global.
16047 (__sim_disabled_exceptions): Change to thread-local
16048 __sim_disabled_exceptions_thread and global
16049 __sim_disabled_exceptions_global.
16050 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16051 and global __sim_round_mode_global.
16052 (__simulate_exceptions): Use thread-local floating-point state and
16053 set global state from it as needed.
16054 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16055 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16056 __sim_round_mode_thread.
16057 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16058 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16059 and global __sim_exceptions_global.
16060 (__sim_disabled_exceptions): Change to thread-local
16061 __sim_disabled_exceptions_thread and global
16062 __sim_disabled_exceptions_global.
16063 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16064 and global __sim_round_mode_global.
16065 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16066 (SIM_SET_GLOBAL): Likewise.
16067 * sysdeps/powerpc/soft-fp/sfp-machine.h
16068 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16069 __sim_round_mode_thread.
16070 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16071 __sim_disabled_exceptions_thread.
16072 (__sim_exceptions): Change to __sim_exceptions_thread.
16073 (__sim_disabled_exceptions): Change to
16074 __sim_disabled_exceptions_thread.
16075 (__sim_round_mode): Change to __sim_round_mode_thread.
16076 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16077 thread-local floating-point state and set global state from it as
16078 needed.
16079 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16080 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16081 (__sim_disabled_exceptions): Remove extern declaration.
16082 (feenableexcept): Use thread-local floating-point state and set
16083 global state from it as needed.
16084 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16085 extern declaration.
16086 (__sim_disabled_exceptions): Likewise.
16087 (__sim_round_mode): Likewise.
16088 (__fegetenv): Use thread-local floating-point state.
16089 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16090 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16091 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16092 floating-point state and set global state from it as needed.
16093 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16094 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16095 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16096 Likewise.
16097 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16098 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16099 Likewise.
16100 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16101 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16102 Use __sim_round_mode_thread.
16103 * math/test-fenv-tls.c: New file.
16104 * math/Makefile (tests): Add test-fenv-tls.
16105 ($(objpfx)test-fenv-tls): Depend on
16106 $(common-objpfx)nptl/libpthread.so.
16107
b5449b12
AS
161082013-11-19 Andreas Schwab <schwab@suse.de>
16109
16110 * locale/programs/locale.c (show_info): Decode wordarray elements.
16111 * locale/categories.def (LC_MONETARY): Add element for
16112 _NL_MONETARY_CRNCYSTR.
16113 * locale/C-monetary.c (conversion_rate): New variable.
16114 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16115 element.
16116
e186536b
CM
161172013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16118
16119 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16120 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16121
5c349950
PP
161222013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16123
16124 * elf/Makefile (tst-auxv): New test.
16125 * elf/tst-auxv.c: New
16126 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16127
699df45b
JM
161282013-11-18 Joseph Myers <joseph@codesourcery.com>
16129
16130 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16131 (hidden_proto): Caller changed.
16132 (hidden_tls_proto): New macro.
16133 (libc_hidden_tls_proto): Likewise.
16134 (rtld_hidden_tls_proto): Likewise.
16135 (libm_hidden_tls_proto): Likewise.
16136 (libresolv_hidden_tls_proto): Likewise.
16137 (librt_hidden_tls_proto): Likewise.
16138 (libdl_hidden_tls_proto): Likewise.
16139 (libnss_files_hidden_tls_proto): Likewise.
16140 (libnsl_hidden_tls_proto): Likewise.
16141 (libnss_nisplus_hidden_tls_proto): Likewise.
16142 (libutil_hidden_tls_proto): Likewise.
16143
b7589107
OB
161442013-11-18 Ondřej Bílka <neleai@seznam.cz>
16145
16146 [BZ #10253]
16147 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16148 (decompose_rpath): Defer expansion to fillin_rpath.
16149 (_dl_init_paths): Pass linkmap to fillin_rpath.
16150
250c23bd
RS
161512013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16152
16153 * benchtests/Makefile: Add strsep.
16154 * benchtests/bench-strsep.c: New file: strsep benchtest.
16155 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16156
a7931fcf
AS
161572013-11-18 Andreas Schwab <schwab@suse.de>
16158
16159 * locale/programs/locale.c (show_info) [case byte]: Check for
16160 '\377' instead of '\177'.
16161 * locale/C-monetary.c (not_available): Always use "\377".
16162 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16163 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16164 detect unavailable sign_posn locale elements.
16165 * locale/localeconv.c (__localeconv): For grouping and
16166 mon_grouping handle "\177" and "\377" like no grouping.
16167 (INT_ELEM): New macro. Use it to set all numeric members.
16168 * locale/programs/ld-monetary.c (monetary_read)
16169 <tok_mon_grouping>: Normalize single -1 to the empty string.
16170 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16171 Likewise.
16172
728dab0e
OB
161732013-11-07 Ondřej Bílka <neleai@seznam.cz>
16174
16175 [BZ #16055]
16176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16177 when we match (nil).
16178 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16179
66294491
JM
161802013-11-16 Joseph Myers <joseph@codesourcery.com>
16181
ce665817
JM
16182 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16183 (NO_TEST_INLINE): Update value.
16184 (ERRNO_UNCHANGED): Likewise.
16185 (ERRNO_EDOM): Likewise.
16186 (ERRNO_ERANGE): Likewise.
16187 (IGNORE_RESULT): Likewise.
16188 (check_float_internal): Check signs of NaN results if
16189 TEST_NAN_SIGN used.
16190 (check_complex): Pass TEST_NAN_SIGN flag through to second
16191 check_float_internal call.
16192 (copysign_test_data): Add tests with quiet NaNs as second
16193 argument. Use TEST_NAN_SIGN.
16194 (fabs_test_data): Add test of negative quiet NaN argument. Use
16195 TEST_NAN_SIGN.
16196 (signbit_test_data): Add tests of quiet NaN argument.
16197 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16198
ee1466a9
JM
16199 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16200 $ignore_result.
16201 (parse_args): Handle function results specified as IGNORE.
16202 * math/libm-test.inc (IGNORE_RESULT): New macro.
16203 (check_float_internal): Do not check numerical result if flag
16204 IGNORE_RESULT set.
16205 (check_complex): Pass through IGNORE_RESULT to second
16206 check_float_internal call.
16207 (check_int): Do not check numerical result if flag IGNORE_RESULT
16208 set.
16209 (check_long): Likewise.
16210 (check_bool): Likewise.
16211 (check_longlong): Likewise.
16212 (lrint_test_data): Add tests of infinite and NaN arguments.
16213 (lrint_tonearest_test_data): Likewise.
16214 (lrint_towardzero_test_data): Likewise.
16215 (lrint_downward_test_data): Likewise.
16216 (lrint_upward_test_data): Likewise.
16217 (llrint_test_data): Likewise.
16218 (llrint_tonearest_test_data): Likewise.
16219 (llrint_towardzero_test_data): Likewise.
16220 (llrint_downward_test_data): Likewise.
16221 (llrint_upward_test_data): Likewise.
16222 (lround_test_data): Likewise.
16223 (llround_test_data): Likewise.
16224
14407b7e
JM
16225 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16226 (ERRNO_UNCHANGED): Update value.
16227 (ERRNO_EDOM): Likewise.
16228 (ERRNO_ERANGE): Likewise.
16229 (NO_TEST_INLINE_FLOAT): New macro.
16230 (NO_TEST_INLINE_DOUBLE): Likewise.
16231 (enable_test): New function.
16232 (RUN_TEST_f_f): Check enable_test before running test.
16233 (RUN_TEST_2_f): Likewise.
16234 (RUN_TEST_fff_f): Likewise.
16235 (RUN_TEST_c_f): Likewise.
16236 (RUN_TEST_f_f1): Likewise.
16237 (RUN_TEST_fF_f1): Likewise.
16238 (RUN_TEST_fI_f1): Likewise.
16239 (RUN_TEST_ffI_f1): Likewise.
16240 (RUN_TEST_c_c): Likewise.
16241 (RUN_TEST_cc_c): Likewise.
16242 (RUN_TEST_f_i): Likewise.
16243 (RUN_TEST_f_i_tg): Likewise.
16244 (RUN_TEST_ff_i_tg): Likewise.
16245 (RUN_TEST_f_b): Likewise.
16246 (RUN_TEST_f_b_tg): Likewise.
16247 (RUN_TEST_f_l): Likewise.
16248 (RUN_TEST_f_L): Likewise.
16249 (RUN_TEST_fFF_11): Likewise.
16250 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16251 conditionals.
16252 (cosh_test_data): Likewise.
16253 (exp_test_data): Likewise.
16254 (expm1_test_data): Likewise.
16255 (hypot_test_data): Likewise.
16256 (pow_test_data): Likewise.
16257 (sinh_test_data): Likewise.
16258 (tanh_test_data): Likewise.
16259 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16260 flags argument.
16261
ca07f197
JM
16262 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16263 tests with quiet NaN input and output.
16264 (acosh_test_data): Likewise.
16265 (asin_test_data): Likewise.
16266 (asinh_test_data): Likewise.
16267 (atan_test_data): Likewise.
16268 (atanh_test_data): Likewise.
16269 (atan2_test_data): Likewise.
16270 (cbrt_test_data): Likewise.
16271 (cos_test_data): Likewise.
16272 (cosh_test_data): Likewise.
16273 (erf_test_data): Likewise.
16274 (erfc_test_data): Likewise.
16275 (exp_test_data): Likewise.
16276 (exp10_test_data): Likewise.
16277 (exp2_test_data): Likewise.
16278 (expm1_test_data): Likewise.
16279 (hypot_test_data): Likewise.
16280 (j0_test_data): Likewise.
16281 (j1_test_data): Likewise.
16282 (jn_test_data): Likewise.
16283 (lgamma_test_data): Likewise.
16284 (log_test_data): Likewise.
16285 (log10_test_data): Likewise.
16286 (log1p_test_data): Likewise.
16287 (log2_test_data): Likewise.
16288 (pow_test_data): Likewise.
16289 (scalb_test_data): Likewise.
16290 (sin_test_data): Likewise.
16291 (sincos_test_data): Likewise.
16292 (sinh_test_data): Likewise.
16293 (tan_test_data): Likewise.
16294 (tanh_test_data): Likewise.
16295 (tgamma_test_data): Likewise.
16296 (y0_test_data): Likewise.
16297 (y1_test_data): Likewise.
16298 (yn_test_data): Likewise.
16299
66294491
JM
16300 [BZ #16167]
16301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16302 argument being NaN and avoid computations with second argument in
16303 that case.
16304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16305 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16306 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16307
1820b143
CL
163082013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16309
16310 * locale/iso-639.def: Add Chitwani Tharu (the).
16311
714bd261
AS
163122013-11-14 Andreas Schwab <schwab@suse.de>
16313
16314 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16315 word instead of empty string.
16316
7ab44563
AZ
163172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16318
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16320 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16322 (__fe_nomask_env): Likewise.
16323
e8470ea2
SE
163242013-11-13 Steve Ellcey <sellcey@mips.com>
16325
16326 * benchtests/bench-timing.h: Include time.h.
16327
17c1d9f0
L
163282013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16329
16330 [BZ #15997]
16331 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16332 to 3.4.0 for x32.
16333 * sysdeps/unix/sysv/linux/configure: Regenerated.
16334
9310c284
JM
163352013-11-13 Joseph Myers <joseph@codesourcery.com>
16336
16337 [BZ #16151]
16338 * stdlib/strtod_l.c (round_and_return): Do not consider
16339 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16340 exponent one less than half the least subnormal exponent.
16341 * stdlib/test-strtod-round-data: Add more tests.
16342 * stdlib/tst-strtod-round.c (tests): Regenerated.
16343
7a2ad8cf
AZ
163442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345
16346 [BZ #14143]
16347 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16348 (__fe_mask_env): Likewise.
16349 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16350 libm_hidden_proto and add function prototype.
16351 (__fe_mask_env): Add function prototype.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16353 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16355 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16357 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16358
50727aa7
MS
163592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16360
b2f386c1 16361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16362 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16363
a615be46
MS
163642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16365
16366 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16367 of htab_find_slot().
16368
7ddace62
DM
163692013-11-11 David S. Miller <davem@davemloft.net>
16370
16371 [BZ #16150]
16372 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16373 symbol in the non-vis3 case in static builds.
16374 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16375 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16376 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16378
9182aa67
JK
163792013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16380
16381 [BZ #387]
16382 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16383 it is empty.
16384
450a2e2d
AZ
163852013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16386
b2f386c1
SP
16387 * benchtests/Makefile: Add bench-strtod.
16388 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16389
8ec3f656
AS
163902013-11-11 Andreas Schwab <schwab@suse.de>
16391
16392 [BZ #16153]
16393 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16394 terminating NUL in key length.
16395
76a9b998
AZ
163962013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16399 Add artificial ODP entry for vDSO symbol for PPC64.
16400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16401 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16402
e4368156
OB
164032013-11-07 Ondřej Bílka <neleai@seznam.cz>
16404
16405 [BZ #15374]
16406 * nss/getent.c (services_keys): Recognize services starting with digit.
16407
8d6bb57c
DM
164082013-11-06 David S. Miller <davem@davemloft.net>
16409
16410 [BZ #15985]
16411 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16412 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16413
e256c421
WN
164142013-11-06 Will Newton <will.newton@linaro.org>
16415
16416 * manual/memory.texi (Malloc Examples): Remove register
16417 keyword from examples.
16418
f6e12daa 164192013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16420
f6e12daa 16421 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16422
9d880655
AS
164232013-11-04 Joseph Myers <joseph@codesourcery.com>
16424
fd2f9486 16425 [BZ #6981]
9d880655
AS
16426 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16427 depending on [__GCC_IEC_559 > 0].
16428 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16429 depending on [__GCC_IEC_559_COMPLEX > 0].
16430
ae129d3c
CL
164312013-11-03 Chris Leonard <cjl@sugarlabs.org>
16432
16433 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16434 to iso-639.def.
16435
4a15c2a4 164362013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16437
16438 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16439
8b35e35d
OB
164402013-11-01 Ondřej Bílka <neleai@seznam.cz>
16441
16442 [BZ #16112]
16443 * malloc/malloc (malloc_info): Do not handle first bin as
16444 special case.
16445
1d70fd6c
CL
164462013-11-01 Chris Leonard <cjl@sugarlabs.org>
16447
16448 * locale/iso-639.def: Add Central Nahuatl (nhn).
16449
8c5c2600
BH
164502013-11-01 Bruno Haible <bruno@clisp.org>
16451
16452 [BZ #7003]
16453 * manual/math.texi (BSD Random): Specify range upper bound as
16454 in POSIX.
16455
da5579c2
CL
164562013-10-31 Chris Leonard <cjl@sugarlabs.org>
16457
16458 * locale/iso-639.def: Add Meadow Mari (mhr).
16459
5d30d853
OB
164602013-10-31 Ondřej Bílka <neleai@seznam.cz>
16461
16462 [BZ #14752], [BZ #15763]
16463 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16464 Validate name.
16465 * rt/tst_shm.c: Add test for escaping directory.
16466
a4966c61
AS
164672013-10-31 Andreas Schwab <schwab@suse.de>
16468
8a43e768 16469 [BZ #15917]
a4966c61
AS
16470 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16471 followed by 'x' as part of digit sequence.
16472 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16473
28d708c4
MAP
164742013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16475
16476 [BZ #16037]
16477 * configure.ac: allow GNU Make 4.0 and greater.
16478 * configure: Regenerated.
16479
a56ee40b
WN
164802013-10-30 Will Newton <will.newton@linaro.org>
16481
16482 [BZ #16038]
16483 * malloc/hooks.c (memalign_check): Limit alignment to the
16484 maximum representable power of two.
16485 * malloc/malloc.c (__libc_memalign): Likewise.
16486 * malloc/tst-memalign.c (do_test): Add test for very
16487 large alignment values.
16488 * malloc/tst-posix_memalign.c (do_test): Likewise.
16489
c6e4925d
OB
164902013-10-30 Ondřej Bílka <neleai@seznam.cz>
16491
16492 [BZ #11087]
16493 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16494 (munmap_chunk): Likewise.
16495 (mremap_chunk): Likewise.
16496
164972013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16498
8a43e768 16499 [BZ #15799]
bbea82f7
OB
16500 * stdlib/div.c (div): Remove obsolete code.
16501 * stdlib/ldiv.c (ldiv): Likewise.
16502 * stdlib/lldiv.c (lldiv): Likewise.
16503
977f4b31
SP
165042013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16505
16506 [BZ #16071]
16507 * nss/nss_files/files-XXX.c (get_contents_ret): New
16508 enumerator.
16509 (get_contents): New function.
16510 (internal_getent): Use it. Expand size of LINEBUFLEN.
16511
cb8a6dbd
MF
165122013-10-30 Mike Frysinger <vapier@gentoo.org>
16513
16514 * configure.in: Moved to ...
16515 * configure.ac: ... here. Change reference to configure.in
16516 to configure.ac.
16517 * sysdeps/arm/preconfigure.ac: ... here.
16518 configure.in to configure.ac.
16519 * sysdeps/gnu/configure.in: Moved to ...
16520 * sysdeps/gnu/configure.ac: ... here.
16521 * sysdeps/i386/configure.in: Moved to ...
16522 * sysdeps/i386/configure.ac: ... here.
16523 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16524 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16525 * sysdeps/mach/configure.in: Moved to ...
16526 * sysdeps/mach/configure.ac: ... here.
16527 * sysdeps/mach/hurd/configure.in: Moved to ...
16528 * sysdeps/mach/hurd/configure.ac: ... here.
16529 * sysdeps/powerpc/configure.in: Moved to ...
16530 * sysdeps/powerpc/configure.ac: ... here.
16531 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16532 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16533 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16534 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16535 * sysdeps/s390/s390-32/configure.in: Moved to ...
16536 * sysdeps/s390/s390-32/configure.ac: ... here.
16537 * sysdeps/s390/s390-64/configure.in: Moved to ...
16538 * sysdeps/s390/s390-64/configure.ac: ... here.
16539 * sysdeps/sh/configure.in: Moved to ...
16540 * sysdeps/sh/configure.ac: ... here.
16541 * sysdeps/sparc/configure.in: Moved to ...
16542 * sysdeps/sparc/configure.ac: ... here.
16543 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16544 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16545 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16546 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16547 * sysdeps/x86_64/configure.in: Moved to ...
16548 * sysdeps/x86_64/configure.ac: ... here.
16549 * sysdeps/x86_64/preconfigure.in: Moved to ...
16550 * sysdeps/x86_64/preconfigure.ac: ... here.
16551 * aclocal.m4: Change reference to configure.in to configure.ac.
16552 * config.h.in: Likewise.
16553 * manual/install.texi: Likewise.
16554 * manual/maint.texi: Likewise.
16555 * Makefile: Likewise.
16556 * malloc/Makefile: Likewise.
16557 * nscd/Makefile: Likewise.
16558 * Makeconfig: Change reference to configure.in and
16559 preconfigure.in to configure.ac and preconfigure.ac
16560 respectively.
16561 * INSTALL: Regenerated.
16562 * configure: Likewise.
16563 * sysdeps/gnu/configure: Likewise.
16564 * sysdeps/i386/configure: Likewise.
16565 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16566 * sysdeps/mach/configure: Likewise.
16567 * sysdeps/mach/hurd/configure: Likewise.
16568 * sysdeps/powerpc/configure: Likewise.
16569 * sysdeps/powerpc/powerpc32/configure: Likewise.
16570 * sysdeps/powerpc/powerpc64/configure: Likewise.
16571 * sysdeps/s390/s390-32/configure: Likewise.
16572 * sysdeps/s390/s390-64/configure: Likewise.
16573 * sysdeps/sh/configure: Likewise.
16574 * sysdeps/sparc/configure: Likewise.
16575 * sysdeps/unix/sysv/linux/configure: Likewise.
16576 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16577 * sysdeps/x86_64/configure: Likewise.
16578 * sysdeps/x86_64/preconfigure: Likewise.
16579
36a4953a
AS
165802013-10-29 Andreas Schwab <schwab@suse.de>
16581
16582 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16583
c79a1204
SP
165842013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16585
dfa1b402
SP
16586 * benchtests/pow-inputs: Add new inputs.
16587
54f73d9c
SP
16588 * benchtests/exp-inputs: Add new inputs.
16589
c79a1204
SP
16590 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16591 conditional check for return value.
16592 (__cos32): Likewise.
16593
67beb545 165942013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16595
16596 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16597 to provide a boost for large inputs with word alignment.
16598 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16599 implementation based on optimized PPC64 strcpy.
16600 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16601 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16602 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16603 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16604
151659f6
OB
166052013-10-25 Ondřej Bílka <neleai@seznam.cz>
16606
482a077e 16607 [BZ #2801]
151659f6
OB
16608 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16609
10b0f26b
OB
166102013-10-25 Ondřej Bílka <neleai@seznam.cz>
16611
16612 [BZ #14876]
16613 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16614 * time/tst-strptime.c (day_tests): Add testcase.
16615
ca42d35e
OB
166162013-10-25 Ondřej Bílka <neleai@seznam.cz>
16617
482a077e 16618 [BZ #14029]
ca42d35e
OB
16619 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16620
52e6d801
FB
166212013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16622
16623 [BZ #16074]
16624 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16625 MAP_FAILED on error.
16626
7cbcdb36
SP
166272013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16628
16629 [BZ #16072]
16630 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16631 heap for large requests.
16632
894f3f10
AM
166332013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16634
16635 [BZ #9954]
16636 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16637 result if the result has no associated interface.
16638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16639 interface for all 127.X.Y.Z addresses.
16640
b85545a6
CL
166412013-10-24 Chris Leonard <cjl@sugarlabs.org>
16642
16643 * locale/iso-639.def: Add Ligurian (lij)
16644
d1f23d46
OB
166452013-10-21 Ondřej Bílka <neleai@seznam.cz>
16646
16647 [BZ #15825]
16648 * sunrpc/rpc_main.c: Document rpcgen -5.
16649
4db5b08f
MS
166502013-10-19 Michael Stahl <mstahl@redhat.com>
16651
16652 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16653
a471e96a
OB
166542013-10-19 Ondřej Bílka <neleai@seznam.cz>
16655
d1f23d46 16656 [BZ #10278]
a471e96a
OB
16657 * posix/glob.c: Match only directories when trailing slash is present.
16658 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16659 (main): Add testcase.
16660
45c30c61
OB
166612013-10-19 Ondřej Bílka <neleai@seznam.cz>
16662
16663 [BZ #15670]
16664 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16665
484c12fb
CD
166662013-10-18 Carlos O'Donell <carlos@redhat.com>
16667
3d7dc513
CD
16668 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16669 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16670 AUTH_DES and cindex for FIPS 140-2.
16671 (DES Encryption): Add cindex FIPS 46-3.
16672
484c12fb
CD
16673 * locale/locarchive.h (struct locarhandle): Add fname.
16674 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16675 if an optional argument was specified to --list-archive,
16676 otherwise NULL.
16677 * locale/programs/locarchive.c (show_archive_content): Take new
16678 argument fname and pass it via ah.fname to open_archive.
16679 * locale/programs/localedef.h: Update decl.
16680 (open_archive): If AH->fname is non-null, open that file
16681 rather than the default file name, and don't ignore ENOENT.
16682 (create_archive): Set AH.fname to NULL.
16683 (delete_locales_from_archive): Likewise.
16684 (add_locales_to_archive): Likewise.
16685 * locale/programs/locfile.c (write_all_categories): Likewise.
16686
3c8325fb
JM
166872013-10-18 Joseph Myers <joseph@codesourcery.com>
16688 Aldy Hernandez <aldyh@redhat.com>
16689
16690 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16691 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16692 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16693 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16694 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16697 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16698 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16700 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16701 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16702 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16703 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16705 Likewise.
16706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16707 Likewise.
16708 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16709 Likewise.
16710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16711 Likewise.
16712 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16713 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16714 Likewise.
16715 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16716 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16717 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16718 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16719 Likewise.
16720 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16721 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16722 * sysdeps/powerpc/preconfigure: Likewise.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16724 Likewise.
16725 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16726 Replace contents of file by #include of <fenv_libc.h>.
16727 * sysdeps/powerpc/soft-fp/sfp-machine.h
16728 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16729 and <sys/prctl.h>.
16730 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16743 Allow copysignl PLT reference to be missing.
16744
5abe0682
RS
167452013-10-18 Richard Sandiford <richard@codesourcery.com>
16746 Joseph Myers <joseph@codesourcery.com
16747
16748 [BZ #15948]
16749 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16750 single character.
16751 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16752
c7738d08
SP
167532013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16754
16755 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16756 * elf/tst-tls1.c: Likewise.
16757 * elf/tst-tls10.h: Likewise.
16758 * elf/tst-tls14.c: Likewise.
16759 * elf/tst-tls2.c: Likewise.
16760 * elf/tst-tls3.c: Likewise.
16761 * elf/tst-tls4.c: Likewise.
16762 * elf/tst-tls5.c: Likewise.
16763 * elf/tst-tls6.c: Likewise.
16764 * elf/tst-tls7.c: Likewise.
16765 * elf/tst-tls8.c: Likewise.
16766 * elf/tst-tls9.c: Likewise.
16767 * elf/tst-tlsmod1.c: Likewise.
16768 * elf/tst-tlsmod13.c: Likewise.
16769 * elf/tst-tlsmod13a.c: Likewise.
16770 * elf/tst-tlsmod14a.c: Likewise.
16771 * elf/tst-tlsmod16a.c: Likewise.
16772 * elf/tst-tlsmod16b.c: Likewise.
16773 * elf/tst-tlsmod2.c: Likewise.
16774 * elf/tst-tlsmod3.c: Likewise.
16775 * elf/tst-tlsmod4.c: Likewise.
16776 * elf/tst-tlsmod5.c: Likewise.
16777 * elf/tst-tlsmod6.c: Likewise.
16778
0bfcf2c7
OB
167792013-10-18 Ondřej Bílka <neleai@seznam.cz>
16780
16781 [BZ #12486]
16782 * malloc/malloc.c: remove checks for statistics.
16783
264aad1e
OB
167842013-10-17 Ondřej Bílka <neleai@seznam.cz>
16785
16786 [BZ #15277]
16787 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16788 * inet/tst-network.c: Add testcase.
16789
b957ced8
AS
167902013-10-17 Andreas Schwab <schwab@suse.de>
16791
16792 [BZ #15218]
16793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16794 to determine canonical name.
16795
c5d5d574
OB
167962013-10-17 Ondřej Bílka <neleai@seznam.cz>
16797
16798 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16799 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16822 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16823 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16830 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16853 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16856
e5c2c2d0
JM
168572013-10-17 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #16041]
16860 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16861 make result into a quiet NaN.
16862
51ca9e29
JM
168632013-10-16 Joseph Myers <joseph@codesourcery.com>
16864
16865 * soft-fp/adddf3.c: Fix horizontal whitespace.
16866 * soft-fp/addsf3.c: Likewise.
16867 * soft-fp/addtf3.c: Likewise.
16868 * soft-fp/divdf3.c: Likewise.
16869 * soft-fp/divsf3.c: Likewise.
16870 * soft-fp/divtf3.c: Likewise.
16871 * soft-fp/double.h: Likewise.
16872 * soft-fp/eqdf2.c: Likewise.
16873 * soft-fp/eqsf2.c: Likewise.
16874 * soft-fp/eqtf2.c: Likewise.
16875 * soft-fp/extenddftf2.c: Likewise.
16876 * soft-fp/extended.h: Likewise.
16877 * soft-fp/extendsfdf2.c: Likewise.
16878 * soft-fp/extendsftf2.c: Likewise.
16879 * soft-fp/extendxftf2.c: Likewise.
16880 * soft-fp/fixdfdi.c: Likewise.
16881 * soft-fp/fixdfsi.c: Likewise.
16882 * soft-fp/fixdfti.c: Likewise.
16883 * soft-fp/fixsfdi.c: Likewise.
16884 * soft-fp/fixsfsi.c: Likewise.
16885 * soft-fp/fixsfti.c: Likewise.
16886 * soft-fp/fixtfdi.c: Likewise.
16887 * soft-fp/fixtfsi.c: Likewise.
16888 * soft-fp/fixtfti.c: Likewise.
16889 * soft-fp/fixunsdfdi.c: Likewise.
16890 * soft-fp/fixunsdfsi.c: Likewise.
16891 * soft-fp/fixunsdfti.c: Likewise.
16892 * soft-fp/fixunssfdi.c: Likewise.
16893 * soft-fp/fixunssfsi.c: Likewise.
16894 * soft-fp/fixunssfti.c: Likewise.
16895 * soft-fp/fixunstfdi.c: Likewise.
16896 * soft-fp/fixunstfsi.c: Likewise.
16897 * soft-fp/fixunstfti.c: Likewise.
16898 * soft-fp/floatdidf.c: Likewise.
16899 * soft-fp/floatdisf.c: Likewise.
16900 * soft-fp/floatditf.c: Likewise.
16901 * soft-fp/floatsidf.c: Likewise.
16902 * soft-fp/floatsisf.c: Likewise.
16903 * soft-fp/floatsitf.c: Likewise.
16904 * soft-fp/floattidf.c: Likewise.
16905 * soft-fp/floattisf.c: Likewise.
16906 * soft-fp/floattitf.c: Likewise.
16907 * soft-fp/floatundidf.c: Likewise.
16908 * soft-fp/floatundisf.c: Likewise.
16909 * soft-fp/floatunditf.c: Likewise.
16910 * soft-fp/floatunsidf.c: Likewise.
16911 * soft-fp/floatunsisf.c: Likewise.
16912 * soft-fp/floatunsitf.c: Likewise.
16913 * soft-fp/floatuntidf.c: Likewise.
16914 * soft-fp/floatuntisf.c: Likewise.
16915 * soft-fp/floatuntitf.c: Likewise.
16916 * soft-fp/fmadf4.c: Likewise.
16917 * soft-fp/fmasf4.c: Likewise.
16918 * soft-fp/fmatf4.c: Likewise.
16919 * soft-fp/gedf2.c: Likewise.
16920 * soft-fp/gesf2.c: Likewise.
16921 * soft-fp/getf2.c: Likewise.
16922 * soft-fp/ledf2.c: Likewise.
16923 * soft-fp/lesf2.c: Likewise.
16924 * soft-fp/letf2.c: Likewise.
16925 * soft-fp/muldf3.c: Likewise.
16926 * soft-fp/mulsf3.c: Likewise.
16927 * soft-fp/multf3.c: Likewise.
16928 * soft-fp/negdf2.c: Likewise.
16929 * soft-fp/negsf2.c: Likewise.
16930 * soft-fp/negtf2.c: Likewise.
16931 * soft-fp/op-1.h: Likewise.
16932 * soft-fp/op-2.h: Likewise.
16933 * soft-fp/op-4.h: Likewise.
16934 * soft-fp/op-8.h: Likewise.
16935 * soft-fp/op-common.h: Likewise.
16936 * soft-fp/quad.h: Likewise.
16937 * soft-fp/single.h: Likewise.
16938 * soft-fp/soft-fp.h: Likewise.
16939 * soft-fp/sqrtdf2.c: Likewise.
16940 * soft-fp/sqrtsf2.c: Likewise.
16941 * soft-fp/sqrttf2.c: Likewise.
16942 * soft-fp/subdf3.c: Likewise.
16943 * soft-fp/subsf3.c: Likewise.
16944 * soft-fp/subtf3.c: Likewise.
16945 * soft-fp/truncdfsf2.c: Likewise.
16946 * soft-fp/trunctfdf2.c: Likewise.
16947 * soft-fp/trunctfsf2.c: Likewise.
16948 * soft-fp/trunctfxf2.c: Likewise.
16949 * soft-fp/unorddf2.c: Likewise.
16950 * soft-fp/unordsf2.c: Likewise.
16951 * soft-fp/unordtf2.c: Likewise.
16952
9ebb0332
JM
169532013-10-15 Joseph Myers <joseph@codesourcery.com>
16954
16955 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16956 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16957
4b1a6d8b
OB
169582013-10-15 Ondřej Bílka <neleai@seznam.cz>
16959
16960 * elf/dl-libc.c: Clear initfini list after freeing.
16961
1e145589
JM
169622013-10-14 Joseph Myers <joseph@codesourcery.com>
16963
16964 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16965 * soft-fp/addsf3.c: Likewise.
16966 * soft-fp/addtf3.c: Likewise.
16967 * soft-fp/divdf3.c: Likewise.
16968 * soft-fp/divsf3.c: Likewise.
16969 * soft-fp/divtf3.c: Likewise.
16970 * soft-fp/double.h: Likewise.
16971 * soft-fp/eqdf2.c: Likewise.
16972 * soft-fp/eqsf2.c: Likewise.
16973 * soft-fp/eqtf2.c: Likewise.
16974 * soft-fp/extenddftf2.c: Likewise.
16975 * soft-fp/extended.h: Likewise.
16976 * soft-fp/extendsfdf2.c: Likewise.
16977 * soft-fp/extendsftf2.c: Likewise.
16978 * soft-fp/extendxftf2.c: Likewise.
16979 * soft-fp/fixdfdi.c: Likewise.
16980 * soft-fp/fixdfsi.c: Likewise.
16981 * soft-fp/fixdfti.c: Likewise.
16982 * soft-fp/fixsfdi.c: Likewise.
16983 * soft-fp/fixsfsi.c: Likewise.
16984 * soft-fp/fixsfti.c: Likewise.
16985 * soft-fp/fixtfdi.c: Likewise.
16986 * soft-fp/fixtfsi.c: Likewise.
16987 * soft-fp/fixtfti.c: Likewise.
16988 * soft-fp/fixunsdfdi.c: Likewise.
16989 * soft-fp/fixunsdfsi.c: Likewise.
16990 * soft-fp/fixunsdfti.c: Likewise.
16991 * soft-fp/fixunssfdi.c: Likewise.
16992 * soft-fp/fixunssfsi.c: Likewise.
16993 * soft-fp/fixunssfti.c: Likewise.
16994 * soft-fp/fixunstfdi.c: Likewise.
16995 * soft-fp/fixunstfsi.c: Likewise.
16996 * soft-fp/fixunstfti.c: Likewise.
16997 * soft-fp/floatdidf.c: Likewise.
16998 * soft-fp/floatdisf.c: Likewise.
16999 * soft-fp/floatditf.c: Likewise.
17000 * soft-fp/floatsidf.c: Likewise.
17001 * soft-fp/floatsisf.c: Likewise.
17002 * soft-fp/floatsitf.c: Likewise.
17003 * soft-fp/floattidf.c: Likewise.
17004 * soft-fp/floattisf.c: Likewise.
17005 * soft-fp/floattitf.c: Likewise.
17006 * soft-fp/floatundidf.c: Likewise.
17007 * soft-fp/floatundisf.c: Likewise.
17008 * soft-fp/floatunsidf.c: Likewise.
17009 * soft-fp/floatunsisf.c: Likewise.
17010 * soft-fp/floatuntidf.c: Likewise.
17011 * soft-fp/floatuntisf.c: Likewise.
17012 * soft-fp/floatuntitf.c: Likewise.
17013 * soft-fp/fmadf4.c: Likewise.
17014 * soft-fp/fmasf4.c: Likewise.
17015 * soft-fp/fmatf4.c: Likewise.
17016 * soft-fp/gedf2.c: Likewise.
17017 * soft-fp/gesf2.c: Likewise.
17018 * soft-fp/getf2.c: Likewise.
17019 * soft-fp/ledf2.c: Likewise.
17020 * soft-fp/lesf2.c: Likewise.
17021 * soft-fp/letf2.c: Likewise.
17022 * soft-fp/muldf3.c: Likewise.
17023 * soft-fp/mulsf3.c: Likewise.
17024 * soft-fp/multf3.c: Likewise.
17025 * soft-fp/negdf2.c: Likewise.
17026 * soft-fp/negsf2.c: Likewise.
17027 * soft-fp/negtf2.c: Likewise.
17028 * soft-fp/op-1.h: Likewise.
17029 * soft-fp/op-2.h: Likewise.
17030 * soft-fp/op-4.h: Likewise.
17031 * soft-fp/op-8.h: Likewise.
17032 * soft-fp/op-common.h: Likewise.
17033 * soft-fp/quad.h: Likewise.
17034 * soft-fp/single.h: Likewise.
17035 * soft-fp/soft-fp.h: Likewise.
17036 * soft-fp/sqrtdf2.c: Likewise.
17037 * soft-fp/sqrtsf2.c: Likewise.
17038 * soft-fp/sqrttf2.c: Likewise.
17039 * soft-fp/subdf3.c: Likewise.
17040 * soft-fp/subsf3.c: Likewise.
17041 * soft-fp/subtf3.c: Likewise.
17042 * soft-fp/truncdfsf2.c: Likewise.
17043 * soft-fp/trunctfdf2.c: Likewise.
17044 * soft-fp/trunctfsf2.c: Likewise.
17045 * soft-fp/trunctfxf2.c: Likewise.
17046 * soft-fp/unorddf2.c: Likewise.
17047 * soft-fp/unordsf2.c: Likewise.
17048 * soft-fp/unordtf2.c: Likewise.
17049
17c48a60
OB
170502013-10-14 Ondřej Bílka <neleai@seznam.cz>
17051
17052 [BZ #15672]
17053 * misc/error.c (error_tail): Fix possible buffer overflow.
17054
cabba934
OB
170552013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17056
17057 [BZ #13028]
17058 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17059 address.
17060
94bf958a
PM
170612013-10-14 P. J. McDermott <pj@pehjota.net>
17062
17063 [BZ #832]
17064 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17065 testing pipefail option.
17066
71b4dea7
JM
170672013-10-12 Joseph Myers <joseph@codesourcery.com>
17068
17069 * soft-fp/double.h: Indent preprocessor directives inside #if.
17070 * soft-fp/extended.h: Likewise.
17071 * soft-fp/op-2.h: Likewise.
17072 * soft-fp/op-4.h: Likewise.
17073 * soft-fp/op-common.h: Likewise.
17074 * soft-fp/quad.h: Likewise.
17075 * soft-fp/single.h: Likewise.
17076 * soft-fp/soft-fp.h: Likewise.
17077
55602758
YC
170782013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17079
17080 * iconv/iconv_prog.c: Fix typos.
17081 * stdio-common/psiginfo-data.h: Likewise.
17082
9cd83302
RT
170832013-10-12 Reuben Thomas <rrt@sc3d.org>
17084
17085 [BZ #15764]
17086 * locale/setlocale.c: Fix typo.
17087
99fd9f47
JM
170882013-10-12 Joseph Myers <joseph@codesourcery.com>
17089
b7ea74f0
JM
17090 [BZ #16036]
17091 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17092 signaling NaN arguments.
17093 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17094 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17095
8a509447
JM
17096 [BZ #14910]
17097 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17098 unordered operands.
17099 * soft-fp/gesf2.c (__gesf2): Likewise.
17100 * soft-fp/getf2.c (__getf2): Likewise.
17101 * soft-fp/ledf2.c (__ledf2): Likewise.
17102 * soft-fp/lesf2.c (__lesf2): Likewise.
17103 * soft-fp/letf2.c (__letf2): Likewise.
17104
98998e9f
JM
17105 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17106 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17107 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17108 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17109 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17110 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17111 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17112 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17113 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17114 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17115 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17116 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17117 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17118 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17119 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17120 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17121 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17122 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17123 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17124 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17125 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17126 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17127 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17128 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17129 * soft-fp/floattidf.c (__floattidf): Likewise.
17130 * soft-fp/floattisf.c (__floattisf): Likewise.
17131 * soft-fp/floattitf.c (__floattitf): Likewise.
17132 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17133 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17134 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17135 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17136 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17137 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17138 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17139 * soft-fp/gesf2.c (__gesf2): Likewise.
17140 * soft-fp/getf2.c (__getf2): Likewise.
17141 * soft-fp/ledf2.c (__ledf2): Likewise.
17142 * soft-fp/lesf2.c (__lesf2): Likewise.
17143 * soft-fp/letf2.c (__letf2): Likewise.
17144
8edc4a11
JM
17145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17146 Undefine and redefine.
17147 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17148 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17149 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17150 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17151 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17152 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17153 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17154 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17155 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17156 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17157 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17158 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17159 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17160 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17161 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17162
8399acaf
JM
17163 [BZ #16032]
17164 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17165 without decrementing exponent if mantissa >= that for the
17166 denominator, not >.
17167 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17168 denominator, not >. Decrement exponent in < case instead of
17169 incrementing in >= case.
17170 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17171 without decrementing exponent if mantissa >= that for the
17172 denominator, not >.
17173
99fd9f47
JM
17174 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17175 computing saturated result for unsigned overflow.
17176
10e1cf6b
SP
171772013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17178 Jeff Law <law@redhat.com>
17179
17180 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17181 (atan2Mp): Add systemtap probe marker.
17182 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17183 (__ieee754_log): Add systemtap probe marker.
17184 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17185 (atanMp): Add systemtap probe marker.
17186 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17187 (tanMp): Add systemtap probe marker.
17188 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17189 (__slowexp): Add systemtap probe marker.
17190 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17191 (__slowpow): Add systemtap probe marker.
17192 * manual/probes.texi: Document probes.
17193
3d110c7c
EB
171942013-10-11 Eric Biggers <ebiggers3@gmail.com>
17195
17196 [BZ #15362]
17197 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17198 written.
17199 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17200 written.
17201 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17202 written to buffer but not flushed.
17203 * libio/iofwrite_u.c: Likewise.
17204 * libio/iopadn.c: Return bytes returned even if EOF was
17205 encountered.
17206 * libio/iowpadn.c: Likewise.
17207 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17208 if _IO_padn does not write the whole buffer.
17209 [!COMPILE_WPRINTF] (PAD): Likewise.
17210
75b4202a
DM
172112013-10-10 David S. Miller <davem@davemloft.net>
17212
17213 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17214 directory block.
17215
6c6352e6
JM
172162013-10-10 Joseph Myers <joseph@codesourcery.com>
17217
33b853c3
JM
17218 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17219 instead of FSF address.
17220 * soft-fp/fixdfti.c: Likewise.
17221 * soft-fp/fixsfti.c: Likewise.
17222 * soft-fp/fixtfti.c: Likewise.
17223 * soft-fp/fixunsdfti.c: Likewise.
17224 * soft-fp/fixunssfti.c: Likewise.
17225 * soft-fp/fixunstfti.c: Likewise.
17226 * soft-fp/floattidf.c: Likewise.
17227 * soft-fp/floattisf.c: Likewise.
17228 * soft-fp/floattitf.c: Likewise.
17229 * soft-fp/floatuntidf.c: Likewise.
17230 * soft-fp/floatuntisf.c: Likewise.
17231 * soft-fp/floatuntitf.c: Likewise.
17232 * soft-fp/trunctfxf2.c: Likewise.
17233
6c6352e6
JM
17234 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17235 * soft-fp/fixdfti.c: Likewise.
17236 * soft-fp/fixsfti.c: Likewise.
17237 * soft-fp/fixtfti.c: Likewise.
17238 * soft-fp/fixunsdfti.c: Likewise.
17239 * soft-fp/fixunssfti.c: Likewise.
17240 * soft-fp/fixunstfti.c: Likewise.
17241 * soft-fp/floattidf.c: Likewise.
17242 * soft-fp/floattisf.c: Likewise.
17243 * soft-fp/floattitf.c: Likewise.
17244 * soft-fp/floatuntidf.c: Likewise.
17245 * soft-fp/floatuntisf.c: Likewise.
17246 * soft-fp/floatuntitf.c: Likewise.
17247 * soft-fp/trunctfxf2.c: Likewise.
17248
3bf78b71
DM
172492013-10-10 David S. Miller <davem@davemloft.net>
17250
17251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17252
6f10289e
JM
172532013-10-10 Joseph Myers <joseph@codsourcery.com>
17254
bd878fc0
JM
17255 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17256 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17257 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17258 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17259 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17260 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17261 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17262
6f10289e
JM
17263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17264 for NaNs before doing comparisons on argument.
17265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17266 Likewise.
17267
321e2684
WN
172682013-10-10 Will Newton <will.newton@linaro.org>
17269
17270 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17271 passed to _int_memalign does not overflow.
17272
40fefba1
TR
172732013-10-10 Torvald Riegel <triegel@redhat.com>
17274
17275 * scripts/bench.pl: Add include-sources directive.
17276 * benchtests/README: Update documentation.
17277
2ae21ed2
JM
172782013-10-10 Joseph Myers <joseph@codesourcery.com>
17279
dcc2dd3f
JM
17280 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17281 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17282 instead of FP_INIT_ROUNDMODE.
17283 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17284 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17285
2ae21ed2
JM
17286 [BZ #16034]
17287 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17288 copy class of input value.
17289 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17290 not handle exceptions.
17291 * soft-fp/negsf2.c (__negsf2): Likewise.
17292 * soft-fp/negtf2.c (__negtf2): Likewise.
17293 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17294
cb8f9562
JM
172952013-10-09 Joseph Myers <joseph@codesourcery.com>
17296
17297 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17298 semicolon. From Linux kernel.
17299
5b60c59d
AB
173002013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17301
17302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17303
b86835ca
YC
173042013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17305
17306 [BZ #156]
17307 * manual/socket.texi: Added statement about buffer
17308 for gethostbyname2_r.
17309
e7044ea7
OB
173102013-10-08 Ondřej Bílka <neleai@seznam.cz>
17311
17312 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17313 Use .p2align directive instead, throughout.
17314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17315 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17316 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17319 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17320 * sysdeps/x86_64/strchr.S: Likewise.
17321 * sysdeps/x86_64/strrchr.S: Likewise.
17322
09544cbc
SP
173232013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17324
88576635
SP
17325 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17326
e7b2d1dd
SP
17327 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17328
09544cbc
SP
17329 * sysdeps/generic/math_private.h (__mpsin1): Remove
17330 declaration.
17331 (__mpcos1): Likewise.
17332 (__mpsin): New argument __range_reduce.
17333 (__mpcos): Likewise.
17334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17335 (slow): Use __mpsin and __mpcos.
17336 (slow1): Likewise.
17337 (slow2): Likewise.
17338 (sloww): Likewise.
17339 (sloww1): Likewise.
17340 (sloww2): Likewise.
17341 (bsloww): Likewise.
17342 (bsloww1): Likewise.
17343 (bsloww2): Likewise.
17344 (cslow2): Likewise.
17345 (csloww): Likewise.
17346 (csloww1): Likewise.
17347 (csloww2): Likewise.
17348 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17349 range_reduce. Merge in __mpsin1.
17350 (__mpcos): Likewise.
17351 (__mpsin1): Remove.
17352 (__mpcos1): Likewise.
17353
7602d070
JM
173542013-10-07 Joseph Myers <joseph@codesourcery.com>
17355
17356 * locale/loadlocale.c (_nl_intern_locale_data): Use
17357 LOCFILE_ALIGNED_P.
17358 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17359 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17360 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17361 obstack data is appropriately aligned.
17362 (obstack_int32_grow_fast): Likewise.
17363 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17364 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17365 (add_locale_uint32_array): Likewise.
17366
a357259b
SP
173672013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17368
17369 * benchtests/Makefile: Remove ARGLIST and RET variables.
17370 ($(objpfx)bench-%.c): Pass only function name to the script.
17371 * benchtests/README: Update documentation.
17372 * benchtests/acos-inputs: Add new directives.
17373 * benchtests/acosh-inputs: Likewise.
17374 * benchtests/asin-inputs: Likewise.
17375 * benchtests/asinh-inputs: Likewise.
17376 * benchtests/atan-inputs: Likewise.
17377 * benchtests/atanh-inputs: Likewise.
17378 * benchtests/cos-inputs: Likewise.
17379 * benchtests/cosh-inputs: Likewise.
17380 * benchtests/exp-inputs: Likewise.
17381 * benchtests/log-inputs: Likewise.
17382 * benchtests/pow-inputs: Likewise.
17383 * benchtests/rint-inputs: Likewise.
17384 * benchtests/sin-inputs: Likewise.
17385 * benchtests/sinh-inputs: Likewise.
17386 * benchtests/tan-inputs: Likewise.
17387 * benchtests/tanh-inputs: Likewise.
17388 * scripts/bench.pl: Add support for new directives.
17389
9ec1b13d
AM
173902013-10-07 Alan Modra <amodra@gmail.com>
17391
17392 * README: Fix careless merge.
17393
8b7d57cd
AM
173942013-10-05 Alan Modra <amodra@gmail.com>
17395
17396 * NEWS: Mention powerpc64le support and bugs fixed.
17397 * README: Both big-endian and little-endian powerpc64 supported.
17398
7b7bab13
ST
173992013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17400
57f41c40
AS
17401 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17402 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17403 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17404 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17405
d39baad1
RA
174062013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17407
17408 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17409 match prototype.
17410
cd78f7e7
JM
174112013-10-04 Joseph Myers <joseph@codesourcery.com>
17412
29d73d86
JM
17413 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17414 Move -mhard-float appending from
17415 ports/sysdeps/powerpc/powerpc32/Makefile.
17416 [$(with-fp) = yes] (ASFLAGS): Likewise.
17417 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17418 * sysdeps/powerpc/nofpu: Move directory from
17419 ports/sysdeps/powerpc/nofpu.
17420 * sysdeps/powerpc/soft-fp: Move directory from
17421 ports/sysdeps/powerpc/soft-fp.
17422 * sysdeps/powerpc/powerpc32/405: Move directory from
17423 ports/sysdeps/powerpc/powerpc32/405.
17424 * sysdeps/powerpc/powerpc32/440: Move directory from
17425 ports/sysdeps/powerpc/powerpc32/440.
17426 * sysdeps/powerpc/powerpc32/464: Move directory from
17427 ports/sysdeps/powerpc/powerpc32/464.
17428 * sysdeps/powerpc/powerpc32/476: Move directory from
17429 ports/sysdeps/powerpc/powerpc32/476.
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17440 * README: Update for powerpc-*-linux-gnu software floating point
17441 support in libc.
17442
e246b347
JM
17443 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17444 case to powerpc/powerpc32*.
17445 * sysdeps/unix/sysv/linux/configure: Regenerated.
17446
89c2003e
JM
17447 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17448 (_FPU_MASK_OM): Define as 0x04.
17449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17451 0x00c10080.
17452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17453 0x0000003c.
17454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17455
cd78f7e7
JM
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17457 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17458 getcontext_e500.
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17461 setcontext_e500.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17464 and setcontext_e500.
17465
c755294d
CL
174662013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17467
17468 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17469
e16d221c
SP
174702013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17471
17472 * manual/threads.texi (Default Thread Attributes): Fix typo.
17473
215c7d43
WN
174742013-10-04 Will Newton <will.newton@linaro.org>
17475
17476 * malloc/Makefile: Add tst-memalign.
17477 * malloc/tst-memalign.c: New file.
17478
27d0461b
WN
17479 * malloc/tst-posix_memalign.c: Add comments.
17480 (do_test): Add comments and call free on all potentially
17481 allocated pointers. Add space after cast.
17482
1bc92709
WN
17483 * malloc/tst-pvalloc.c: Add comments.
17484 (do_test): Add comments and call free on all potentially
17485 allocated pointers. Remove duplicate check for NULL pointer.
17486 Add space after cast.
17487
66a9be9d
WN
17488 * malloc/tst-valloc.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
4cb81307
AM
174932013-10-04 Alan Modra <amodra@gmail.com>
17494
17495 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17496 Use stdint types in rather than __attribute__((mode())).
17497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17498
f8e3e9f3
AM
174992013-10-04 Alan Modra <amodra@gmail.com>
17500
17501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17502 Correct handling of unaligned relocs for little-endian.
17503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17504
8f9ebb08
AM
175052013-10-04 Alan Modra <amodra@gmail.com>
17506
17507 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17508 * configure: Regenerate.
17509 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17510 * shlib-versions: Likewise.
17511
0edf96c2
AM
175122013-10-04 Alan Modra <amodra@gmail.com>
17513
17514 * string/tester.c (test_memrchr): Increment reported test cycle.
17515
e0f7a380
AM
175162013-10-04 Alan Modra <amodra@gmail.com>
17517
17518 * string/test-memcpy.c (do_one_test): When reporting errors, print
17519 string address and don't overrun end of string.
17520
466b0393
AM
175212013-10-04 Alan Modra <amodra@gmail.com>
17522
17523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17524 insrdi. Make better use of reg selection to speed exit slightly.
17525 Schedule entry path a little better. Remove useless "are we done"
17526 checks on entry to main loop. Handle wrapping around zero address.
17527 Correct main loop count. Handle single left-over word from main
17528 loop inline rather than by using loop_small. Remove extra word
17529 case in loop_small caused by wrong loop count. Add little-endian
17530 support.
17531 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17533 cache hint.
17534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17536 support. Avoid rlwimi.
17537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17538
3be87c77
AM
175392013-10-04 Alan Modra <amodra@gmail.com>
17540
17541 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17542 insrdi. Formatting.
3be87c77
AM
17543 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17544 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17545 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17546 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17547 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17548 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17549
759cfef3
AM
175502013-10-04 Alan Modra <amodra@gmail.com>
17551
17552 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17556 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17557 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17561 use of regs. Use power7 mtocrf. Tidy function tails.
17562
fe6e95d7
AM
175632013-10-04 Alan Modra <amodra@gmail.com>
17564
17565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17566 Formatting. Consistently use rXXX register defines or rN defines.
17567 Use early exit labels that avoid restoring unused non-volatile regs.
17568 Make cr field use more consistent with rWORDn compares. Rename
17569 regs used as shift registers for unaligned loop, using rN defines
17570 for short lifetime/multiple use regs.
17571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17573 addi 1,1,64 to pop stack frame. Simplify return value code.
17574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17575
664318c3
AM
175762013-10-04 Alan Modra <amodra@gmail.com>
17577
17578 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17579 support. Correct typos, formatting. Optimize tail. Use insrdi
17580 rather than rlwimi.
17581 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17582 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17583 little-endian support. Correct typos.
17584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17585 rather than rlwimi.
17586 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17587 in loop and entry code to keep "and." results.
17588 (strchr): Add little-endian support. Comment. Move cntlzd
17589 earlier in tail.
17590 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17591
43b84013
AM
175922013-10-04 Alan Modra <amodra@gmail.com>
17593
17594 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17595 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17596 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17597 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17598
8a7413f9
AM
175992013-10-04 Alan Modra <amodra@gmail.com>
17600
17601 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17602 (rTMP): Define as r11.
17603 (strcmp): Add little-endian support. Optimise tail.
17604 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17605 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17611
33ee81de
AM
176122013-10-04 Alan Modra <amodra@gmail.com>
17613
17614 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17615 little-endian support. Remove unnecessary "are we done" tests.
17616 Handle "s" wrapping around zero and extremely large "size".
17617 Correct main loop count. Handle single left-over word from main
17618 loop inline rather than by using small_loop. Correct comments.
17619 Delete "zero" tail, use "end_max" instead.
17620 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17621
db9b4570
AM
176222013-10-04 Alan Modra <amodra@gmail.com>
17623
17624 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17625 support. Don't branch over align.
17626 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17627 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17628 support. Rearrange tmp reg use to suit. Comment.
17629 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17630
f7c399cf
AM
176312013-10-04 Alan Modra <amodra@gmail.com>
17632
17633 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17634
0b2c2ace
AM
176352013-10-04 Alan Modra <amodra@gmail.com>
17636
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17638 conditional form of branch and link when obtaining pc.
17639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17640
02f04a6c
AM
176412013-10-04 Alan Modra <amodra@gmail.com>
17642
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17644 HIWORD/LOWORD.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17647
9b874b2f
AM
176482013-10-04 Alan Modra <amodra@gmail.com>
17649
17650 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17651 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17653 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17654 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17655 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17656 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17657 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17658 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17659 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17660
be1e5d31
AB
176612013-10-04 Anton Blanchard <anton@au1.ibm.com>
17662 Alistair Popple <alistair@ozlabs.au.ibm.com>
17663 Alan Modra <amodra@gmail.com>
17664
17665 [BZ #15723]
17666 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17668 _dl_hwcap access for little-endian.
17669 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17670 destroy vmx regs when saving unaligned.
17671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17672 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17673 destroy vmx regs when saving unaligned.
17674
fef13a78
AM
176752013-10-04 Alan Modra <amodra@gmail.com>
17676
17677 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17678 Don't use a union to pack hi/low value.
17679
76a66d51
AB
176802013-10-04 Anton Blanchard <anton@au1.ibm.com>
17681
17682 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17683 for little-endian.
17684 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17686 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17687 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17688 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17689
6a31fe7f
AM
176902013-10-04 Alan Modra <amodra@gmail.com>
17691
17692 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17693 constants to usual value for .cst8 section, and remove redundant
17694 high address load.
17695 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17696 constant for 0x1p52. Load little-endian words of double from
17697 correct stack offsets.
17698
7b88401f
AM
176992013-10-04 Alan Modra <amodra@gmail.com>
17700
17701 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17702 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17703 words of double from correct stack offsets.
17704 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17705 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17706 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17711 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17716 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17717 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17718 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17719 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17720 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17721
9c008155
AM
177222013-10-04 Alan Modra <amodra@gmail.com>
17723
17724 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17725 64-bit int/double union.
17726 (_FPU_SETCW): Likewise.
17727 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17728 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17729
da13146d
AM
177302013-10-04 Alan Modra <amodra@gmail.com>
17731
17732 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17733 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17734
603e8410
AM
177352013-10-04 Alan Modra <amodra@gmail.com>
17736
17737 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17738 use vector int constants.
17739 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17740
4a28b3ca
AB
177412013-10-04 Anton Blanchard <anton@au1.ibm.com>
17742
17743 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17744 array with long long.
17745 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17746 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17747 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17748 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17749 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17750 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17751 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17752 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17753 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17754 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17755 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17756 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17757 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17758
2ca85d2b
AB
177592013-10-04 Anton Blanchard <anton@au1.ibm.com>
17760
17761 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17762 (__signbit): Likewise. Correct for little-endian.
17763 (__signbitl): Call __signbit.
17764 (lrint): Correct for little-endian.
17765 (lrintf): Call lrint.
17766
62a728ae
AM
177672013-10-04 Alan Modra <amodra@gmail.com>
17768
17769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17770 union 32-bit int array member with 64-bit int array.
17771 (t515, tm256): Double rather than long double.
17772 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17773
32c301df
AM
177742013-10-04 Alan Modra <amodra@gmail.com>
17775
17776 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17777 Delete.
17778 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17780 version of math_ldbl.h.
17781
650ef4bd
AM
177822013-10-04 Alan Modra <amodra@gmail.com>
17783
17784 [BZ #15734], [BZ #15735]
17785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17786 all uses of ieee875 long double macros and unions. Simplify test
17787 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17788 ldbl_extract_mantissa value for ix,iy exponents. Properly
17789 normalize after ldbl_extract_mantissa, and don't add hidden bit
17790 already handled. Don't treat low word of ieee854 mantissa like
17791 low word of IBM long double and mask off bit when testing for
17792 zero.
17793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17794 all uses of ieee875 long double macros and unions. Simplify tests
17795 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17796 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17797 two1022, instead use their values. Recognise that tests for large
17798 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17800 Rewrite all uses of ieee875 long double macros and unions. Simplify
17801 test for 0.0L and nan. Correct negation.
17802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17803 ieee875 long double macros and unions. Correct output for large
17804 magnitude x. Correct absolute value calculation.
17805 (__erfcl): Likewise.
17806 * math/libm-test.inc: Add tests for errors discovered in IBM long
17807 double versions of fmodl, remainderl, erfl and erfcl.
17808
765714ca
AM
178092013-10-04 Alan Modra <amodra@gmail.com>
17810
17811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17812 all uses of ieee854 long double macros and unions. Simplify tests
17813 for long doubles that are fully specified by the high double.
17814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17815 Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17817 Remove dead code too.
17818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17819 (__ieee754_ynl): Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17823 Remove dead code too.
17824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17828 Simplify.
17829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17830 Simplify.
17831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17834 Comment on variable precision.
17835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17837 Likewise.
17838 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17842 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17843
4ebd120c
AM
178442013-10-04 Alan Modra <amodra@gmail.com>
17845
17846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17848 all uses of ieee854 long double macros and unions.
17849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17855 Likewise.
17856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17862 Simplify sign and nan test too.
17863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17867 Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17870 Likewise.
17871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17877
1b6adf88
AM
178782013-10-04 Alan Modra <amodra@gmail.com>
17879
17880 * stdio-common/printf_size.c (__printf_size): Don't use
17881 union ieee854_long_double in fpnum union.
17882 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17883 signbit macro to retrieve sign from long double.
17884 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17885 retrieve sign from long double.
17886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17887 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17888 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17889 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17890 * math/test-misc.c (main): Don't use union ieee854_long_double.
17891
4cf69995
AM
178922013-10-04 Alan Modra <amodra@gmail.com>
17893
17894 [BZ #15680]
17895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17897 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17898 calculation. Remove unnecessary test for denormal exponent.
17899 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17900 Correct handling of denormals. Avoid undefined shift behaviour.
17901 Correct normalisation of low mantissa when low double is denormal.
17902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17903 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17904 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17905 Correct normalisation of low mantissa. Test for overflow of high
17906 mantissa and normalise.
17907 (ldbl_nearbyint): Use more readable constant for two52.
17908 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17909 (__mpn_construct_long_double): Fix test for overflow of high
17910 mantissa and correct normalisation. Avoid undefined shift.
17911
9605ca6c
AM
179122013-10-04 Alan Modra <amodra@gmail.com>
17913
17914 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17915 (union ibm_extended_long_double): Define as an array of ieee754_double.
17916 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17918 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17919 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17923 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17925 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17927
975569d0
JM
179282013-10-03 Joseph Myers <joseph@codesourcery.com>
17929
d3d23756
JM
17930 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17931 page size instead of calling getpagesize.
17932
975569d0
JM
17933 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17934 (LOCFILE_ALIGN_MASK): Likewise.
17935 (LOCFILE_ALIGN_UP): Likewise.
17936 (LOCFILE_ALIGNED_P): Likewise.
17937 * locale/programs/ld-collate.c (collate_output): Use the new
17938 macros instead of __alignof__ (int32_t).
17939 * locale/weight.h (findidx): Likewise.
17940
b1fe1f2b
OB
179412013-10-03 Ondřej Bílka <neleai@seznam.cz>
17942
17943 [BZ #431]
17944 * manual/string.texi: Fix strncat and wcsncat.
17945
5f855e35
BM
179462013-10-03 Brooks Moses <bmoses@google.com>
17947
17948 [BZ #15915]
17949 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17950 * Makerules: ...here, and adjust associated comments.
17951
3cef6009
WN
179522013-10-02 Will Newton <will.newton@linaro.org>
17953
17954 * malloc/Makefile: Add tst-pvalloc.
17955 * malloc/tst-pvalloc.c: New file.
17956
7815420b
WN
179572013-10-02 Will Newton <will.newton@linaro.org>
17958
17959 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17960 improve test coverage.
17961
4868b204
WN
179622013-10-02 Will Newton <will.newton@linaro.org>
17963
17964 * malloc/Makefile: Add tst-posix_memalign.
17965 * malloc/tst-posix_memalign.c: New file.
17966
29c793b3
EB
179672013-10-01 Eric Blake <eblake@redhat.com>
17968
17969 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17970 Use __THROWNL rather than __THROW on static functions.
17971
fd967522
PM
179722013-09-30 Petr Machata <pmachata@redhat.com>
17973
17974 * elf/elf.h (R_AARCH64_ABS16): New macro.
17975 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17976 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17977 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17978 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17979 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17980 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17981 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17982 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17983 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17984 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17985 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17986 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17987 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17988 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17989 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17990 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17991 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17992 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17993 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17994 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17995 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17996 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17997 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17998 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17999 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18000 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18001 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18002 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18003 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18004 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18005 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18006 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18007 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18008 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18009 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18010 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18011 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18012 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18013 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18014 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18015 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18016 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18017 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18018 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18019 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18020 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18021 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18022 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18023 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18024 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18025 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18026 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18027 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18028 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18029 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18030 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18031 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18032 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18033 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18034 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18035 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18036 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18037 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18038 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18039 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18040 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18041 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18042 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18043 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18044 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18045 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18046 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18047 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18048 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18049 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18050 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18051 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18052 (R_AARCH64_TLSDESC_LDR): Likewise.
18053 (R_AARCH64_TLSDESC_ADD): Likewise.
18054 (R_AARCH64_TLSDESC_CALL): Likewise.
18055
b2179107
AS
180562013-09-30 Andreas Schwab <schwab@suse.de>
18057
18058 [BZ #15048]
18059 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18060 the nss database lookup.
18061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18063
47f28d0a
MF
180642013-09-28 Mike Frysinger <vapier@gentoo.org>
18065
18066 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18067
180682013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18069
18070 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18071 ${Bash-specific parameter/pattern/string} parameter expansion.
18072 * sysdeps/unix/make-syscalls.sh: Likewise.
18073
f4518a17
KK
180742013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18075
18076 * sysdeps/sh/stackguard-macros.h: New file.
18077
dc1a95c7
OB
180782013-09-26 Ondřej Bílka <neleai@seznam.cz>
18079
18080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18082 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18085 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18086
5ebbff8f
AZ
180872013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18088
18089 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18090 Fix thread ID register.
18091
4fd2cf9f
JM
180922013-09-25 Joseph Myers <joseph@codesourcery.com>
18093
18094 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18095 [POSIX || UNIX98]: Require rather than permitting all symbols from
18096 <time.h>.
18097 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18098 element of struct sched_param.
18099 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18100 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18101 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18102 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18103 constant.
18104
12c22bc4
OL
181052013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18106
18107 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18108 argument calculation.
18109
a03d8ea7
JM
181102013-09-24 Joseph Myers <joseph@codesourcery.com>
18111
18112 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18113 Expect macro.
18114 [POSIX] (pthread_attr_t): Do not require type.
18115 [POSIX] (pthread_cond_t): Likewise.
18116 [POSIX] (pthread_condattr_t): Likewise.
18117 [POSIX] (pthread_key_t): Likewise.
18118 [POSIX] (pthread_mutex_t): Likewise.
18119 [POSIX] (pthread_mutexattr_t): Likewise.
18120 [POSIX] (pthread_once_t): Likewise.
18121 [POSIX] (pthread_t): Likewise.
18122 [POSIX-based standards] (pthread_atfork): Expect function.
18123
6055173a
JM
181242013-09-24 Joseph Myers <joseph@codesourcery.com>
18125 Richard Sandiford <richard@codesourcery.com>
18126
18127 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18128 (swap_endianness_p): New extern variable.
18129 (set_big_endian): New inline function.
18130 (maybe_swap_uint32): Likewise.
18131 (maybe_swap_uint32_array): Likewise.
18132 (maybe_swap_uint32_obstack): Likewise.
18133 * locale/programs/locfile.c: Include <stdbool.h>.
18134 (swap_endianness_p): New variable.
18135 (add_locale_uint32): Call maybe_swap_uint32.
18136 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18137 (write_locale_data): Call maybe_swap_uint32_array.
18138 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18139 maybe_swap_uint32.
18140 (obstack_int32_grow_fast): Likewise.
18141 (output_weightwc): Call maybe_swap_uint32_obstack.
18142 (collate_output): Likewise.
18143 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18144 (OPT_LITTLE_ENDIAN): Likewise.
18145 (options): Add --little-endian and --big-endian options.
18146 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18147 * locale/programs/locarchive.c: Include "locfile.h".
18148 (GET): New macro.
18149 (SET): Likewise.
18150 (INC): Likewise.
18151 (create_archive): Use the new macros to access fields of
18152 structures directly mapped from or written to locale archives.
18153 (oldlocrecentcmp): Likewise.
18154 (enlarge_archive): Likewise.
18155 (insert_name): Likewise.
18156 (add_alias): Likewise.
18157 (add_locale): Likewise.
18158 (delete_locales_from_archive): Likewise.
18159 (show_archive_content): Likewise.
18160 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18161 locale data.
18162
39bf0bb4
RM
181632013-09-24 Roland McGrath <roland@hack.frob.com>
18164
18165 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18166 http://www.gnu.org/doc/freemanuals.texi.
18167 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18168
f02eed10
WN
181692013-09-24 Will Newton <will.newton@linaro.org>
18170
18171 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18172 macro.
18173
a3a6c312
JM
181742013-09-23 Joseph Myers <joseph@codesourcery.com>
18175
18176 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18177 unsigned char.
18178
107375ac
MR
181792013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18180
18181 * manual/threads.texi (POSIX Threads): Fix a typo.
18182
141f3a77
SP
181832013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18184
303e567a
SP
18185 [BZ #14547]
18186 * string/tst-strcoll-overflow.c: New test case.
18187 * string/Makefile (xtests): Add tst-strcoll-overflow.
18188 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18189 cache if string sizes may cause integer overflow.
18190
141f3a77
SP
18191 [BZ #14547]
18192 * string/strcoll_l.c (coll_seq): New members rule, idx,
18193 save_idx and back_us.
18194 (get_next_seq_nocache): New function.
18195 (do_compare_nocache): New function.
18196 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18197 when malloc fails.
18198
c61b4d41
CD
181992013-09-23 Carlos O'Donell <carlos@redhat.com>
18200
0b1f8e35
CD
18201 [BZ #15754]
18202 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18203 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18204 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18205
c61b4d41
CD
18206 [BZ #15754]
18207 * elf/Makefile (tests): Add tst-ptrguard1.
18208 (tests-static): Add tst-ptrguard1-static.
18209 (tst-ptrguard1-ARGS): Define.
18210 (tst-ptrguard1-static-ARGS): Define.
18211 * elf/tst-ptrguard1.c: New file.
18212 * elf/tst-ptrguard1-static.c: New file.
18213 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18214 * sysdeps/i386/stackguard-macros.h: Likewise.
18215 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18216 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18217 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18218 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18219 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18220 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18221
182222013-09-23 Hector Marco <hecmargi@upv.es>
18223 Ismael Ripoll <iripoll@disca.upv.es>
18224 Carlos O'Donell <carlos@redhat.com>
18225
18226 [BZ #15754]
18227 * sysdeps/generic/stackguard-macros.h: Define
18228 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18229 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18230 Define __pointer_chk_guard_local.
18231 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18232 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18233
f5f4e7b4
VV
182342013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18235
18236 [BZ #15859]
18237 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18238
5bb43a43
AS
182392013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18240
18241 * include/string.h (__ffs): Declare as hidden.
18242 * string/ffs.c (__ffs): Define as hidden.
18243 * sysdeps/i386/ffs.c (__ffs): Likewise.
18244 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18245 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18246 * sysdeps/s390/ffs.c (__ffs): Likewise.
18247 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18248
3ea5be54
AO
182492013-09-20 Alexandre Oliva <aoliva@redhat.com>
18250
ffb89e53
AO
18251 * NEWS: Mention malloc probes.
18252
322dea08
AO
18253 * malloc/arena.c (new_heap): New memory_heap_new probe.
18254 (grow_heap): New memory_heap_more probe.
18255 (shrink_heap): New memory_heap_less probe.
18256 (heap_trim): New memory_heap_free probe.
18257 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18258 (systrim): New memory_sbrk_less probe.
18259 * manual/probes.texi: Document them.
18260
655673f3
AO
18261 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18262 * manual/probes.texi: Document it.
18263
35fed6f1
AO
18264 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18265 (__libc_realloc): Add memory_realloc_retry probe.
18266 (__libc_memalign): Add memory_memalign_retry probe.
18267 (__libc_valloc): Add memory_valloc_retry probe.
18268 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18269 (__libc_calloc): Add memory_calloc_retry probe.
18270 * manual/probes.texi: Document them.
18271
6999d38c
AO
18272 * malloc/arena.c (get_free_list): Add probe
18273 memory_arena_reuse_free_list.
18274 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18275 and memory_arena_reuse.
18276 (arena_get2) [!PER_THREAD]: Likewise.
18277 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18278 memory_arena_reuse_realloc.
18279 * manual/probes.texi: Document them.
18280
0653427f
AO
18281 * malloc/malloc.c (__libc_free): Add
18282 memory_mallopt_free_dyn_thresholds probe.
18283 (__libc_mallopt): Add multiple memory_mallopt probes.
18284 * manual/probes.texi: Document them.
18285
3ea5be54
AO
18286 * malloc/malloc.c: Include stap-probe.h.
18287 (__libc_mallopt): Add memory_mallopt probe.
18288 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18289 * manual/probes.texi: New.
18290 * manual/Makefile (chapters): Add probes.
18291 * manual/threads.texi: Set next node.
18292
e35696c3 182932013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18294
e35696c3
CL
18295 [BZ #15963, #13985]
18296 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18297 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18298 Add `Chinese' to `nan' entry name.
18299
4aafb73c
SP
183002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18301
18302 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18303 (POLYNOMIAL): Likewise.
18304 (TAYLOR_SINCOS): Likewise.
18305 (TAYLOR_SLOW): Likewise.
18306 (__sin): Use TAYLOR_SINCOS.
18307 (__cos): Likewise.
18308 (slow): Use TAYLOR_SLOW.
18309 (sloww): Likewise.
18310 (bsloww): Likewise.
18311 (csloww): Likewise.
18312
d84f25c7
LD
183132013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18314
18315 * stdlib/strtod_l.c: Fix buffer overrun.
18316
5eea0404
SP
183172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18318
7849ff93
SP
18319 * benchtests/Makefile (bench): Add sincos.
18320 * benchtests/bench-sincos.c: New file.
18321
cfa3c886
SP
18322 * math/libm-test.inc (cos_test_data): New test inputs.
18323 (sin_test_data): Likewise.
18324
b348e1e3
SP
18325 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18326 macro.
18327 (__sin): Use it.
18328 (__cos): Likewise.
18329 (slow1): Likewise.
18330 (slow2): Likewise.
18331 (sloww1): Likewise.
18332 (sloww2): Likewise.
18333 (bsloww1): Likewise.
18334 (bsloww2): Likewise.
18335 (cslow2): Likewise.
18336 (csloww1): Likewise.
18337 (csloww2): Likewise.
18338
6cce25f8
SP
18339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18340 function.
18341 (__sin): Use it.
18342 (__cos): Likewise.
18343
5eea0404
SP
18344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18345 gotos.
18346 (__cos): Likewise.
18347
9c21573c
MR
183482013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18349
18350 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18351 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18352 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18353 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18354 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18355 * elf/cache.c (print_entry): Handle the new cache flags.
18356
24d22e65
JM
183572013-09-18 Joseph Myers <joseph@codesourcery.com>
18358 Aldy Hernandez <aldyh@redhat.com>
18359
18360 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18361 Change condition to [_SOFT_FLOAT].
18362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18374 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18377 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18378 declaration.
18379
d13ef066
JM
183802013-09-18 Joseph Myers <joseph@codesourcery.com>
18381
2e071de0
JM
18382 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18383 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18384 (__longjmp): Use LOAD_GP to load saved GPRs.
18385 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18386 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18387 (__sigsetjmp): Use SAVE_GP to save GPRs.
18388
d13ef066
JM
18389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18390 Do not append -msoft-float.
18391 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18392
97a0650b
SP
183932013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18394
18395 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18396
11ca09e9
JM
183972013-09-17 Joseph Myers <joseph@codesourcery.com>
18398
18399 [BZ #15966]
18400 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18401 (_FPU_GETCW): Use initial "__" on variable and field names but not
18402 on macro parameter name.
18403 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18404 parentheses around reference to macro parameter.
18405
08ffcf34
RS
184062013-09-13 Richard Sandiford <richard@codesourcery.com>
18407
18408 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18409 prototype.
18410 (ctype_startup): Use uint32_t in cast and sizeof for
18411 ctype->charnames.
18412
ae7080d3
JL
184132013-09-11 Jia Liu <proljc@gmail.com>
18414
18415 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18416 __daddr_t_defined.
18417 [__FreeBSD__]: Likewise.
18418
5905e7b3
OB
184192013-09-11 Ondřej Bílka <neleai@seznam.cz>
18420
18421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18422 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18423 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18424 (strchr): Remove __strchr_sse42 ifunc selection.
18425 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18426 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18427
b987c776
WN
184282013-09-11 Will Newton <will.newton@linaro.org>
18429
18430 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18431 parameter to RES. Remove hardcoded 1000 value.
18432 * benchtests/bench-skeleton.c (main): Pass RES parameter
18433 to TIMING_INIT and multiply result by 1000.
18434
ddf985af
AZ
184352013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18436
18437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18438
ffdd3181
AS
184392013-09-11 Andreas Schwab <schwab@suse.de>
18440
18441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18442 if not defined.
18443 (O_TMPFILE) [__USE_GNU]: Define.
18444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18445 Define.
18446
b73ed247
WN
184472013-09-11 Will Newton <will.newton@linaro.org>
18448
18449 [BZ #15857]
18450 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18451 does not overflow.
18452
55e17aad
WN
184532013-09-11 Will Newton <will.newton@linaro.org>
18454
18455 [BZ #15856]
18456 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18457 does not overflow.
18458
1159a193
WN
184592013-09-11 Will Newton <will.newton@linaro.org>
18460
18461 [BZ #15855]
18462 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18463 does not overflow.
18464
5905e7b3 184652013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18466
18467 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18472
cdfc721b
AM
184732013-09-10 Allan McRae <allan@archlinux.org>
18474
aa04af00
AM
18475 [BZ #15748]
18476 * manual/arith.texi (Parsing of Floats): Clarify
18477 cross-reference.
18478
cdfc721b
AM
18479 [BZ #15849]
18480 * manual/install.texi (Running make install): Mention
18481 --enable-pt-chown.
18482 * INSTALL: Regenerated.
18483
95e7cf29
MR
184842013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18485
18486 * csu/init-first.c (_init): Remove the !SHARED condition around
18487 FPU control word initialization.
18488 * elf/dl-support.c (_dl_fpu_control): New variable.
18489 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18490 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18491 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18492 * math/test-fpucw-static.c: New file.
18493 * math/test-fpucw-ieee.c: New file.
18494 * math/test-fpucw-ieee-static.c: New file.
18495 * math/Makefile (tests): Add `test-fpucw-ieee' and
18496 `$(tests-static)'.
18497 (tests-static): New variable.
18498 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18499 dependency to...
18500 [($(build-shared),yes)]
18501 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18502 ... this.
18503 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18504 New dependency.
18505
83e43bf0
AM
185062013-09-09 Allan McRae <allan@archlinux.org>
18507
a9f5ce09
AM
18508 [BZ #15939]
18509 * manual/string.texi (Collation Functions): Fix typo in
18510 strcoll example.
18511 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18512
34829bc2
AM
18513 [BZ #15893]
18514 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18515
3932737d
AM
18516 [BZ #15892]
18517 * libio/memstream.c (open_memstream): Fix memory leak.
18518 * libio/wmemstream.c (open_wmemstream): Likewise.
18519
83e43bf0
AM
18520 [BZ #15895]
18521 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18522
0c66b8e9
WN
185232013-09-09 Will Newton <will.newton@linaro.org>
18524
18525 * malloc/Makefile: Add tst-realloc to tests.
18526 * malloc/tst-realloc.c: New file.
18527
f6b00fd1
AM
185282013-09-09 Allan McRae <allan@archlinux.org>
18529
18530 [BZ #15844]
18531 * COPYING: Update from GNU website to fix FSF address.
18532 * COPYING.LIB: Likewise.
18533
eec55e16
DM
185342013-09-06 David S. Miller <davem@davemloft.net>
18535
18536 * po/zh_TW.po: Update Chinese (traditional) translation from
18537 translation project.
18538
1ecbb381
RS
185392013-09-06 Richard Sandiford <richard@codesourcery.com>
18540 Joseph Myers <joseph@codesourcery.com>
18541
18542 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18543 "localeinfo.h".
18544 (obstack_chunk_alloc): New macro.
18545 (obstack_chunk_free): Likewise.
18546 (record_offset): New function.
18547 (init_locale_data): Likewise.
18548 (align_locale_data): Likewise.
18549 (add_locale_empty): Likewise.
18550 (add_locale_raw_data): Likewise.
18551 (add_locale_raw_obstack): Likewise.
18552 (add_locale_string): Likewise.
18553 (add_locale_wstring): Likewise.
18554 (add_locale_uint32): Likewise.
18555 (add_locale_uint32_array): Likewise.
18556 (add_locale_char): Likewise.
18557 (start_locale_structure): Likewise.
18558 (end_locale_structure): Likewise.
18559 (start_locale_prelude): Likewise.
18560 (end_locale_prelude): Likewise.
18561 (write_locale_data): Take locale_file structure rather than an
18562 iovec.
18563 * locale/programs/locfile.h: Include "obstack.h".
18564 (struct locale_file): Change to store locale file contents instead
18565 of header.
18566 (init_locale_data): New prototype.
18567 (align_locale_data): Likewise.
18568 (add_locale_empty): Likewise.
18569 (add_locale_raw_data): Likewise.
18570 (add_locale_raw_obstack): Likewise.
18571 (add_locale_string): Likewise.
18572 (add_locale_wstring): Likewise.
18573 (add_locale_uint32): Likewise.
18574 (add_locale_uint32_array): Likewise.
18575 (add_locale_char): Likewise.
18576 (start_locale_structure): Likewise.
18577 (end_locale_structure): Likewise.
18578 (start_locale_prelude): Likewise.
18579 (end_locale_prelude): Likewise.
18580 (write_locale_data): Update prototype.
18581 * locale/programs/3level.h (struct TABLE): Remove result field.
18582 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18583 Use new locale_file interface.
18584 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18585 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18586 * locale/programs/ld-address.c (address_output): Use new
18587 locale_file interface.
18588 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18589 NO_ADD_LOCALE.
18590 (collate_finish): Don't call collseq_table_finalize.
18591 (collate_output): Use new locale_file interface.
18592 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18593 in file.
18594 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18595 (TABLE): Move defines earlier in file.
18596 (ELEMENT): Likewise.
18597 (DEFAULT): Likewise.
18598 (wctrans_table_add): Move macro and inline function earlier in
18599 file.
18600 (struct wctype_table): Move type earlier in file.
18601 (add_locale_wctype_table): New static prototype.
18602 (struct locale_ctype_t): Use logical types instead of struct iovec
18603 pointers for members.
18604 (ctype_output): Use new locale_file interface.
18605 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18606 new locale_file interface.
18607 (allocate_arrays): Update for use of new locale_file interface.
18608 * locale/programs/ld-identification.c (identification_output): Use
18609 new locale_file interface.
18610 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18611 * locale/programs/ld-messages.c (messages_output): Likewise.
18612 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18613 * locale/programs/ld-name.c (name_output): Likewise.
18614 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18615 * locale/programs/ld-paper.c (paper_output): Likewise.
18616 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18617 * locale/programs/ld-time.c (time_output): Likewise.
18618
e029e2e5
AZ
186192013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18620
18621 * benchtests/Makefile: Add memrchr benchmark.
18622 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18623 benchmark as memrchr.
18624 * benchtests/bench-memrchr-ifunc.c: New file.
18625 * benchtests/bench-memrchr.c: New file.
18626
bbf6e8e4
WN
186272013-09-06 Will Newton <will.newton@linaro.org>
18628
18629 * benchtests/Makefile (string-bench): Add memcpy.
18630
6c82a2f8
CD
186312013-09-05 Carlos O'Donell <carlos@redhat.com>
18632 Cong Wang <amwang@redhat.com>
18633
e732c5f0 18634 [BZ #15850]
6c82a2f8
CD
18635 * sysdeps/unix/sysv/linux/bits/in.h
18636 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18637 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18638 before __USE_KERNEL_IPV6_DEFS uses.
18639 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18640 IPPROTO_BEETPH.
18641 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18642 sockaddr_in6, or ipv6_mreq.
18643
5430fc65
AZ
186442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645
18646 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18647 memory access for final bytes in some large inputs.
18648 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18649
4660856c
AZ
186502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18651
18652 * string/test-memrchr.c: New file.
18653 * string/test-memrchr-ifunc.c: New file.
18654 * string/Makefile: Add new memrchr testcase.
18655
bb8ea713
MF
186562013-09-05 Mike Frysinger <vapier@gentoo.org>
18657
18658 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18659 fanotify_init returns EPERM.
18660
b92a20b5
JM
186612013-09-04 Joseph Myers <joseph@codesourcery.com>
18662
18663 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18664 errors.
18665 (top level): Treat second token from macro or constant entries for
18666 allowed headers as allowed.
18667 * include/complex.h: Condition internal declarations on
18668 [!_ISOMAC].
18669 * include/fenv.h: Condition include of <stdbool.h> and internal
18670 declarations on [!_ISOMAC].
7447ccd9
CL
18671
186722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18673
3e181dda 18674 [BZ #15923]
7447ccd9
CL
18675 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18676
3f2e46a4
JM
186772013-09-04 Joseph Myers <joseph@codesourcery.com>
18678
18679 * configure.in (--enable-versioning): Remove configure option.
18680 (libc_cv_asm_symver_directive): Remove configure test.
18681 (libc_cv_ld_version_script_option): Likewise.
18682 (VERSIONING): Remove variable and AC_SUBST.
18683 (DO_VERSIONING): Remove AC_DEFINE.
18684 * configure: Regenerated.
18685 * config.h.in (DO_VERSIONING): Remove macro.
18686 * Makerules [$(versioning) = yes]: Change conditionals to
18687 [$(build-shared) = yes].
18688 * config.make.in (versioning): Remove variable.
18689 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18690 [$(build-shared) = yes].
18691 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18692 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18693 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18694 [$(build-shared) = yes].
18695 * extra-lib.mk [$(versioning) = yes]: Likewise.
18696 * hurd/Makefile [$(versioning) = yes]: Likewise.
18697 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18698 [SHARED].
18699 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18700 [SHARED].
18701 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18702 [SHARED && !NO_HIDDEN].
18703 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18704 [SHARED].
18705 [SHARED && DO_VERSIONING]: Likewise..
18706 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18707 [$(build-shared) = yes].
18708 * manual/install.texi (--disable-versioning): Remove
18709 documentation.
18710 * INSTALL: Regenerated.
18711 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18712 to [SHARED].
18713 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18714 [$(build-shared) = yes].
18715 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18716 * sysdeps/i386/i686/multiarch/strstr-c.c
18717 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18718 [SHARED && !NO_HIDDEN].
18719 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18720 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18721 * sysdeps/powerpc/powerpc32/dl-machine.c
18722 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18723 * sysdeps/powerpc/powerpc32/sysdep.h
18724 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18725 to [SHARED && PIC && !NO_HIDDEN].
18726 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18727 conditional to [SHARED].
18728
44558701
WN
187292013-09-04 Will Newton <will.newton@linaro.org>
18730
18731 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18732 * benchtests/bench-string.h: Include bench-timing.h instead
18733 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18734 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18735 call to HP_TIMING_DIFF_INIT.
18736 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18737 instead of hp-timing.h macros.
18738 * benchtests/bench-memchr.c: Likewise.
18739 * benchtests/bench-memcmp.c: Likewise.
18740 * benchtests/bench-memcpy.c: Likewise.
18741 * benchtests/bench-memmem.c: Likewise.
18742 * benchtests/bench-memmove.c: Likewise.
18743 * benchtests/bench-memset.c: Likewise.
18744 * benchtests/bench-rawmemchr.c: Likewise.
18745 * benchtests/bench-strcasecmp.c: Likewise.
18746 * benchtests/bench-strcasestr.c: Likewise.
18747 * benchtests/bench-strcat.c: Likewise.
18748 * benchtests/bench-strchr.c: Likewise.
18749 * benchtests/bench-strcmp.c: Likewise.
18750 * benchtests/bench-strcpy.c: Likewise.
18751 * benchtests/bench-strcpy_chk.c: Likewise.
18752 * benchtests/bench-strlen.c: Likewise.
18753 * benchtests/bench-strncasecmp.c: Likewise.
18754 * benchtests/bench-strncat.c: Likewise.
18755 * benchtests/bench-strncmp.c: Likewise.
18756 * benchtests/bench-strncpy.c: Likewise.
18757 * benchtests/bench-strnlen.c: Likewise.
18758 * benchtests/bench-strpbrk.c: Likewise.
18759 * benchtests/bench-strrchr.c: Likewise.
18760 * benchtests/bench-strspn.c: Likewise.
18761 * benchtests/bench-strstr.c: Likewise.
18762
cae16d66
WN
187632013-09-04 Will Newton <will.newton@linaro.org>
18764
18765 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18766
ffa3cd7f
JM
187672013-09-03 Joseph Myers <joseph@codesourcery.com>
18768
18769 [BZ #15427]
18770 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18771 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18772 * math/libm-test.inc (lgamma_test_data): Add more tests.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775
8f02859f
OB
187762013-09-03 Ondřej Bílka <neleai@seznam.cz>
18777
18778 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18780 Add ifunc.
18781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18782 Add strcmp-sse2-unaligned
18783 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18784
18d43716
MF
187852013-09-02 Mike Frysinger <vapier@gentoo.org>
18786
18787 * Versions.def (libc): Add GLIBC_2.19.
18788
ac444012
MF
187892013-09-02 Mike Frysinger <vapier@gentoo.org>
18790
18791 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18792 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18793
b7835e32
JM
187942013-09-02 Joseph Myers <joseph@codesourcery.com>
18795
18796 [BZ #14155]
18797 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18798 intermediate calculations in recurrence.
18799 (__ieee754_ynf): Likewise.
18800 * math/libm-test.inc (jn_test_data): Do not allow spurious
18801 underflow exception. Add more tests.
18802 (yn_test_data): Add more tests.
18803 * sysdeps/i386/fpu/libm-test-ulps: Update.
18804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18805
8220f4f0
OB
188062013-09-02 Ondřej Bílka <neleai@seznam.cz>
18807
18808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18809
f24a6d08
OB
188102013-08-30 Ondřej Bílka <neleai@seznam.cz>
18811
18812 * csu/init-first.c: Fix then/than typos.
18813 * locale/programs/ld-collate.c: Likewise.
18814 * locale/programs/linereader.h: Likewise.
18815 * manual/charset.texi: Likewise.
18816 * manual/filesys.texi: Likewise.
18817 * manual/stdio.texi: Likewise.
18818 * manual/string.texi: Likewise.
18819 * stdlib/fmtmsg.c: Likewise.
18820 * sysdeps/i386/stpncpy.S: Likewise.
18821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18822 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18823 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18824 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18825
382466e0
OB
188262013-08-30 Ondřej Bílka <neleai@seznam.cz>
18827
18828 * elf/dl-open.c: Fix typos.
18829 * iconvdata/gbbig5.c: Likewise.
18830 * iconvdata/iso-2022-jp.c: Likewise.
18831 * iconv/gconv_int.h: Likewise.
18832 * iconv/loop.c: Likewise.
18833 * nis/rpcsvc/nis.h: Likewise.
18834 * resolv/ns_name.c: Likewise.
18835 * stdio-common/vfscanf.c: Likewise.
18836 * streams/stropts.h: Likewise.
18837 * sunrpc/rpc_thread.c: Likewise.
18838 * sysdeps/i386/strpbrk.S: Likewise.
18839 * sysdeps/ieee754/k_standard.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18842 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18843 * sysdeps/mach/hurd/profil.c: Likewise.
18844 * sysdeps/s390/dl-procinfo.h: Likewise.
18845 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18846 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18847 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18848 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18850
0186c6e9
OB
188512013-08-30 Ondřej Bílka <neleai@seznam.cz>
18852
18853 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18855
d4e16af1
OB
188562013-08-29 Ondřej Bílka <neleai@seznam.cz>
18857
18858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18859 aix specific files.
18860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18868
88335980
TS
188692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18870 Roland McGrath <roland@hack.frob.com>
18871
18872 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18873 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18874
ed479b02
ST
188752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18876
18877 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18878 __executable_start symbol instead of _start.
18879
f1cc4c86
TS
188802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18881
d821f07c
TS
18882 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18883 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18884 Move macros to...
18885 * sysdeps/gnu/ldsodefs.h: ... this new file.
18886
c54290cf
TS
18887 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18888 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18889 instead of ELFOSABI_LINUX.
18890
0007fc9b 18891 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18892 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18893 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18894 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18895 Likewise.
18896 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18897 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18898 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18899 Likewise.
18900 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18901 (ibm_extended_long_double): Add ieee_nan member.
18902 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18903 (do_test): New function.
18904
f1cc4c86
TS
18905 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18906 TEST_TRUNC.
18907 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18908 functions, renamed from truncdfsf_test, trunctfsf_test,
18909 trunctfdf_test.
18910 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18911 functions.
18912 (do_test): Run all these.
18913
6f65e668
OB
189142013-08-29 Ondřej Bílka <neleai@seznam.cz>
18915
18916 * argp/argp-help.c: Fix typos.
18917 * argp/argp-parse.c: Likewise.
18918 * debug/backtracesyms.c: Likewise.
18919 * elf/elf.h: Likewise.
18920 * malloc/malloc.c: Likewise.
18921 * nis/nis_print.c: Likewise.
18922 * resolv/res_comp.c: Likewise.
18923 * stdlib/stdlib.h: Likewise.
18924 * sunrpc/clnt_tcp.c: Likewise.
18925 * sunrpc/clnt_udp.c: Likewise.
18926 * sunrpc/clnt_unix.c: Likewise.
18927 * sysdeps/unix/bsd/ptsname.c: Likewise.
18928 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18931 Likewise.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18933 Likewise.
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18935 Likewise.
6f65e668
OB
18936 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18937
3a309239
SP
189382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18939
18940 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18942
3b813b29
MF
189432013-08-27 Mike Frysinger <vapier@gentoo.org>
18944
18945 [BZ #15897]
18946 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18947 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18948 ($(objpfx)bug-dl-leaf): New rule.
18949 ($(objpfx)bug-dl-leaf.so): Likewise.
18950 ($(objpfx)bug-dl-leaf.out): Likewise.
18951 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18952 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18953 * dlfcn/bug-dl-leaf.c: New test.
18954 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18955 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18956 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18957 (dlclose): Likewise.
18958 (dlmopen): Likewise.
18959
8cc3269f
RM
189602013-08-27 Roland McGrath <roland@hack.frob.com>
18961
7f9d0034
RM
18962 * include/netdb.h [!_ISOMAC]:
18963 Don't include <tls.h>.
18964 (h_errno, __libc_h_errno): Move declaration and macros out of
18965 [_LIBC_REENTRANT].
18966
fb431262
RM
18967 * include/resolv.h [_RESOLV_H_]:
18968 Don't include <tls.h>.
18969 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18970 * resolv/res_libc.c: Don't include <tls.h>.
18971 (_res): Use __attribute__ ((nocommon)) in place of
18972 __attribute__ ((section (".bss"))).
18973
bd81123a
RM
18974 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18975 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18976
c4e42566
RM
18977 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18978
f890a59b
RM
18979 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18980 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18981
18982 * resolv/res_mkquery.c: Include <sys/time.h>.
18983
5d1f0a09
RM
18984 * inet/ifreq.c: Moved to ...
18985 * sysdeps/unix/ifreq.c: ... here.
18986 * inet/ifreq.c: New file, true stub version.
18987
6fcf28b3
RM
18988 * socket/sa_len.c: New file.
18989 * socket/Makefile (aux): Add it.
18990 * sysdeps/unix/sysv/linux/Makefile
18991 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18992 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18993 and #include <socket/sa_len.c>.
18994 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18995 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18996
e041fb8b
RM
18997 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18998 * bits/socket.h: ... here.
18999
8cc3269f
RM
19000 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19001 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19002 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19003
5d228a43
AS
190042013-08-27 Andreas Schwab <schwab@suse.de>
19005
45b8accc
AS
19006 [BZ #15736]
19007 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19008 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19009 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19010 * string/test-strcasecmp.c (test_main): Run tests in several
19011 locales.
19012 * string/test-strncasecmp.c (test_main): Likewise.
19013
5d228a43
AS
19014 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19015 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19016 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19018 (__strncasecmp_ssse3) [PIC]: Likewise.
19019
59d112a4
RM
190202013-08-26 Roland McGrath <roland@hack.frob.com>
19021
53234cc3
RM
19022 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19023
59d112a4
RM
19024 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19025 instead of explicitly declaring xdecrypt.
19026 * nis/nss_nis/nis-publickey.c: Likewise.
19027
595aba70
SP
190282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 [BZ #15890]
19031 * nscd/aicache.c: Include res_hconf.h.
19032 (addhstaiX): Initialize res_hconf.
19033
ffabd393
AS
190342013-08-26 Andreas Schwab <schwab@suse.de>
19035
19036 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19037 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19038
e0a69f5c
SP
190392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
19041 * nscd/aicache.c (addhstaiX): Fix indentation.
19042
8c12f01d
MF
190432013-08-25 Mike Frysinger <vapier@gentoo.org>
19044
19045 * configure.ac: Quote $build_pt_chown test.
19046 * configure: Regenerated.
19047
8fe89494
JM
190482013-08-23 Joseph Myers <joseph@codesourcery.com>
19049
19050 [BZ #15532]
19051 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19052 * math/s_cexpf.c (__cexpf): Likewise.
19053 * math/s_cexpl.c (__cexpl): Likewise.
19054 * math/libm-test.inc (cexp_test_data): Correct expected return
19055 value for NaN + i0. Add another test.
19056
75b181d6
DM
190572013-08-22 David S. Miller <davem@davemloft.net>
19058
19059 * po/ca.po: Update Catalan translation from translation project.
936241e4 19060 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19061
acd06bb1
JM
190622013-08-21 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #15797]
19065 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19066 is infinite, not alongside NaN test.
19067 * math/s_fdimf.c (__fdimf): Likewise.
19068 * math/s_fdiml.c (__fdiml): Likewise.
19069 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19070 errno is unchanged.
19071
c0c3f78a
OB
190722013-08-21 Ondřej Bílka <neleai@seznam.cz>
19073
19074 * argp/argp-help.c: Fix typos.
19075 * crypt/speeds.c: Likewise.
19076 * csu/check_fds.c: Likewise.
19077 * elf/dl-load.c: Likewise.
19078 * elf/dl-open.c: Likewise.
19079 * elf/reldep3.c: Likewise.
19080 * elf/reldep.c: Likewise.
19081 * elf/sprof.c: Likewise.
19082 * iconv/iconv_charmap.c: Likewise.
19083 * iconv/skeleton.c: Likewise.
19084 * iconv/strtab.c: Likewise.
19085 * io/lockf64.c: Likewise.
19086 * libio/libioP.h: Likewise.
19087 * resolv/gai_notify.c: Likewise.
19088 * resolv/ns_name.c: Likewise.
19089 * resolv/ns_samedomain.c: Likewise.
19090 * resolv/res_send.c: Likewise.
19091 * stdlib/random.c: Likewise.
19092 * sunrpc/rpc/xdr.h: Likewise.
19093 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19101 * sysdeps/mach/hurd/check_fds.c: Likewise.
19102 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19103 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19108 * sysdeps/pthread/aio_notify.c: Likewise.
19109 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19110 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19113 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19114
46ed1038
LD
191152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19116
19117 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19118 version if bit_Slow_SSE4_2 is set.
19119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19121
d400dcac
AZ
191222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19123
19124 [BZ #15867]
19125 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19126 trampoline stack frame information.
19127 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19129 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19130 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19131 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19132 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19133 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19134 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19135 sa_flags value.
19136 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19137 interrupting a syscall and set with option SA_SIGINFO.
19138
42c8fdd8
JM
191392013-08-20 Joseph Myers <joseph@codesourcery.com>
19140
c980f2f4
JM
19141 [BZ #15531]
19142 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19143 argument is infinite.
19144 * math/s_cprojf.c (__cprojf): Likewise.
19145 * math/s_cprojl.c (__cprojl): Likewise.
19146 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19147 * math/libm-test.inc (cproj_test_data): Add more tests.
19148
0716c4fc
JM
19149 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19150
42c8fdd8
JM
19151 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19152 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19153 size. Use __ffs to determine corresponding shift.
19154
b31469d0
JM
191552013-08-20 Joseph Myers <joseph@codesourcery.com>
19156 Roland McGrath <roland@hack.frob.com>
19157
19158 * Makefile (INSTALL): Remove trailing blank lines from output of
19159 makeinfo.
19160
4e39af6e
AK
191612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19162
19163 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19164 Align 32 bit compat elf_greg to 8 bytes.
19165
f315524e
AA
191662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19167
19168 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19169
1326ba1a
SP
191702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19171
19172 * string/strcoll_l.c (coll_seq): New structure.
19173 (get_next_seq_cached): New function.
19174 (get_next_seq): New function.
19175 (do_compare): New function.
19176 (STRCOLL): Use GNU style definition. Simplify implementation
19177 by using get_next_seq, get_next_seq_cached and do_compare.
19178
91ce4085
FW
191792013-08-16 Florian Weimer <fweimer@redhat.com>
19180
19181 [BZ #14699]
19182 CVE-2013-4237
19183 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19184 member.
19185 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19186 member.
19187 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19188 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19189 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19190 conditional.
19191 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19192 GETDENTS_64BIT_ALIGNED.
19193 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19194 * manual/filesys.texi (Reading/Closing Directory): Document
19195 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19196 strongly.
19197 * manual/conf.texi (Limits for Files): Add portability note to
19198 NAME_MAX, PATH_MAX.
19199 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19200
ca0a6bc4
AS
192012013-08-13 Andreas Schwab <schwab@suse.de>
19202
19203 [BZ #15749]
19204 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19205 of fabs.
19206 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19207 LDBL_MAX_EXP >= 16384]: Add tests for it.
19208
6c1fd795
DM
192092013-08-12 David S. Miller <davem@davemloft.net>
19210
19211 * version.h (RELEASE): Set to "development".
19212 (VERSION): Set to "2.18.90".
19213 * NEWS: Add 2.19 section.
19214
31ad488d
DM
192152013-08-03 David S. Miller <davem@davemloft.net>
19216
19217 * po/ko.po: Update Korean translation from translation project.
19218
db24e684
DM
192192013-08-01 David S. Miller <davem@davemloft.net>
19220
19221 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19222 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19223 Bilka.
19224
f723285b
DM
192252013-07-30 David S. Miller <davem@davemloft.net>
19226
19227 * po/fr.po: Update French translation from translation project.
19228
3cbc52db
DM
192292013-07-28 David S. Miller <davem@davemloft.net>
19230
30bbc0cc
DM
19231 * po/cs.po: Update Czech translation from translation project.
19232
3cbc52db
DM
19233 * po/sv.po: Update Swedish translation from translation project.
19234
d492e6d0
DM
192352013-07-27 David S. Miller <davem@davemloft.net>
19236
f1a7f492
DM
19237 * po/eo.po: Update Esperanto translation from translation project.
19238
90e62a4a
DM
19239 * po/vi.po: Update Vietnamese translation from translation project.
19240
d492e6d0
DM
19241 * po/de.po: Update German translation from translation project.
19242
d4baa62d
DM
192432013-07-26 David S. Miller <davem@davemloft.net>
19244
641aa7b4
DM
19245 * po/bg.po: Update Bulgarian translation from translation project.
19246
d4baa62d
DM
19247 * po/nl.po: Update Dutch translation from translation project.
19248 * po/pl.po: Update Polish translation from translation project.
19249 * po/ru.po: Update Russian translation from translation project.
19250
61a9dcb9
DM
192512013-07-24 David S. Miller <davem@davemloft.net>
19252
19253 * po/libc.pot: Update.
19254
7b1f8b58
AZ
192552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19256
19257 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19258 variable page size.
19259 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19260 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19261 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19262
a8fc7a03
AK
192632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19264
19265 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19266
e4608715
CD
192672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19268 Andreas Schwab <schwab@suse.de>
19269 Roland McGrath <roland@hack.frob.com>
19270 Joseph Myers <joseph@codesourcery.com>
19271 Carlos O'Donell <carlos@redhat.com>
19272
19273 [BZ #15755]
19274 * config.h.in: Define HAVE_PT_CHOWN.
19275 * config.make.in (build-pt-chown): New variable.
19276 * configure.in (--enable-pt_chown): New configure option.
19277 * configure: Regenerate.
19278 * login/Makefile: Include Makeconfig. Build pt_chown only if
19279 build-pt-chown is enabled.
19280 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19281 pt_chown to fix pty ownership.
19282 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19283 CLOSE_ALL_FDS.
19284 * manual/install.texi (Configuring and compiling): Mention
19285 --enable-pt_chown. Add @findex for grantpt.
19286 * INSTALL: Regenerate.
19287
da2d62df
DM
192882013-07-20 David S. Miller <davem@davemloft.net>
19289
19290 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19291 difference between 32-bit and 64-bit.
19292
d7e06450
CD
192932013-07-15 Carlos O'Donell <carlos@redhat.com>
19294
19295 [BZ #15711]
19296 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19297 Avoid system header dependency with -ffreestanding.
19298 ($(objpfx)bits/syscall%d): Likewise.
19299
f959cfd7
DM
193002013-07-13 David S. Miller <davem@davemloft.net>
19301
19302 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19303 underflows from atanl/atan2l due to bug 15319.
19304 (casinh_test_data): Likewise.
19305
c61f8513
DM
193062013-07-07 David S. Miller <davem@davemloft.net>
19307
19308 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19309
72c90ed0
JA
193102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19311
19312 * sysdeps/i386/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19314
52dfbe13
SP
193152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19316
19317 * configure.in (--enable-lock-elision): Fix message text.
19318 * INSTALL: Regenerate.
19319 * configure: Regenerate.
19320
3f169543
AZ
193212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19322
19323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19324
521c6785
AJ
193252013-07-03 Andreas Jaeger <aj@suse.de>
19326
19327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19328 define.
19329 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19330 (ptrace_peeksiginfo_args): Add.
19331 (__ptrace_peeksiginfo_flags): Add.
19332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19333 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19334 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19335
d2cc15cb
AM
193362013-07-03 Allan McRae <allan@archlinux.org>
19337
19338 * sysdeps/i386/fpu/libm-test-ulps: Update.
19339
3aaeeca7
DM
193402013-07-02 David S. Miller <davem@davemloft.net>
19341
19342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19343
5314ed1a
MT
193442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19345
19346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19347
67338156
JM
193482013-07-02 Joseph Myers <joseph@codesourcery.com>
19349
19350 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19352
1717da59
AK
193532013-07-02 Andi Kleen <ak@linux.intel.com>
19354
19355 * config.h.in (ENABLE_LOCK_ELISION): Add.
19356 * configure.in (--enable-lock-elision): Add option.
19357 * manual/install.texi: Document --enable lock elision.
19358 * configure: Regenerate
19359 * INSTALL: Regenerate.
19360
1c81621c
L
193612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19364 SSE4.2 strcasecmp for libc.a.
19365 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19366
77f01ab5
JM
193672013-07-02 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #13304]
19370 * soft-fp/op-common.h (_FP_FMA): New macro.
19371 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19372 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19373 (_FP_MUL_MEAT_1_imm): ... here.
19374 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19375 (_FP_MUL_MEAT_1_wide): ... here.
19376 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19377 (_FP_MUL_MEAT_1_hard): ... here.
19378 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19379 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19380 (_FP_MUL_MEAT_2_wide): ... here.
19381 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19382 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19383 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19384 (_FP_MUL_MEAT_2_gmp): ... here.
19385 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19386 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19387 (_FP_MUL_MEAT_4_wide): ... here.
19388 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19389 (_FP_MUL_MEAT_4_gmp): ... here.
19390 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19391 (_FP_WFRACBITS_DW_S): Likewise.
19392 (_FP_WFRACXBITS_DW_S): Likewise.
19393 (_FP_HIGHBIT_DW_S): Likewise.
19394 (FP_FMA_S): Likewise.
19395 (_FP_FRAC_HIGH_DW_S): Likewise.
19396 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19397 (_FP_WFRACBITS_DW_D): Likewise.
19398 (_FP_WFRACXBITS_DW_D): Likewise.
19399 (_FP_HIGHBIT_DW_D): Likewise.
19400 (FP_FMA_D): Likewise.
19401 (_FP_FRAC_HIGH_DW_D): Likewise.
19402 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19403 (_FP_WFRACBITS_DW_E): Likewise.
19404 (_FP_WFRACXBITS_DW_E): Likewise.
19405 (_FP_HIGHBIT_DW_E): Likewise.
19406 (FP_FMA_E): Likewise.
19407 (_FP_FRAC_HIGH_DW_E): Likewise.
19408 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19409 (_FP_WFRACBITS_DW_Q): Likewise.
19410 (_FP_WFRACXBITS_DW_Q): Likewise.
19411 (_FP_HIGHBIT_DW_Q): Likewise.
19412 (FP_FMA_Q): Likewise.
19413 (_FP_FRAC_HIGH_DW_Q): Likewise.
19414 * soft-fp/fmasf4.c: New file.
19415 * soft-fp/fmadf4.c: Likewise.
19416 * soft-fp/fmatf4.c: Likewise.
19417
6308fd9a
LD
194182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19419
19420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19421 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19422 Silvermont.
19423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19424 macro.
19425 (index_Slow_SSE4_2): Likewise.
19426 (index_Prefer_PMINUB_for_stringop): Likewise.
19427 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19428 bit_Slow_SSE4_2 is set.
19429 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19431
89cd9569
RA
194322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19433
19434 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19435 rtld_global._dl_hwcap2.
19436 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19437 POWER8.
19438 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19439 POWER8 feature descriptions defined in _dl_hwcap2.
19440 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19441 string handling for POWER8 feature bits.
19442 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19443 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19444 _dl_powerpc_cap_flags.
19445 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19446 * sysdeps/powerpc/rtld-global-offsets.sym
19447 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19448 _dl_hwcap2 in the rtld_global_ro structure.
19449
1ae8bfe0
RA
194502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19451
19452 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19453 hardware capabilities in support of AT_HWCAP2.
19454 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19455 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19456 GLRO(dl_hwcap2).
19457 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19458 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19459 explicitly the unknown a_type display mechanism is used.
19460 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19461 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19462 struct member.
19463 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19464 to macro prototype for AT_HWCAP2 support.
19465 * sysdeps/i386/dl-procinfo.h: Likewise.
19466 * sysdeps/s390/dl-procinfo.h: Likewise.
19467 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19468 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19469 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19470 return -1 for unknown a_type display fallback.
19471 * sysdeps/sparc/dl-procinfo.h: Likewise.
19472 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19473 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19474
8fbec010
JM
194752013-06-28 Joseph Myers <joseph@codesourcery.com>
19476
19477 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19478 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19479
0432680e
PY
194802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19481
19482 [BZ #12492]
19483 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19484 mprotect making __stack_prot writable.
19485
ce61a2ad
NF
194862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19487 Joseph Myers <joseph@codesourcery.com>
19488
19489 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19490 as being properly aligned.
19491
f91f1c0f
MR
194922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19493
3d0f5d0c
MR
19494 * dlfcn/modstatic5.c: New file.
19495 * dlfcn/tststatic5.c: New file.
19496 * dlfcn/Makefile (tests): Add tststatic5.
19497 (tests-static): Likewise.
19498 (modules-names): Add modstatic5.
19499 (tststatic5-ENV): New variable.
19500 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19501
f91f1c0f
MR
19502 [BZ #15022]
19503 * elf/dl-support.c (_dl_main_map): New variable.
19504 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19505 (_dl_nns, _dl_load_adds): Set to 1.
19506 (_dl_initial_searchlist): Refer to _dl_main_map.
19507 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19508 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19509 call to _dl_get_origin.
19510 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19511 around call_map.
19512 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19513 * dlfcn/modstatic3.c: New file.
19514 * dlfcn/tststatic3.c: New file.
19515 * dlfcn/tststatic4.c: New file.
19516 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19517 (tests-static): Likewise.
19518 (modules-names): Add modstatic3.
19519 (tststatic3-ENV, tststatic4-ENV): New variables.
19520 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19521 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19522
cbe7d24b
JM
195232013-06-26 Joseph Myers <joseph@codesourcery.com>
19524
19525 * configure.in (CC): Require GCC version 4.4 or later.
19526 * configure: Regenerated.
19527 * manual/install.texi (Tools for Compilation): Update GCC version
19528 requirement.
19529 * INSTALL: Regenerated.
19530
11b8a0e1
LD
195312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19532
19533 [BZ #15674]
bb5bb87c
L
19534 * string/test-memcmp.c (check2): New.
19535 (main): Call check2.
19536
11b8a0e1
LD
19537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19538
b0037103
MR
195392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19540
19541 [BZ #15022]
19542 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19543 over to...
19544 (dl_open_worker) [!SHARED]: ... here.
19545
c18c701d
RA
195462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19547
19548 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19549
1d17fa5f
RH
195502013-06-25 Richard Henderson <rth@redhat.com>
19551
19552 * locale/programs/locarchive.c: Include <libc-internal.h>
19553
8fcb833a
JM
195542013-06-25 Joseph Myers <joseph@codesourcery.com>
19555
19556 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19557 trailing whitespace removed.
19558
17db6e8d
MF
195592013-06-24 Mike Frysinger <vapier@gentoo.org>
19560
19561 [BZ #10283]
17db6e8d
MF
19562 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19563 * locale/programs/locarchive.c: Include libc-mmap.h.
19564 (prepare_address_space): Take two new outputs (the mmap base and len).
19565 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19566 values.
19567 (create_archive): Declare new mmap base and len values for
19568 prepare_address_space, and store the result in ah.
19569 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19570 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19571 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19572 Declare new mmap base and len values for
19573 prepare_address_space, and store the result in new_ah.
19574 (open_archive): Declare new mmap base and len values for
19575 prepare_address_space, and store the result in ah.
19576 (close_archive): If ah->mmap_base is not NULL, use that and
19577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19578 * sysdeps/generic/libc-mmap.h: New file.
19579
d605071e
MF
195802013-06-24 Mike Frysinger <vapier@gentoo.org>
19581
19582 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19583 (ALIGN_UP): Likewise.
19584 (PTR_ALIGN_DOWN): Likewise.
19585 (PTR_ALIGN_UP): Likewise.
19586
2f063a6e
RA
195872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19588
19589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19590 entry mapped to PPC_PLATFORM_POWER8.
19591 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19592 POWER8.
19593 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19594 (_dl_string_platform): Add case for exporting platform position for
19595 POWER8.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19597 search path to sysdeps/powerpc/powerpc32/power8 directory.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19599 search path to sysdeps/powerpc/powerpc64/power8 directory.
19600 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19601 power7 directories.
19602 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19603 power7 directories.
19604
a31ee4b3
SP
196052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19606
a74ca98f
SP
19607 * INSTALL: Regenerate.
19608
a31ee4b3
SP
19609 * nscd/connections.c (nscd_init): Fix comment.
19610
695c378f
JM
196112013-06-22 Joseph Myers <joseph@codesourcery.com>
19612
d8412221
JM
19613 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19614
695c378f
JM
19615 [BZ #15667]
19616 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19617 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19618
d1d54715
MR
196192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19620
19621 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19622 DL_DST_REQ_STATIC.
19623 (DL_DST_REQ_STATIC): Remove macro.
19624
8fdda7af
JM
196252013-06-21 Joseph Myers <joseph@codesourcery.com>
19626
19627 [BZ #7006]
19628 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19629 with a shift of 0 bits.
19630
f3bc5e5a
MR
196312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19632
19633 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19634 $(tststatic-ENV).
19635
be09e8c9
KK
196362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19637
19638 [BZ #15655]
19639 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19640
85c2e611
AZ
196412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642
19643 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19644 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19645 accepts -fno-tree-loop-distribute-patterns.
19646 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19647 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19648 recursive call.
19649 * string/memset.c (memset): Likewise.
19650 * string/test-memmove.c (simple_memmove): Disable loop transformation
19651 to library calls.
19652 * string/test-memset.c (simple_memset): Likewise.
19653 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19654 * benchtests/bench-memset.c (simple_memset): Likewise.
19655 * configure: Regenerated.
19656
c91e0825
JM
196572013-06-20 Joseph Myers <joseph@codesourcery.com>
19658
b8c792af
JM
19659 * math/test-misc.c (main): Ignore fesetround failure when failures
19660 of subsequent rounding tests would be ignored.
19661
c91e0825
JM
19662 [BZ #15654]
19663 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19664 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19665 * math/fegetenv.c (__fegetenv): Return 0.
19666 * math/fegetexcept.c (fegetexcept): Return 0.
19667 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19668 FE_TONEAREST.
19669 * math/feholdexcpt.c (feholdexcept): Return 0.
19670 * math/fesetenv.c (__fesetenv): Return 0.
19671 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19672 argument FE_TONEAREST.
19673 * math/feupdateenv.c (__feupdateenv): Return 0.
19674 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19675
bfcacbde
RM
196762013-06-18 Roland McGrath <roland@hack.frob.com>
19677
19678 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19679 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19680 ($(objpfx)rtld-%.os rules): Use them.
19681
e55a9b25
AZ
196822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683
19684 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19685 fields.
19686
346d65b3
RM
196872013-06-17 Roland McGrath <roland@hack.frob.com>
19688
12086fb4
RM
19689 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19690 length of target pattern, then descending length of dependency pattern.
19691 * configure.in (AWK): Require gawk 3.1.2 or newer.
19692 * manual/install.texi (Tools for Compilation): Say that we do.
19693 * configure: Regenerated.
19694
346d65b3
RM
19695 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19696 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19697 * scripts/sysd-rules.awk: ... this new script.
19698 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19699 than a glob-style pattern.
19700
1a846317
JM
197012013-06-17 Joseph Myers <joseph@codesourcery.com>
19702
19703 * math/test-misc.c (main): Do not treat incorrectly rounded
19704 conversions as failure unless ROUNDING_TESTS passes.
19705
8fc75e6f
JM
197062013-06-15 Joseph Myers <joseph@codesourcery.com>
19707
3711a167
JM
19708 [BZ #15631]
19709 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19710 restore exception state around main square root computation, then
19711 check for inexactness explicitly.
19712
8fc75e6f
JM
19713 * math/libm-test.inc (fma_test_data): Add another test.
19714
61dd6208
SP
197152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19716
adf23d2c
SP
19717 * manual/threads.texi (Non-POSIX Extensions): New document
19718 node. Document pthread_getattr_default_np and
19719 pthread_setattr_default_np.
19720
61dd6208
SP
19721 * Versions.def (libpthread): Add GLIBC_2.18.
19722 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19724 Likewise.
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19726 Likewise.
19727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19728 Likewise.
19729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19730 Likewise.
19731 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19732 Likewise.
19733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19734 Likewise.
19735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19736 Likewise.
19737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19738 Likewise.
19739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19740 Likewise.
19741
d086fc7b
LD
197422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19743
19744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19745 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19746
747ef469
SP
197472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19748 H.J. Lu <hjl.tools@gmail.com>
19749
19750 [BZ #15627]
19751 * sysdeps/x86_64/rtld-memset.c: Remove file.
19752 * sysdeps/x86_64/rtld-memset.S: New file.
19753
1b2feed2
JM
197542013-06-14 Joseph Myers <joseph@codesourcery.com>
19755
19756 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19757 (test_in_one_mode): Take arguments for whether the rounding mode
19758 is supported for each floating-point type.
19759 (do_test): Pass new arguments to test_in_one_mode using
19760 ROUNDING_TESTS.
19761
a58ad3f8
RM
197622013-06-13 Roland McGrath <roland@hack.frob.com>
19763
19764 * posix/tst-waitid.c (do_test): Distinguish different instances of
19765 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19766 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19767 before entering the kernel for waitpid.
19768
c204ab28
SP
197692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19770
19771 * NEWS: Fix note on clock function precision. Text by Roland
19772 McGrath.
19773
f4a29fba
RM
197742013-06-13 Roland McGrath <roland@hack.frob.com>
19775
19776 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19777 it into place only when and if the sanity check passes.
19778
1f24b9ad
JM
197792013-06-13 Joseph Myers <joseph@codesourcery.com>
19780
19781 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19782 output for whether conversion result is exact. Take argument
19783 indicating whether type is IBM long double.
19784 (round_for_all): Change need_exact field to ibm_ld.
19785 * stdlib/tst-strtod-round.c (struct exactness): New type.
19786 (struct test): Change bool ld_ok field to struct exactness exact.
19787 (TEST): Update all definitions for change to field.
19788 (tests): Regenerate array contents.
19789 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19790 field value. Check for IBM long double here.
19791 (do_test): Update calls to test_in_one_mode.
19792
58206c68
SP
197932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19794
19795 [BZ #12515]
19796 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19797 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19798
2d6f4c5b 197992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19800
19801 [BZ #15605]
19802 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19803 generated by the compiler on loop optimizations.
19804 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19805 general definitions.
19806
94f2c076
JM
198072013-06-12 Joseph Myers <joseph@codesourcery.com>
19808
19809 * math/bug-nextafter.c: Include <math-tests.h>.
19810 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19811 the relevant type.
19812 * math/bug-nexttoward.c: Include <math-tests.h>.
19813 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19814 the relevant type.
19815 * math/test-misc.c: Include <math-tests.h>.
19816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19817 the relevant type.
19818
e0e50a0a
AJ
198192013-06-12 Andreas Jaeger <aj@suse.de>
19820
19821 * po/ia.po: Update Interlingua translation from translation
19822 project.
19823
25061094
SP
198242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19825
19826 * include/fenv.h: Include stdbool.h.
19827 (struct rm_ctx): New structure.
19828 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19829 Define macro.
19830 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19831 (SET_RESTORE_ROUNDF): Likewise.
19832 (SET_RESTORE_ROUNDL): Likewise.
19833 (SET_RESTORE_ROUND_NOEX): Likewise.
19834 (SET_RESTORE_ROUND_NOEXF): Likewise.
19835 (SET_RESTORE_ROUND_NOEXL): Likewise.
19836 (SET_RESTORE_ROUND_53BIT): Likewise.
19837 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19838 (libc_feresetround_noexf_ctx): Likewise.
19839 (libc_feresetround_noexl_ctx): Likewise.
19840 (libc_feholdsetround_53bit_ctx): Likewise.
19841 (libc_feresetround_53bit_ctx): Likewise.
19842 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19843 (libc_feholdexcept_setround_sse_ctx): New function.
19844 (libc_fesetenv_sse_ctx): Likewise.
19845 (libc_feupdateenv_sse_ctx): Likewise.
19846 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19847 (libc_feholdexcept_setround_387_ctx): Likewise.
19848 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19849 (libc_feholdsetround_387_prec_ctx): Likewise.
19850 (libc_feholdsetround_387_ctx): Likewise.
19851 (libc_feholdsetround_387_53bit_ctx): Likewise.
19852 (libc_feholdsetround_sse_ctx): Likewise.
19853 (libc_feresetround_sse_ctx): Likewise.
19854 (libc_feresetround_387_ctx): Likewise.
19855 (libc_feupdateenv_387_ctx): Likewise.
19856 (libc_feholdexcept_setroundf_ctx): Define macro.
19857 (libc_fesetenvf_ctx): Likewise.
19858 (libc_feupdateenvf_ctx): Likewise.
19859 (libc_feholdsetroundf_ctx): Likewise.
19860 (libc_feresetroundf_ctx): Likewise.
19861 (libc_feholdexcept_setround_ctx): Likewise.
19862 (libc_fesetenv_ctx): Likewise.
19863 (libc_feupdateenv_ctx): Likewise.
19864 (libc_feholdsetround_ctx): Likewise.
19865 (libc_feresetround_ctx): Likewise.
19866 (libc_feholdexcept_setroundl_ctx): Likewise.
19867 (libc_feupdateenvl_ctx): Likewise.
19868 (libc_feholdsetroundl_ctx): Likewise.
19869 (libc_feresetroundl_ctx): Likewise.
19870 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19871 (libc_feresetround_53bit_ctx): Likewise.
19872
59b30555
SP
198732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19874
19875 * locale/iso-639.def: Convert to UTF-8.
19876
f1d73d30
JM
198772013-06-11 Joseph Myers <joseph@codesourcery.com>
19878
19879 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19880 (EXCEPTION_TESTS_double): Likewise.
19881 (EXCEPTION_TESTS_long_double): Likewise.
19882 (EXCEPTION_TESTS): Likewise.
19883 * math/libm-test.inc (test_exceptions): Only test exceptions if
19884 EXCEPTION_TESTS (FLOAT).
19885
94aca5e7
SP
198862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19887
19888 * benchtests/Makefile (string-bench): Add strcpy_chk and
19889 stpcpy_chk.
19890 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19891 * benchtests/bench-stpcpy_chk.c: New file.
19892 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19893 * benchtests/bench-strcpy_chk.c: New file.
19894 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19895 code.
19896 (do_test): Likewise.
19897
fac0c5f2
RA
198982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19899
19900 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19901 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19902 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19903 with tabs where appropriate.
19904 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19905 dl-procinfo.h.
19906 [PPC_PLATFORM_PPC440]: Likewise.
19907 [PPC_PLATFORM_PPC464]: Likewise.
19908 [PPC_PLATFORM_PPC476]: Likewise.
19909 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19910 ppc464, and ppc476 platform strings merging from ports/
19911 dl-procinfo.h.
19912
f22bc486
AS
199132013-06-11 Andreas Schwab <schwab@suse.de>
19914
19915 [BZ #14991]
19916 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19917 (from_ucs4_idx): Regenerate.
19918 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19919 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19920 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19921 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19922 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19923 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19924 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19925 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19926 from FROM_LOOP and TO_LOOP specific macros.
19927 (BODY): Handle combining characters.
19928 * iconvdata/BIG5HKSCS.irreversible: Update.
19929 * iconvdata/BIG5HKSCS.precomposed: New file.
19930 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19931 characters.
19932 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19933
c1f75dc3
SP
199342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19935
4eacded2
SP
19936 * include/sys/time.h: Fix indentation and add copyright header.
19937
fec799f8
SP
19938 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19939 (do_test): Likewise.
19940 * string/test-memchr.c (do_one_test): Likewise.
19941 (do_test): Likewise.
19942 * string/test-memcmp.c (do_one_test): Likewise.
19943 (do_test): Likewise.
19944 * string/test-memcpy.c (do_one_test): Likewise.
19945 (do_test): Likewise.
19946 * string/test-memmem.c (do_one_test): Likewise.
19947 (do_test): Likewise.
19948 (do_random_tests): Likewise.
19949 * string/test-memmove.c (do_one_test): Likewise.
19950 (do_test): Likewise.
19951 * string/test-memset.c (do_one_test): Likewise.
19952 (do_test): Likewise.
19953 * string/test-rawmemchr.c (do_one_test): Likewise.
19954 (do_test): Likewise.
19955 * string/test-strcasecmp.c (do_one_test): Likewise.
19956 (do_test): Likewise.
19957 * string/test-strcasestr.c (do_one_test): Likewise.
19958 (do_test): Likewise.
19959 * string/test-strcat.c (do_one_test): Likewise.
19960 (do_test): Likewise.
19961 * string/test-strchr.c (do_one_test): Likewise.
19962 (do_test): Likewise.
19963 * string/test-strcmp.c (do_one_test): Likewise.
19964 (do_test): Likewise.
19965 * string/test-strcpy.c (do_one_test): Likewise.
19966 (do_test): Likewise.
19967 * string/test-string.h: Likewise.
19968 (test_init): Likewise.
19969 * string/test-strlen.c (do_one_test): Likewise.
19970 (do_test): Likewise.
19971 * string/test-strncasecmp.c (do_one_test): Likewise.
19972 (do_test): Likewise.
19973 * string/test-strncat.c (do_one_test): Likewise.
19974 (do_test): Likewise.
19975 * string/test-strncmp.c (do_one_test): Likewise.
19976 (do_test_limit): Likewise.
19977 (do_test): Likewise.
19978 * string/test-strncpy.c (do_one_test): Likewise.
19979 (do_test): Likewise.
19980 * string/test-strnlen.c (do_one_test): Likewise.
19981 (do_test): Likewise.
19982 * string/test-strpbrk.c (do_one_test): Likewise.
19983 (do_test): Likewise.
19984 * string/test-strrchr.c (do_one_test): Likewise.
19985 (do_test): Likewise.
19986 * string/test-strspn.c (do_one_test): Likewise.
19987 (do_test): Likewise.
19988 * string/test-strstr.c (do_one_test): Likewise.
19989 (do_test): Likewise.
19990
97020474
SP
19991 * benchtests/Makefile (string-bench): Add string benchmarks.
19992 * benchtests/bench-bcopy-ifunc.c: New file.
19993 * benchtests/bench-bcopy.c: New file.
19994 * benchtests/bench-bzero-ifunc.c: New file.
19995 * benchtests/bench-bzero.c: New file.
19996 * benchtests/bench-memccpy-ifunc.c: New file.
19997 * benchtests/bench-memccpy.c: New file.
19998 * benchtests/bench-memchr-ifunc.c: New file.
19999 * benchtests/bench-memchr.c: New file.
20000 * benchtests/bench-memcmp-ifunc.c: New file.
20001 * benchtests/bench-memcmp.c: New file.
20002 * benchtests/bench-memmem-ifunc.c: New file.
20003 * benchtests/bench-memmem.c: New file.
20004 * benchtests/bench-memmove-ifunc.c: New file.
20005 * benchtests/bench-memmove.c: New file.
20006 * benchtests/bench-mempcpy-ifunc.c: New file.
20007 * benchtests/bench-mempcpy.c: New file.
20008 * benchtests/bench-memset-ifunc.c: New file.
20009 * benchtests/bench-memset.c: New file.
20010 * benchtests/bench-rawmemchr-ifunc.c: New file.
20011 * benchtests/bench-rawmemchr.c: New file.
20012 * benchtests/bench-stpcpy-ifunc.c: New file.
20013 * benchtests/bench-stpcpy.c: New file.
20014 * benchtests/bench-stpncpy-ifunc.c: New file.
20015 * benchtests/bench-stpncpy.c: New file.
20016 * benchtests/bench-strcasecmp-ifunc.c: New file.
20017 * benchtests/bench-strcasecmp.c: New file.
20018 * benchtests/bench-strcasestr-ifunc.c: New file.
20019 * benchtests/bench-strcasestr.c: New file.
20020 * benchtests/bench-strcat-ifunc.c: New file.
20021 * benchtests/bench-strcat.c: New file.
20022 * benchtests/bench-strchr-ifunc.c: New file.
20023 * benchtests/bench-strchr.c: New file.
20024 * benchtests/bench-strchrnul-ifunc.c: New file.
20025 * benchtests/bench-strchrnul.c: New file.
20026 * benchtests/bench-strcmp-ifunc.c: New file.
20027 * benchtests/bench-strcmp.c: New file.
20028 * benchtests/bench-strcpy-ifunc.c: New file.
20029 * benchtests/bench-strcpy.c: New file.
20030 * benchtests/bench-strcspn-ifunc.c: New file.
20031 * benchtests/bench-strcspn.c: New file.
20032 * benchtests/bench-strlen-ifunc.c: New file.
20033 * benchtests/bench-strlen.c: New file.
20034 * benchtests/bench-strncasecmp-ifunc.c: New file.
20035 * benchtests/bench-strncasecmp.c: New file.
20036 * benchtests/bench-strncat-ifunc.c: New file.
20037 * benchtests/bench-strncat.c: New file.
20038 * benchtests/bench-strncmp-ifunc.c: New file.
20039 * benchtests/bench-strncmp.c: New file.
20040 * benchtests/bench-strncpy-ifunc.c: New file.
20041 * benchtests/bench-strncpy.c: New file.
20042 * benchtests/bench-strnlen-ifunc.c: New file.
20043 * benchtests/bench-strnlen.c: New file.
20044 * benchtests/bench-strpbrk-ifunc.c: New file.
20045 * benchtests/bench-strpbrk.c: New file.
20046 * benchtests/bench-strrchr-ifunc.c: New file.
20047 * benchtests/bench-strrchr.c: New file.
20048 * benchtests/bench-strspn-ifunc.c: New file.
20049 * benchtests/bench-strspn.c: New file.
20050 * benchtests/bench-strstr-ifunc.c: New file.
20051 * benchtests/bench-strstr.c: New file.
20052
c1f75dc3
SP
20053 * benchtests/Makefile: Disable parallel execution of targets.
20054 (string-bench): Add memcpy.
20055 (benchset): New variable to store a list of benchmark sets.
20056 (bench-func): Renamed from bench.
20057 (bench-set): New target.
20058 (bench): Depend on bench-func and bench-set.
20059 * benchtests/README: Add section on benchmark sets.
20060 * benchtests/bench-memcpy-ifunc.c: New file.
20061 * benchtests/bench-memcpy.c: New file.
20062 * benchtests/bench-string.h: New file.
20063
50fd745b
AS
200642013-06-11 Andreas Schwab <schwab@suse.de>
20065
20066 [BZ #15577]
20067 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20068 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20069 values in the triple.
20070 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20071 terminator in the group key.
20072
3ee7e9fe
AJ
200732013-06-11 Andreas Jaeger <aj@suse.de>
20074
20075 * po/zh_TW.po: Update Chinese (traditional) translation from
20076 translation project.
20077
89fb6835
SP
200782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20079
20080 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20081 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20082 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20084 (clock_getcpuclockid): Likewise.
20085 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20086 Add weak_alias and libc_hidden_def.
20087 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20088 * rt/clock_gettime.c (clock_gettime): Rename to
20089 __clock_gettime. Add weak_alias and libc_hidden_def.
20090 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20091 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20092 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20093 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20094 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20095 Likewise.
20096 * rt/clock_settime.c (clock_settime): Rename to
20097 __clock_settime. Add weak_alias and libc_hidden_def.
20098 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20099
0efa6f8b
JM
201002013-06-10 Joseph Myers <joseph@codesourcery.com>
20101
b8c61b4b
JM
20102 * mach/err_boot.sub: Remove trailing whitespace.
20103 * mach/err_ipc.sub: Likewise.
20104 * mach/err_mach.sub: Likewise.
20105
0efa6f8b
JM
20106 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20107 (ROUNDING_TESTS_double): Likewise.
20108 (ROUNDING_TESTS_long_double): Likewise.
20109 (ROUNDING_TESTS): Likewise.
20110 * math/libm-test.inc: Include <math-tests.h>.
20111 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20115
50b818bf
SP
201162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20117
20118 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20119 of assigning.
20120
60d2f8f3
JM
201212013-06-08 Joseph Myers <joseph@codesourcery.com>
20122
4902d2c3
JM
20123 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20124 otherwise empty TRANS lines.
20125 * sysdeps/gnu/errlist.c: Regenerated.
20126
60d2f8f3
JM
20127 * catgets/gencat.c (error_print): Use (void) in function
20128 definition.
20129 * crypt/crypt_util.c (__init_des): Likewise.
20130 * crypt/speeds.c (Stop): Likewise.
20131 (main): Likewise.
20132 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20133 * inet/ruserpass.c (token): Likewise.
20134 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20135 * intl/localealias.c (extend_alias_table): Likewise.
20136 * intl/plural-exp.c (init_germanic_plural): Likewise.
20137 * libio/fcloseall.c (__fcloseall): Likewise.
20138 * libio/genops.c (_IO_flush_all): Likewise.
20139 (_IO_flush_all_linebuffered): Likewise.
20140 (_IO_cleanup): Likewise.
20141 (_IO_iter_begin): Likewise.
20142 (_IO_iter_end): Likewise.
20143 (_IO_list_lock): Likewise.
20144 (_IO_list_unlock): Likewise.
20145 (_IO_list_resetlock): Likewise.
20146 * libio/getchar.c (getchar): Likewise.
20147 * libio/getchar_u.c (getchar_unlocked): Likewise.
20148 * libio/getwchar.c (getwchar): Likewise.
20149 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20150 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20151 * login/getpt.c (__getpt): Likewise.
20152 * login/tst-utmp.c (main): Likewise.
20153 * malloc/hooks.c (__malloc_check_init): Likewise.
20154 * malloc/malloc.c (__malloc_stats): Likewise.
20155 * malloc/mtrace.c (tr_break): Likewise.
20156 (mtrace): Likewise.
20157 (muntrace): Likewise.
20158 * misc/fstab.c (endfsent): Likewise.
20159 * misc/getclktck.c (__getclktck): Likewise.
20160 * misc/getdtsz.c (__getdtablesize): Likewise.
20161 * misc/gethostid.c (gethostid): Likewise.
20162 * misc/getpagesize.c (__getpagesize): Likewise.
20163 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20164 (__get_nprocs): Likewise.
20165 (__get_phys_pages): Likewise.
20166 (__get_avphys_pages): Likewise.
20167 * misc/getttyent.c (getttyent): Likewise.
20168 (setttyent): Likewise.
20169 (endttyent): Likewise.
20170 * misc/getusershell.c (getusershell): Likewise.
20171 (endusershell): Likewise.
20172 (setusershell): Likewise.
20173 (initshells): Likewise.
20174 * misc/hsearch.c (__hdestroy): Likewise.
20175 * misc/sync.c (sync): Likewise.
20176 * misc/syslog.c (closelog_internal): Likewise.
20177 (closelog): Likewise.
20178 * misc/ttyslot.c (ttyslot): Likewise.
20179 * misc/vhangup.c (vhangup): Likewise.
20180 * posix/fork.c (__fork): Likewise.
20181 * posix/getegid.c (__getegid): Likewise.
20182 * posix/geteuid.c (__geteuid): Likewise.
20183 * posix/getgid.c (__getgid): Likewise.
20184 * posix/getpid.c (__getpid): Likewise.
20185 * posix/getppid.c (__getppid): Likewise.
20186 * posix/getuid.c (__getuid): Likewise.
20187 * posix/pause.c (pause): Likewise.
20188 * posix/setpgrp.c (setpgrp): Likewise.
20189 * posix/setsid.c (__setsid): Likewise.
20190 * posix/test-vfork.c (noop): Likewise.
20191 * resolv/gethnamaddr.c (_endhtent): Likewise.
20192 (_gethtent): Likewise.
20193 (ht_endhostent): Likewise.
20194 (gethostent): Likewise.
20195 (dns_service): Likewise.
20196 * stdlib/drand48.c (drand48): Likewise.
20197 * stdlib/lrand48.c (lrand48): Likewise.
20198 * stdlib/mrand48.c (mrand48): Likewise.
20199 * stdlib/rand.c (rand): Likewise.
20200 * stdlib/random.c (__random): Likewise.
20201 * stdlib/setenv.c (clearenv): Likewise.
20202 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20203 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20204 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20205 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20206 (__get_nprocs): Likewise.
20207 (__get_phys_pages): Likewise.
20208 (__get_avphys_pages): Likewise.
20209 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20210 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20211 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20212 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20213 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20214 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20215 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20216 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20217 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20218 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20219 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20220 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20221 * sysdeps/posix/clock.c (clock): Likewise.
20222 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20223 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20224 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20225 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20226 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20228 (__get_nprocs_conf): Likewise.
20229 (__get_phys_pages): Likewise.
20230 (__get_avphys_pages): Likewise.
20231 * time/clock.c (clock): Likewise.
20232 * time/tzset.c (__tzname_max): Likewise.
20233
2e09a79a
JM
202342013-06-07 Joseph Myers <joseph@codesourcery.com>
20235
20236 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20237 (__bswap_32): Do not use "register".
20238 * crypt/crypt.c (_ufc_doit_r): Likewise.
20239 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20240 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20241 * gmon/gmon.c (__monstartup): Likewise.
20242 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20243 * hurd/hurdmalloc.c (more_memory): Likewise.
20244 (malloc): Likewise.
20245 (free): Likewise.
20246 (realloc): Likewise.
20247 (malloc_fork_prepare): Likewise.
20248 (malloc_fork_parent): Likewise.
20249 (malloc_fork_child): Likewise.
20250 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20251 (_svcauth_des): Likewise.
20252 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20253 * inet/inet_net.c (inet_network): Likewise.
20254 * inet/inet_netof.c (inet_netof): Likewise.
20255 * inet/rcmd.c (__validuser2_sa): Likewise.
20256 * io/fts.c (fts_open): Likewise.
20257 (fts_load): Likewise.
20258 (fts_close): Likewise.
20259 (fts_read): Likewise.
20260 (fts_children): Likewise.
20261 (fts_build): Likewise.
20262 (fts_stat): Likewise.
20263 (fts_sort): Likewise.
20264 (fts_alloc): Likewise.
20265 (fts_lfree): Likewise.
20266 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20267 (_IO_file_xsgetn): Likewise.
20268 (_IO_file_xsgetn_mmap): Likewise.
20269 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20270 (_IO_cookie_write): Likewise.
20271 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20272 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20273 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20274 * malloc/obstack.c (_obstack_begin): Likewise.
20275 (_obstack_begin_1): Likewise.
20276 (_obstack_newchunk): Likewise.
20277 (_obstack_allocated_p): Likewise.
20278 (obstack_free): Likewise.
20279 (_obstack_memory_used): Likewise.
20280 * misc/getttyent.c (getttynam): Likewise.
20281 (getttyent): Likewise.
20282 (skip): Likewise.
20283 (value): Likewise.
20284 * misc/getusershell.c (initshells): Likewise.
20285 * misc/syslog.c (__vsyslog_chk): Likewise.
20286 * misc/ttyslot.c (ttyslot): Likewise.
20287 * nis/nis_hash.c (__nis_hash): Likewise.
20288 * posix/fnmatch_loop.c (FCT): Likewise.
20289 * posix/getconf.c (print_all): Likewise.
20290 (main): Likewise.
20291 * posix/getopt.c (exchange): Likewise.
20292 * posix/glob.c (globfree): Likewise.
20293 (prefix_array): Likewise.
20294 (__glob_pattern_type): Likewise.
20295 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20296 (NS_GET32): Likewise.
20297 (NS_PUT16): Likewise.
20298 (NS_PUT32): Likewise.
20299 * resolv/gethnamaddr.c (getanswer): Likewise.
20300 (gethostbyname2): Likewise.
20301 (gethostbyaddr): Likewise.
20302 (_gethtent): Likewise.
20303 (_gethtbyname2): Likewise.
20304 (_gethtbyaddr): Likewise.
20305 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20306 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20307 * resolv/res_init.c (__res_vinit): Likewise.
20308 (net_mask): Likewise.
20309 * resolv/res_mkquery.c (outchar): Likewise.
20310 (PRINT): Likewise.
20311 * stdio-common/printf_fp.c (outchar): Likewise.
20312 (PRINT): Likewise.
20313 * stdio-common/printf_fphex.c (outchar): Likewise.
20314 (PRINT): Likewise.
20315 * stdio-common/printf_size.c (outchar): Likewise.
20316 (PRINT): Likewise.
20317 * stdio-common/test_rdwr.c (main): Likewise.
20318 * stdio-common/tfformat.c (matches): Likewise.
20319 * stdio-common/vfprintf.c (outchar): Likewise.
20320 (printf_unknown): Likewise.
20321 (buffered_vfprintf): Likewise.
20322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20323 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20324 (ReadFile): Likewise.
20325 * stdlib/qsort.c (SWAP): Likewise.
20326 (_quicksort): Likewise.
20327 * stdlib/setenv.c (__add_to_environ): Likewise.
20328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20329 * stdlib/strtol_l.c (__strtol_l): Likewise.
20330 * stdlib/tst-strtod.c (main): Likewise.
20331 * stdlib/tst-strtol.c (main): Likewise.
20332 * stdlib/tst-strtoll.c (main): Likewise.
20333 * string/bits/string2.h (__strcmp_cc): Likewise.
20334 (__strcmp_cg): Likewise.
20335 (__strcspn_c1): Likewise.
20336 (__strcspn_c2): Likewise.
20337 (__strcspn_c3): Likewise.
20338 (__strspn_c1): Likewise.
20339 (__strspn_c2): Likewise.
20340 (__strspn_c3): Likewise.
20341 (__strsep_1c): Likewise.
20342 (__strsep_2c): Likewise.
20343 (__strsep_3c): Likewise.
20344 * string/memccpy.c (__memccpy): Likewise.
20345 * string/stpcpy.c (__stpcpy): Likewise.
20346 * string/strcmp.c (strcmp): Likewise.
20347 * string/strrchr.c (strrchr): Likewise.
20348 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20349 Likewise.
20350 * sysdeps/mach/hurd/getcwd.c
20351 (_hurd_canonicalize_directory_name_internal): Likewise.
20352 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20353 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20354 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20355 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20356 Likewise, in both definitions.
20357 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20358 definitions.
20359 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20360 64] (__bswap_64): Likewise.
20361 * time/test_time.c (main): Likewise.
20362 * time/tzfile.c (__tzfile_read): Likewise.
20363 (__tzfile_compute): Likewise.
20364 * time/tzset.c (__tzset_parse_tz): Likewise.
20365 (tzset_internal): Likewise.
20366 (compute_change): Likewise.
20367 * wcsmbs/wcscat.c (__wcscat): Likewise.
20368 * wcsmbs/wcschr.c (wcschr): Likewise.
20369 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20370 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20371 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20372 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20373 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20374 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20375 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20377 * wcsmbs/wmemset.c (wmemset): Likewise.
20378
9e54314b
JM
203792013-06-06 Joseph Myers <joseph@codesourcery.com>
20380
20381 * scripts/config.guess: Update to version 2013-05-16.
20382 * scripts/config.sub: Update to version 2013-04-24.
20383 * scripts/install-sh: Update to version 2011-11-20.07.
20384 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20385 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20386
350635a5
OB
203872013-06-06 Ondřej Bílka <neleai@seznam.cz>
20388
20389 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20390 * elf/sln.c: Likewise.
20391 * hurd/hurd/ioctl.h: Likewise.
20392 * hurd/hurdmalloc.c: Likewise.
20393 * hurd/xattr.c: Likewise.
20394 * include/shlib-compat.h: Likewise.
20395 * inet/ruserpass.c: Likewise.
20396 * libio/iofgets_u.c: Likewise.
20397 * libio/iofgetws_u.c: Likewise.
20398 * locale/programs/ld-identification.c: Likewise.
20399 * locale/programs/ld-time.c: Likewise.
20400 * mach/msg-destroy.c: Likewise.
20401 * nss/nss_files/files-netgrp.c: Likewise.
20402 * resolv/res_data.c: Likewise.
20403 * soft-fp/op-1.h: Likewise.
20404 * soft-fp/op-2.h: Likewise.
20405 * soft-fp/op-4.h: Likewise.
20406 * soft-fp/op-common.h: Likewise.
20407 * stdio-common/printf_fphex.c: Likewise.
20408 * stdlib/strtod_l.c: Likewise.
20409 * sunrpc/rpc/clnt.h: Likewise.
20410 * sysdeps/generic/framestate.c: Likewise.
20411 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20412 * sysdeps/i386/bsd-setjmp.S: Likewise.
20413 * sysdeps/i386/__longjmp.S: Likewise.
20414 * sysdeps/i386/setjmp.S: Likewise.
20415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20433 * sysdeps/ieee754/support.c: Likewise.
20434 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20435 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20436 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20437 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20438 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20439 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20440 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20441 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20442 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20443 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20444 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20445 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20446 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20447 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20449 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20452
44a988af
OB
204532013-06-05 Ondřej Bílka <neleai@seznam.cz>
20454
25506f09 20455 * posix/transbug.c: Remove executable mode.
44a988af 20456
9c84384c
JM
204572013-06-05 Joseph Myers <joseph@codesourcery.com>
20458
20459 * crypt/speeds.c: Remove trailing whitespace.
20460 * dlfcn/default.c: Likewise.
20461 * elf/ifuncdep2.c: Likewise.
20462 * elf/ifuncmain1.c: Likewise.
20463 * elf/ifuncmain1vis.c: Likewise.
20464 * elf/testobj.h: Likewise.
20465 * elf/tst-stackguard1.c: Likewise.
20466 * gmon/sys/gmon.h: Likewise.
20467 * hurd/hurdmsg.c: Likewise.
20468 * hurd/new-fd.c: Likewise.
20469 * hurd/ports-get.c: Likewise.
20470 * iconvdata/ibm1008_420.c: Likewise.
20471 * inet/tst-getni1.c: Likewise.
20472 * inet/tst-getni2.c: Likewise.
20473 * libio/ioungetc.c: Likewise.
20474 * libio/wfiledoalloc.c: Likewise.
20475 * manual/libm-err-tab.pl: Likewise.
20476 * math/w_dremf.c: Likewise.
20477 * misc/ftruncate.c: Likewise.
20478 * posix/bug-glob2.c: Likewise.
20479 * posix/tst-pcre.c: Likewise.
20480 * posix/wait4.c: Likewise.
20481 * resolv/README: Likewise.
20482 * resolv/res_debug.h: Likewise.
20483 * resolv/tst-inet_ntop.c: Likewise.
20484 * setjmp/bug269-setjmp.c: Likewise.
20485 * soft-fp/extended.h: Likewise.
20486 * soft-fp/op-1.h: Likewise.
20487 * soft-fp/op-2.h: Likewise.
20488 * soft-fp/op-4.h: Likewise.
20489 * soft-fp/op-8.h: Likewise.
20490 * soft-fp/testit.c: Likewise.
20491 * stdio-common/bug16.c: Likewise.
20492 * stdlib/random.c: Likewise.
20493 * sunrpc/rpcsvc/rquota.x: Likewise.
20494 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20495 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20496 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20497 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20498 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20499 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20500 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20501 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20510 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20512 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20516 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20517 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20521 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20523 * sysdeps/ieee754/s_lib_version.c: Likewise.
20524 * sysdeps/mach/hurd/check_fds.c: Likewise.
20525 * sysdeps/mach/hurd/getsockname.c: Likewise.
20526 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20527 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20528 * sysdeps/powerpc/bits/link.h: Likewise.
20529 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20530 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20531 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20532 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20533 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20534 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20535 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20536 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20537 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20538 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20540 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20541 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20542 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20543 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20544 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20550 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20553 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20555 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20562 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20563 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20565 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20566 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20567 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20568 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20569 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20570 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20571 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20572 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20573 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20574 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20575 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20576 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20577 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20578 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20583 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20584 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20585 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20588 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20589 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20591 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20592 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20593 * sysdeps/powerpc/sysdep.h: Likewise.
20594 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20595 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20596 * sysdeps/sh/dl-trampoline.S: Likewise.
20597 * sysdeps/sh/memset.S: Likewise.
20598 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20599 * sysdeps/sh/strlen.S: Likewise.
20600 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20601 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20602 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20603 * sysdeps/sparc/sparc32/rem.S: Likewise.
20604 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20605 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20606 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20607 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20608 * sysdeps/sparc/sparc32/urem.S: Likewise.
20609 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20610 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20611 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20612 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20614 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20615 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20616 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20617 * sysdeps/unix/bsd/times.c: Likewise.
20618 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20619 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20623 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20625 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20626 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20627 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20628 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20630 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20631 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20635 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20636 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20638 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20639 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20640 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20641 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20642 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20643 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20644 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20646 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20647 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20648 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20649 * sysdeps/x86_64/strcspn.S: Likewise.
20650
869378a5
RA
206512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20652
20653 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20654 generated file. Regenerate properly from gen-translit.pl.
20655 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20656 locale/C-translit.h.
20657
840e2943
AS
206582013-06-05 Andreas Schwab <schwab@suse.de>
20659
20660 [BZ #15100]
20661 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20662 week as 6 instead of -1.
20663 * time/tst-strptime.c (day_tests): Add test case.
20664
4c60cb0c
SP
206652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20666
20667 * sysdeps/generic/math_private.h
20668 (libc_feholdexcept_setround_53bit): Replace with
20669 libc_feholdsetround_53bit.
20670 (libc_feupdateenv_53bit): Replace with
20671 libc_feresetround_53bit.
20672 (SET_RESTORE_ROUND_53BIT): Adjust.
20673
d180203e
SP
206742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20675
96df079a
SP
20676 * string/test-strchrnul.c: Add copyright header.
20677
d180203e
SP
20678 * posix/tst-getaddrinfo4.c: Increase test timeout.
20679
8b0ccb2d
CD
206802013-06-03 Carlos O'Donell <carlos@redhat.com>
20681
20682 [BZ #15536]
20683 * math/libm-test.inc (MAX_EXP): Remove
20684 (MIN_EXP): Define.
20685 (ulp): Use MIN_EXP - MANT_DIG.
20686 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20687
3b3c4d40
CD
206882013-05-31 Carlos O'Donell <carlos@redhat.com>
20689
20690 * po/be.po: Revert last change.
20691 * po/zh_CN.po: Likewise.
20692 * po/header.pot: Likewise.
20693
fab7ce3f
JM
206942013-05-31 Joseph Myers <joseph@codesourcery.com>
20695
20696 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20697 link-libc-deps to empty as target-specific variable.
20698 * Makerules (link-libc-args): New variable.
20699 (libc-for-link): Likewise.
20700 (link-libc-deps): Likewise.
20701 (lib%.so): Depend on $(link-libc-deps). Link with
20702 $(link-libc-args).
20703 (build-module): Link with $(link-libc-args).
20704 (build-module-asneeded): Likewise.
20705 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20706 list of objects.
20707 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20708 target-specific variable.
20709 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20710 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20711 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20712 libc.
20713 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20714 libc and ld.so.
20715 ($(objpfx)libpcprofile.so): Likewise.
20716 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20717 libc_nonshared.a.
20718 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20719 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20720 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20721 $(link-libc-deps).
20722 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20723 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20724 * login/Makefile ($(objpfx)libutil.so): Likewise.
20725 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20726 * math/Makefile ($(objpfx)libm.so): Likewise.
20727 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20728 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20729 variable instead of depending directly on libc.
20730 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20731 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20732 $(link-libc-deps).
20733 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20734 libc.
20735 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20736 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20737 ($(objpfx)libanl.so): Likewise.
20738 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20739 ld.so.
20740 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20741 $(link-libc-deps).
20742 * sysdeps/i386/fpu/Makefile: Remove file.
20743 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20744 ($(objpfx)libm.so): Remove dependency on ld.so.
20745
eca5920c
PF
207462013-05-30 Patsy Franklin <pfrankli@redhat.com>
20747
20748 [BZ # 15553]
20749 * nis/yp_xdr.c (XDRMAXNAME): Define.
20750 (XDRMAXRECORD): Define.
20751 (xdr_domainname): Use XDRMAXNAME.
20752 (xdr_mapname): Likewise.
20753 (xdr_peername): Likewise.
20754 (xdr_keydat): Use XDRMAXRECORD.
20755 (xdr_valdat): Likewise.
20756
207572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20758
20759 [BZ #14256]
20760 * manual/errno.texi (ESTALE): Update to account for more than
20761 just NFS file systems.
20762 * sysdeps/gnu/errlist.c: Regenerated.
20763
b9375348
SP
207642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20765
20766 [BZ #15465]
20767 * elf/Makefile (tests): Add tst-null-argv.
20768 (modules-names): Add tst-null-argv-lib.
20769 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20770 (tst-null-argv-ENV): Set environment for tst-null-argv.
20771 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20772 (RTLD_PROGNAME): New macro.
20773 * elf/tst-null-argv.c: New test case.
20774 * elf/tst-null-argv-lib.c: Library for test case.
20775 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20776 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20777 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20778 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20779 * elf/dl-init.c (call_init): Likewise.
20780 (_dl_init): Likewise.
20781 * elf/dl-load.c (print_search_path): Likewise.
20782 (_dl_map_object): Likewise.
20783 * elf/dl-lookup.c (do_lookup_x): Likewise.
20784 (add_dependency): Likewise.
20785 (_dl_lookup_symbol_x): Likewise.
20786 (_dl_debug_bindings): Likewise.
20787 * elf/dl-open.c (_dl_show_scope): Likewise.
20788 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20789 * elf/dl-version.c (match_symbol): Likewise.
20790 (_dl_check_map_versions): Likewise.
20791 * elf/rtld.c (dl_main): Likewise.
20792 (print_unresolved): Use RTLD_PROGNAME.
20793 (print_missing_version): Likewise.
20794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20795 (elf_machine_rela): Likewise.
20796 * sysdeps/powerpc/powerpc32/dl-machine.c
20797 (__process_machine_rela): Likewise.
20798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20799 Likewise.
20800 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20801 Likewise.
20802 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20803 Likewise.
20804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20806 Likewise.
20807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20808 Likewise.
20809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20810
8a9f20c8
CD
208112013-05-28 Carlos O'Donell <carlos@redhat.com>
20812
20813 * po/be.po: Add descriptive title.
20814 * po/zh_CN.po: Likewise.
20815 * po/header.pot: Likewise.
20816
0e60d68e
MF
208172013-05-28 Mike Frysinger <vapier@gentoo.org>
20818
20819 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20820 error message.
20821 (enlarge_archive): Likewise.
20822
56b672e9
BN
208232013-05-28 Ben North <ben@redfrontdoor.org>
20824
20825 * manual/arith.texi (frexp): It is the magnitude of the return
20826 value which lies in [0.5, 1), not the return value itself.
20827
5e056687
AZ
208282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20829
20830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20831
2b66ef5d
TS
208322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20833
528c2405
TS
20834 * stdio-common/bug26.c (main): Correct fscanf template.
20835
07b4c13d
TS
20836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20837 declare _dl_skip_args.
20838
ec9dd97c
TS
20839 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20840 Don't declare.
20841
2b66ef5d
TS
20842 * manual/platform.texi: Add missing @end deftypefun.
20843
4f8dfe27
JM
208442013-05-24 Joseph Myers <joseph@codesourcery.com>
20845
0323d086
JM
20846 [BZ #15529]
20847 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20848 bit of mantissa of 2^16382.
20849 * math/libm-test.inc (hypot_test_data): Add more tests.
20850
dd4259b9
JM
20851 * math/libm-test.inc: Add drem and pow10 to list of tested
20852 functions.
20853 (pow10_test): New function.
20854 (drem_test): Likewise.
20855 (drem_test_tonearest): Likewise.
20856 (drem_test_towardzero): Likewise.
20857 (drem_test_downward): Likewise.
20858 (drem_test_upward): Likewise.
20859 (main): Call the new functions.
20860
4f8dfe27
JM
20861 * math/libm-test.inc (finite_test_data): Remove.
20862 (finite_test): Run tests from isfinite_test_data.
20863 (gamma_test_data): Remove.
20864 (gamma_test): Run tests from lgamma_test_data.
20865 * sysdeps/i386/fpu/libm-test-ulps: Update.
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20867
d116b7c4
AZ
208682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20869
20870 * manual/platform.texi: Add PowerPC PPR function set documentation.
20871 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20872 implementation.
20873
e96e3767
CD
208742013-05-24 Carlos O'Donell <carlos@redhat.com>
20875
20876 * math/libm-test.inc (MAX_EXP): Define.
20877 (ULPDIFF): Define.
20878 (ulp): New function.
20879 (check_float_internal): Use ULPDIFF.
20880 (cpow_test): Disable failing test.
20881 (check_ulp): Test ulp() implemetnation.
20882 (main): Call check_ulp before starting tests.
20883
b679a606
JM
208842013-05-24 Joseph Myers <joseph@codesourcery.com>
20885
e8bdba36
JM
20886 * math/gen-libm-test.pl (generate_testfile): Do not handle
20887 START_DATA and END_DATA.
20888 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20889 END_DATA.
20890 (acos_tonearest_test_data): Likewise.
20891 (acos_towardzero_test_data): Likewise.
20892 (acos_downward_test_data): Likewise.
20893 (acos_upward_test_data): Likewise.
20894 (acosh_test_data): Likewise.
20895 (asin_test_data): Likewise.
20896 (asin_tonearest_test_data): Likewise.
20897 (asin_towardzero_test_data): Likewise.
20898 (asin_downward_test_data): Likewise.
20899 (asin_upward_test_data): Likewise.
20900 (asinh_test_data): Likewise.
20901 (atan_test_data): Likewise.
20902 (atanh_test_data): Likewise.
20903 (atan2_test_data): Likewise.
20904 (cabs_test_data): Likewise.
20905 (cacos_test_data): Likewise.
20906 (cacosh_test_data): Likewise.
20907 (carg_test_data): Likewise.
20908 (casin_test_data): Likewise.
20909 (casinh_test_data): Likewise.
20910 (catan_test_data): Likewise.
20911 (catanh_test_data): Likewise.
20912 (cbrt_test_data): Likewise.
20913 (ccos_test_data): Likewise.
20914 (ccosh_test_data): Likewise.
20915 (ceil_test_data): Likewise.
20916 (cexp_test_data): Likewise.
20917 (cimag_test_data): Likewise.
20918 (clog_test_data): Likewise.
20919 (clog10_test_data): Likewise.
20920 (conj_test_data): Likewise.
20921 (copysign_test_data): Likewise.
20922 (cos_test_data): Likewise.
20923 (cos_tonearest_test_data): Likewise.
20924 (cos_towardzero_test_data): Likewise.
20925 (cos_downward_test_data): Likewise.
20926 (cos_upward_test_data): Likewise.
20927 (cosh_test_data): Likewise.
20928 (cosh_tonearest_test_data): Likewise.
20929 (cosh_towardzero_test_data): Likewise.
20930 (cosh_downward_test_data): Likewise.
20931 (cosh_upward_test_data): Likewise.
20932 (cpow_test_data): Likewise.
20933 (cproj_test_data): Likewise.
20934 (creal_test_data): Likewise.
20935 (csin_test_data): Likewise.
20936 (csinh_test_data): Likewise.
20937 (csqrt_test_data): Likewise.
20938 (ctan_test_data): Likewise.
20939 (ctan_tonearest_test_data): Likewise.
20940 (ctan_towardzero_test_data): Likewise.
20941 (ctan_downward_test_data): Likewise.
20942 (ctan_upward_test_data): Likewise.
20943 (ctanh_test_data): Likewise.
20944 (ctanh_tonearest_test_data): Likewise.
20945 (ctanh_towardzero_test_data): Likewise.
20946 (ctanh_downward_test_data): Likewise.
20947 (ctanh_upward_test_data): Likewise.
20948 (erf_test_data): Likewise.
20949 (erfc_test_data): Likewise.
20950 (exp_test_data): Likewise.
20951 (exp_tonearest_test_data): Likewise.
20952 (exp_towardzero_test_data): Likewise.
20953 (exp_downward_test_data): Likewise.
20954 (exp_upward_test_data): Likewise.
20955 (exp10_test_data): Likewise.
20956 (exp2_test_data): Likewise.
20957 (expm1_test_data): Likewise.
20958 (fabs_test_data): Likewise.
20959 (fdim_test_data): Likewise.
20960 (finite_test_data): Likewise.
20961 (floor_test_data): Likewise.
20962 (fma_test_data): Likewise.
20963 (fma_towardzero_test_data): Likewise.
20964 (fma_downward_test_data): Likewise.
20965 (fma_upward_test_data): Likewise.
20966 (fmax_test_data): Likewise.
20967 (fmin_test_data): Likewise.
20968 (fmod_test_data): Likewise.
20969 (fpclassify_test_data): Likewise.
20970 (frexp_test_data): Likewise.
20971 (gamma_test_data): Likewise.
20972 (hypot_test_data): Likewise.
20973 (ilogb_test_data): Likewise.
20974 (isfinite_test_data): Likewise.
20975 (isgreater_test_data): Likewise.
20976 (isgreaterequal_test_data): Likewise.
20977 (isinf_test_data): Likewise.
20978 (isless_test_data): Likewise.
20979 (islessequal_test_data): Likewise.
20980 (islessgreater_test_data): Likewise.
20981 (isnan_test_data): Likewise.
20982 (isnormal_test_data): Likewise.
20983 (issignaling_test_data): Likewise.
20984 (isunordered_test_data): Likewise.
20985 (j0_test_data): Likewise.
20986 (j1_test_data): Likewise.
20987 (jn_test_data): Likewise.
20988 (ldexp_test_data): Likewise.
20989 (lgamma_test_data): Likewise.
20990 (lrint_test_data): Likewise.
20991 (lrint_tonearest_test_data): Likewise.
20992 (lrint_towardzero_test_data): Likewise.
20993 (lrint_downward_test_data): Likewise.
20994 (lrint_upward_test_data): Likewise.
20995 (llrint_test_data): Likewise.
20996 (llrint_tonearest_test_data): Likewise.
20997 (llrint_towardzero_test_data): Likewise.
20998 (llrint_downward_test_data): Likewise.
20999 (llrint_upward_test_data): Likewise.
21000 (log_test_data): Likewise.
21001 (log10_test_data): Likewise.
21002 (log1p_test_data): Likewise.
21003 (log2_test_data): Likewise.
21004 (logb_test_data): Likewise.
21005 (logb_downward_test_data): Likewise.
21006 (lround_test_data): Likewise.
21007 (llround_test_data): Likewise.
21008 (modf_test_data): Likewise.
21009 (nearbyint_test_data): Likewise.
21010 (nextafter_test_data): Likewise.
21011 (nexttoward_test_data): Likewise.
21012 (pow_test_data): Likewise.
21013 (pow_tonearest_test_data): Likewise.
21014 (pow_towardzero_test_data): Likewise.
21015 (pow_downward_test_data): Likewise.
21016 (pow_upward_test_data): Likewise.
21017 (remainder_test_data): Likewise.
21018 (remainder_tonearest_test_data): Likewise.
21019 (remainder_towardzero_test_data): Likewise.
21020 (remainder_downward_test_data): Likewise.
21021 (remainder_upward_test_data): Likewise.
21022 (remquo_test_data): Likewise.
21023 (rint_test_data): Likewise.
21024 (rint_tonearest_test_data): Likewise.
21025 (rint_towardzero_test_data): Likewise.
21026 (rint_downward_test_data): Likewise.
21027 (rint_upward_test_data): Likewise.
21028 (round_test_data): Likewise.
21029 (scalb_test_data): Likewise.
21030 (scalbn_test_data): Likewise.
21031 (scalbln_test_data): Likewise.
21032 (signbit_test_data): Likewise.
21033 (sin_test_data): Likewise.
21034 (sin_tonearest_test_data): Likewise.
21035 (sin_towardzero_test_data): Likewise.
21036 (sin_downward_test_data): Likewise.
21037 (sin_upward_test_data): Likewise.
21038 (sincos_test_data): Likewise.
21039 (sinh_test_data): Likewise.
21040 (sinh_tonearest_test_data): Likewise.
21041 (sinh_towardzero_test_data): Likewise.
21042 (sinh_downward_test_data): Likewise.
21043 (sinh_upward_test_data): Likewise.
21044 (sqrt_test_data): Likewise.
21045 (tan_test_data): Likewise.
21046 (tan_tonearest_test_data): Likewise.
21047 (tan_towardzero_test_data): Likewise.
21048 (tan_downward_test_data): Likewise.
21049 (tan_upward_test_data): Likewise.
21050 (tanh_test_data): Likewise.
21051 (tgamma_test_data): Likewise.
21052 (trunc_test_data): Likewise.
21053 (y0_test_data): Likewise.
21054 (y1_test_data): Likewise.
21055 (yn_test_data): Likewise.
21056 (significand_test_data): Likewise.
21057
b679a606
JM
21058 * math/gen-libm-test.pl (@functions): Remove variable.
21059 (generate_testfile): Don't handle START and END lines.
21060 * math/libm-test.inc (START): New macro.
21061 (END): Likewise.
21062 (END_COMPLEX): Likewise.
21063 (acos_test): Use END macro without arguments.
21064 (acos_test_tonearest): Likewise.
21065 (acos_test_towardzero): Likewise.
21066 (acos_test_downward): Likewise.
21067 (acos_test_upward): Likewise.
21068 (acosh_test): Likewise.
21069 (asin_test): Likewise.
21070 (asin_test_tonearest): Likewise.
21071 (asin_test_towardzero): Likewise.
21072 (asin_test_downward): Likewise.
21073 (asin_test_upward): Likewise.
21074 (asinh_test): Likewise.
21075 (atan_test): Likewise.
21076 (atanh_test): Likewise.
21077 (atan2_test): Likewise.
21078 (cabs_test): Likewise.
21079 (cacos_test): Use END_COMPLEX macro without arguments.
21080 (cacosh_test): Likewise.
21081 (carg_test): Use END macro without arguments.
21082 (casin_test): Use END_COMPLEX macro without arguments.
21083 (casinh_test): Likewise.
21084 (catan_test): Likewise.
21085 (catanh_test): Likewise.
21086 (cbrt_test): Use END macro without arguments.
21087 (ccos_test): Use END_COMPLEX macro without arguments.
21088 (ccosh_test): Likewise.
21089 (ceil_test): Use END macro without arguments.
21090 (cexp_test): Use END_COMPLEX macro without arguments.
21091 (cimag_test): Use END macro without arguments.
21092 (clog_test): Use END_COMPLEX macro without arguments.
21093 (clog10_test): Likewise.
21094 (conj_test): Likewise.
21095 (copysign_test): Use END macro without arguments.
21096 (cos_test): Likewise.
21097 (cos_test_tonearest): Likewise.
21098 (cos_test_towardzero): Likewise.
21099 (cos_test_downward): Likewise.
21100 (cos_test_upward): Likewise.
21101 (cosh_test): Likewise.
21102 (cosh_test_tonearest): Likewise.
21103 (cosh_test_towardzero): Likewise.
21104 (cosh_test_downward): Likewise.
21105 (cosh_test_upward): Likewise.
21106 (cpow_test): Use END_COMPLEX macro without arguments.
21107 (cproj_test): Likewise.
21108 (creal_test): Use END macro without arguments.
21109 (csin_test): Use END_COMPLEX macro without arguments.
21110 (csinh_test): Likewise.
21111 (csqrt_test): Likewise.
21112 (ctan_test): Likewise.
21113 (ctan_test_tonearest): Likewise.
21114 (ctan_test_towardzero): Likewise.
21115 (ctan_test_downward): Likewise.
21116 (ctan_test_upward): Likewise.
21117 (ctanh_test): Likewise.
21118 (ctanh_test_tonearest): Likewise.
21119 (ctanh_test_towardzero): Likewise.
21120 (ctanh_test_downward): Likewise.
21121 (ctanh_test_upward): Likewise.
21122 (erf_test): Use END macro without arguments.
21123 (erfc_test): Likewise.
21124 (exp_test): Likewise.
21125 (exp_test_tonearest): Likewise.
21126 (exp_test_towardzero): Likewise.
21127 (exp_test_downward): Likewise.
21128 (exp_test_upward): Likewise.
21129 (exp10_test): Likewise.
21130 (exp2_test): Likewise.
21131 (expm1_test): Likewise.
21132 (fabs_test): Likewise.
21133 (fdim_test): Likewise.
21134 (finite_test): Likewise.
21135 (floor_test): Likewise.
21136 (fma_test): Likewise.
21137 (fma_test_towardzero): Likewise.
21138 (fma_test_downward): Likewise.
21139 (fma_test_upward): Likewise.
21140 (fmax_test): Likewise.
21141 (fmin_test): Likewise.
21142 (fmod_test): Likewise.
21143 (fpclassify_test): Likewise.
21144 (frexp_test): Likewise.
21145 (gamma_test): Likewise.
21146 (hypot_test): Likewise.
21147 (ilogb_test): Likewise.
21148 (isfinite_test): Likewise.
21149 (isgreater_test): Likewise.
21150 (isgreaterequal_test): Likewise.
21151 (isinf_test): Likewise.
21152 (isless_test): Likewise.
21153 (islessequal_test): Likewise.
21154 (islessgreater_test): Likewise.
21155 (isnan_test): Likewise.
21156 (isnormal_test): Likewise.
21157 (issignaling_test): Likewise.
21158 (isunordered_test): Likewise.
21159 (j0_test): Likewise.
21160 (j1_test): Likewise.
21161 (jn_test): Likewise.
21162 (ldexp_test): Likewise.
21163 (lgamma_test): Likewise.
21164 (lrint_test): Likewise.
21165 (lrint_test_tonearest): Likewise.
21166 (lrint_test_towardzero): Likewise.
21167 (lrint_test_downward): Likewise.
21168 (lrint_test_upward): Likewise.
21169 (llrint_test): Likewise.
21170 (llrint_test_tonearest): Likewise.
21171 (llrint_test_towardzero): Likewise.
21172 (llrint_test_downward): Likewise.
21173 (llrint_test_upward): Likewise.
21174 (log_test): Likewise.
21175 (log10_test): Likewise.
21176 (log1p_test): Likewise.
21177 (log2_test): Likewise.
21178 (logb_test): Likewise.
21179 (logb_test_downward): Likewise.
21180 (lround_test): Likewise.
21181 (llround_test): Likewise.
21182 (modf_test): Likewise.
21183 (nearbyint_test): Likewise.
21184 (nextafter_test): Likewise.
21185 (nexttoward_test): Likewise.
21186 (pow_test): Likewise.
21187 (pow_test_tonearest): Likewise.
21188 (pow_test_towardzero): Likewise.
21189 (pow_test_downward): Likewise.
21190 (pow_test_upward): Likewise.
21191 (remainder_test): Likewise.
21192 (remainder_test_tonearest): Likewise.
21193 (remainder_test_towardzero): Likewise.
21194 (remainder_test_downward): Likewise.
21195 (remainder_test_upward): Likewise.
21196 (remquo_test): Likewise.
21197 (rint_test): Likewise.
21198 (rint_test_tonearest): Likewise.
21199 (rint_test_towardzero): Likewise.
21200 (rint_test_downward): Likewise.
21201 (rint_test_upward): Likewise.
21202 (round_test): Likewise.
21203 (scalb_test): Likewise.
21204 (scalbn_test): Likewise.
21205 (scalbln_test): Likewise.
21206 (signbit_test): Likewise.
21207 (sin_test): Likewise.
21208 (sin_test_tonearest): Likewise.
21209 (sin_test_towardzero): Likewise.
21210 (sin_test_downward): Likewise.
21211 (sin_test_upward): Likewise.
21212 (sincos_test): Likewise.
21213 (sinh_test): Likewise.
21214 (sinh_test_tonearest): Likewise.
21215 (sinh_test_towardzero): Likewise.
21216 (sinh_test_downward): Likewise.
21217 (sinh_test_upward): Likewise.
21218 (sqrt_test): Likewise.
21219 (tan_test): Likewise.
21220 (tan_test_tonearest): Likewise.
21221 (tan_test_towardzero): Likewise.
21222 (tan_test_downward): Likewise.
21223 (tan_test_upward): Likewise.
21224 (tanh_test): Likewise.
21225 (tgamma_test): Likewise.
21226 (trunc_test): Likewise.
21227 (y0_test): Likewise.
21228 (y1_test): Likewise.
21229 (yn_test): Likewise.
21230 (significand_test): Likewise.
21231
bae143d2
OB
212322013-05-24 Ondřej Bílka <neleai@seznam.cz>
21233
21234 [BZ #15381]
21235 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21236
9323d39b
EM
212372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21238
d4ea44a0 21239 [BZ #14894]
9323d39b
EM
21240 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21241 __ppc_mdoio and __ppc_mdoom.
21242 * manual/platform.texi: Document new functions __ppc_yield,
21243 __ppc_mdoio and __ppc_mdoom.
21244
13e23af7
CD
212452013-05-22 Carlos O'Donell <carlos@redhat.com>
21246
21247 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21248 (main): Mention "tls" pseudo-hwcap is legacy.
21249 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21250
351fe550
JM
212512013-05-22 Joseph Myers <joseph@codesourcery.com>
21252
21253 * math/gen-libm-test.pl (parse_args): Output only string of
21254 arguments as text for test name, not full call or descriptions of
21255 tests for extra outputs.
21256 (generate_testfile): Do not pass function name to parse_args.
21257 Generate this_func variable from START.
21258 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21259 field to arg_str.
21260 (struct test_ff_f_data): Likewise.
21261 (test_ff_f_data_nexttoward): Likewise.
21262 (struct test_fi_f_data): Likewise.
21263 (struct test_fl_f_data): Likewise.
21264 (struct test_if_f_data): Likewise.
21265 (struct test_fff_f_data): Likewise.
21266 (struct test_c_f_data): Likewise.
21267 (struct test_f_f1_data): Likewise. Remove field extra_name.
21268 (struct test_fF_f1_data): Likewise.
21269 (struct test_ffI_f1_data): Likewise.
21270 (struct test_c_c_data): Rename test_name field to arg_str.
21271 (struct test_cc_c_data): Likewise.
21272 (struct test_f_i_data): Likewise.
21273 (struct test_ff_i_data): Likewise.
21274 (struct test_f_l_data): Likewise.
21275 (struct test_f_L_data): Likewise.
21276 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21277 and extra2_name.
21278 (COMMON_TEST_SETUP): New macro.
21279 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21280 (COMMON_TEST_CLEANUP): Likewise.
21281 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21282 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21283 macros.
21284 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21285 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21286 macros.
21287 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21288 (RUN_TEST_fff_f): Take argument string. Call new setup and
21289 cleanup macros.
21290 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21291 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21292 macros.
21293 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21294 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21295 macros.
21296 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21297 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21298 cleanup macros.
21299 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21300 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21301 cleanup macros.
21302 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21303 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21304 cleanup macros.
21305 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21306 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21307 macros.
21308 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21309 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21310 macros.
21311 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21312 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21313 macros.
21314 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21315 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21316 cleanup macros.
21317 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21318 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21319 cleanup macros.
21320 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21321 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21322 macros.
21323 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21324 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21325 cleanup macros.
21326 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21327 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21328 macros.
21329 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21330 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21331 macros.
21332 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21333 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21334 cleanup macros.
21335 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21336
85118d4d
EBM
213372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21338
21339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21340 to _sifields.sigfault.
21341 (si_addr_lsb): Define new macro.
21342 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21345
7a44c18f
CD
213462013-05-03 Carlos O'Donell <carlos at redhat.com>
21347
21348 [BZ #15441]
21349 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21350 returns -1.
21351 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21352 null return -1.
21353 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21354 loading the domain.
21355
b50a7181
JM
213562013-05-22 Joseph Myers <joseph@codesourcery.com>
21357
21358 * math/gen-libm-test.pl (parse_args): Do not include expected
21359 result in test name.
21360 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21362 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21364 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21366
051063c8
SP
213672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21368
3ce9e010
SP
21369 * benchtests/Makefile: Sort function entries.
21370
051063c8
SP
21371 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21372 tanh, asinh, acosh, atanh.
21373 * benchtests/acos-inputs: New file.
21374 * benchtests/acosh-inputs: New file.
21375 * benchtests/asin-inputs: New file.
21376 * benchtests/asinh-inputs: New file.
21377 * benchtests/atanh-inputs: New file.
21378 * benchtests/cosh-inputs: New file.
21379 * benchtests/log-inputs: New file.
21380 * benchtests/sinh-inputs: New file.
21381 * benchtests/tanh-inputs: New file.
21382
47c22455
DL
213832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21384
21385 [BZ #15339]
21386 * posix/tst-getaddrinfo4.c: New test.
21387 * posix/Makefile (tests): Add it.
21388
3d04f5db
SP
213892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21390
21391 [BZ #15339]
21392 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21393 when no services were used.
21394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21395 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21396
d5dd6189
AS
213972013-05-21 Andreas Schwab <schwab@suse.de>
21398
21399 [BZ #15014]
21400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21401 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21402 successful.
21403 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21404 redundant variable declarations and reallocation of buffer when
21405 parsing as IPv6 address. Always set NSS status when called from
21406 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21407 buffer too small. Correct computation of needed size.
21408 * nss/Makefile (tests): Add test-digits-dots.
21409 * nss/test-digits-dots.c: New test.
21410
fef94eab
SP
214112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21412
21413 * benchtests/Makefile: Remove instructions for adding
21414 benchmark tests.
21415 * benchtests/README: New file to explain how to execute and
21416 enhance the benchmark tests.
21417
e39adf43
AS
214182013-05-21 Andreas Schwab <schwab@suse.de>
21419
21420 [BZ #15493]
21421 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21422 * setjmp/tst-sigsetjmp.c: New test.
21423
b2b671b6
OB
214242013-05-20 Ondřej Bílka <neleai@seznam.cz>
21425
21426 * sysdeps/x86_64/memset.S (memset): New implementation.
21427 (__bzero): Likewise.
21428 (__memset_tail): New function.
21429
2d48b41c
OB
214302013-05-20 Ondřej Bílka <neleai@seznam.cz>
21431
21432 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21433 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21434 __memcpy_sse2_unaligned ifunc selection.
21435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21436 Add memcpy-sse2-unaligned.S.
21437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21438 Add: __memcpy_sse2_unaligned.
21439
f16cc3eb
JM
214402013-05-19 Joseph Myers <joseph@codesourcery.com>
21441
3e694268
JM
21442 [BZ #15490]
21443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21444 math_force_eval before restoring floating-point envrionment.
21445 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21447 Likewise.
21448 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21449 <math_private.h>.
21450 (__nearbyintl): Use math_force_eval before restoring
21451 floating-point environment.
21452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21453
db62a907
JM
21454 * math/gen-libm-test.pl (special_functions): Remove.
21455 (parse_args): Don't handle TEST_extra. Handle functions with no
21456 return value.
21457 * math/libm-test.inc (struct test_sincos_data): Replace with
21458 struct test_fFF_11_data.
21459 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21460 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21461 (sincos_test_data): Change element type to struct
21462 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21463 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21464 RUN_TEST_LOOP_sincos.
21465 * math/README.libm-test: Don't mention special handling of
21466 individual functions.
21467 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21469 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21470 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21471 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21473
f16cc3eb
JM
21474 * math/gen-libm-test.pl (get_variable): Remove function.
21475 (parse_args): Don't show pointer parameters to call in test
21476 names. Use "extra output N" in test names for extra outputs
21477 rather than naming variables.
21478
3779b5b6
JM
214792013-05-18 Joseph Myers <joseph@codesourcery.com>
21480
2ee094ff
JM
21481 [BZ #15488]
21482 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21483 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21484 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21485 double tests.
21486 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21487 disable.
21488 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21489 check_long_double.
21490
3779b5b6
JM
21491 * math/gen-libm-test.pl (@tests): Remove variable.
21492 ($count): Likewise.
21493 (new_test): Remove function.
21494 (show_exceptions): New function.
21495 (special_functions): Use show_exceptions instead of new_test.
21496 (parse_args): Likewise.
21497 (generate_testfile): Pass only function name in generated call to
21498 print_max_error or print_complex_max_error.
21499 (get_ulps): Do not handle complex tests specially.
21500 (output_test): Rename to ...
21501 (get_all_ulps_for_test): ... this. Return a string rather than
21502 printing to a file. Require ulps to be present.
21503 (output_ulps): Generate arrays rather than #defines.
21504 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21505 (struct ulp_data): New type.
21506 (BUILD_COMPLEX_ULP): Remove macro.
21507 (compare_ulp_data): New function.
21508 (find_ulps): Likewise.
21509 (find_test_ulps): Likewise.
21510 (find_function_ulps): Likewise.
21511 (find_complex_function_ulps): Likewise.
21512 (print_max_error): Determine allowed ulps using
21513 find_function_ulps.
21514 (print_complex_max_error): Determine allowed ulps using
21515 find_complex_function_ulps.
21516 (check_float_internal): Determine max ulps using find_test_ulps.
21517 (check_float): Do not take max_ulp parameter. Update call to
21518 check_float_internal.
21519 (check_complex): Likewise.
21520 (check_int): Do not take max_ulp parameter.
21521 (check_long): Likewise.
21522 (check_bool): Likewise.
21523 (check_longlong): Likewise.
21524 (struct test_f_f_data): Remove max_ulp field.
21525 (struct test_ff_f_data): Likewise.
21526 (struct test_ff_f_data_nexttoward): Likewise.
21527 (struct test_fi_f_data): Likewise.
21528 (struct test_fl_f_data): Likewise.
21529 (struct test_if_f_data): Likewise.
21530 (struct test_fff_f_data): Likewise.
21531 (struct test_c_f_data): Likewise.
21532 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21533 (struct test_fF_f1_data): Likewise.
21534 (struct test_ffI_f1_data): Likewise.
21535 (struct test_c_c_data): Remove max_ulp field.
21536 (struct test_cc_c_data): Likewise.
21537 (struct test_f_i_data): Likewise.
21538 (struct test_ff_i_data): Likewise.
21539 (struct test_f_l_data): Likewise.
21540 (struct test_f_L_data): Likewise.
21541 (struct test_sincos_data): Likewise.
21542 (RUN_TEST_f_f): Do not handle ulps.
21543 (RUN_TEST_LOOP_f_f): Likewise.
21544 (RUN_TEST_2_f): Likewise.
21545 (RUN_TEST_LOOP_2_f): Likewise.
21546 (RUN_TEST_fff_f): Likewise.
21547 (RUN_TEST_LOOP_fff_f): Likewise.
21548 (RUN_TEST_c_f): Likewise.
21549 (RUN_TEST_LOOP_c_f): Likewise.
21550 (RUN_TEST_f_f1): Likewise.
21551 (RUN_TEST_LOOP_f_f1): Likewise.
21552 (RUN_TEST_fF_f1): Likewise.
21553 (RUN_TEST_LOOP_fF_f1): Likewise.
21554 (RUN_TEST_fI_f1): Likewise.
21555 (RUN_TEST_LOOP_fI_f1): Likewise.
21556 (RUN_TEST_ffI_f1): Likewise.
21557 (RUN_TEST_LOOP_ffI_f1): Likewise.
21558 (RUN_TEST_c_c): Likewise.
21559 (RUN_TEST_LOOP_c_c): Likewise.
21560 (RUN_TEST_cc_c): Likewise.
21561 (RUN_TEST_LOOP_cc_c): Likewise.
21562 (RUN_TEST_f_i): Likewise.
21563 (RUN_TEST_LOOP_f_i): Likewise.
21564 (RUN_TEST_f_i_tg): Likewise.
21565 (RUN_TEST_LOOP_f_i_tg): Likewise.
21566 (RUN_TEST_ff_i_tg): Likewise.
21567 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21568 (RUN_TEST_f_b): Likewise.
21569 (RUN_TEST_LOOP_f_b): Likewise.
21570 (RUN_TEST_f_b_tg): Likewise.
21571 (RUN_TEST_LOOP_f_b_tg): Likewise.
21572 (RUN_TEST_f_l): Likewise.
21573 (RUN_TEST_LOOP_f_l): Likewise.
21574 (RUN_TEST_f_L): Likewise.
21575 (RUN_TEST_LOOP_f_L): Likewise.
21576 (RUN_TEST_sincos): Likewise.
21577 (RUN_TEST_LOOP_sincos): Likewise.
21578
8269107f
JM
215792013-05-17 Joseph Myers <joseph@codesourcery.com>
21580
bb38759d
JM
21581 [BZ #15480]
21582 [BZ #15485]
21583 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21584 main case of finite arguments, set rounding mode to FE_TONEAREST
21585 and discard exceptions.
21586 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21587 exceptions.
21588 (remainder_tonearest_test_data): New variable.
21589 (remainder_test_tonearest): New function.
21590 (remainder_towardzero_test_data): New variable.
21591 (remainder_test_towardzero): New function.
21592 (remainder_downward_test_data): New variable.
21593 (remainder_test_downward): New function.
21594 (remainder_upward_test_data): New variable.
21595 (remainder_test_upward): New function.
21596 (main): Call the new test functions.
21597
a00bdcf0
JM
21598 * math/libm-test.inc (struct test_f_f1_data): Remove field
21599 extra_init.
21600 (struct test_fF_f1_data): Likewise.
21601 (struct test_ffI_f1_data): Likewise.
21602 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21603 based on value of EXTRA_EXPECTED.
21604 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21605 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21606 EXTRA_VAR based on value of EXTRA_EXPECTED.
21607 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21608 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21609 EXTRA_VAR based on value of EXTRA_EXPECTED.
21610 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21611 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21612 EXTRA_VAR based on value of EXTRA_EXPECTED.
21613 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21614 * math/gen-libm-test.pl (parse_args): Don't output initializers
21615 for extra output values.
21616
de407f79
JM
21617 * math/libm-test.inc (check_int): Expect result to be exactly
21618 equal to expected value and do not handle ulps.
21619 (check_long): Likewise.
21620 (check_longlong): Likewise.
21621
8269107f
JM
21622 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21623 exceptions.
21624 (cimag_test_data): Likewise.
21625 (conj_test_data): Likewise.
21626 (copysign_test_data): Likewise.
21627 (cproj_test_data): Likewise.
21628 (creal_test_data): Likewise.
21629 (fabs_test_data): Likewise.
21630 (fdim_test_data): Likewise.
21631 (finite_test_data): Likewise.
21632 (floor_test_data): Likewise.
21633 (fmax_test_data): Likewise.
21634 (fmin_test_data): Likewise.
21635 (fmod_test_data): Likewise.
21636 (fpclassify_test_data): Likewise.
21637 (frexp_test_data): Likewise.
21638 (ilogb_test_data): Likewise.
21639 (isfinite_test_data): Likewise.
21640 (isgreater_test_data): Likewise.
21641 (isgreaterequal_test_data): Likewise.
21642 (isinf_test_data): Likewise.
21643 (isless_test_data): Likewise.
21644 (islessequal_test_data): Likewise.
21645 (islessgreater_test_data): Likewise.
21646 (isnan_test_data): Likewise.
21647 (isnormal_test_data): Likewise.
21648 (issignaling_test_data): Likewise.
21649 (isunordered_test_data): Likewise.
21650 (ldexp_test_data): Likewise.
21651 (lrint_test_data): Likewise.
21652 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21653 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21654 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21655 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21656 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21657 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21658 test input.
21659 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21660 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21661 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21662 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21663 that test input.
21664 (lrint_downward_test_data): Test for "inexact" exceptions.
21665 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21666 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21667 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21668 test input.
21669 (lrint_upward_test_data): Test for "inexact" exceptions.
21670 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21671 test input.
21672 (llrint_test_data): Test for "inexact" exceptions.
21673 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21674 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21675 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21676 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21677 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21678 (llrint_downward_test_data): Test for "inexact" exceptions.
21679 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21680 (llrint_upward_test_data): Test for "inexact" exceptions.
21681 (logb_test_data): Likewise.
21682 (logb_downward_test_data): Likewise.
21683 (nextafter_test_data): Likewise.
21684 (nexttoward_test_data): Likewise.
21685 (remainder_test_data): Likewise.
21686 (remquo_test_data): Likewise.
21687 (scalbn_test_data): Likewise.
21688 (scalbln_test_data): Likewise.
21689 (signbit_test_data): Likewise.
21690 (sqrt_test_data): Likewise.
21691 (significand_test_data): Likewise.
21692
48a18de1
SP
216932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21694
21695 [BZ #15424]
21696 * benchtests/bench-modf.c (struct args): Mark arg0 as
21697 volatile.
21698 * scripts/bench.pl: Mark members of struct args as volatile.
21699
13d3b41a
AZ
217002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21701
68191c1d 21702 [BZ # 15497]
13d3b41a
AZ
21703 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21704 negative infinity on POWER6 or lower.
21705 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21706
2848b105
MR
217072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21708
21709 [BZ #15442]
21710 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21711 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21712 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21713 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21714 (_FP_SETQNAN): New macro.
21715 (_FP_SETQNAN_SEMIRAW): Likewise.
21716 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21717 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21718 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21719 (FP_EXTEND): Use _FP_FRAC_SNANP.
21720 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21721 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21722 into account.
21723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21724 New macro.
21725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21726 Likewise.
21727
323e5cb7
JM
217282013-05-16 Joseph Myers <joseph@codesourcery.com>
21729
c58b274f
JM
21730 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21731 with DIVIDE_BY_ZERO_EXCEPTION.
21732 (gamma_test_data): Likewise.
21733 (lgamma_test_data): Likewise.
21734 (log_test_data): Likewise.
21735 (log10_test_data): Likewise.
21736 (log2_test_data): Likewise.
21737 (tgamma_test_data): Likewise.
21738
0ab34904
JM
21739 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21740 (acos_test_tonearest): Likewise.
21741 (acos_test_towardzero): Likewise.
21742 (acos_test_downward): Likewise.
21743 (acos_test_upward): Likewise.
21744 (acosh_test): Likewise.
21745 (asin_test): Likewise.
21746 (asin_test_tonearest): Likewise.
21747 (asin_test_towardzero): Likewise.
21748 (asin_test_downward): Likewise.
21749 (asin_test_upward): Likewise.
21750 (asinh_test): Likewise.
21751 (atan_test): Likewise.
21752 (atanh_test): Likewise.
21753 (atan2_test): Likewise.
21754 (cabs_test): Likewise.
21755 (cacos_test): Likewise.
21756 (cacosh_test): Likewise.
21757 (casin_test): Likewise.
21758 (casinh_test): Likewise.
21759 (catan_test): Likewise.
21760 (catanh_test): Likewise.
21761 (cbrt_test): Likewise.
21762 (ccos_test): Likewise.
21763 (ccosh_test): Likewise.
21764 (cexp_test): Likewise.
21765 (clog_test): Likewise.
21766 (clog10_test): Likewise.
21767 (cos_test): Likewise.
21768 (cos_test_tonearest): Likewise.
21769 (cos_test_towardzero): Likewise.
21770 (cos_test_downward): Likewise.
21771 (cos_test_upward): Likewise.
21772 (cosh_test): Likewise.
21773 (cosh_test_tonearest): Likewise.
21774 (cosh_test_towardzero): Likewise.
21775 (cosh_test_downward): Likewise.
21776 (cosh_test_upward): Likewise.
21777 (cpow_test): Likewise.
21778 (csin_test): Likewise.
21779 (csinh_test): Likewise.
21780 (csqrt_test): Likewise.
21781 (ctan_test): Likewise.
21782 (ctan_test_tonearest): Likewise.
21783 (ctan_test_towardzero): Likewise.
21784 (ctan_test_downward): Likewise.
21785 (ctan_test_upward): Likewise.
21786 (ctanh_test): Likewise.
21787 (ctanh_test_tonearest): Likewise.
21788 (ctanh_test_towardzero): Likewise.
21789 (ctanh_test_downward): Likewise.
21790 (ctanh_test_upward): Likewise.
21791 (erf_test): Likewise.
21792 (erfc_test): Likewise.
21793 (exp_test): Likewise.
21794 (exp_test_tonearest): Likewise.
21795 (exp_test_towardzero): Likewise.
21796 (exp_test_downward): Likewise.
21797 (exp_test_upward): Likewise.
21798 (exp10_test): Likewise.
21799 (exp2_test): Likewise.
21800 (expm1_test): Likewise.
21801 (fmod_test): Likewise.
21802 (gamma_test): Likewise.
21803 (hypot_test): Likewise.
21804 (j0_test): Likewise.
21805 (j1_test): Likewise.
21806 (jn_test): Likewise.
21807 (lgamma_test): Likewise.
21808 (log_test): Likewise.
21809 (log10_test): Likewise.
21810 (log1p_test): Likewise.
21811 (log2_test): Likewise.
21812 (logb_test_downward): Likewise.
21813 (pow_test): Likewise.
21814 (pow_test_tonearest): Likewise.
21815 (pow_test_towardzero): Likewise.
21816 (pow_test_downward): Likewise.
21817 (pow_test_upward): Likewise.
21818 (remainder_test): Likewise.
21819 (remquo_test): Likewise.
21820 (sin_test): Likewise.
21821 (sin_test_tonearest): Likewise.
21822 (sin_test_towardzero): Likewise.
21823 (sin_test_downward): Likewise.
21824 (sin_test_upward): Likewise.
21825 (sincos_test): Likewise.
21826 (sinh_test): Likewise.
21827 (sinh_test_tonearest): Likewise.
21828 (sinh_test_towardzero): Likewise.
21829 (sinh_test_downward): Likewise.
21830 (sinh_test_upward): Likewise.
21831 (sqrt_test): Likewise.
21832 (tan_test): Likewise.
21833 (tan_test_tonearest): Likewise.
21834 (tan_test_towardzero): Likewise.
21835 (tan_test_downward): Likewise.
21836 (tan_test_upward): Likewise.
21837 (tanh_test): Likewise.
21838 (tgamma_test): Likewise.
21839 (y0_test): Likewise.
21840 (y1_test): Likewise.
21841 (yn_test): Likewise.
21842
323e5cb7
JM
21843 * math/gen-libm-test.pl (adjust_arg): Remove function.
21844 (special_function): Remove argument $in_func. Only handle
21845 generating output for tables of tests, not inside functions.
21846 (parse_args): Likewise.
21847 (generate_testfile): Remove variable $in_func. Update call to
21848 parse_args.
21849 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21850 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21851 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21852 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21853 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21854 (MAX_VALUE_INIT): Rename macro to max_value.
21855 (MIN_VALUE_INIT): Rename macro to min_value.
21856 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21857 (plus_zero): Remove variable.
21858 (minus_zero): Likewise.
21859 (plus_infty): Likewise.
21860 (minus_infty): Likewise.
21861 (qnan_value): Likewise.
21862 (max_value): Likewise.
21863 (min_value): Likewise.
21864 (min_subnorm_value): Likewise.
21865
e054f494
RA
218662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21867
21868 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21869 uint64_t or uint32_t usage.
21870 * crypt/sha256-block.c: Likewise.
21871 * crypt/sha256-crypt.c: Likewise.
21872 * crypt/sha256.c: Likewise.
21873 * crypt/sha512-block.c: Likewise.
21874 * crypt/sha512-crypt.c: Likewise.
21875 * crypt/sha512.c: Likewise.
21876 * debug/backtrace-tst.c: Likewise.
21877 * debug/pcprofiledump.c: Likewise.
21878 * elf/cache.c: Likewise.
21879 * elf/dl-cache.c: Likewise.
21880 * elf/dl-misc.c: Likewise.
21881 * elf/dl-profile.c: Likewise.
21882 * elf/dl-support.c: Likewise.
21883 * elf/ldconfig.c: Likewise.
21884 * elf/sprof.c: Likewise.
21885 * iconv/dummy-repertoire.c: Likewise.
21886 * iconv/iconv_charmap.c: Likewise.
21887 * iconv/skeleton.c: Likewise.
21888 * iconvdata/8bit-generic.c: Likewise.
21889 * iconvdata/cp737.h: Likewise.
21890 * iconvdata/cp775.h: Likewise.
21891 * iconvdata/ibm1008.h: Likewise.
21892 * iconvdata/ibm1025.h: Likewise.
21893 * iconvdata/ibm1046.h: Likewise.
21894 * iconvdata/ibm1097.h: Likewise.
21895 * iconvdata/ibm1112.h: Likewise.
21896 * iconvdata/ibm1122.h: Likewise.
21897 * iconvdata/ibm1123.h: Likewise.
21898 * iconvdata/ibm1124.h: Likewise.
21899 * iconvdata/ibm1129.h: Likewise.
21900 * iconvdata/ibm1130.h: Likewise.
21901 * iconvdata/ibm1132.h: Likewise.
21902 * iconvdata/ibm1133.h: Likewise.
21903 * iconvdata/ibm1137.h: Likewise.
21904 * iconvdata/ibm1140.h: Likewise.
21905 * iconvdata/ibm1141.h: Likewise.
21906 * iconvdata/ibm1142.h: Likewise.
21907 * iconvdata/ibm1143.h: Likewise.
21908 * iconvdata/ibm1144.h: Likewise.
21909 * iconvdata/ibm1145.h: Likewise.
21910 * iconvdata/ibm1146.h: Likewise.
21911 * iconvdata/ibm1147.h: Likewise.
21912 * iconvdata/ibm1148.h: Likewise.
21913 * iconvdata/ibm1149.h: Likewise.
21914 * iconvdata/ibm1153.h: Likewise.
21915 * iconvdata/ibm1154.h: Likewise.
21916 * iconvdata/ibm1155.h: Likewise.
21917 * iconvdata/ibm1156.h: Likewise.
21918 * iconvdata/ibm1157.h: Likewise.
21919 * iconvdata/ibm1158.h: Likewise.
21920 * iconvdata/ibm1160.h: Likewise.
21921 * iconvdata/ibm1161.h: Likewise.
21922 * iconvdata/ibm1162.h: Likewise.
21923 * iconvdata/ibm1163.h: Likewise.
21924 * iconvdata/ibm1164.h: Likewise.
21925 * iconvdata/ibm1166.h: Likewise.
21926 * iconvdata/ibm1167.h: Likewise.
21927 * iconvdata/ibm12712.h: Likewise.
21928 * iconvdata/ibm1390.h: Likewise.
21929 * iconvdata/ibm1399.h: Likewise.
21930 * iconvdata/ibm16804.h: Likewise.
21931 * iconvdata/ibm4517.h: Likewise.
21932 * iconvdata/ibm4899.h: Likewise.
21933 * iconvdata/ibm4909.h: Likewise.
21934 * iconvdata/ibm4971.h: Likewise.
21935 * iconvdata/ibm5347.h: Likewise.
21936 * iconvdata/ibm803.h: Likewise.
21937 * iconvdata/ibm856.h: Likewise.
21938 * iconvdata/ibm901.h: Likewise.
21939 * iconvdata/ibm902.h: Likewise.
21940 * iconvdata/ibm9030.h: Likewise.
21941 * iconvdata/ibm9066.h: Likewise.
21942 * iconvdata/ibm921.h: Likewise.
21943 * iconvdata/ibm922.h: Likewise.
21944 * iconvdata/ibm9448.h: Likewise.
21945 * iconvdata/isiri-3342.h: Likewise.
21946 * iconvdata/jis0201.h: Likewise.
21947 * include/link.h: Likewise.
21948 * include/netdb.h: Likewise.
21949 * inet/check_native.c: Likewise.
21950 * inet/check_pf.c: Likewise.
21951 * inet/getipv4sourcefilter.c: Likewise.
21952 * inet/getnameinfo.c: Likewise.
21953 * inet/getsourcefilter.c: Likewise.
21954 * inet/htonl.c: Likewise.
21955 * inet/setipv4sourcefilter.c: Likewise.
21956 * inet/setsourcefilter.c: Likewise.
21957 * inet/test-inet6_opt.c: Likewise.
21958 * inet/tst-network.c: Likewise.
21959 * locale/C-collate.c: Likewise.
21960 * locale/C-ctype.c: Likewise.
21961 * locale/C-time.c: Likewise.
21962 * locale/C-translit.h: Likewise.
21963 * locale/loadarchive.c: Likewise.
21964 * locale/programs/3level.h: Likewise.
21965 * locale/programs/charmap.c: Likewise.
21966 * locale/programs/charmap.h: Likewise.
21967 * locale/programs/ld-address.c: Likewise.
21968 * locale/programs/ld-collate.c: Likewise.
21969 * locale/programs/ld-ctype.c: Likewise.
21970 * locale/programs/ld-identification.c: Likewise.
21971 * locale/programs/ld-measurement.c: Likewise.
21972 * locale/programs/ld-messages.c: Likewise.
21973 * locale/programs/ld-monetary.c: Likewise.
21974 * locale/programs/ld-name.c: Likewise.
21975 * locale/programs/ld-numeric.c: Likewise.
21976 * locale/programs/ld-paper.c: Likewise.
21977 * locale/programs/ld-telephone.c: Likewise.
21978 * locale/programs/ld-time.c: Likewise.
21979 * locale/programs/linereader.c: Likewise.
21980 * locale/programs/locale.c: Likewise.
21981 * locale/programs/locarchive.c: Likewise.
21982 * locale/programs/locfile.h: Likewise.
21983 * locale/programs/repertoire.c: Likewise.
21984 * locale/programs/simple-hash.c: Likewise.
21985 * locale/programs/simple-hash.h: Likewise.
21986 * malloc/memusage.c: Likewise.
21987 * malloc/memusagestat.c: Likewise.
21988 * nis/nis_defaults.c: Likewise.
21989 * nis/nis_hash.c: Likewise.
21990 * nis/nis_print.c: Likewise.
21991 * nis/nis_xdr.c: Likewise.
21992 * nscd/connections.c: Likewise.
21993 * nscd/hstcache.c: Likewise.
21994 * nscd/nscd_gethst_r.c: Likewise.
21995 * nscd/nscd_getserv_r.c: Likewise.
21996 * nscd/nscd_helper.c: Likewise.
21997 * nscd/servicescache.c: Likewise.
21998 * nss/makedb.c: Likewise.
21999 * nss/nss_db/db-XXX.c: Likewise.
22000 * nss/nss_db/db-initgroups.c: Likewise.
22001 * nss/nss_db/db-netgrp.c: Likewise.
22002 * nss/nss_files/files-network.c: Likewise.
22003 * nss/nss_files/files-parse.c: Likewise.
22004 * posix/bug-regex5.c: Likewise.
22005 * posix/fnmatch_loop.c: Likewise.
22006 * posix/regcomp.c: Likewise.
22007 * posix/regexec.c: Likewise.
22008 * posix/tst-rfc3484-2.c: Likewise.
22009 * posix/tst-rfc3484-3.c: Likewise.
22010 * posix/tst-rfc3484.c: Likewise.
22011 * resolv/nss_dns/dns-canon.c: Likewise.
22012 * resolv/nss_dns/dns-network.c: Likewise.
22013 * resolv/res_init.c: Likewise.
22014 * resolv/res_mkquery.c: Likewise.
22015 * resolv/tst-aton.c: Likewise.
22016 * stdlib/cxa_atexit.c: Likewise.
22017 * stdlib/cxa_finalize.c: Likewise.
22018 * stdlib/gen-fpioconst.c: Likewise.
22019 * stdlib/strtol_l.c: Likewise.
22020 * string/tst-endian.c: Likewise.
22021 * sunrpc/auth_des.c: Likewise.
22022 * sunrpc/clnt_udp.c: Likewise.
22023 * sunrpc/rtime.c: Likewise.
22024 * sunrpc/svcauth_des.c: Likewise.
22025 * sunrpc/xdr.c: Likewise.
22026 * sunrpc/xdr_intXX_t.c: Likewise.
22027 * sunrpc/xdr_rec.c: Likewise.
22028 * sysdeps/generic/ldconfig.h: Likewise.
22029 * sysdeps/generic/ldsodefs.h: Likewise.
22030 * sysdeps/generic/memusage.h: Likewise.
22031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22034 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22041 * sysdeps/posix/getaddrinfo.c: Likewise.
22042 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22044 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22046 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22047 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22048 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22049 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22050 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22051 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22052 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22053 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22054 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22055 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22057 * sysdeps/x86_64/dl-tls.h: Likewise.
22058 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22059 * time/alt_digit.c: Likewise.
22060 * time/era.c: Likewise.
22061 * wcsmbs/tst-c16c32-1.c: Likewise.
22062
8c75f674
JM
220632013-05-16 Joseph Myers <joseph@codesourcery.com>
22064
22065 * math/libm-test.inc (struct test_sincos_data): New type.
22066 (RUN_TEST_LOOP_sincos): New macro.
22067 (sincos_test_data): New variable.
22068 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22069
e6e49e59
RH
220702013-05-16 Richard Henderson <rth@redhat.com>
22071
22072 * math/atest-exp2.c (LIMB64): New macro.
22073 (CONSTSZ): New macro.
22074 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22075 (hexdig): Move ...
22076 (print_mpn_fp): ... to function scope.
22077 (read_mpn_hex): Remove.
22078 (get_log2): Remove.
22079 (exp2_mpn): Use mp_log2.
22080 (main): Use mp_exp1.
22081
15c7c18d
JM
220822013-05-16 Joseph Myers <joseph@codesourcery.com>
22083
105a07df
JM
22084 * math/libm-test.inc: Remove comment about not testing "inexact"
22085 exceptions.
22086 (INEXACT_EXCEPTION): New macro.
22087 (NO_INEXACT_EXCEPTION): Likewise.
22088 (INVALID_EXCEPTION_OK): Update value.
22089 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22090 (OVERFLOW_EXCEPTION_OK): Likewise.
22091 (UNDERFLOW_EXCEPTION_OK): Likewise.
22092 (IGNORE_ZERO_INF_SIGN): Likewise.
22093 (ERRNO_UNCHANGED): Likewise.
22094 (ERRNO_EDOM): Likewise.
22095 (ERRNO_ERANGE): Likewise.
22096 (test_exceptions): Handle testing "inexact" exceptions.
22097 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22098 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22099 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22100 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22101 INEXACT_EXCEPTION.
22102 (rint_towardzero_test_data): Likewise.
22103 (rint_downward_test_data): Likewise.
22104 (rint_upward_test_data): Likewise.
22105
e9eee333
JM
22106 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22107 with OVERFLOW_EXCEPTION.
22108 (exp10_test_data): Likewise.
22109 (exp2_test_data): Likewise.
22110 (expm1_test_data): Likewise.
22111 (lgamma_test_data): Likewise.
22112 (pow_test_data): Likewise.
22113 (tgamma_test_data): Likewise.
22114 (yn_test_data): Remove duplicate test of overflow.
22115
1c38ff73
JM
22116 * math/libm-test.inc (struct test_cc_c_data): New type.
22117 (RUN_TEST_LOOP_cc_c): New macro.
22118 (cpow_test_data): New variable.
22119 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22120
15c7c18d
JM
22121 * math/libm-test.inc (struct test_f_L_data): New type.
22122 (RUN_TEST_LOOP_f_L): New macro.
22123 (llrint_test_data): New variable.
22124 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22125 (llrint_tonearest_test_data): New variable.
22126 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22127 (llrint_towardzero_test_data): New variable.
22128 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22129 (llrint_downward_test_data): New variable.
22130 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22131 (llrint_upward_test_data): New variable.
22132 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22133 (llround_test_data): New variable.
22134 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22135
f137ff13
PC
221362013-05-13 Peter Collingbourne <pcc@google.com>
22137
22138 * math/atest-exp2.c (get_log2): Remove const attribute.
22139
3608cb24
JM
221402013-05-15 Joseph Myers <joseph@codesourcery.com>
22141
22142 * math/libm-test.inc (struct test_f_l_data): New type.
22143 (RUN_TEST_LOOP_f_l): New macro.
22144 (lrint_test_data): New variable.
22145 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22146 (lrint_tonearest_test_data): New variable.
22147 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22148 (lrint_towardzero_test_data): New variable.
22149 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22150 (lrint_downward_test_data): New variable.
22151 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22152 (lrint_upward_test_data): New variable.
22153 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22154 (lround_test_data): New variable.
22155 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22156
39b1f617
PC
221572013-05-15 Peter Collingbourne <pcc@google.com>
22158
1deff3dc
PC
22159 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22160 (EXTRACT_WORDS64) Use where appropriate.
22161 (INSERT_WORDS64) Likewise.
22162
791f3ba0
PC
22163 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22164 constraints with x constraints.
22165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22166
39b1f617
PC
22167 * malloc/obstack.c (_obstack_compat): Add initializer.
22168
12fba011
EM
221692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22170
22171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22172 si_trapno and add si_addr_lsb to _sifields.sigfault.
22173 (si_trapno): Remove macro.
22174 (si_addr_lsb): Define new macro.
22175 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22176
d369f531
JM
221772013-05-15 Joseph Myers <joseph@codesourcery.com>
22178
b861c6c4
JM
22179 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22180 instead of TEST_f_l.
22181 (llrint_test_tonearest): Likewise.
22182 (llrint_test_towardzero): Likewise.
22183 (llrint_test_downward): Likewise.
22184 (llrint_test_upward): Likewise.
22185 (llround_test): Likewise.
22186
7abeee12
JM
22187 * math/libm-test.inc (struct test_f_i_data): Add comment.
22188 (RUN_TEST_LOOP_f_b): New macro.
22189 (RUN_TEST_LOOP_f_b_tg): Likewise.
22190 (finite_test_data): New variable.
22191 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22192 (isfinite_test_data): New variable.
22193 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22194 (isinf_test_data): New variable.
22195 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22196 (isnan_test_data): New variable.
22197 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22198 (isnormal_test_data): New variable.
22199 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22200 (issignaling_test_data): New variable.
22201 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22202 (signbit_test_data): New variable.
22203 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22204
cbe8c4d3
JM
22205 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22206 with INVALID_EXCEPTION.
22207 (acosh_test_data): Likewise.
22208 (asin_test_data): Likewise.
22209 (atanh_test_data): Likewise.
22210 (fmod_test_data): Likewise.
22211 (log_test_data): Likewise.
22212 (log10_test_data): Likewise.
22213 (log2_test_data): Likewise.
22214 (pow_test_data): Likewise.
22215 (sqrt_test_data): Likewise.
22216 (y0_test_data): Likewise.
22217 (y1_test_data): Likewise.
22218 (yn_test_data): Likewise.
22219
5575c0e5
JM
22220 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22221 function contents.
22222
d369f531
JM
22223 * math/libm-test.inc (struct test_ff_i_data): New type.
22224 (RUN_TEST_LOOP_ff_i_tg): New macro.
22225 (isgreater_test_data): New variable.
22226 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22227 (isgreaterequal_test_data): New variable.
22228 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22229 (isless_test_data): New variable.
22230 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22231 (islessequal_test_data): New variable.
22232 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22233 (islessgreater_test_data): New variable.
22234 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22235 (isunordered_test_data): New variable.
22236 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22237
781fd748
DM
222382013-05-14 David S. Miller <davem@davemloft.net>
22239
22240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22241
87aa21df
JM
222422013-05-14 Joseph Myers <joseph@codesourcery.com>
22243
5e908270
JM
22244 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22245
f71172e5
JM
22246 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22247 extra_test to int.
22248 (struct test_f_i_data): Change type of max_ulp to int.
22249
8cfa635a
JM
22250 * math/libm-test.inc (test_ffI_f1_data): New type.
22251 (RUN_TEST_LOOP_ffI_f1): New macro.
22252 (remquo_test_data): New variable.
22253 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22254
2bcb36b2
JM
22255 * setjmp/tst-setjmp-fp.c: New file.
22256 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22257 (link-libm): New variable.
22258 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22259
acbd839a
JM
22260 * math/libm-test.inc (struct test_f_i_data): New type.
22261 (RUN_TEST_LOOP_f_i): New macro.
22262 (RUN_TEST_LOOP_f_i_tg): Likewise.
22263 (fpclassify_test_data): New variable.
22264 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22265 (ilogb_test_data): New variable.
22266 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22267
e414d745
JM
22268 * math/libm-test.inc (scalbln_test): Correct function name in END
22269 call.
22270
d9c2a0fd
JM
22271 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22272 (RUN_TEST_LOOP_fI_f1): New macro.
22273 (frexp_test_data): New variable.
22274 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22275
9dc9095d
JM
22276 * math/libm-test.inc (struct test_fF_f1_data): New type.
22277 (RUN_TEST_LOOP_fF_f1): New macro.
22278 (modf_test_data): New variable.
22279 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22280
87aa21df
JM
22281 * math/libm-test.inc (struct test_f_f1_data): New type.
22282 (RUN_TEST_LOOP_f_f1): New macro.
22283 (gamma_test_data): New variable.
22284 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22285 (lgamma_test_data): New variable.
22286 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22287
141af660
CD
222882013-05-13 Carlos O'Donell <carlos@redhat.com>
22289
22290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22291 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22292 (main): Comment "tls" pseudo-hwcap.
22293
6d33265c
JM
222942013-05-13 Joseph Myers <joseph@codesourcery.com>
22295
68fc074c
JM
22296 * math/libm-test.inc (struct test_fl_f_data): New type.
22297 (RUN_TEST_LOOP_fl_f): New variable.
22298 (scalbln_test_data): New variable.
22299 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22300
243216e1
JM
22301 * math/libm-test.inc (struct test_fi_f_data): New type.
22302 (RUN_TEST_LOOP_fi_f): New macro.
22303 (ldexp_test_data): New variable.
22304 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22305 (scalbn_test_data): New variable.
22306 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22307
6a1992e2
JM
22308 * math/libm-test.inc (struct test_c_f_data): New type.
22309 (RUN_TEST_LOOP_c_f): New macro.
22310 (cabs_test_data): New variable.
22311 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22312 (carg_test_data): New variable.
22313 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22314 (cimag_test_data): New variable.
22315 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22316 (creal_test_data): New variable.
22317 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22318
0e400df5
JM
22319 * math/libm-test.inc (struct test_if_f_data): New type.
22320 (RUN_TEST_LOOP_if_f): New macro.
22321 (jn_test_data): New variable.
22322 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22323 (yn_test_data): New variable.
22324 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22325
6d33265c
JM
22326 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22327
f98ece5f
AZ
223282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22329
22330 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22331 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22332
0f7d347b
SP
223332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22334
43fe811b
SP
22335 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22336 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22337 (bench-deps): Add bench-timing.h.
22338 * benchtests-bench-skeleton.c: Include bench-timing.h.
22339 (main): Use TIMING_* macros instead of clock_gettime.
22340 * benchtests/bench-timing.h: New file.
22341
0f7d347b
SP
22342 [BZ #14582]
22343 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22344 Renamed from _LIB_VERSION.
22345 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22346
601a3a5f
JM
223472013-05-12 Joseph Myers <joseph@codesourcery.com>
22348
4f184d30
JM
22349 * math/libm-test.inc (struct test_fff_f_data): New type.
22350 (RUN_TEST_LOOP_fff_f): New macro.
22351 (fma_test_data): New variable.
22352 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22353 (fma_towardzero_test_data): New variable.
22354 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22355 (fma_downward_test_data): New variable.
22356 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22357 (fma_upward_test_data): New variable.
22358 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22359
08198877
JM
22360 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22361 (struct test_c_c_data): New type.
22362 (RUN_TEST_LOOP_c_c): New macro.
22363 (cacos_test_data): New variable.
22364 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22365 (cacosh_test_data): New variable.
22366 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22367 (casin_test_data): New variable.
22368 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22369 (casinh_test_data): New variable.
22370 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22371 (catan_test_data): New variable.
22372 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22373 (catanh_test_data): New variable.
22374 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22375 (ccos_test_data): New variable.
22376 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22377 (ccosh_test_data): New variable.
22378 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22379 (cexp_test_data): New variable.
22380 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22381 (clog_test_data): New variable.
22382 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22383 (clog10_test_data): New variable.
22384 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22385 (conj_test_data): New variable.
22386 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22387 (cproj_test_data): New variable.
22388 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22389 (csin_test_data): New variable.
22390 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22391 (csinh_test_data): New variable.
22392 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22393 (csqrt_test_data): New variable.
22394 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22395 (ctan_test_data): New variable.
22396 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22397 (ctan_tonearest_test_data): New variable.
22398 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22399 (ctan_towardzero_test_data): New variable.
22400 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22401 (ctan_downward_test_data): New variable.
22402 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22403 (ctan_upward_test_data): New variable.
22404 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22405 (ctanh_test_data): New variable.
22406 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22407 (ctanh_tonearest_test_data): New variable.
22408 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22409 (ctanh_towardzero_test_data): New variable.
22410 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22411 (ctanh_downward_test_data): New variable.
22412 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22413 (ctanh_upward_test_data): New variable.
22414 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22415 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22416 of BUILD_COMPLEX.
22417
601a3a5f
JM
22418 * math/libm-test.inc (struct test_ff_f_data): New type.
22419 (struct test_ff_f_data_nexttoward): Likewise.
22420 (RUN_TEST_LOOP_2_f): New macro.
22421 (RUN_TEST_LOOP_ff_f): Likewise.
22422 (atan2_test_data): New variable.
22423 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22424 (copysign_test_data): New variable.
22425 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22426 (fdim_test_data): New variable.
22427 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22428 (fmax_test_data): New variable.
22429 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22430 (fmin_test_data): New variable.
22431 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22432 (fmod_test_data): New variable.
22433 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22434 (hypot_test_data): New variable.
22435 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22436 (nextafter_test_data): New variable.
22437 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22438 (nexttoward_test_data): New variable.
22439 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22440 (pow_test_data): New variable.
22441 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22442 (pow_tonearest_test_data): New variable.
22443 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22444 (pow_towardzero_test_data): New variable.
22445 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22446 (pow_downward_test_data): New variable.
22447 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22448 (pow_upward_test_data): New variable.
22449 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22450 (remainder_test_data): New variable.
22451 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22452 (scalb_test_data): New variable.
22453 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22454 * sysdeps/i386/fpu/libm-test-ulps: Update.
22455
74c57478
JM
224562013-05-11 Joseph Myers <joseph@codesourcery.com>
22457
8329e4da
JM
22458 * math/libm-test.inc (fma_test): Use max_value instead of local
22459 variable fltmax.
22460 (nextafter_test): Likewise.
22461
74c57478
JM
22462 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22463 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22464 (acos_downward_test_data): New variable.
22465 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22466 (acos_upward_test_data): New variable.
22467 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22468 (acosh_test_data): New variable.
22469 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22470 (asin_test_data): New variable.
22471 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22472 (asin_tonearest_test_data): New variable.
22473 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22474 (asin_towardzero_test_data): New variable.
22475 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22476 (asin_downward_test_data): New variable.
22477 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22478 (asin_upward_test_data): New variable.
22479 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22480 (asinh_test_data): New variable.
22481 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22482 (atan_test_data): New variable.
22483 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22484 (atanh_test_data): New variable.
22485 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22486 (cbrt_test_data): New variable.
22487 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22488 (ceil_test_data): New variable.
22489 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22490 (cos_test_data): New variable.
22491 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22492 (cos_tonearest_test_data): New variable.
22493 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22494 (cos_towardzero_test_data): New variable.
22495 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22496 (cos_downward_test_data): New variable.
22497 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22498 (cos_upward_test_data): New variable.
22499 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22500 (cosh_test_data): New variable.
22501 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22502 (cosh_tonearest_test_data): New variable.
22503 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22504 (cosh_towardzero_test_data): New variable.
22505 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22506 (cosh_downward_test_data): New variable.
22507 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22508 (cosh_upward_test_data): New variable.
22509 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22510 (erf_test_data): New variable.
22511 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22512 (erfc_test_data): New variable.
22513 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22514 (exp_test_data): New variable.
22515 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22516 (exp_tonearest_test_data): New variable.
22517 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22518 (exp_towardzero_test_data): New variable.
22519 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22520 (exp_downward_test_data): New variable.
22521 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22522 (exp_upward_test_data): New variable.
22523 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22524 (exp10_test_data): New variable.
22525 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22526 (exp2_test_data): New variable.
22527 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22528 (expm1_test_data): New variable.
22529 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22530 (fabs_test_data): New variable.
22531 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22532 (floor_test_data): New variable.
22533 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22534 (j0_test_data): New variable.
22535 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22536 (j1_test_data): New variable.
22537 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22538 (log_test_data): New variable.
22539 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22540 (log10_test_data): New variable.
22541 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22542 (log1p_test_data): New variable.
22543 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22544 (log2_test_data): New variable.
22545 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22546 (logb_test_data): New variable.
22547 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22548 (logb_downward_test_data): New variable.
22549 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22550 (nearbyint_test_data): New variable.
22551 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22552 (rint_test_data): New variable.
22553 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22554 (rint_tonearest_test_data): New variable.
22555 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22556 (rint_towardzero_test_data): New variable.
22557 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22558 (rint_downward_test_data): New variable.
22559 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22560 (rint_upward_test_data): New variable.
22561 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22562 (round_test_data): New variable.
22563 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22564 (sin_test_data): New variable.
22565 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22566 (sin_tonearest_test_data): New variable.
22567 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22568 (sin_towardzero_test_data): New variable.
22569 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22570 (sin_downward_test_data): New variable.
22571 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22572 (sin_upward_test_data): New variable.
22573 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22574 (sinh_test_data): New variable.
22575 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22576 (sinh_tonearest_test_data): New variable.
22577 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22578 (sinh_towardzero_test_data): New variable.
22579 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22580 (sinh_downward_test_data): New variable.
22581 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22582 (sinh_upward_test_data): New variable.
22583 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22584 (sqrt_test_data): New variable.
22585 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22586 (tan_test_data): New variable.
22587 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22588 (tan_tonearest_test_data): New variable.
22589 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22590 (tan_towardzero_test_data): New variable.
22591 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22592 (tan_downward_test_data): New variable.
22593 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22594 (tan_upward_test_data): New variable.
22595 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22596 (tanh_test_data): New variable.
22597 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22598 (tgamma_test_data): New variable.
22599 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22600 (trunc_test_data): New variable.
22601 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22602 (y0_test_data): New variable.
22603 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22604 (y1_test_data): New variable.
22605 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22606 (significand_test_data): New variable.
22607 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22608
7187d844
CG
226092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22610
22611 [BZ #12387]
22612 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22613
f63fae73
PT
226142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22615
22616 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22617
8a67a4b3
AJ
226182013-05-10 Andreas Jaeger <aj@suse.de>
22619
22620 [BZ #15448]
22621 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22622 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22623
51df539d
JM
226242013-05-10 Joseph Myers <joseph@codesourcery.com>
22625
22626 * math/gen-libm-test.pl (adjust_arg): New function.
22627 (special_functions): Handle generating output in both functions
22628 and arrays.
22629 (parse_args): Likewise.
22630 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22631 $in_func argument to parse_args.
22632 * math/libm-test.inc (struct test_f_f_data): New type.
22633 (IF_ROUND_INIT_): New macro.
22634 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22635 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22636 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22637 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22638 (ROUND_RESTORE_): Likewise.
22639 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22640 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22641 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22642 (ROUND_RESTORE_FE_UPWARD): Likewise.
22643 (RUN_TEST_LOOP_f_f): New macro.
22644 (acos_test_data): New variable.
22645 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22646 (acos_tonearest_test_data): New variable.
22647 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22648
5c637fe5
SP
226492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22650
22651 * benchtests/bench-skeleton.c (startup): Fix coding style.
22652
ab2b9461
JM
226532013-05-10 Joseph Myers <joseph@codesourcery.com>
22654
22655 [BZ #6809]
22656 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22657 negative infinity argument.
22658 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22659 negative infinity argument.
22660 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22661 negative infinity argument.
22662 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22663 domain errors.
22664
4c0fe6fe
FW
226652013-05-10 Florian Weimer <fweimer@redhat.com>
22666
22667 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22668 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22669 * iconv/iconv_prog.c (main): Likewise.
22670 * locale/programs/charmap-dir.c (charmap_readdir)
22671 (fopen_uncompressed): Likewise.
22672 * locale/programs/locfile.c (siblings_uncached)
22673 (write_locale_data): Use lstat64 instead of lstat.
22674 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22675 stat.
22676
a3375d29
AJ
226772013-05-10 Andreas Jaeger <aj@suse.de>
22678
22679 [BZ #15395]
22680 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22681 localization.
22682 Include <locale.h>.
22683
36129722
CD
226842013-05-09 Carlos O'Donell <carlos@redhat.com>
22685
22686 * elf/dl-close.c (_dl_close_worker): Add comments.
22687
faa7f811
JM
226882013-05-09 Joseph Myers <joseph@codesourcery.com>
22689
ed41ffef
JM
22690 [BZ #15359]
22691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22692 high part of pi/2.
22693 (__ieee754_rem_pio2l): Update comments.
22694
d0213cd0
JM
22695 [BZ #15429]
22696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22697 high part of pi/2.
22698 (__ieee754_rem_pio2l): Update comments.
22699
0d3e777a
JM
22700 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22701 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22702
24f56066
JM
22703 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22704 M_PI_4l.
22705
faa7f811
JM
22706 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22707 (M_PI_34_LOG10El): Likewise.
22708 (M_PI2_LOG10El): Likewise.
22709 (M_PI4_LOG10El): Likewise.
22710 (M_PI_LOG10El): Likewise.
22711
e9a5e0fd
AZ
227122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22713
22714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22715
d8cd06db
JM
227162013-05-08 Joseph Myers <joseph@codesourcery.com>
22717
a0d9f9d7
JM
22718 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22719 (MINUS_ZERO_INIT): Likewise.
22720 (PLUS_INFTY_INIT): Likewise.
22721 (MINUS_INFTY_INIT): Likewise.
22722 (QNAN_VALUE_INIT): Likewise.
22723 (MAX_VALUE_INIT): Likewise.
22724 (MIN_VALUE_INIT): Likewise.
22725 (MIN_SUBNORM_VALUE_INIT): Likewise.
22726 (plus_zero): Initialize with PLUS_ZERO_INIT.
22727 (minus_zero): Initialize with MINUS_ZERO_INIT.
22728 (plus_infty): Initialize with PLUS_INFTY_INIT.
22729 (minus_infty): Initialize with MINUS_INFTY_INIT.
22730 (qnan_value): Initialize with QNAN_VALUE_INIT.
22731 (max_value): Initialize with MAX_VALUE_INIT.
22732 (min_value): Initialize with MIN_VALUE_INIT.
22733 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22734
ae08db3b
JM
22735 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22736 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22737 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22738 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22739
f44bf14a
JM
22740 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22741 (RUN_TEST_2_f): Likewise.
22742 (RUN_TEST_ff_f): Likewise.
22743 (RUN_TEST_fi_f): Likewise.
22744 (RUN_TEST_fl_f): Likewise.
22745 (RUN_TEST_fff_f): Likewise.
22746 (RUN_TEST_c_f): Likewise.
22747 (RUN_TEST_f_f1): Likewise.
22748 (RUN_TEST_fF_f1): Likewise.
22749 (RUN_TEST_fI_f1): Likewise.
22750 (RUN_TEST_ffI_f1): Likewise.
22751 (RUN_TEST_c_c): Likewise.
22752 (RUN_TEST_cc_c): Likewise.
22753 (RUN_TEST_f_i): Likewise.
22754 (RUN_TEST_f_i_tg): Likewise.
22755 (RUN_TEST_ff_i_tg): Likewise.
22756 (RUN_TEST_f_b): Likewise.
22757 (RUN_TEST_f_b_tg): Likewise.
22758 (RUN_TEST_f_l): Likewise.
22759 (RUN_TEST_f_L): Likewise.
22760 (RUN_TEST_sincos): Likewise.
22761 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22762 whether to show exceptions. Do not include ");\n" in return
22763 value.
22764 (special_functions): Output call to RUN_TEST_sincos instead of
22765 check_float calls. Update calls to new_test.
22766 (parse_args): Output call to single RUN_TEST_* macro instead of
22767 check_* calls and other assignments. Update calls to new_test.
22768
d8cd06db
JM
22769 [BZ #2546]
22770 [BZ #2560]
22771 [BZ #5159]
22772 [BZ #15426]
22773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22774 input to result for tgamma overflow.
22775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22776 (gamma_coeff): New variable.
22777 (NCOEFF): New macro.
22778 (gamma_positive): New function.
22779 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22780 underflow here. Use gamma_positive instead of exp (lgamma) for
22781 other arguments.
22782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22783 (gamma_coeff): New variable.
22784 (NCOEFF): New macro.
22785 (gammaf_positive): New function.
22786 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22787 underflow here. Use gamma_positive instead of exp (lgamma) for
22788 other arguments.
22789 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22790 (gamma_coeff): New variable.
22791 (NCOEFF): New macro.
22792 (gammal_positive): New function.
22793 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22794 underflow here. Use gamma_positive instead of exp (lgamma) for
22795 other arguments.
22796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22797 (gamma_coeff): New variable.
22798 (NCOEFF): New macro.
22799 (gammal_positive): New function.
22800 (__ieee754_gammal_r): Handle positive infinity, overflow and
22801 underflow here. Handle NaN the same as positive infinity. Remove
22802 check x < 0xffffffff for negative integers. Use gamma_positive
22803 instead of exp (lgamma) for other arguments.
22804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22805 (gamma_coeff): New variable.
22806 (NCOEFF): New macro.
22807 (gammal_positive): New function.
22808 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22809 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22813 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22814 * sysdeps/generic/math_private.h (__gamma_productf): New
22815 prototype.
22816 (__gamma_product): Likewise.
22817 (__gamma_productl): Likewise.
22818 * math/Makefile (libm-calls): Add gamma_product.
22819 * math/libm-test.inc (tgamma_test): Add more tests.
22820 * sysdeps/i386/fpu/libm-test-ulps: Update.
22821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822
bb7cf681
OB
228232013-05-08 Ondřej Bílka <neleai@seznam.cz>
22824
22825 * benchtests/bench-skeleton.c (main): Preheat CPU.
22826
ba853947
AJ
228272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22828
22829 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22830
8347c74c
RM
228312013-05-07 Roland McGrath <roland@hack.frob.com>
22832
22833 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22834 and _dl_skip_args_internal.
22835
e8dd4791
CD
228362013-05-07 Carlos O'Donell <carlos@redhat.com>
22837
22838 * manual/message.texi (Message Translation): Talk about users.
22839 Message to key mapping impacts design.
22840
c7405830
RM
228412013-05-06 Roland McGrath <roland@hack.frob.com>
22842
a9173057
RM
22843 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22844
976e2f03
RM
22845 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22846
9723ffc5
RM
22847 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22848 * sysdeps/wordsize-64/glob64.c: ... here.
22849
962e6658
RM
22850 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22851 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22852 New macros.
22853
ee586a6d
RM
22854 * debug/getlogin_r_chk.c: Moved to ...
22855 * login/getlogin_r_chk.c: ... here.
22856 * debug/Makefile (routines): Move getlogin_r_chk to ...
22857 * login/Makefile (routines): ... here.
22858 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22859 * login/Versions (libc: GLIBC_2.4): ... here.
22860
355f9165
RM
22861 * io/poll.c (__poll): Renamed from poll.
22862 Add libc_hidden_def.
22863 (poll): Define as weak alias.
22864
bd9ffde6
RM
22865 * debug/ptsname_r_chk.c: Moved to ...
22866 * login/ptsname_r_chk.c: ... here.
22867 * debug/Makefile (routines): Move ptsname_r_chk to ...
22868 * login/Makefile (routines): ... here.
22869 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22870 * login/Versions (libc: GLIBC_2.4): ... here.
22871
8fb16a04
RM
22872 * posix/getlogin.c: Moved to ...
22873 * login/getlogin.c: ... here.
22874 * posix/getlogin_r.c: Moved to ...
22875 * login/getlogin_r.c: ... here.
22876 * posix/getlogin_r.c: Moved to ...
22877 * login/getlogin_r.c: ... here.
22878 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22879 * login/Makefile (routines): ... here.
22880 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22881 * login/Versions (libc: GLIBC_2.0): ... here.
22882
b99b892f
RM
22883 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22884 (setrlimit): Define as weak alias.
22885
c7405830
RM
22886 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22887 Call __ names for open, ftruncate, and close.
22888 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22889 (truncate): Define as weak alias.
22890
5bf96de5
JM
228912013-05-06 Joseph Myers <joseph@codesourcery.com>
22892
9ea3513c
JM
22893 * math/gen-libm-test.pl (parse_args): Initialize x before each
22894 test of frexp, modf and remquo.
22895
5bf96de5
JM
22896 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22897 test signgam value.
22898
16e616a7
AZ
228992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22900
22901 [BZ #15418]
22902 [BZ #15419]
22903 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22904 internal tests.
22905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22906
d5e82754
RM
229072013-05-06 Roland McGrath <roland@hack.frob.com>
22908
22909 * elf/dl-writev.h: New file.
22910 * elf/dl-misc.c: Include it.
22911 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22912 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22913
a7548d41
JM
229142013-05-04 Joseph Myers <joseph@codesourcery.com>
22915
b7dab1e4
JM
22916 * math/libm-test.inc (noXFails): Remove variable.
22917 (noXPasses): Likewise.
22918 (BUILD_COMPLEX_INT): Remove macro.
22919 (print_screen): Remove xfail argument.
22920 (print_screen_max_error): Likewise.
22921 (update_stats): Likewise.
22922 (print_max_error): Likewise. Update calls to other affected
22923 functions.
22924 (print_complex_max_error): Likewise.
22925 (test_single_exception): Update calls to print_screen.
22926 (test_single_errno): Likewise.
22927 (check_float_internal): Remove xfail argument. Update calls to
22928 other affected functions.
22929 (check_float): Likewise.
22930 (check_complex): Likewise.
22931 (check_int): Likewise.
22932 (check_long): Likewise.
22933 (check_bool): Likewise.
22934 (check_longlong): Likewise.
22935 (main): Don't print noXFails and noXPasses.
22936 * math/gen-libm-test.pl (top level): Don't mention expected
22937 failure handling in comment.
22938 (new_test): Don't handle expected failures.
22939 (parse_args): Don't mention expected failure handling in comment.
22940 (generate_testfile): Don't handle expected failures.
22941 (parse_ulps): Likewise.
22942 (print_ulps_file): Likewise.
22943 (get_failure): Remove function.
22944 (output_test): Don't handle expected failures.
22945 * make/README.libm-test: Don't mention expected failure handling.
22946
a7548d41
JM
22947 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22948 (minus_zero): Likewise.
22949 (plus_infty): Likewise.
22950 (minus_infty): Likewise.
22951 (qnan_value): Likewise.
22952 (max_value): Likewise.
22953 (min_value): Likewise.
22954 (min_subnorm_value): Likewise.
22955 (initialize): Do not initialize those variables dynamically.
22956
60bfd54c
RM
229572013-05-03 Roland McGrath <roland@hack.frob.com>
22958
cc0e6ed8
RM
22959 * io/open.c (__open_2): Moved to ...
22960 * io/open_2.c: ... this new file.
22961 * io/open64.c (__open64_2): Moved to ...
22962 * io/open64_2.c: ... this new file.
22963 * io/openat.c (__openat_2): Moved to ...
22964 * io/openat_2.c: ... this new file.
22965 * io/openat64.c (__openat64_2): Moved to ...
22966 * io/openat64_2.c: ... this new file.
22967 * io/Makefile (routines): Add them.
22968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22969 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22970 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22971 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22972 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22973 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22974 (__openat64): Add hidden_ver.
22975 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22976 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22977
60bfd54c
RM
22978 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22979 Separately conditionalize setting of GLRO(dl_sysinfo) so
22980 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22981 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22982
83e7640f
AZ
229832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22984
22985 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22987 definition.
22988 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22989 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22990 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22991 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22992 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22993
d5dc2af3
JM
229942013-05-03 Joseph Myers <joseph@codesourcery.com>
22995
c31a5b1e
JM
22996 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22997 test signgam value.
22998
d5dc2af3
JM
22999 * math/libm-test.inc (hypot_test): Do not use
23000 IGNORE_ZERO_INF_SIGN.
23001
164fd39d
AJ
230022013-05-03 Andreas Jaeger <aj@suse.de>
23003
23004 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23005 Linux 3.9.
23006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23007 (PF_MAX): Adjust for VSOCK change.
23008
8237f48c
AZ
230092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23010
23011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23012
9df02941
CD
230132013-05-02 Carlos O'Donell <carlos@redhat.com>
23014
23015 [BZ #15264]
23016 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23017 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23018 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23019
d422395e
DM
230202013-05-02 David S. Miller <davem@davemloft.net>
23021
23022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23023
a07c5731
OB
230242013-05-01 Ondřej Bílka <neleai@seznam.cz>
23025
23026 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23027
1324e37f
RM
230282013-05-01 Roland McGrath <roland@hack.frob.com>
23029
23030 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23031
0695940b
RS
230322013-05-01 Richard Smith <richard@metafoo.co.uk>
23033
bb5f27ad 23034 [BZ #14952]
0695940b
RS
23035 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23036 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23037 Use __attribute__ ((__gnu_inline__)).
23038 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23039 Don't use __attribute__ ((__gnu_inline__)).
23040
10de07f5
JM
230412013-05-01 Joseph Myers <joseph@codesourcery.com>
23042
23043 [BZ #15423]
23044 * math/s_catan.c (__catan): Handle small real or imaginary part of
23045 input specially to avoid spurious underflow.
23046 * math/s_catanf.c (__catanf): Likewise.
23047 * math/s_catanh.c (__catanh): Likewise.
23048 * math/s_catanhf.c (__catanhf): Likewise.
23049 * math/s_catanhl.c (__catanhl): Likewise.
23050 * math/s_catanl.c (__catanl): Likewise.
23051 * math/libm-test.inc (catan_test): Add more tests.
23052 (catanh_test): Likewise.
23053 * sysdeps/i386/fpu/libm-test-ulps: Update.
23054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23055
cb4d5414
AZ
230562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23057
23058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23059
caf84319
JM
230602013-04-30 Joseph Myers <joseph@codesourcery.com>
23061
23062 [BZ #15416]
23063 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23064 accurately for denominator in atan2.
23065 * math/s_catanf.c (__catanf): Likewise.
23066 * math/s_catanh.c (__catanh): Likewise.
23067 * math/s_catanhf.c (__catanhf): Likewise.
23068 * math/s_catanhl.c (__catanhl): Likewise.
23069 * math/s_catanl.c (__catanl): Likewise.
23070 * math/libm-test.inc (catan_test): Add more tests.
23071 (catanh_test): Likewise.
23072 * sysdeps/i386/fpu/libm-test-ulps: Update.
23073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23074
d569c6ee
SP
230752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23076
6dbe713d
SP
23077 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23078
f0ee064b
SP
23079 * benchtests/Makefile (bench): Remove slow benchmarks.
23080 * benchtests/atan-inputs: Add slow benchmark inputs.
23081 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23082 (BENCH_FUNC): Accept variant offset.
23083 (VARIANT): Define.
23084 * benchtests/bench-skeleton.c (main): Run benchmark for each
23085 variant.
23086 * benchtests/cos-inputs: Add slow benchmark inputs.
23087 * benchtests/exp-inputs: Likewise.
23088 * benchtests/pow-inputs: Likewise.
23089 * benchtests/sin-inputs: Likewise.
23090 * benchtests/slowatan-inputs: Remove.
23091 * benchtests/slowatan.c: Remove.
23092 * benchtests/slowcos-inputs: Remove.
23093 * benchtests/slowcos.c: Remove.
23094 * benchtests/slowexp-inputs: Remove.
23095 * benchtests/slowexp.c: Remove.
23096 * benchtests/slowpow-inputs: Remove.
23097 * benchtests/slowpow.c: Remove.
23098 * benchtests/slowsin-inputs: Remove.
23099 * benchtests/slowsin.c: Remove.
23100 * benchtests/slowtan-inputs: Remove.
23101 * benchtests/slowtan.c: Remove.
23102 * benchtests/tan-inputs: Add slow benchmark inputs.
23103 * scripts/bench.pl: Parse comments and directives.
23104
d569c6ee
SP
23105 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23106 in CPPFLAGS.
23107 ($(objpfx)bench-%.c): Remove *-ITER.
23108 * benchtests/bench-modf.c: Remove definition of ITER.
23109 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23110 (main): Loop for DURATION seconds instead of fixed number of
23111 iterations.
23112 * scripts/bench.pl: Don't expect iterations in parameters.
23113
a6a242fe
RM
231142013-04-29 Roland McGrath <roland@hack.frob.com>
23115
23116 * io/fchdir.c (__fchdir): Renamed from fchdir.
23117 (fchdir): Define as weak alias.
23118
f2da7793
JM
231192013-04-29 Joseph Myers <joseph@codesourcery.com>
23120
23121 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23122 (ERRNO_EDOM): Likewise.
23123 (ERRNO_ERANGE): Likewise.
23124 (noErrnoTests): New variable.
23125 (init_max_error): Set errno to 0.
23126 (test_single_errno): New function.
23127 (test_errno): Likewise.
23128 (check_float_internal): Call test_errno. Set errno to 0.
23129 (check_complex): Refer to errno tests in comment.
23130 (check_int): Call test_errno. Set errno to 0.
23131 (check_long): Likewise.
23132 (check_bool): Likewise.
23133 (check_longlong): Likewise.
23134 (cos_test): Use ERRNO_* flags for errno tests instead of
23135 check_int.
23136 (expm1_test): Likewise.
23137 (fmod_test): Likewise.
23138 (ilogb_test): Likewise.
23139 (lgamma_test): Likewise.
23140 (pow_test): Likewise.
23141 (remainder_test): Likewise.
23142 (sin_test): Likewise.
23143 (tan_test): Likewise.
23144 (yn_test): Likewise.
23145 (initialize): Set errno to 0.
23146 (main): Print number of errno tests.
23147 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23148
b1a36ceb
AJ
231492013-04-29 Andreas Jaeger <aj@suse.de>
23150
c3ed8088
AJ
23151 [BZ #15084]
23152 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23153 and RES_USEVC.
23154
f1a24198
AJ
23155 [BZ #15085]
23156 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23157 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23158 unimplemented.
23159
9ce3b2cb
AJ
23160 [BZ #15380]
23161 * stdlib/random.c (__initstate): Return NULL if
23162 __initstate fails.
23163
f1a24198 23164 [BZ #15086]
b1a36ceb
AJ
23165 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23166 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23167 RES_SNGLKUPREOP.
23168
7e7b6f36
AZ
231692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23170
23171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23172
4d14f449
JM
231732013-04-29 Joseph Myers <joseph@codesourcery.com>
23174
23175 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23176 of individual tests.
23177 (casin_test): Likewise.
23178 (casinh_test): Likewise.
23179
5b4217d7
JM
231802013-04-27 Joseph Myers <joseph@codesourcery.com>
23181
23182 [BZ #15409]
23183 * math/s_catan.c (__catan): Handle arguments with large real or
23184 imaginary part separately without squaring.
23185 * math/s_catanf.c (__catanf): Likewise.
23186 * math/s_catanh.c (__catanh): Likewise.
23187 * math/s_catanhf.c (__catanhf): Likewise.
23188 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23189 and redefine.
23190 (__catanhl): Handle arguments with large real or imaginary part
23191 separately without squaring.
23192 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23193 and redefine.
23194 (__catanl): Handle arguments with large real or imaginary part
23195 separately without squaring.
23196 * math/libm-test.inc (catan_test): Add more tests.
23197 (catanh_test): Likewise.
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23200
4220c3ef
AJ
232012013-04-27 Andreas Jaeger <aj@suse.de>
23202
23203 [BZ #15007]
23204 * stdlib/stdlib.h: Update guards for qecvt.
23205 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23206 <stdlib.h>.
23207
4721b2d1
AM
232082013-04-27 Allan McRae <allan@archlinux.org>
23209
23210 * sysdeps/i386/fpu/libm-test-ulps: Update.
23211
f0302940
JM
232122013-04-26 Joseph Myers <joseph@codesourcery.com>
23213
9457fd95
JM
23214 [BZ #15406]
23215 * math/s_catan.c: Include <float.h>.
23216 (__catan): Ensure underflow exception occurs for underflowed
23217 result.
23218 * math/s_catanf.c: Include <float.h>.
23219 (__catanf): Ensure underflow exception occurs for underflowed
23220 result.
23221 * math/s_catanh.c: Include <float.h>.
23222 (__catanh): Ensure underflow exception occurs for underflowed
23223 result.
23224 * math/s_catanhf.c: Include <float.h>.
23225 (__catanhf): Ensure underflow exception occurs for underflowed
23226 result.
23227 * math/s_catanhl.c: Include <float.h>.
23228 (__catanhl): Ensure underflow exception occurs for underflowed
23229 result.
23230 * math/s_catanl.c: Include <float.h>.
23231 (__catanl): Ensure underflow exception occurs for underflowed
23232 result.
23233 * math/libm-test.inc (catan_test): Add more tests.
23234 (catanh_test): Likewise.
23235
f0302940
JM
23236 [BZ #15405]
23237 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23238 underflowed result.
23239 * math/s_ccoshf.c (__ccoshf): Likewise.
23240 * math/s_ccoshl.c (__ccoshl): Likewise.
23241 * math/s_csin.c (__csin): Likewise.
23242 * math/s_csinf.c (__csinf): Likewise.
23243 * math/s_csinh.c (__csinh): Likewise.
23244 * math/s_csinhf.c (__csinhf): Likewise.
23245 * math/s_csinhl.c (__csinhl): Likewise.
23246 * math/s_csinl.c (__csinl): Likewise.
23247 * math/libm-test.inc (ccos_test): Add more tests.
23248 (ccosh_test): Likewise.
23249 (csin_test): Likewise.
23250 (csinh_test): Likewise.
23251
aa630f59
AZ
232522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23253
23254 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23255 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23256 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23257 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23258 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23259 powerpc/power5+/fpu folders.
23260 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23261
23262
1b835983
MT
232632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23264
23265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23266
73709b26
JM
232672013-04-25 Joseph Myers <joseph@codesourcery.com>
23268
23269 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23270 additions to variable.
23271 [$(config-machine) = x86_64] (modules-names): Likewise.
23272 ($(objpfx)tst-audit3): Remove dependency.
23273 ($(objpfx)tst-audit3.out): Likewise.
23274 ($(objpfx)tst-audit4): Likewise.
23275 ($(objpfx)tst-audit4.out): Likewise.
23276 ($(objpfx)tst-audit5): Likewise.
23277 ($(objpfx)tst-audit5.out): Likewise.
23278 ($(objpfx)tst-audit6): Likewise.
23279 ($(objpfx)tst-audit6.out): Likewise.
23280 ($(objpfx)tst-audit7): Likewise.
23281 ($(objpfx)tst-audit7.out): Likewise.
23282 (tst-audit3-ENV): Remove variable.
23283 (tst-audit4-ENV): Likewise.
23284 (tst-audit5-ENV): Likewise.
23285 (tst-audit6-ENV): Likewise.
23286 (tst-audit7-ENV): Likewise.
23287 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23288 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23289 addition to variable.
23290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23295 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23296 tst-audit3, tst-audit4 and tst-audit5.
23297 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23298 tst-audit6 and tst-audit7.
23299 [$(subdir) = elf] (modules-names): Add audit modules for those
23300 tests.
23301 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23302 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23303 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23304 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23305 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23306 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23307 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23308 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23309 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23310 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23311 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23312 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23313 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23314 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23315 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23316 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23317 Likewise.
23318 [$(subdir) = elf && $(config-cflags-avx) = yes]
23319 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23320 [$(subdir) = elf && $(config-cflags-avx) = yes]
23321 (CFLAGS-tst-auditmod4a.c): Likewise.
23322 [$(subdir) = elf && $(config-cflags-avx) = yes]
23323 (CFLAGS-tst-auditmod4b.c): Likewise.
23324 [$(subdir) = elf && $(config-cflags-avx) = yes]
23325 (CFLAGS-tst-auditmod6b.c): Likewise.
23326 [$(subdir) = elf && $(config-cflags-avx) = yes]
23327 (CFLAGS-tst-auditmod6c.c): Likewise.
23328 [$(subdir) = elf && $(config-cflags-avx) = yes]
23329 (CFLAGS-tst-auditmod7b.c): Likewise.
23330 * elf/tst-audit3.c: Move to ...
23331 * sysdeps/x86_64/tst-audit3.c: ... here.
23332 * elf/tst-audit4.c: Move to ...
23333 * sysdeps/x86_64/tst-audit4.c: ... here.
23334 * elf/tst-audit5.c: Move to ...
23335 * sysdeps/x86_64/tst-audit5.c: ... here.
23336 * elf/tst-audit6.c: Move to ...
23337 * sysdeps/x86_64/tst-audit6.c: ... here.
23338 * elf/tst-audit7.c: Move to ...
23339 * sysdeps/x86_64/tst-audit7.c: ... here.
23340 * elf/tst-auditmod3a.c: Move to ...
23341 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23342 * elf/tst-auditmod3b.c: Move to ...
23343 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23344 * elf/tst-auditmod4a.c: Move to ...
23345 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23346 * elf/tst-auditmod4b.c: Move to ...
23347 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23348 * elf/tst-auditmod5a.c: Move to ...
23349 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23350 * elf/tst-auditmod5b.c: Move to ...
23351 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23352 * elf/tst-auditmod6a.c: Move to ...
23353 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23354 * elf/tst-auditmod6b.c: Move to ...
23355 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23356 * elf/tst-auditmod6c.c: Move to ...
23357 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23358 * elf/tst-auditmod7a.c: Move to ...
23359 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23360 * elf/tst-auditmod7b.c: Move to ...
23361 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23362
1ef74943
PP
233632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23364
23365 [BZ #15366]
23366 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23367 define unconditionally.
23368 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23369 define unconditionally.
23370 (INT8_C, INT16_C, etc.): Likewise.
23371
93fd48c5
MR
233722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23373
ae9552cf
MR
23374 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23375 __ehdr_start with hidden visibility.
23376
93fd48c5
MR
23377 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23378
418601aa
CD
233792013-04-24 Carlos O'Donell <carlos@redhat.com>
23380
23381 * math/libm-test.inc (cos_test): Use accurate hex constants.
23382 (sincost_test): Likewise.
23383
2f38fbfe
JM
233842013-04-24 Joseph Myers <joseph@codesourcery.com>
23385
5e221800
JM
23386 * math/libm-test.inc (catan_test): Add more tests.
23387 (catanh_test): Likewise.
23388
77f143fd
JM
23389 * math/s_catanf.c (__catanf): Use suffixed floating-point
23390 constants.
23391 * math/s_catanhf.c (__catanhf): Likewise.
23392 * math/s_catanhl.c (__catanhl): Likewise.
23393 * math/s_catanl.c (__catanl): Likewise.
23394
2f38fbfe
JM
23395 [BZ #15394]
23396 * math/s_catan.c (__catan): Calculate imaginary part of result
23397 with log1p not log unless computing log of number close to 0.
23398 * math/s_catanf.c (__catanf): Likewise.
23399 * math/s_catanl.c (__catanl): Likewise.
23400 * math/s_catanh.c (__catanh): Calculate real part of result with
23401 log1p not log unless computing log of number close to 0.
23402 * math/s_catanhf.c (__catanhf): Likewise.
23403 * math/s_catanhl.c (__catanhl): Likewise.
23404 * math/libm-test.inc (catan_test): Add more tests.
23405 (catanh_test): Likewise.
23406 * sysdeps/i386/fpu/libm-test-ulps: Update.
23407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23408
45d69176
SP
234092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23410
23411 * benchtests/Makefile: Mention files in which fast and slow
23412 paths of math functions are implemented.
23413
87f51853
RM
234142013-04-23 Roland McGrath <roland@hack.frob.com>
23415
23416 * sysdeps/posix/timespec_get.c: New file.
23417
3c026539
AZ
234182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23419
23420 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23421 POWER.
23422 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23423 for POWER.
23424 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23425 powerpc/power5/fpu folders.
23426 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23427 * benchtests/Makefile: Add modf testcase.
23428 * benchtests/bench-modf.c: New file: Benchmark test for mo
23429
ff491d14
SP
234302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23431
23432 [BZ #14888]
23433 * time/Makefile (tests): Add tst-strptime-whitespace.
23434 * time/strptime_l.c (get_number): Use ISSPACE.
23435 (__strptime_internal): Likewise.
23436 * time/tst-strptime-whitespace.c: New test case.
23437
7ed3f4e8
AS
234382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23439
23440 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23441 member.
23442 (_nss_files_init): Set it here.
23443
5c95f7b6
HC
234442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23445
23446 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23447 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23448 unsigned.
23449
d34c9158
JBG
234502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23451
23452 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23453
2169712d
SP
234542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23455
23456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23457 size just once.
23458
29c5de99
DM
234592013-04-21 David S. Miller <davem@davemloft.net>
23460
23461 * po/ru.po: Update Russion translation from translation project.
23462
ccdad15d
AC
234632013-04-17 Adam Conrad <adconrad@0c3.net>
23464
23465 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23466 and setfsgid.
23467
0f122b8d
CD
234682013-04-17 Carlos O'Donell <carlos@redhat.com>
23469
5c5b07da 23470 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23471 * configure: Regenerate.
5c5b07da 23472 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23473 Add example to error message.
23474 * sysdeps/i386/configure: Regenerate.
23475
037714dd
SP
234762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23477
23478 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23479 slowtan.
23480 * benchtests/cos-inputs: New file.
23481 * benchtests/slowcos-inputs: New file.
23482 * benchtests/slowcos.c: New file.
23483 * benchtests/slowtan-inputs: New file.
23484 * benchtests/slowtan.c: New file.
23485 * benchtests/tan-inputs: New file.
23486
e913141d
RM
234872013-04-16 Roland McGrath <roland@hack.frob.com>
23488
23489 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23490 considered kosher.
23491
a2964074
SP
234922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23493
4856bcd2
SP
23494 * benchtests/Makefile: Include cppflags-iterator.mk to add
23495 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23496
a2964074
SP
23497 * Makefile.in (bench-clean): New target.
23498 * benchtests/Makefile (bench-clean): Likewise.
23499
9fbf9aca
DH
235002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23501
23502 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23503
207d1e2a
TS
235042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23505
23506 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23507
306dfba9
AS
235082013-04-15 Andreas Schwab <schwab@suse.de>
23509
23510 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23512 * nscd/pwdcache.c (cache_addpw): Likewise.
23513 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23514 more than recsize.
23515
206a6699
SP
235162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23517
23518 * benchtests/Makefile (bench): Write all output to
23519 bench-out.tmp together.
23520
0582f6b3
AS
235212013-04-15 Andreas Schwab <schwab@suse.de>
23522
23523 * nscd/nscd.c (main): Don't fork again after closing files.
23524
acb4325f
SP
235252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
5cb26d0a
SP
23527 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23528
acb4325f
SP
23529 * benchtests/Rules (bench-deps): Collect dependencies into a
23530 single variable. Add Makefile to dependencies.
23531 ($(objpfx)bench-%.c): Depend on bench-deps.
23532
47792506
RM
235332013-04-12 Roland McGrath <roland@hack.frob.com>
23534 Xavier Roche <roche+kml2@exalead.com>
23535
23536 [BZ #15361]
23537 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23538 just that it's a file descriptor.
23539 * manual/llio.texi (Synchronizing AIO Operations): Update description
23540 for EBADF error from aio_fsync.
23541
8fc1bee5
SP
235422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23543
23544 * Rules (bench): Move target definition...
23545 * benchtests/Makefile: ... here.
23546
aba5e333
CD
235472013-04-11 Carlos O'Donell <carlos@redhat.com>
23548
23549 * math/libm-test.inc (cos_test): Fix PI/2 test.
23550 (sincos_test): Likewise.
23551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23552 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23553
273cdee8
AS
235542013-04-11 Andreas Schwab <schwab@suse.de>
23555
6ecec3b6
AS
23556 [BZ #13988]
23557 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23558 accept exponent character only when digits were seen.
23559 * stdio-common/Makefile (tests): Add bug26.
23560 * stdio-common/bug26.c: New file.
23561
273cdee8
AS
23562 [BZ #14293]
23563 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23564 non-freeable.
23565
8da491f5
SP
235662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23567
01dc6df9
SP
23568 * Makeconfig (rtld-prefix): Define built linker prefix.
23569 * Rules (run-bench): Use it.
23570 * math/Makefile (run-regen-ulps): Likewise.
23571
8da491f5
SP
23572 * Rules (bench): Remove eval.
23573
abe7f530
SP
235742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23575 Roland McGrath <roland@hack.frob.com>
23576 Ondrej Bilka <neleai@seznam.cz>
23577
23578 [BZ #15346]
23579 * time/getdate.c: Include ctype.h and alloca.h.
23580 (__getdate_r): Trim leading and trailing spaces of input.
23581 * time/tst-getdate.c (tests): Add tests with leading and
23582 trailing spaces.
23583
61c23e62
RM
235842013-04-08 Roland McGrath <roland@hack.frob.com>
23585
23586 [BZ #14280]
23587 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23588 when computing value.
23589
7208a313
CD
235902013-04-06 Carlos O'Donell <carlos@redhat.com>
23591
085b2d41
CD
23592 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23593 Use testrun.sh to run libm tests.
23594
7208a313
CD
23595 [BZ #15309]
23596 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23597
872c0acd
MM
235982013-04-06 Marko Myllynen <myllynen@redhat.com>
23599
23600 [BZ #15264]
23601 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23602
26510bdd
CD
236032013-04-06 Carlos O'Donell <carlos@redhat.com>
23604
23605 * Makefile.in (regen-ulps): New target.
23606 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23607 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23608 [ifneq (no,$(PERL)] (regen-ulps): New target.
23609 [ifeq (no,$(PERL)] (regen-ulps): New target.
23610 * math/libm-test.inc (ulps_file_name): Define.
23611 (output_dir): New variable.
23612 (options): Add "output-dir" option.
23613 (parse_opt): Handle 'o' case.
23614 (main): If output_dir is non-NULL use it as a prefix
23615 otherwise use "".
23616 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23617
a01f19c8
CD
236182013-04-06 Carlos O'Donell <carlos@redhat.com>
23619
23620 [BZ #10060, #10062]
23621 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23622 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23623 fail configure if __sync_val_compare_and_swap is not inlined.
23624 * sysdeps/i386/configure: Regenerate.
23625 * configure.in: Build for i686 when configured for i386.
23626 * configure: Regenerate.
23627 * README: Remove i386 reference.
23628
b7a329a5
CD
236292013-04-06 Carlos O'Donell <carlos@redhat.com>
23630
23631 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23632 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23633
bf0f50df
TS
236342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23635
ee091edf
TS
23636 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23637 (lmsnanval): New variables.
23638 (F): Add conversion tests.
23639 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23640 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23641
a8b792d6
TS
23642 * stdio-common/tstdiomisc.c (F): Properly collect individual
23643 tests' results.
23644
a1cbf437
TS
23645 [BZ #14686, #15336]
23646 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23647 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23648 Instead, use input NaN values or generate a qNaN by arithmetic
23649 operation. Also fix bugs to comply with the standard.
23650 * math/libm-test.inc (remainder_test): Add more tests.
23651
8b43a0c9
TS
23652 [BZ #15335, #15342]
23653 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23655 input NaN values or generate a qNaN by arithmetic operation.
23656
d91da4ce
TS
23657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23658 unreachable code.
23659
bf0f50df
TS
23660 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23661 definitions.
23662
05e166c8
JM
236632013-04-03 Joseph Myers <joseph@codesourcery.com>
23664
23665 [BZ #14478]
23666 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23667 underflowed result.
23668 * math/s_cexpf.c (__cexpf): Likewise.
23669 * math/s_cexpl.c (__cexpl): Likewise.
23670 * math/libm-test.inc (cexp_test): Add more tests.
23671
1cef1b19
AS
236722013-04-03 Andreas Schwab <schwab@suse.de>
23673
23674 [BZ #15330]
23675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23676 order arrays from heap if bigger than alloca cutoff.
23677
74d87055
TS
236782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23679
23680 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23681 (SNAN_TESTS_double): Refer to GCC PR56831.
23682 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23683 GCC PR56828.
23684
d755bba4
SP
236852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23686
90d5d5bb
SP
23687 * Rules (bench): Move bench.out after the run is complete.
23688
73e0cd5d
SP
23689 * Rules (bench): Echo currently running benchmark.
23690
64aabd4b
SP
23691 * benchtests/Makefile (bench): Add atan and slowatan.
23692 * benchtests/atan-inputs: New file.
23693 * benchtests/slowatan-inputs: New file.
23694 * benchtests/slowatan.c: New file.
23695
c871eccd
SP
23696 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23698 its value.
23699
d755bba4
SP
23700 [BZ #15305]
23701 * sysdeps/unix/sysv/linux/kernel-features.h
23702 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23703 __ASSUME_XFS_RESTRICTED_CHOWN.
23704 * sysdeps/unix/sysv/linux/pathconf.c
23705 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23706 Save and restore errno.
23707
52ce4860
JM
237082013-04-02 Joseph Myers <joseph@codesourcery.com>
23709
23710 [BZ #15327]
23711 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23712 arguments using __kernel_casinh.
23713 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23714 arguments using __kernel_casinhf.
23715 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23716 arguments using __kernel_casinhl.
23717 * math/libm-test.inc (cacosh_test): Add more tests.
23718 * sysdeps/i386/fpu/libm-test-ulps: Update.
23719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23720
81f311c2
SP
237212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23722
e7906a47
SP
23723 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23725
92e3664b
SP
23726 * bench/Makefile (bench): Add sin and slowsin.
23727 * benchtests/sin-inputs: New file.
23728 * benchtests/slowsin-inputs: New file.
23729 * benchtests/slowsin.c: New file.
23730
81f311c2
SP
23731 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23732 (bench): Add slowexp and slowpow.
23733 (exp-ITER): Increase iterations.
23734 (pow-ITER): Likewise.
23735 * benchtests/exp-inputs: Change input.
23736 * benchtests/pow-inputs: Likewise.
23737 * benchtests/slowexp-inputs: New file.
23738 * benchtests/slowexp.c: New file.
23739 * benchtests/slowpow-inputs: New file.
23740 * benchtests/slowpow.c: New file.
23741
ab0f1aa9
AZ
237422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23743
23744 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23745 instructions.
23746 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23747 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23748 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23749 * benchtests/Makefile: Add rint benchtest.
23750 * benchtests/rint-inputs: Input for rint benchtest.
23751
57267616
TS
237522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23753
23754 * Versions.def (libm): Add GLIBC_2.18.
23755 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23756 hidden libm prototypes.
23757 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23758 * math/Makefile (libm-calls): Add s_issignaling.
23759 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23760 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23761 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23762 declaration.
23763 * math/math.h [__USE_GNU] (issignaling): New macro.
23764 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23765 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23767 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23770 * manual/arith.texi (issignaling): New section.
23771 * manual/libm-err-tab.pl (@all_functions): Update comment.
23772 * math/gen-libm-test.pl (parse_args): Apply special handling for
23773 issignaling.
23774 * math/libm-test.inc (print_float, issignaling_test): New
23775 functions.
23776 (check_float_internal): Add issignaling checks.
23777 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23778 default definition.
23779 * sysdeps/powerpc/math-tests.h: New file.
23780 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23781 tests.
23782 * math/test-snan.c (TEST_FUNC): Likewise.
23783
6142896d
DM
237842013-03-30 David S. Miller <davem@davemloft.net>
23785
23786 * po/de.po: Update from translation team.
23787
ccc8cadf
JM
237882013-03-30 Joseph Myers <joseph@codesourcery.com>
23789
23790 [BZ #10357]
23791 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23792 imaginary part less than 1.0 and real part less than 0.5
23793 specially.
23794 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23795 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23796 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23797 (cacos_test): Add more tests.
23798 (casin_test): Likewise.
23799 (casinh_test): Likewise.
23800 * sysdeps/i386/fpu/libm-test-ulps: Update.
23801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802
0f6a8d4b
SP
238032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23804
0d1029de
SP
23805 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23806 ONE with its value.
23807
c2d94018
SP
23808 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23809 (__pow_mp): Replace ONE and MONE with their values.
23810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23813 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23814 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23816
27ec37f1
SP
23817 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23818
a64d7e0e
SP
23819 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23820 (__pow_mp): Replace ZERO and MZERO with their values.
23821 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23825 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23826 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23827 (__sqr): Likewise.
23828
d26dd3eb
SP
23829 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23830
0f6a8d4b
SP
23831 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23832
e57b0c61
RM
238332013-03-28 Roland McGrath <roland@hack.frob.com>
23834
23835 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23836 Declare with __attribute__ ((weak)).
23837 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23838 Call __call_tls_dtors only if it's not NULL.
23839
356b3480
RM
238402013-03-28 Roland McGrath <roland@hack.frob.com>
23841
288f7d79
RM
23842 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23843 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23844 magic __ehdr_start linker symbol if it's defined.
23845 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23846 them up here if it was already done.
23847
dc0a0263
RM
23848 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23849 (_dl_aux_init): Use const in cast when setting it.
23850 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23851 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23852 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23853
3d3436ae
RM
23854 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23855 Declare them here.
23856 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23857 * csu/libc-tls.c: Nor here.
23858 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23859
356b3480
RM
23860 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23861 (__libc_message): Never call vsyslog.
23862
b0f1246a
AM
238632013-03-28 Alan Modra <amodra@gmail.com>
23864
23865 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23866 Define as empty.
23867 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23868 Likewise.
23869
fbbe2b9a
AZ
238702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23871
23872 [BZ #15214]
23873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23874 underflow.
23875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23876
1728ab37
SP
238772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23878
7a86be6e
SP
23879 [BZ #15304]
23880 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23881 Don't add gid passed as argument.
23882
1728ab37
SP
23883 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23884
3a7182a1
JM
238852013-03-27 Joseph Myers <joseph@codesourcery.com>
23886
23887 [BZ #15307]
23888 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23889 imaginary part between 1.0 and 1.5 and real part less than 0.5
23890 specially.
23891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23893 * math/libm-test.inc (cacos_test): Add more tests.
23894 (casin_test): Likewise.
23895 (casinh_test): Likewise.
23896 * sysdeps/i386/fpu/libm-test-ulps: Update.
23897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23898
6f2e90e7
SP
238992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23900
5739f705
SP
23901 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23902 constants.
23903 (norm): Likewise.
23904 (denorm): Likewise.
23905 (__dbl_mp): Likewise.
23906 (add_magnitudes): Likewise.
23907 (sub_magnitudes): Likewise.
23908 (__add): Likewise.
23909 (__sub): Likewise.
23910 (__mul): Likewise.
23911 (__sqr): Likewise.
23912 (__inv): Likewise.
23913 (__dvd): Likewise.
23914
e375e83d
SP
23915 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23916 commented code.
23917 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23918 (__dubcos): Likewise.
23919 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23920 (__ieee754_acos): Likewise.
23921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23923 (__exp1): Likewise.
23924 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23926 (log1): Likewise.
23927 (my_log2): Likewise.
23928 (checkint): Likewise.
23929 * sysdeps/ieee754/dbl-64/e_remainder.c
23930 (__ieee754_remainder): Likewise.
23931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23933 (bsloww): Likewise.
23934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23935
6f2e90e7
SP
23936 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23937 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23938 MANTISSA_STORE_T to store computations on mantissa. Use
23939 macros for rounding and division.
23940 (denorm): Likewise.
23941 (__dbl_mp): Likewise.
23942 (add_magnitudes): Likewise.
23943 (sub_magnitudes): Likewise.
23944 (__mul): Likewise.
23945 (__sqr): Likewise.
23946 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23947 powers of two in terms of TWOPOW macro.
23948 (mp_no): Make type of mantissa as MANTISSA_T.
23949 [!RADIXI]: Define RADIXI.
23950 [!TWO52]: Define TWO52.
23951 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23952
fce14d4e
AZ
239532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23954
23955 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23956 llroundl symbol when building for PPC32.
23957
9ad027fb
MW
239582013-03-24 Mark H Weaver <mhw@netris.org>
23959
23960 * manual/arith.texi (Normalization Functions): Fix prototypes for
23961 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23962
e42a38dd
AZ
239632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23964
23965 [BZ #13889]
23966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23967 high value to check if expl overflow.
23968 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23969 to check for underflow and overflow.
23970 * math/libm-test.inc: Add exp test.
23971
2e0fb521
DL
239722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23973
23974 [BZ #11120]
23975 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23976 with NOT_IN_libc.
23977
b5784d95
AZ
239782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23979
23980 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23981 symbol.
23982
5aa4a1a1
TS
239832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23984
bdef0be7
TS
23985 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23986 wrap blocks consisting of several statements.
23987
5aa4a1a1
TS
23988 * sysdeps/generic/math-tests.h: New file.
23989 * sysdeps/i386/fpu/math-tests.h: Likewise.
23990 * math/test-snan.c: Include it.
23991 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23992
98c48fe5
JM
239932013-03-21 Joseph Myers <joseph@codesourcery.com>
23994
23995 [BZ #15285]
23996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23997 (__ieee754_j0l): Do not improve calculations using cos of twice
23998 input for inputs above LDBL_MAX / 2.0L.
23999 (__ieee754_y0l): Likewise.
24000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24001 (__ieee754_j1l): Do not improve calculations using cos of twice
24002 input for inputs above LDBL_MAX / 2.0L.
24003 (__ieee754_y1l): Likewise.
24004 * math/libm-test.inc (j0_test): Add another test.
24005 (j1_test): Likewise.
24006 (y0_test): Likewise.
24007 (y1_test): Likewise.
24008 * sysdeps/i386/fpu/libm-test-ulps: Update.
24009
3775a8bc
SP
240102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24011
24012 * Rules ($(objpfx)bench-%.c): Include code from a C source
24013 file.
24014
0a1b2ae6
JM
240152013-03-21 Joseph Myers <joseph@codesourcery.com>
24016
24017 [BZ #15287]
24018 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24019 imaginary part 1.0 and real part less than 0.5 specially.
24020 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24021 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24022 * math/libm-test.inc (cacos_test): Add more tests.
24023 (casin_test): Likewise.
24024 (casinh_test): Likewise.
24025 * sysdeps/i386/fpu/libm-test-ulps: Update.
24026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24027
b33d4ce4
SP
240282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24029
24030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24032
bef0b507
JM
240332013-03-20 Joseph Myers <joseph@codesourcery.com>
24034
24035 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24036 * config.make.in (config-cflags-sse4): Remove variable.
24037 (config-cflags-avx): Likewise.
24038 (config-cflags-sse2avx): Likewise.
24039 (config-cflags-novzeroupper): Likewise.
24040 (config-asflags-i686): Likewise.
24041 (have-mfma4): Likewise.
24042 (have-as-vis3): Likewise.
24043 (MIG): Likewise.
24044 * configure.in (MIG): Do not AC_SUBST.
24045 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24046 (libc_cv_cc_sse4): Do not AC_SUBST.
24047 (libc_cv_cc_avx): Likewise.
24048 (libc_cv_cc_sse2avx): Likewise.
24049 (libc_cv_cc_novzeroupper): Likewise.
24050 (libc_cv_cc_fma4): Likewise.
24051 (libc_cv_as_i686): Likewise.
24052 (libc_cv_sparc_as_vis3): Likewise.
24053 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24054 LIBC_CONFIG_VAR.
24055 (config-asflags-i686): Likewise.
24056 (config-cflags-avx): Likewise.
24057 (config-cflags-sse2avx): Likewise.
24058 (have-mfma4): Likewise.
24059 (config-cflags-novzeroupper): Likewise.
24060 * sysdeps/mach/configure.in (MIG): Likewise.
24061 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24062 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24063 LIBC_CONFIG_VAR.
24064 (config-cflags-avx): Likewise.
24065 (config-cflags-sse2avx): Likewise.
24066 (have-mfma4): Likewise.
24067 (config-cflags-novzeroupper): Likewise.
24068 * configure: Regenerated.
24069 * sysdeps/i386/configure: Likewise.
24070 * sysdeps/mach/configure: Likewise.
24071 * sysdeps/sparc/configure: Likewise.
24072 * sysdeps/x86_64/configure: Likewise.
24073
912cc4b3
RM
240742013-03-20 Roland McGrath <roland@hack.frob.com>
24075
24076 [BZ #14812]
24077 * locale/programs/localedef.c (options): Put N_ translation marker
24078 on argument names, not just descriptions.
24079
04eed2b0
MS
240802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24081
24082 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24083
a065ceff
OB
240842013-03-20 Ondřej Bílka <neleai@seznam.cz>
24085
9bb2a810 24086 [BZ #14176]
a065ceff
OB
24087 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24088
a600e5ce
RM
240892013-03-19 Roland McGrath <roland@hack.frob.com>
24090
24091 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24092 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24093 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24094 [!BEFORE_ABORT] (before_abort): New function.
24095 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24096 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24097 (writev_for_fatal): New function.
24098 (WRITEV_FOR_FATAL): New macro; call that.
24099 (backtrace_and_maps): New function.
24100 (BEFORE_ABORT): New macro; call that.
24101 (struct str_list): Type removed.
24102 (__libc_message, __libc_fatal): Functions removed.
24103 Include <sysdeps/posix/libc_fatal.c> instead.
24104
6b18bea6
JM
241052013-03-19 Joseph Myers <joseph@codesourcery.com>
24106
24107 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24108 constants.
24109 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24110 double constants.
24111
aaa8cb4b
AS
241122013-03-19 Andreas Schwab <schwab@suse.de>
24113
44673770
AS
24114 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24115 * sysdeps/gnu/configure: Regenerate.
24116
aaa8cb4b
AS
24117 * configure.in: Substitute libc_cv_rtlddir.
24118 * configure: Regenerate.
24119 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24120 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24121 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24122 * elf/Makefile (install-others, CFLAGS-interp.c)
24123 (ldso_install, common-ldd-rewrite): Likewise.
24124 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24125 $(inst_slibdir)/$(rtld-installed-name).
24126 * scripts/rellns-sh: Add -p option.
24127 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24128 for source.
24129
d3cfc668
SP
241302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24131
24132 * manual/nptl.texi: Renamed to ...
24133 * manual/threads.texi: ... this.
24134 * manual/Makefile (chapters): Update.
24135
0e2b9cdd
RM
241362013-03-18 Roland McGrath <roland@hack.frob.com>
24137
24138 [BZ #14812]
24139 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24140 on argument names, not just descriptions.
0e2b9cdd
RM
24141 * malloc/memusagestat.c (options): Likewise.
24142 * nss/getent.c (options): Likewise.
63270c24
RM
24143
241442013-03-18 Benno Schulenberg <bensberg@justemail.net>
24145
24146 [BZ #14812]
24147 * iconv/iconv_prog.c (options): Put N_ translation marker
24148 on argument names, not just descriptions.
24149 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24150
b2e1393c
OB
241512013-03-18 Ondrej Bilka <neleai@seznam.cz>
24152
24153 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24154 implementation which is faster on all x86_64 architectures.
24155 Tested on AMD, Intel Nehalem, SNB, IVB.
24156 * sysdeps/x86_64/strnlen.S: Likewise.
24157
24158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24159 Remove all multiarch strlen and strnlen versions.
24160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24161 Remove strlen and strnlen related parts.
24162
24163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24164 Inline strlen part.
24165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24166
24167 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24168 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24170 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24171 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24172 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24173
ec4ff04d
CD
241742013-03-17 Carlos O'Donell <carlos@redhat.com>
24175
24176 * manual/memory.texi (Malloc Tunable Parameters):
24177 Sort parameters alphabetically. Add comments for missing entries.
24178
cd18e90a
DM
241792013-03-17 David S. Miller <davem@davemloft.net>
24180
24181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24182
2a185d32
JM
241832013-03-16 Joseph Myers <joseph@codesourcery.com>
24184
d2f9799e
JM
24185 [BZ #15283]
24186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24187 for arguments at most half maximum finite value.
24188 * math/libm-test.inc (j0_test): Add more tests.
24189 (j1_test): Likewise.
24190 (y0_test): Likewise.
24191 (y1_test): Likewise.
24192 * sysdeps/i386/fpu/libm-test-ulps: Update.
24193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194
2a185d32
JM
24195 [BZ #14155]
24196 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24197 1 / x and functions P and Q for arguments above 0x1p256L.
24198 (__ieee754_y0l): Likewise.
24199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24200 (__ieee754_y1l): Likewise.
24201 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24202 (j1_test): Likewise.
24203 (y0_test): Likewise.
24204 (y1_test): Likewise.
24205
6cbec759
TS
242062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24207
24208 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24209 variable.
24210
bc16e260
RM
242112013-03-15 Roland McGrath <roland@hack.frob.com>
24212
aefc9b8c
RM
24213 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24214 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24215 zero since it's initialized to EXEC_PAGESIZE.
24216
bc16e260
RM
24217 * sysdeps/unix/sysv/linux/ldsodefs.h
24218 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24219 * sysdeps/generic/ldsodefs.h: ... here.
24220
a57da955
TS
242212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24222
af00a34d
TS
24223 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24224
495ded2c
TS
24225 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24226 math/test-snan.c.
24227 * math/test-snan.c: Renamed from
24228 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24229 * math/Makefile (tests): Add test-snan.
24230 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24231 test-powerpc-snan.
24232
777b0332
TS
24233 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24234 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24235 functions.
24236 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24237 __builtin_nan family of functions.
24238 * math/libm-test.inc (initialize): Initialize qnan_value with
24239 __builtin_nan family of functions.
24240 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24241 Remove variables.
24242 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24243 Remove functions.
24244 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24245 storage class. Initialize qNaN_var and sNaN_var with
24246 __builtin_nan and __builtin_nans families of functions,
24247 respectively.
24248
64d063b8
TS
24249 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24250 (sqrt_test): Remove duplicate test with qNaN input.
24251 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24252 (round_test, signbit_test, significand_test): Note missing +/-Inf
24253 as well as qNaN tests.
24254
67e971f1
TS
24255 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24256 qNaN_var. Fix a few strings, too.
24257 * math/libm-test.inc (nan_value): Rename to qnan_value.
24258 * math/gen-libm-test.pl (%beautify): Adjust to that.
24259 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24260 * math/test-misc.c (main): Likewise.
24261 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24262 to __qnan_bytes, and __qnan_union, respectively.
24263 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24264 Likewise.
24265 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24266 and lqnanval, respectively.
24267 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24268 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24269 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24270 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24271
64487e12
TS
24272 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24273 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24274 doubles.
24275
e015e27b
TS
24276 * math/test-misc.c (main): Fix copy'n'pastos.
24277 * misc/tst-efgcvt.c (special): Likewise.
24278
a57da955
TS
24279 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24280 Remove declarations.
24281
1e380345
SP
242822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24283
24284 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24285 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24286 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24287 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24288
ef26eece
AZ
242892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24290
24291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24292 macro to return vdso values correctly in IFUNC implementations.
24293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24294 Optimization by using IFUNC.
24295
8cfdb7e0
SP
242962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24297 Richard Henderson <rth@redhat.com>
24298 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24299
24300 * Makefile.in (bench): New target.
24301 * NEWS: Mention the benchmark framework.
24302 * Rules (bench): Likewise.
24303 (binaries-bench): Generate binaries for functions to
24304 benchmark.
24305 * benchtests/Makefile: New makefile for benchmark tests.
24306 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24307 programs.
24308 * benchtests/exp-inputs: New input file for EXP function.
24309 * benchtests/pow-inputs: New input file for POW function.
24310 * scripts/bench.pl: New script to generate source files for
24311 benchmark programs.
24312
bcda9880
SP
243132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24314
d22ca8cd
SP
24315 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24317 computations on mantissa. Use macros for rounding and
24318 division.
24319 (denorm): Likewise.
24320 (__dbl_mp): Likewise.
24321 (add_magnitudes): Likewise.
24322 (sub_magnitudes): Likewise.
24323 (__mul): Likewise.
24324 (__sqr): Likewise.
24325 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24326 powers of two in terms of TWOPOW macro.
24327 (mp_no): Make type of mantissa as MANTISSA_T.
24328 [!RADIXI]: Define RADIXI.
24329 [!TWO52]: Define TWO52.
24330 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24331
bcda9880
SP
24332 * manual/nptl.texi (cindex): Modify threads to pthreads.
24333
06d5adfb
JM
243342013-03-15 Joseph Myers <joseph@codesourcery.com>
24335
24336 * sysdeps/x86_64/preconfigure: Regenerated.
24337
41c7328e
JM
243382013-03-14 Joseph Myers <joseph@codesourcery.com>
24339
24340 [BZ #14155]
24341 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24342 0x1p28 and above.
24343 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24344 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24345 0x1p28 and above.
24346 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24347 * math/libm-test.inc (j0_test): Do not allow one spurious
24348 underflow exception.
24349 (y1_test): Likewise.
24350
e25cfa60
SP
243512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24352
0409959c
SP
24353 * manual/Makefile (chapters): Add nptl.
24354 * manual/debug.texi (Debugging Support): Add link to Threads
24355 chapter.
24356 * manual/nptl.texi: New file.
24357
e25cfa60
SP
24358 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24359
58a1335e
PB
243602013-03-14 Petr Baudis <pasky@ucw.cz>
24361
24362 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24363 for non-NULL pointer before the memory validity test. Pointed
24364 out by Holger Brunck <holger.brunck@keymile.com>.
24365
9dc7c64f
AS
243662013-03-13 Andreas Schwab <schwab@suse.de>
24367
24368 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24369 instead of .os.
24370
54206aa6
JM
243712013-03-13 Joseph Myers <joseph@codesourcery.com>
24372
24373 * timezone/zic.c: Update from tzcode 2013b.
24374
e98cdb38
CD
243752013-03-12 Carlos O'Donell <carlos@redhat.com>
24376
24377 * manual/install.texi (Configuring and compiling):
24378 Mention i686 and i586.
24379 * INSTALL: Regenerate.
24380
9967e003
RM
243812013-03-12 Roland McGrath <roland@hack.frob.com>
24382
24383 * sysdeps/init_array/elf-init.c: New file.
24384 * csu/elf-init.c
24385 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24386 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24387
24388 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24389 __gmon_start__ as global, but as static with a .preinit_array pointer.
24390 * sysdeps/init_array/gmon-start.c: New file. Use that.
24391 * sysdeps/init_array/crti.S: New file, empty except for comments.
24392 * sysdeps/init_array/crtn.S: Likewise.
24393
e6b5a293 243942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24395
24396 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24397 definining bcopy.
80f844c9
OB
24398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24399 Remove Prefer_SSE_for_memop.
24400 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24401 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24402 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24404 memset-x86-64.
80f844c9 24405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24406 Remove bzero, memset ifunc support.
80f844c9
OB
24407 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24408 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24409 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24410 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24411
fb6b0fcb
AS
244122013-03-11 Andreas Schwab <schwab@suse.de>
24413
24414 [BZ #15234]
24415 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24416 by SHLIB_COMPAT.
24417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24418 (GLIBC_2.16): Remove pthread_atfork.
24419
3e6bd4b1
PP
244202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24421
24422 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24423 (ptestcases.h): Likewise.
24424
222d7f00
RM
244252013-03-08 Roland McGrath <roland@hack.frob.com>
24426
24427 * Makeconfig ($(common-objpfx)config.status): Depend on
24428 sysdeps/*/preconfigure{,.in} too.
24429
1ba4f030
JM
244302013-03-08 Joseph Myers <joseph@codesourcery.com>
24431
a222d91a
JM
24432 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24433 (__free_hook): Use void * instead of __malloc_ptr_t.
24434 (__malloc_hook): Likewise.
24435 (__realloc_hook): Likewise.
24436 (__memalign_hook): Likewise.
24437 (__after_morecore_hook): Likewise.
24438 * malloc/arena.c (save_malloc_hook): Likewise.
24439 (save_free_hook): Likewise.
24440 * malloc/hooks.c (malloc_hook_ini): Likewise.
24441 (realloc_hook_ini): Likewise.
24442 (memalign_hook_ini): Likewise.
24443 * malloc/malloc.c (malloc_hook_ini): Likewise.
24444 (realloc_hook_ini): Likewise.
24445 (memalign_hook_ini): Likewise.
24446 (__free_hook): Likewise.
24447 (__malloc_hook): Likewise.
24448 (__realloc_hook): Likewise.
24449 (__memalign_hook): Likewise.
24450 (__libc_malloc): Likewise.
24451 (__libc_free): Likewise.
24452 (__libc_realloc): Likewise.
24453 (__libc_memalign): Likewise.
24454 (__libc_valloc): Likewise.
24455 (__libc_pvalloc): Likewise.
24456 (__libc_calloc): Likewise.
24457 (__posix_memalign): Likewise.
24458 * malloc/morecore.c (__sbrk): Likewise.
24459 (__default_morecore): Likewise.
24460
5cc45e10
JM
24461 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24462
dd54b864
JM
24463 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24464 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24465 __malloc_ptrdiff_t.
24466
1ba4f030
JM
24467 * malloc/malloc.h (__malloc_size_t): Remove macro.
24468 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24469 __malloc_size_t.
24470 (old_memalign_hook): Likewise.
24471 (old_realloc_hook): Likewise.
24472 (struct hdr): Likewise.
24473 (flood): Likewise.
24474 (mallochook): Likewise.
24475 (memalignhook): Likewise.
24476 (reallochook): Likewise.
24477 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24478 (tr_old_realloc_hook): Likewise.
24479 (tr_old_memalign_hook): Likewise.
24480 (tr_mallochook): Likewise.
24481 (tr_reallochook): Likewise.
24482 (tr_memalignhook): Likewise.
24483
edf66e57
AZ
244842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24485
24486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24487 default_ldbl_pack and using as default implementation.
24488 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24489 implementation.
24490 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24491 redundant definition.
24492 (ldbl_insert_mantissa): Likewise.
24493 (ldbl_canonicalize): Likewise.
24494 (ldbl_nearbyint): Likewise.
24495 (ldbl_pack): Rename to ldbl_pack_ppc.
24496 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24497 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24498 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24499
6d9145d8
SP
245002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24501
24502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24503 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24505 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24508 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24509 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24510
4dd4e157
AJ
245112013-03-07 Andreas Jaeger <aj@suse.de>
24512
24513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24514 bits/mman-linux.h.
24515
adbb8027
SP
245162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24517
ce544b5b
SP
24518 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24519 Include mpa.h and declare __MPEXP.
24520 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24522 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24525 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24527
4cc149fd
SP
24528 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24529 (__slowpow): Use long double EXPL and LOGL functions to
24530 compute POW.
24531 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24532 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24535 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24537
e6ebd4a7
SP
24538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24539 intermediate variable to calculate exponent.
24540 (__sqr): Likewise.
24541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24542 Likewise.
24543 (__sqr): Likewise.
24544
82a9811d
SP
24545 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24546 [!NO__SQR]: Define __sqr.
24547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24548 and NO__SQR. Remove all code except __mul and __sqr. Include
24549 sysdeps/ieee754/dbl-64/mpa.c.
24550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24551
adbb8027
SP
24552 [BZ #12723]
24553 * posix/Makefile (tests): Add tst-pathconf.
24554 * posix/tst-pathconf.c: New test case.
24555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24556 _PC_PIPE_BUF.
24557 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24558
39120df9
PF
245592013-03-06 Patsy Franklin <pfrankli@redhat.com>
24560
24561 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24562
67525cb8
AJ
245632013-03-06 Andreas Jaeger <aj@suse.de>
24564
664a9ce4
AJ
24565 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24566 definition via __MAP_ANONYMOUS.
24567
8e39047d
AJ
24568 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24569 it's not part of Linux headers.
24570
67525cb8
AJ
24571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24572 (MAP_HUGE_MASK): Define.
24573
24574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24575 Define.
24576 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24578 Define.
24579 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24580 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24581 Define.
24582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24584 Define.
24585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24586
24587 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24588 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24590 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24591 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24593
24594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24595 Handle f2fs.
24596
24597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24598 Handle f2fs and efivarfs.
24599
24600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24601 f2fs.
24602
24603 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24604 (EFIVARFS_MAGIC): Add.
24605 (F2FS_LINK_MAX): Add.
24606
e1b42695
PP
246072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24608
24609 * stdio-common/vfprintf.c: Replace __builtin_expect with
24610 __glibc_unlikely.
24611
2d67d91a
JM
246122013-03-06 Joseph Myers <joseph@codesourcery.com>
24613
24614 [BZ #13550]
24615 * sysdeps/generic/bp-sym.h: Remove file.
24616 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24617 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24618 <bp-sym.h> and <bp-asm.h>.
24619 (__longjmp): Don't use BP_SYM.
24620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24621 and <bp-asm.h>.
24622 (memcpy): Don't use BP_SYM.
24623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24624 <bp-sym.h> and <bp-asm.h>.
24625 (memcpy): Don't use BP_SYM.
24626 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24627 <bp-asm.h>.
24628 (memcpy): Don't use BP_SYM.
24629 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24630 <bp-asm.h>.
24631 (memset): Don't use BP_SYM.
24632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24634 (__bzero): Don't use BP_SYM.
24635 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24636 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24637 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24638 <bp-sym.h> and <bp-asm.h>.
24639 (memcmp): Don't use BP_SYM. Remove comment about bounded
24640 pointers.
24641 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24642 <bp-sym.h> and <bp-asm.h>.
24643 (memcpy): Don't use BP_SYM.
24644 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24645 <bp-sym.h> and <bp-asm.h>.
24646 (memset): Don't use BP_SYM.
24647 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24648 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24649 (__bzero): Don't use BP_SYM.
24650 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24651 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24653 <bp-sym.h> and <bp-asm.h>.
24654 (strncmp): Don't use BP_SYM. Remove comment about bounded
24655 pointers.
24656 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24657 <bp-sym.h> and <bp-asm.h>.
24658 (memcpy): Don't use BP_SYM.
24659 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24660 <bp-sym.h> and <bp-asm.h>.
24661 (memset): Don't use BP_SYM.
24662 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24663 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24664 (__bzero): Don't use BP_SYM.
24665 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24666 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24668 <bp-sym.h> and <bp-asm.h>.
24669 (__memchr): Don't use BP_SYM.
24670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24671 <bp-sym.h> and <bp-asm.h>.
24672 (memcmp): Don't use BP_SYM. Remove comment about bounded
24673 pointers.
24674 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24675 <bp-sym.h> and <bp-asm.h>.
24676 (memcpy): Don't use BP_SYM.
24677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24678 <bp-sym.h> and <bp-asm.h>.
24679 (__mempcpy): Don't use BP_SYM.
24680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24681 <bp-sym.h> and <bp-asm.h>.
24682 (__memrchr): Don't use BP_SYM.
24683 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24684 <bp-sym.h> and <bp-asm.h>.
24685 (memset): Don't use BP_SYM.
24686 (__bzero): Likewise.
24687 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24688 <bp-sym.h> and <bp-asm.h>.
24689 (__rawmemchr): Don't use BP_SYM.
24690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24691 <bp-sym.h> and <bp-asm.h>.
24692 (__STRCMP): Don't use BP_SYM.
24693 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24694 <bp-sym.h> and <bp-asm.h>.
24695 (strchr): Don't use BP_SYM.
24696 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24697 <bp-sym.h> and <bp-asm.h>.
24698 (__strchrnul): Don't use BP_SYM.
24699 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24700 <bp-sym.h> and <bp-asm.h>.
24701 (strlen): Don't use BP_SYM.
24702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24703 <bp-sym.h> and <bp-asm.h>.
24704 (strncmp): Don't use BP_SYM. Remove comment about bounded
24705 pointers.
24706 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24707 <bp-sym.h> and <bp-asm.h>.
24708 (__strnlen): Don't use BP_SYM.
24709 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24710 <bp-sym.h> and <bp-asm.h>.
24711 (__GI__setjmp): Don't use BP_SYM.
24712 (_setjmp): Likewise.
24713 (__sigsetjmp): Likewise.
24714 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24715 (L(start_addresses)): Don't use BP_SYM.
24716 (_start): Likewise.
24717 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24718 <bp-asm.h>.
24719 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24720 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24721 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24722 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24723 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24724 <bp-asm.h>.
24725 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24726 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24727 about bounded pointers.
24728 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24729 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24730 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24731 <bp-asm.h>.
24732 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24733 about bounded pointers. Remove GKM FIXME comments.
24734 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24735 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24736 <bp-asm.h>.
24737 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24738 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24739 Remove GKM FIXME comments.
24740 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24741 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24742 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24743 <bp-asm.h>.
24744 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24745 about bounded pointers. Remove GKM FIXME comment.
24746 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24747 and <bp-asm.h>.
24748 (strncmp): Don't use BP_SYM. Remove comment about bounded
24749 pointers.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24751 <bp-sym.h> and <bp-asm.h>.
24752 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24754 <bp-sym.h> and <bp-asm.h>.
24755 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24756 comment.
24757
cdcf361f
PP
247582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24759
24760 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24761 call free(NULL).
24762
3c4a2b15
DM
247632013-03-05 David S. Miller <davem@davemloft.net>
24764
24765 * po/es.po: Update from translation team.
24766
cdcf361f 247672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24768
24769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24770 <bits/mman-linux.h>.
24771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24772 is fine.
24773 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24774 <bits/mman-linux.h> to end of file.
24775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24776 is fine.
24777 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24778 <bits/mman-linux.h> to end of file.
24779 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24780 is fine.
24781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24782 <bits/mman-linux.h> to end of file.
24783
24784 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24785 (MCL_CURRENT, MCL_FUTURE): Define here.
24786
5f67c04f
AK
247872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24788
8a4473cc 24789 [BZ #15232]
5f67c04f
AK
24790 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24791 attribute_hidden.
24792 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24793
c3e94a95
AK
247942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24795
24796 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24797 fourth parameter needed for rt_sigprocmask syscall.
24798 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24799 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24800 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24801 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24802 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24803 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24804
cfb6382a
JM
248052013-03-04 Joseph Myers <joseph@codesourcery.com>
24806
24807 [BZ #13550]
24808 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24809 comment about bounded pointers.
24810 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24811 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24812
539d8e01
AJ
248132013-03-04 Andreas Jaeger <aj@suse.de>
24814
24815 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24816 common definitions.
24817
24818 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24819 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24820 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24821 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24824
2e167a70 248252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24826
24827 [BZ #15055]
24828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24829 __ieee754_sqrl instead of __sqrl.
24830
68508633
JM
248312013-03-01 Joseph Myers <joseph@codesourcery.com>
24832
24833 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24834 * sysdeps/powerpc/fpu_control.h: ... here.
24835 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24836 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24837 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24838 * sysdeps/powerpc/bits/mathinline.h: ... here.
24839
7775448e
RM
248402013-03-01 Roland McGrath <roland@hack.frob.com>
24841
24842 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24843 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24844 to just [NEED_DL_SYSINFO_DSO].
24845 * elf/dl-support.c: Likewise.
24846 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24847 * elf/rtld.c (dl_main): Likewise.
24848 * elf/setup-vdso.h (setup_vdso): Likewise.
24849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24850 * sysdeps/unix/sysv/linux/dl-sysdep.c
24851 (_dl_discover_osversion): Likewise.
24852
4e9b5995
CD
248532013-03-01 Carlos O'Donell <carlos@redhat.com>
24854
24855 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24856 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24857
e23872c8
SP
248582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24859
e5c74c63
SP
24860 * NEWS: Mention libm performance improvements and non-x86 PI
24861 futex support.
24862
e23872c8
SP
24863 * csu/libc-start.c (__pthread_initialize_minimal): Change
24864 function arguments.
24865 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24866
b5510883
JM
248672013-02-28 Joseph Myers <joseph@codesourcery.com>
24868
24869 [BZ #13550]
24870 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24871 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24872 <bp-sym.h> and <bp-asm.h>.
24873 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24875 and <bp-asm.h>.
24876 (memcpy): Don't use BP_SYM.
24877 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24878 <bp-asm.h>.
24879 (__mpn_add_n): Don't use BP_SYM.
24880 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24881 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24882 and <bp-asm.h>.
24883 (__mpn_addmul_1): Don't use BP_SYM.
24884 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24885 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24886 <bp-sym.h>.
24887 (_setjmp): Don't use BP_SYM.
24888 (__novmx_setjmp): Likewise.
24889 (__GI__setjmp): Likewise.
24890 (__vmx_setjmp): Likewise.
24891 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24892 <bp-sym.h>.
24893 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24894 (__bzero): Don't use BP_SYM.
24895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24897 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24898 <bp-sym.h> and <bp-asm.h>.
24899 (memcpy): Don't use BP_SYM.
24900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24901 <bp-sym.h> and <bp-asm.h>.
24902 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24903 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24904 <bp-sym.h> and <bp-asm.h>.
24905 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24906 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24907 <bp-asm.h>.
24908 (__mpn_lshift): Don't use BP_SYM.
24909 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24910 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24911 <bp-asm.h>.
24912 (memset): Don't use BP_SYM.
24913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24915 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24916 <bp-asm.h>.
24917 (__mpn_mul_1): Don't use BP_SYM.
24918 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24920 <bp-sym.h> and <bp-asm.h>.
24921 (memcmp): Don't use BP_SYM.
24922 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24923 <bp-sym.h> and <bp-asm.h>.
24924 (memcpy): Don't use BP_SYM.
24925 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24926 <bp-sym.h> and <bp-asm.h>.
24927 (memset): Don't use BP_SYM.
24928 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24929 <bp-sym.h> and <bp-asm.h>.
24930 (strncmp): Don't use BP_SYM.
24931 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24932 <bp-sym.h> and <bp-asm.h>.
24933 (memcpy): Don't use BP_SYM.
24934 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24935 <bp-sym.h> and <bp-asm.h>.
24936 (memset): Don't use BP_SYM.
24937 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24938 <bp-sym.h> and <bp-asm.h>.
24939 (__memchr): Don't use BP_SYM.
24940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24941 <bp-sym.h> and <bp-asm.h>.
24942 (memcmp): Don't use BP_SYM.
24943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24944 <bp-sym.h> and <bp-asm.h>.
24945 (memcpy): Don't use BP_SYM.
24946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24947 <bp-sym.h> and <bp-asm.h>.
24948 (__mempcpy): Don't use BP_SYM.
24949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24950 <bp-sym.h> and <bp-asm.h>.
24951 (__memrchr): Don't use BP_SYM.
24952 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24953 <bp-sym.h> and <bp-asm.h>.
24954 (memset): Don't use BP_SYM.
24955 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24956 <bp-sym.h> and <bp-asm.h>.
24957 (__rawmemchr): Don't use BP_SYM.
24958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24959 <bp-sym.h> and <bp-asm.h>.
24960 (__STRCMP): Don't use BP_SYM.
24961 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24962 <bp-sym.h> and <bp-asm.h>.
24963 (strchr): Don't use BP_SYM.
24964 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24965 <bp-sym.h> and <bp-asm.h>.
24966 (__strchrnul): Don't use BP_SYM.
24967 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24968 <bp-sym.h> and <bp-asm.h>.
24969 (strlen): Don't use BP_SYM.
24970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24971 <bp-sym.h> and <bp-asm.h>.
24972 (strncmp): Don't use BP_SYM.
24973 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24974 <bp-sym.h> and <bp-asm.h>.
24975 (__strnlen): Don't use BP_SYM.
24976 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24977 <bp-asm.h>.
24978 (__mpn_rshift): Don't use BP_SYM.
24979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24980 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24981 <bp-sym.h> and <bp-asm.h>.
24982 (__sigsetjmp): Don't use BP_SYM.
24983 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24984 (L(start_addresses)): Don't use BP_SYM.
24985 (_start): Likewise.
24986 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24987 <bp-asm.h>.
24988 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24989 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24990 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24991 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24992 <bp-asm.h>.
24993 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24994 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24995 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24996 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24997 <bp-asm.h>.
24998 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24999 comments.
25000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25001 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25002 <bp-asm.h>.
25003 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25004 FIXME comments.
25005 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25006 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25007 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25008 <bp-asm.h>.
25009 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25010 comment.
25011 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25012 and <bp-asm.h>.
25013 (strncmp): Don't use BP_SYM,
25014 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25015 <bp-asm.h>.
25016 (__mpn_sub_n): Don't use BP_SYM.
25017 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25018 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25019 and <bp-asm.h>.
25020 (__mpn_submul_1): Don't use BP_SYM.
25021 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25023 <bp-sym.h> and <bp-asm.h>.
25024 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25026 <bp-sym.h> and <bp-asm.h>.
25027 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25028 comment.
25029
8d19fe64
SP
250302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25031
25032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25033 Use ZK to minimize writes to Z.
25034 (sub_magnitudes): Simplify code a bit.
25035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25036 Use ZK to minimize writes to Z.
25037 (sub_magnitudes): Simplify code a bit.
25038
85bd816a
RM
250392013-02-27 Roland McGrath <roland@hack.frob.com>
25040
25041 * csu/gmon-start.c: Add special exception to license text.
25042
b5977bf2
RH
250432013-02-27 Richard Henderson <rth@redhat.com>
25044
25045 * scripts/config.guess: Update from config.git.
25046 * scripts/config.sub: Likewise.
25047
11d6e2f2
SP
250482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25049
09c14ed2
SP
25050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25051
a688864e
SP
25052 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25053
6295157a
SP
25054 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25055
b8de2202
SP
25056 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25057
11d6e2f2
SP
25058 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25059
7e80ddb8
RM
250602013-02-26 Roland McGrath <roland@hack.frob.com>
25061
25062 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25063 [$(build-shared = yes].
7e80ddb8 25064
7da6d9ed
SP
250652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25066
45f05884
SP
25067 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25068 (__mul): Reduce iterations for calculating mantissa.
25069
2236d359
SP
25070 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25071 MPTWO.
25072 (__mpranred): Likewise.
25073
7da6d9ed
SP
25074 [BZ #15160]
25075 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25076 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25077
b7688c42
PE
250782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25079
25080 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25081 Define __attribute__.
25082
53a5c423
SP
250832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25084
25085 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25086 unused.
25087 * posix/regex_internal.h (__attribute): Remove.
25088 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25089 (re_string_context_at): Likewise.
25090 (bitset_not): Use __attribute__ and mark function as possibly
25091 unused.
25092 (bitset_merge): Likewise.
25093 (bitset_mask): Likewise.
25094 (re_string_char_size_at): Likewise.
25095 (re_string_wchar_at): Likewise.
25096 (re_string_elem_size_at): Likewise.
25097
60f5a8b5
SP
250982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25099
2a983a2e
SP
25100 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25101 code.
25102 (cc32): Likewise.
25103
e69804d1
SP
25104 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25105 (__acr): Likewise.
25106 (__cpy): Likewise.
25107 (norm): Likewise.
25108 (denorm): Likewise.
25109 (__dbl_mp): Likewise.
25110 (add_magnitudes): Likewise.
25111 (sub_magnitudes): Likewise.
25112 (__mul): Likewise.
25113 (__inv): Likewise.
25114
2f22a1e8
SP
25115 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25116 style.
25117
8930ddc7
SP
25118 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25119 style.
25120
dc60cb11
SP
25121 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25122 code.
25123
60f5a8b5
SP
25124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25125 up changes with default code.
25126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25127 Likewise.
25128
b4d1fd33
AM
251292013-02-24 Allan McRae <allan@archlinux.org>
25130
faf6f8bc
AM
25131 * manual/socket.texi (The Internet Namespace): Order menu items
25132 to match that in the file.
25133
b4d1fd33
AM
25134 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25135 node listing of the info page menu.
25136
2366713d
JM
251372013-02-21 Joseph Myers <joseph@codesourcery.com>
25138
25139 [BZ #13550]
25140 * sysdeps/i386/bp-asm.h: Remove file.
25141 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25142 (PARMS): Do not use macros from bp-asm.h.
25143 (S1): Likewise.
25144 (S2): Likewise.
25145 (SIZE): Likewise.
25146 (__mpn_add_n): Do not use BP_SYM
25147 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25148 "bp-asm.h".
25149 (PARMS): Do not use macros from bp-asm.h.
25150 (S1): Likewise.
25151 (SIZE): Likewise.
25152 (__mpn_addmul_1): Do not use BP_SYM
25153 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25154 "bp-asm.h".
25155 (PARMS): Do not use macros from bp-asm.h.
25156 (SIGMSK): Likewise.
25157 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
25164 "bp-asm.h".
25165 (PARMS): Do not use macros from bp-asm.h.
25166 (__frexp): Do not use BP_SYM.
25167 (frexp): Likewise.
25168 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25169 "bp-asm.h".
25170 (PARMS): Do not use macros from bp-asm.h.
25171 (__frexpf): Do not use BP_SYM.
25172 (frexpf): Likewise.
25173 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25174 "bp-asm.h".
25175 (PARMS): Do not use macros from bp-asm.h.
25176 (__frexpl): Do not use BP_SYM.
25177 (frexpl): Likewise.
25178 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25179 "bp-asm.h".
25180 (PARMS): Do not use macros from bp-asm.h.
25181 (__remquo): Do not use BP_SYM.
25182 (remquo): Likewise.
25183 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25184 "bp-asm.h".
25185 (PARMS): Do not use macros from bp-asm.h.
25186 (__remquof): Do not use BP_SYM.
25187 (remquof): Likewise.
25188 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25189 "bp-asm.h".
25190 (PARMS): Do not use macros from bp-asm.h.
25191 (__remquol): Do not use BP_SYM.
25192 (remquol): Likewise.
25193 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25194 "bp-asm.h".
25195 (PARMS): Do not use macros from bp-asm.h.
25196 (DEST): Likewise.
25197 (SRC): Likewise.
25198 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25199 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25200 "bp-asm.h".
25201 (PARMS): Do not use macros from bp-asm.h.
25202 (strlen): Do not use BP_SYM.
25203 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25204 "bp-asm.h".
25205 (PARMS): Do not use macros from bp-asm.h.
25206 (S1): Likewise.
25207 (S2): Likewise.
25208 (SIZE): Likewise.
25209 (__mpn_add_n): Do not use BP_SYM.
25210 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25211 "bp-asm.h".
25212 (PARMS): Do not use macros from bp-asm.h.
25213 (S1): Likewise.
25214 (SIZE): Likewise.
25215 (__mpn_addmul_1): Do not use BP_SYM.
25216 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25217 weak_alias.
25218 (bzero): Likewise.
25219 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25220 "bp-asm.h".
25221 (PARMS): Do not use macros from bp-asm.h.
25222 (S): Likewise.
25223 (SIZE): Likewise.
25224 (__mpn_lshift): Do not use BP_SYM.
25225 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25226 "bp-asm.h".
25227 (PARMS): Do not use macros from bp-asm.h.
25228 (DEST): Likewise.
25229 (SRC): Likewise.
25230 (LEN): Likewise.
25231 (memcpy): Likewise. Do not use BP_SYM.
25232 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25233 libc_hidden_def and weak_alias.
25234 (mempcpy): Do not use BP_SYM in weak_alias.
25235 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25236 "bp-asm.h".
25237 (PARMS): Do not use macros from bp-asm.h.
25238 (DEST): Likewise.
25239 (LEN): Likewise.
25240 [!BZERO_P] (CHR): Likewise.
25241 (memset): Likewise. Do not use BP_SYM.
25242 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25243 "bp-asm.h".
25244 (PARMS): Do not use macros from bp-asm.h.
25245 (S1): Likewise.
25246 (SIZE): Likewise.
25247 (__mpn_mul_1): Do not use BP_SYM.
25248 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25249 "bp-asm.h".
25250 (PARMS): Do not use macros from bp-asm.h.
25251 (S): Likewise.
25252 (SIZE): Likewise.
25253 (__mpn_rshift): Do not use BP_SYM.
25254 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25255 "bp-asm.h".
25256 (PARMS): Do not use macros from bp-asm.h.
25257 (STR): Likewise.
25258 (CHR): Likewise.
25259 (strchr): Likewise. Do not use BP_SYM.
25260 (index): Do not use BP_SYM in weak_alias.
25261 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25262 "bp-asm.h".
25263 (PARMS): Do not use macros from bp-asm.h.
25264 (DEST): Likewise.
25265 (SRC): Likewise.
25266 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25267 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25268 "bp-asm.h".
25269 (PARMS): Do not use macros from bp-asm.h.
25270 (strlen): Do not use BP_SYM.
25271 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25272 "bp-asm.h".
25273 (PARMS): Do not use macros from bp-asm.h.
25274 (S1): Likewise.
25275 (S2): Likewise.
25276 (SIZE): Likewise.
25277 (__mpn_sub_n): Do not use BP_SYM.
25278 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25279 "bp-asm.h".
25280 (PARMS): Do not use macros from bp-asm.h.
25281 (S1): Likewise.
25282 (SIZE): Likewise.
25283 (__mpn_submul_1): Do not use BP_SYM.
25284 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25285 "bp-asm.h".
25286 (PARMS): Do not use macros from bp-asm.h.
25287 (S1): Likewise.
25288 (S2): Likewise.
25289 (SIZE): Likewise.
25290 (__mpn_add_n): Do not use BP_SYM.
25291 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25292 weak_alias.
25293 (bzero): Likewise.
25294 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25295 "bp-asm.h".
25296 (PARMS): Do not use macros from bp-asm.h.
25297 (BLK2): Likewise.
25298 (LEN): Likewise.
25299 (memcmp): Do not use BP_SYM.
25300 (bcmp): Do not use BP_SYM in weak_alias.
25301 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25302 "bp-asm.h".
25303 (PARMS): Do not use macros from bp-asm.h.
25304 (DEST): Likewise.
25305 (SRC): Likewise.
25306 (LEN): Likewise.
25307 (memcpy): Likewise. Do not use BP_SYM.
25308 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25309 "bp-asm.h".
25310 (PARMS): Do not use macros from bp-asm.h.
25311 (DEST): Likewise.
25312 (SRC): Likewise.
25313 (LEN): Likewise.
25314 (memmove): Likewise. Do not use BP_SYM.
25315 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25316 "bp-asm.h".
25317 (PARMS): Do not use macros from bp-asm.h.
25318 (DEST): Likewise.
25319 (SRC): Likewise.
25320 (LEN): Likewise.
25321 (__mempcpy): Likewise. Do not use BP_SYM.
25322 (mempcpy): Do not use BP_SYM in weak_alias.
25323 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25324 "bp-asm.h".
25325 (PARMS): Do not use macros from bp-asm.h.
25326 (DEST): Likewise.
25327 (LEN): Likewise.
25328 [!BZERO_P] (CHR): Likewise.
25329 (memset): Likewise. Do not use BP_SYM.
25330 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25331 "bp-asm.h".
25332 (PARMS): Do not use macros from bp-asm.h.
25333 (STR2): Likewise.
25334 (strcmp): Do not use BP_SYM.
25335 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25336 "bp-asm.h".
25337 (PARMS): Do not use macros from bp-asm.h.
25338 (STR): Likewise.
25339 (DELIM): Likewise.
25340 [USE_AS_STRTOK_R] (SAVE): Likewise.
25341 (FUNCTION): Likewise. Do not use BP_SYM.
25342 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25343 aliases.
25344 (strtok_r): Likewise.
25345 (__GI___strtok_r): Likewise.
25346 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25347 (PARMS): Do not use macros from bp-asm.h.
25348 (S): Likewise.
25349 (SIZE): Likewise.
25350 (__mpn_lshift): Do not use BP_SYM.
25351 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25352 (PARMS): Do not use macros from bp-asm.h.
25353 (STR): Likewise.
25354 (CHR): Likewise.
25355 (__memchr): Do not use BP_SYM.
25356 (memchr): Do not use BP_SYM in weak_alias.
25357 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25358 (PARMS): Do not use macros from bp-asm.h.
25359 (BLK2): Likewise.
25360 (LEN): Likewise.
25361 (memcmp): Do not use BP_SYM.
25362 (bcmp): Do not use BP_SYM in weak_alias.
25363 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25364 (PARMS): Do not use macros from bp-asm.h.
25365 (S1): Likewise.
25366 (SIZE): Likewise.
25367 (__mpn_mul_1): Do not use BP_SYM.
25368 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25369 "bp-asm.h".
25370 (PARMS): Do not use macros from bp-asm.h.
25371 (STR): Likewise.
25372 (CHR): Likewise.
25373 (__rawmemchr): Do not use BP_SYM.
25374 (rawmemchr): Do not use BP_SYM in weak_alias.
25375 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25376 (PARMS): Do not use macros from bp-asm.h.
25377 (S): Likewise.
25378 (SIZE): Likewise.
25379 (__mpn_rshift): Do not use BP_SYM.
25380 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25381 (PARMS): Do not use macros from bp-asm.h.
25382 (SIGMSK): Likewise.
25383 (__sigsetjmp): Likewise. Do not use BP_SYM.
25384 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25385 (_start): Do not use BP_SYM.
25386 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25387 (PARMS): Do not use macros from bp-asm.h.
25388 (DEST): Likewise.
25389 (SRC): Likewise.
25390 (__stpcpy): Likewise. Do not use BP_SYM.
25391 (stpcpy): Do not use BP_SYM in weak_alias.
25392 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25393 "bp-asm.h".
25394 (PARMS): Do not use macros from bp-asm.h.
25395 (DEST): Likewise.
25396 (SRC): Likewise.
25397 (LEN): Likewise.
25398 (__stpncpy): Likewise. Do not use BP_SYM.
25399 (stpncpy): Do not use BP_SYM in weak_alias.
25400 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25401 (PARMS): Do not use macros from bp-asm.h.
25402 (STR): Likewise.
25403 (CHR): Likewise.
25404 (strchr): Likewise. Do not use BP_SYM.
25405 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25406 "bp-asm.h".
25407 (PARMS): Do not use macros from bp-asm.h.
25408 (STR): Likewise.
25409 (CHR): Likewise.
25410 (__strchrnul): Likewise. Do not use BP_SYM.
25411 (strchrnul): Do not use BP_SYM in weak_alias.
25412 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25413 "bp-asm.h".
25414 (PARMS): Do not use macros from bp-asm.h.
25415 (STOP): Likewise.
25416 (strcspn): Do not use BP_SYM.
25417 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25418 "bp-asm.h".
25419 (PARMS): Do not use macros from bp-asm.h.
25420 (STR): Likewise.
25421 (STOP): Likewise.
25422 (strpbrk): Likewise. Do not use BP_SYM.
25423 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25424 "bp-asm.h".
25425 (PARMS): Do not use macros from bp-asm.h.
25426 (STR): Likewise.
25427 (CHR): Likewise.
25428 (strrchr): Likewise. Do not use BP_SYM.
25429 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25430 (PARMS): Do not use macros from bp-asm.h.
25431 (SKIP): Likewise.
25432 (strspn): Do not use BP_SYM.
25433 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25434 (PARMS): Do not use macros from bp-asm.h.
25435 (STR): Likewise.
25436 (DELIM): Likewise.
25437 (SAVE): Likewise.
25438 (FUNCTION): Likewise. Do not use BP_SYM.
25439 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25440 aliases.
25441 (strtok_r): Likewise.
25442 (__GI___strtok_r): Likewise.
25443 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25444 (PARMS): Do not use macros from bp-asm.h.
25445 (S1): Likewise.
25446 (S2): Likewise.
25447 (SIZE): Likewise.
25448 (__mpn_sub_n): Do not use BP_SYM.
25449 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25450 "bp-asm.h".
25451 (PARMS): Do not use macros from bp-asm.h.
25452 (S1): Likewise.
25453 (SIZE): Likewise.
25454 (__mpn_submul_1): Do not use BP_SYM.
25455 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25456 <bp-sym.h>.
25457 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25458 and <bp-asm.h>.
25459 (PARMS): Do not use macros from bp-asm.h.
25460 (FLAGS): Likewise.
25461 (PTID): Likewise.
25462 (TLS): Likewise.
25463 (CTID): Likewise.
25464 (__clone): Do not use BP_SYM.
25465 (clone): Do not use BP_SYM in weak_alias.
25466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25467 and <bp-asm.h>.
25468 (PARMS): Do not use macros from bp-asm.h.
25469 (LEN): Likewise.
25470 (__mmap64): Do not use BP_SYM.
25471 (mmap64): Do not use BP_SYM in weak_alias.
25472 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25473 <bp-sym.h> and <bp-asm.h>.
25474 (PARMS): Do not use macros from bp-asm.h.
25475 (__posix_fadvise64_l64): Do not use BP_SYM.
25476 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25477 (PARMS): Do not use macros from bp-asm.h.
25478 (NSOPS): Likewise.
25479 (semtimedop): Do not use BP_SYM.
25480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25481 and <bp-asm.h>.
25482
582a3cff
AM
254832013-02-21 Allan McRae <allan@archlinux.org>
25484
25485 * manual/message.texi (Charset conversion in gettext):
25486 Move @end statement to beginning of line.
25487
bab8a695
SP
254882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25489
80945231
SP
25490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25491 static.
25492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25493 Likewise.
25494
bab8a695
SP
25495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25496 (denorm): Likewise.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25499
e21d7aa7
AK
255002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25501
25502 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25503 tail-call to the resolved function if pltexit isn't needed.
25504
4c7a4263
SP
255052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25506
25507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25508 or Y being zero as being unlikely.
25509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25510 Likewise.
25511
41f49342
CD
255122013-02-20 Carlos O'Donell <carlos@redhat.com>
25513
25514 * manual/nss.texi (System Databases and Name Service Switch):
25515 Remove frobnicate @pxref.
25516
50022a93
TS
255172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25518
25519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25520 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25521
08cbd996
PM
255222013-02-20 Petr Machata <pmachata@redhat.com>
25523
25524 * elf/elf.h (R_ARM_TARGET1): New macro.
25525 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25526 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25527 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25528 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25529 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25530 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25531 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25532 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25533 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25534 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25535 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25536 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25537 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25538 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25539 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25540 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25541 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25542 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25543 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25544 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25545 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25546 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25547 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25548 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25549 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25550 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25551 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25552 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25553 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25554 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25555 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25556 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25557 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25558 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25559 (R_ARM_THM_GOT_BREL12): Likewise.
25560 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25561 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25562 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25563 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25564 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25565 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25566 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25567 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25568 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25569
c7b275d6
TS
255702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25571
25572 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25573 __attribute_used__ to __attribute__ ((unused)).
25574
20cd7fb3
SP
255752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25576
25577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25578 powerpc mpa.c.
25579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25580 comment formatting.
25581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25582
92945b52
JM
255832013-02-19 Joseph Myers <joseph@codesourcery.com>
25584
25585 [BZ #13550]
25586 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25587 Remove macro.
25588 (ENTER): Remove both macro definitions.
25589 (LEAVE): Likewise.
25590 (CHECK_BOUNDS_LOW): Likewise.
25591 (CHECK_BOUNDS_HIGH): Likewise.
25592 (CHECK_BOUNDS_BOTH): Likewise.
25593 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25594 (RETURN_BOUNDED_POINTER): Likewise.
25595 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25596 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25597 (POP_ERRNO_LOCATION_RETURN): Likewise.
25598 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25599 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25600 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25601 macros.
25602 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25603 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25604 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25605 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25606 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25607 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25608 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25609 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25610 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25611 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25612 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25613 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25614 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25615 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25616 removed macros.
25617 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25618 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25619 macros.
25620 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25621 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25622 * sysdeps/i386/i586/memset.S (memset): Likewise.
25623 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25625 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25626 macros.
25627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25628 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25629 Change uses of L(2) to L(out).
25630 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25631 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25632 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25633 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25634 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25635 removed macros.
25636 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25637 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25638 macros.
25639 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25640 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25641 (RETURN): Do not use macro LEAVE.
25642 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25643 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25644 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25645 * sysdeps/i386/i686/memset.S (memset): Likewise.
25646 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25647 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25648 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25649 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25650 Likewise.
25651 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25652 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25653 L(1_2) and L(1_3) into L(1).
25654 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25655 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25657 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25658 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25659 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25660 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25661 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25662 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25663 macros.
25664 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25665 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25666 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25667 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25668 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25669 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25670 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25671 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25672 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25673 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25674 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25675 * sysdeps/i386/strspn.S (strspn): Likewise.
25676 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25677 conditional code.
25678 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25679 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25680 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25681 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25682 L(1_3) into L(1_1).
25683 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25684 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25685 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25686 macros.
25687 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25688
2389741a
JJ
256892013-02-19 Jakub Jelinek <jakub@redhat.com>
25690
25691 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25692 macro.
25693
2016b3cd
SP
256942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25695
e4f22324
SP
25696 * math/atest-exp.c (exp_mpn): Remove ROUND.
25697 * math/atest-exp2.c (exp_mpn): Likewise.
25698 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25699
2016b3cd
SP
25700 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25701 * stdlib/tst-tls-atexit-lib.c: Likewise.
25702 * stdlib/tst-tls-atexit.c: Likewise.
25703
4be9b544
MF
257042013-02-18 Mike Frysinger <vapier@gentoo.org>
25705
25706 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25707 and __attribute_alloc_size__.
25708
2f62b9ee
MF
257092013-02-18 Mike Frysinger <vapier@gentoo.org>
25710
25711 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25712 __attribute_alloc_size__.
25713 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25714 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25715
6ff444c4
MF
257162013-02-18 Mike Frysinger <vapier@gentoo.org>
25717
25718 * include/programs/xmalloc.h: New file.
25719 * catgets/gencat.c: Include it.
25720 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25721 * elf/pldd.c: Likewise.
25722 * iconv/iconv_charmap.c: Likewise.
25723 * iconv/iconvconfig.c: Likewise.
25724 * iconv/strtab.c: Likewise.
25725 * locale/programs/locale.c: Likewise.
25726 * locale/programs/localedef.h: Likewise.
25727 * locale/programs/simple-hash.c: Likewise.
25728 * nscd/nscd.h: Likewise.
25729 * nss/makedb.c: Likewise.
25730 * sysdeps/generic/ldconfig.h: Likewise.
25731
be179c8a
SP
257322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25733
ba384f6e
SP
25734 * Versions.def: Add GLIBC_2.18.
25735 * include/link.h (struct link_map): New member l_tls_dtor_count.
25736 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25737 (__call_tls_dtors): Likewise.
25738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25739 __cxa_thread_atexit_impl.
25740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25741 Likewise.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25743 Likewise.
25744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25745 Likewise.
25746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25747 Likewise.
25748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25750 Likewise.
25751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25752 Likewise.
25753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25755 Likewise.
25756 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25757 (tests): Add test case tst-tls-atexit.
25758 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25759 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25760 (GLIBC_PRIVATE): Add __call_tls_dtors.
25761 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25762 for libstdc++.
25763 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25764 * stdlib/tst-tls-atexit.c: New test case.
25765 * stdlib/tst-tls-atexit-lib.c: New test case.
25766
ffaa74cf 25767 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25768
be179c8a
SP
25769 * elf/Versions (ld): Add _dl_find_dso_for_object.
25770 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25771 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25772 (dl_open_worker): Use _dl_find_dso_for_object.
25773 * elf/dl-sym.c (do_sym): Likewise.
25774 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25775
f78b5caa
AK
257762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25777
25778 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25779 Syntactic changes only.
25780 (_dl_runtime_profile): Do a tail-call to the resolved function.
25781
29691210
JM
257822013-02-17 Joseph Myers <joseph@codesourcery.com>
25783
25784 [BZ #13550]
25785 * sysdeps/x86_64/bp-asm.h: Remove file.
25786 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25787 <bp-sym.h> and <bp-asm.h>.
25788 (__clone): Do not use BP_SYM.
25789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25790 <bp-sym.h> and <bp-asm.h>.
25791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25792 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25793 "bp-asm.h".
25794 (_setjmp): Do not use BP_SYM.
25795 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25796 "bp-asm.h".
25797 (setjmp): Do not use BP_SYM.
25798 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25799 libc_hidden_def.
25800 (mempcpy): Do not use BP_SYM in weak_alias.
25801 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25802 "bp-asm.h".
25803 (strchr): Do not use BP_SYM.
25804 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25805 "bp-asm.h".
25806 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25807 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25808 (_start): Do not use BP_SYM.
25809 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25810 "bp-asm.h".
25811 (strcat): Do not use BP_SYM.
25812 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25813 "bp-asm.h".
25814 (STRCMP): Do not use BP_SYM.
25815 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25816 "bp-asm.h".
25817 (STRCPY): Do not use BP_SYM.
25818 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25819 "bp-asm.h".
25820 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25821 "bp-asm.h".
25822 (FUNCTION): Do not use BP_SYM.
25823 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25824 weak_alias.
25825 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25826
f238fd19
AJ
258272013-02-17 Andreas Jaeger <aj@suse.de>
25828
25829 * time/Versions: Sort entries.
25830 * string/Versions: Likewise.
25831 * resolv/Versions: Likewise.
25832 * posix/Versions: Likewise.
25833 * iconv/Versions: Likewise.
25834 * elf/Versions: Likewise.
25835 * wcsmbs/Versions: Likewise.
25836
bd07f23c 258372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25838
22af19f9
SP
25839 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25840 loop termination condition.
25841
4709fe76
SP
25842 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25843 variable to calculate EZ.
25844 (__sqr): Likewise.
2d0e0f29
SP
25845
25846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25847 the lower precision input.
25848
daaa7713
JM
258492013-02-15 Joseph Myers <joseph@codesourcery.com>
25850
25851 [BZ #13550]
25852 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25853 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25854 (run-via-rtld-prefix): Do not handle %-bp tests.
25855 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25856 (all-object-suffixes): Remove .ob.
25857 (bppfx): Remove variable.
25858 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25859 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25860 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25861 [$(build-bounded) = yes] (libtype.ob): Likewise.
25862 * Makerules (elide-routines.ob): Remove variable.
25863 (do-tests-clean): Do not handle *-bp.out.
25864 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25865 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25866 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25867 (tests): Do not include $(tests-bp.out).
25868 (xtests): Do not include $(xtests-bp.out).
25869 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25870 [$(build-bounded) = yes] ($(addprefix
25871 $(objpfx),$(binaries-bounded))): Remove rule.
25872 ($(objpfx)%-bp.out): Remove rule.
25873 * config.make.in (build-bounded): Remove variable.
25874 * crypt/Makefile [$(build-bounded) = yes]
25875 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25876 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25877 append to variable.
25878 [$(build-bounded) = yes] (install-lib): Likewise.
25879 [$(build-bounded) = yes] (generated): Likewise.
25880 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25881 Remove rule.
25882 * intl/Makefile [$(build-bounded) = yes]
25883 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25884 * math/Makefile [$(build-bounded) = yes]
25885 ($(tests:%=$(objpfx)%-bp): Likewise.
25886 * misc/Makefile [$(build-bounded) = yes]
25887 ($(objpfx)tst-tsearch-bp): Likewise.
25888 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25889 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25890 Remove dependency.
25891 * string/Makefile (o-objects.ob): Remove variable.
25892 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25893 (CFLAGS-.ob): Remove variable.
25894 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25895 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25896 both definitions of variable.
25897 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25898 (ASFLAGS-.ob): Remove variable.
25899
e97ed6dd
JM
259002013-02-14 Joseph Myers <joseph@codesourcery.com>
25901
2bdd4ca6
JM
25902 [BZ #13550]
25903 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25904 Remove __BOUNDED_POINTERS__ from condition.
25905 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25906 * string/bits/string2.h [!__NO_STRING_INLINES &&
25907 !__BOUNDED_POINTERS__]: Likewise.
25908 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25909 Likewise.
25910 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25911 Remove conditional code.
25912 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25913 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25914 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25915 condition.
25916
e97ed6dd
JM
25917 [BZ #13550]
25918 * csu/libc-start.c: Do not include <bp-sym.h>.
25919 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25920 * elf/dl-open.c: Do not include <bp-sym.h>.
25921 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25922 * math/fegetenv.c: Do not include <bp-sym.h>.
25923 (fegetenv): Do not use BP_SYM in versioned symbols.
25924 * nptl/sysdeps/pthread/bits/libc-lockP.h
25925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25926 <bp-sym.h>.
25927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25928 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25930 (__pthread_mutex_destroy): Likewise.
25931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25932 (__pthread_mutex_lock): Likewise.
25933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25934 (__pthread_mutex_trylock): Likewise.
25935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25936 (__pthread_mutex_unlock): Likewise.
25937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25938 (__pthread_mutexattr_init): Likewise.
25939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25940 (__pthread_mutexattr_destroy): Likewise.
25941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25942 (__pthread_mutexattr_settype): Likewise.
25943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25944 (__pthread_rwlock_init): Likewise.
25945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25946 (__pthread_rwlock_destroy): Likewise.
25947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25948 (__pthread_rwlock_rdlock): Likewise.
25949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25950 (__pthread_rwlock_tryrdlock): Likewise.
25951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25952 (__pthread_rwlock_wrlock): Likewise.
25953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25954 (__pthread_rwlock_trywrlock): Likewise.
25955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25956 (__pthread_rwlock_unlock): Likewise.
25957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25958 (__pthread_key_create): Likewise.
25959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25960 (__pthread_setspecific): Likewise.
25961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25962 (__pthread_getspecific): Likewise.
25963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25964 Likewise.
25965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25966 (_pthread_cleanup_push_defer): Likewise.
25967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25968 (_pthread_cleanup_pop_restore): Likewise.
25969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25970 (pthread_setcancelstate): Likewise.
25971 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25972 <bp-sym.h>.
25973 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25974 (memchr): Do not use BP_SYM in weak_alias.
25975 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25976 (fegetenv): Do not use BP_SYM in versioned symbols.
25977 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25978 (fesetenv): Do not use BP_SYM in versioned symbols.
25979 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25980 (feupdateenv): Do not use BP_SYM in versioned symbols.
25981 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25982 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25983 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25984 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25985 (open64): Do not use BP_SYM in weak_alias.
25986 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25987 (fegetenv): Do not use BP_SYM in versioned symbols.
25988 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25989 (fesetenv): Do not use BP_SYM in versioned symbols.
25990 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25991 (feupdateenv): Do not use BP_SYM in versioned symbols.
25992 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25993 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25994 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25995 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25996 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25997 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25999 <bp-sym.h>.
26000 (__libc_start_main): Do not use BP_SYM.
26001
d6752ccd
SP
260022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26003
cb57ce60
SP
26004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26005 redundant return line.
26006 (norm): Likewise.
26007 (denorm): Likewise.
26008 (dbl_mp): Likewise.
26009 (sub_magnitudes): Likewise.
26010 (__add): Likewise.
26011 (__sub): Likewise.
26012 (__mul): Likewise.
26013 (__inv): Likewise.
26014 (__dvd): Likewise.
26015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26016 (norm): Likewise.
26017 (denorm): Likewise.
26018 (dbl_mp): Likewise.
26019 (sub_magnitudes): Likewise.
26020 (__add): Likewise.
26021 (__sub): Likewise.
26022 (__mul): Likewise.
26023 (__inv): Likewise.
26024 (__dvd): Likewise.
26025
f414520d
SP
26026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26027 instead of __mul.
26028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26029 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26030 (cc32): Likewise.
26031
d6752ccd
SP
26032 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26033 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26035 of __mul for squares.
26036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26037 function
26038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26039 Likewise.
26040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26042
70d9946a
JM
260432013-02-13 Joseph Myers <joseph@codesourcery.com>
26044
26045 [BZ #13550]
26046 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26047 code.
26048 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26049 prototype or function definition. Rename ubp_* variables and
26050 parameters. Remove argv definitions conditional on
26051 [__BOUNDED_POINTERS__].
26052 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26053 * elf/dl-runtime.c (_dl_fixup): Likewise.
26054 * include/set-hooks.h (RUN_HOOK): Likewise.
26055 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26056 definition.
26057 * string/strcpy.c (strcpy): Do not use __unbounded.
26058 * sysdeps/generic/frame.h (struct layout): Likewise.
26059 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26060 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26061 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26062 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26063 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26064 (__backtrace): Likewise.
26065 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26066 use __ptrvalue.
26067 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26069 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26070 Likewise.
26071 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26072 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26073 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26074 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26075 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26076 Do not use __unbounded.
26077 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26078 Rename __unboundedrlimits parameter to rlimits in prototype.
26079 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26080 Do not use __unbounded.
26081 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26082 not use __ptrvalue.
26083 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26084 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26087 __ptrvalue or __unbounded.
26088 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26089 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26090 use __unbounded.
26091 (__new_msgctl): Do not use __ptrvalue.
26092 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26093 __unbounded.
26094 (__libc_msgrcv): Do not use __ptrvalue.
26095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26096 startup_info): Do not use __unbounded.
26097 (__libc_start_main): Likewise. Rename ubp_* variables and
26098 parameters. Remove argv definitions conditional on
26099 [__BOUNDED_POINTERS__].
26100 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26101 __ptrvalue.
26102 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26103 use __unbounded.
26104 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26105 or __ptrvalue.
26106 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26107 use __unbounded.
26108 (__new_shmctl): Do not use __ptrvalue.
26109 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26110 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26111 Likewise.
26112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26114 (__libc_sigaction): Likewise.
26115 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26116 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26117 Likewise.
26118 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26119
cc7834d6
OB
261202013-02-13 Ondřej Bílka <neleai@seznam.cz>
26121
ffb1ec7b 26122 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26123
26124 * string/mempcpy.c: Implement by calling memcpy.
26125
bdf02814
SP
261262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26127
c2af38aa
SP
26128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26129
4e92d59e
SP
26130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26131 evaluation.
26132
909279a5
SP
26133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26134 values in the mantissa.
26135
bdf02814
SP
26136 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26137 minimize writes to Z.
26138 (sub_magnitudes): Simplify code a bit.
26139
cd525923
RM
261402013-02-12 Roland McGrath <roland@hack.frob.com>
26141
26142 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26143 from the message. The linker prefixes all warnings with that already.
26144
7e2f0d2d
AS
261452013-02-12 Andreas Schwab <schwab@suse.de>
26146
a445af0b
AS
26147 [BZ #15078]
26148 * posix/regexec.c (extend_buffers): Add parameter min_len.
26149 (check_matching): Pass minimum needed length.
26150 (clean_state_log_if_needed): Likewise.
26151 (get_subexp): Likewise.
26152 * posix/Makefile (tests): Add bug-regex34.
26153 (bug-regex34-ENV): Define.
26154 * posix/bug-regex34.c: New file.
26155
7e2f0d2d
AS
26156 [BZ #11561]
26157 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26158 elements compare against the byte sequence of it, not its name.
26159 * posix/Makefile (tests): Add bug-regex35.
26160 (bug-regex35-ENV): Define.
26161 * posix/bug-regex35.c: New file.
26162
a175b684
TV
261632013-02-11 Tom de Vries <tom@codesourcery.com>
26164
26165 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26166 comment.
26167 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26168 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26169 (CHECK_EOL): Add undef.
26170
310998fe 261712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26172
26173 * bits/stdlib-bsearch.h: New file.
26174 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26175 * stdlib/stdlib.h: Likewise.
41eda41d 26176
8ded91fb
RM
261772013-02-11 Roland McGrath <roland@hack.frob.com>
26178
26179 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26180 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26181 declaration.
26182 * manual/search.texi (Array Search Function): Add missing const in
26183 lfind prototype.
26184 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26185 declaration to use rlim_t.
26186 (Basic Scheduling Functions): Remove erroneous const from
26187 sched_getparam prototype. Remove erroneous * from
26188 sched_get_priority_max and sched_get_priority_min prototypes.
26189 (Resource Usage): Fix summary @comment on vtimes to refer to
26190 sys/vtimes.h rather than vtimes.h.
26191 Add missing *s in vtimes prototype.
26192 (Limits on Resources): Fix ulimit prototype to return long int.
26193 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26194 prototypes to use long int rather than double.
26195 (BSD Random): Fix initstate and setstate to use char *, not void *.
26196 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26197 prototype to make second argument 'struct aiocb64 *const[]'.
26198 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26199 (Status of AIO Operations): Remove erroneous const in aio_return and
26200 aio_return64 prototypes.
26201 (Synchronizing I/O): Fix sync prototype to return void.
26202 * manual/startup.texi (Suboptions): Remove an erroneous const in
26203 getsubopt prototype.
26204 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26205 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26206 use size_t rather than int.
26207 (Scanning All Users): Likewise for getpwent_r.
26208 (Setting Groups): Add missing const to setgroups prototype.
26209 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26210 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26211 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26212 'const void *' rather than 'const char *'.
26213 (Host Address Functions): Likewise for inet_ntop.
26214 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26215 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26216 ssize_t for return value.
26217 (Sending Data): Likewise for send, sendto, sendmsg.
26218 (Socket Option Functions): Add a missing const in setsockopt prototype.
26219 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26220 use wchar_t for the argument.
26221 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26222 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26223 take no arguments.
26224 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26225 double/float/long double for second argument.
26226 Fix return types of significand, significandf, significandl.
26227 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26228 argument in fchmod prototype.
26229 (File Owner): Use uid_t and gid_t in fchown prototype.
26230 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26231 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26232 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26233 use 'const struct dirent **' as argument types to CMP function pointer
26234 argument.
26235 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26236 (File Times): Fix summary magic @comment for struct utimbuf and utime
26237 to refer to utime.h, not time.h.
26238 * manual/string.texi (Argz Functions): Add missing const in
26239 argz_extract and argz_next prototypes.
26240 (Finding Tokens in a String): Likewise for basename.
26241 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26242 (Copying and Concatenation): Fix typo in wmemmove prototype.
26243 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26244 (Signal Stack): Remove erroneous const in sigstack prototype.
26245 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26246 prototype.
26247 (Simple Calendar Time): Likewise for stime.
26248 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26249 prototype.
26250 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26251 say sys/sysctl.h instead.
26252 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26253 and vsyslog prototypes.
26254
fe77fe6d
TV
262552013-02-11 Tom de Vries <tom@codesourcery.com>
26256
26257 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26258 Remove.
26259
3a09b620
RM
262602013-02-11 Roland McGrath <roland@hack.frob.com>
26261
26262 * misc/sys/mman.h: Fix typo in mremap comment.
26263
550a0b89
RM
262642013-02-08 Roland McGrath <roland@hack.frob.com>
26265
26266 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26267 the '\0' terminator.
26268
a2da1673
JM
262692013-02-08 Joseph Myers <joseph@codesourcery.com>
26270
26271 [BZ #13550]
26272 * debug/segfault.c: Don't include <bp-checks.h>.
26273 * sysdeps/generic/bp-checks.h: Remove file.
26274 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26275 (__GETDENTS): Don't use CHECK_N.
26276 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26278 (__getgroups): Don't use CHECK_N.
26279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26280 (setgroups): Don't use CHECK_N.
26281 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26282 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26283 (__libc_msgrcv): Don't use CHECK_N.
26284 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26285 (__libc_msgsnd): Don't use CHECK_N.
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26287 <bp-checks.h>.
26288 (__libc_pread): Don't use CHECK_N.
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26290 include <bp-checks.h>.
26291 (__libc_pread64): Don't use CHECK_N.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26293 include <bp-checks.h>.
26294 (__libc_pwrite): Don't use CHECK_N.
26295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26296 include <bp-checks.h>.
26297 (__libc_pwrite64): Don't use CHECK_N.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26299 <bp-checks.h>.
26300 (__libc_pread): Don't use CHECK_N.
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26302 include <bp-checks.h>.
26303 (__libc_pread64): Don't use CHECK_N.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26305 include <bp-checks.h>.
26306 (__libc_pwrite): Don't use CHECK_N.
26307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26308 include <bp-checks.h>.
26309 (__libc_pwrite64): Don't use CHECK_N.
26310 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26311 (do_pread): Don't use CHECK_N.
26312 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26313 (do_pread64): Don't use CHECK_N.
26314 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26315 (do_pwrite): Don't use CHECK_N.
26316 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26317 (do_pwrite64): Don't use CHECK_N.
26318 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26319 (__libc_readv): Don't use CHECK_N.
26320 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26321 (semop): Don't use CHECK_N.
26322 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26323 <bp-checks.h>.
26324 (semtimedop): Don't use CHECK_N.
26325 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26326 (__libc_pread): Don't use CHECK_N.
26327 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26328 <bp-checks.h>.
26329 (__libc_pread64): Don't use CHECK_N.
26330 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26331 <bp-checks.h>.
26332 (__libc_pwrite): Don't use CHECK_N.
26333 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26334 <bp-checks.h>.
26335 (__libc_pwrite64): Don't use CHECK_N.
26336 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26337 <bp-checks.h>.
26338 (__libc_msgrcv): Don't use CHECK_N.
26339 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26340 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26341 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26342 (__libc_writev): Don't use CHECK_N.
26343
b84660a8
RM
263442013-02-08 Roland McGrath <roland@hack.frob.com>
26345
7f3e75f8
RM
26346 * string/strcpy.c: Removed unused variable.
26347
b84660a8
RM
26348 * Makeconfig (+sysdep-includes): Define with := rather than =.
26349 Use an existing include/ subdir of each sysdeps dir before it.
26350
471514d3
CD
263512013-02-08 Carlos O'Donell <carlos@redhat.com>
26352
26353 * nscd/connection.c (register_traced_file): Comment function.
26354 [HAVE_INOTIFY] (union __inev): Define.
26355 [HAVE_INOTIFY] (inotify_check_files): New function.
26356 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26357 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26358 clear_db_cache.
26359 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26360
b2d3c3be
CD
263612013-02-08 Carlos O'Donell <carlos@redhat.com>
26362
26363 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26364 loaded if not already and that a failure is permanent.
26365
b39949d2
CD
263662013-02-08 Carlos O'Donell <carlos@redhat.com>
26367
ddacd1db 26368 [BZ #15006]
b39949d2
CD
26369 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26370 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26371
b2c9eff4
JM
263722013-02-08 Joseph Myers <joseph@codesourcery.com>
26373
f3aae3f3
JM
26374 [BZ #13550]
26375 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26376 (CHECK_1_NULL_OK): Likewise.
26377 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26378 (__fxstat): Do not use CHECK_1.
26379 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26380 <bp-checks.h>.
26381 (___fxstat64): Do not use CHECK_1.
26382 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26383 <bp-checks.h>.
26384 (__fxstatat): Do not use CHECK_1.
26385 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26386 <bp-checks.h>.
26387 (__fxstatat64): Do not use CHECK_1.
26388 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26389 <bp-checks.h>.
26390 (__fxstat): Do not use CHECK_1.
26391 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26392 <bp-checks.h>.
26393 (__fxstatat): Do not use CHECK_1.
26394 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26395 <bp-checks.h>.
26396 (__getresgid): Do not use CHECK_1.
26397 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26398 <bp-checks.h>.
26399 (__getresuid): Do not use CHECK_1.
26400 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26401 <bp-checks.h>.
26402 (__lxstat): Do not use CHECK_1.
26403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26404 <bp-checks.h>.
26405 (__old_msgctl): Do not use CHECK_1.
26406 (__new_msgctl): Likewise.
26407 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26408 <bp-checks.h>.
26409 (__new_setrlimit): Do not use CHECK_1.
26410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26411 <bp-checks.h>.
26412 (__old_shmctl): Do not use CHECK_1.
26413 (__new_shmctl): Likewise.
26414 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26415 <bp-checks.h>.
26416 (__xstat): Do not use CHECK_1.
26417 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26418 (__lxstat): Do not use CHECK_1.
26419 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26420 <bp-checks.h>.
26421 (___lxstat64): Do not use CHECK_1.
26422 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26423 (__old_msgctl): Do not use CHECK_1.
26424 (__new_msgctl): Likewise.
26425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26426 <bp-checks.h>.
26427 (__gettimeofday): Do not use CHECK_1.
26428 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26429 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26430 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26431 <bp-checks.h>.
26432 (__gettimeofday): Do not use CHECK_1.
26433 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26434 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26435 (__new_shmctl): Do not use CHECK_1.
26436 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26437 <bp-checks.h>.
26438 (do_sigtimedwait): Do not use CHECK_1.
26439 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26440 <bp-checks.h>.
26441 (do_sigwaitinfo): Do not use CHECK_1.
26442 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26443 <bp-checks.h>.
26444 (msgctl): Do not use CHECK_1.
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26446 <bp-checks.h>.
26447 (shmctl): Do not use CHECK_1.
26448 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26449 (ustat): Do not use CHECK_1.
26450 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26451 <bp-checks.h>.
26452 (__fxstat): Do not use CHECK_1.
26453 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26454 <bp-checks.h>.
26455 (__fxstatat): Do not use CHECK_1.
26456 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26457 <bp-checks.h>.
26458 (__lxstat): Do not use CHECK_1.
26459 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26460 <bp-checks.h>.
26461 (__xstat): Do not use CHECK_1.
26462 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26463 (__xstat): Do not use CHECK_1.
26464 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26465 (___xstat64): Do not use CHECK_1.
26466
b2c9eff4
JM
26467 [BZ #13550]
26468 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26469 definitions.
26470 (CHECK_BOUNDS_HIGH): Likewise.
26471 * string/strcpy.c: Do not include <bp-checks.h>.
26472 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26473
f1d70dad
RM
264742013-02-07 Roland McGrath <roland@hack.frob.com>
26475
26476 * nscd/nscd-client.h (__nscd_drop_map_ref):
26477 Add __attribute__ ((unused)).
26478 * nis/nss-nisplus.h (niserr2nss): Likewise.
26479
26480 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26481 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26482
26483 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26484 Remove inline keyword.
26485 * include/rounding-mode.h (round_away): Likewise.
26486 * libio/wfileops.c (adjust_wide_data): Likewise.
26487 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26488 (__m128i_strloadu_tolower): Likewise.
26489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26490 (__m128i_strloadu_tolower): Likewise.
26491 * time/mktime.c (ydhms_diff): Likewise.
26492 * locale/elem-hash.h (elem_hash): Likewise.
26493 * locale/setlocale.c (setdata): Likewise.
26494 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26495 (re_string_wchar_at): Likewise.
26496 (bitset_not, bitset_merge, bitset_mask): Likewise.
26497 [!(__GNUC__ > 3)] (inline): Remove macro.
26498 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26499 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26500 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26501 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26502 * string/memcmp.c (memcmp_bytes): Likewise.
26503 * locale/programs/locarchive.c (compute_hashval): Likewise.
26504 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26505 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26506 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26507 * nss/getent.c (print_rpc, print_protocols): Likewise.
26508 (print_passwd, print_group, print_aliases): Likewise.
26509 * nis/nss-nisplus.h (niserr2nss): Likewise.
26510 * nscd/connections.c (restart_p): Likewise.
26511 Change return type to bool.
26512
eab55bfb
RM
265132013-02-05 Roland McGrath <roland@hack.frob.com>
26514
7bd642f5
RM
26515 * Makeconfig (all-Depend-files): Add existing
26516 $(sorted-subdirs:=/Depend) files.
26517 (all-subdirs): Remove nss.
26518 * sysdeps/unix/inet/Subdirs: Add it here instead.
26519 * hesiod/Depend: New file.
26520
573c29b2
RM
26521 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26522 instead of calling alloca.
26523
b2e25af0
RM
26524 * io/lseek.c (__lseek): Rename to __libc_lseek.
26525 Define __lseek as an alias.
26526
eab55bfb
RM
26527 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26528
9a0d1941
CD
265292013-02-04 Carlos O'Donell <carlos@redhat.com>
26530
26531 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26532 else clause and remove check for non-standard endianness.
26533
b83bbec4
DM
265342013-02-04 David S. Miller <davem@davemloft.net>
26535
26536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26537
6277fdab
JM
265382013-02-04 Joseph Myers <joseph@codesourcery.com>
26539
26540 [BZ #13550]
26541 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26542 (__ubp_memchr): Remove prototype.
26543 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26544 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26545 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26546 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26547 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26548 Remove alias.
26549 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26550 (__ubp_memchr): Likewise.
26551 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26552 (__ubp_memchr): Likewise.
26553 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26554 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26555 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26557 CHECK_STRING.
26558 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26559 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26560 (__getcwd): Do not use CHECK_STRING.
26561 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26562 <bp-checks.h>.
26563 (__real_chown): Do not use CHECK_STRING.
26564 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26565 <bp-checks.h>.
26566 (fchownat): Do not use CHECK_STRING.
26567 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26568 CHECK_STRING.
26569 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26570 <bp-checks.h>.
26571 (__lchown): Do not use CHECK_STRING.
26572 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26574 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26575 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26577 include <bp-checks.h>.
26578 (truncate64): Do not use CHECK_STRING.
26579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26580 <bp-checks.h>.
26581 (__real_chown): Do not use CHECK_STRING.
26582 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26583 <bp-checks.h>.
26584 (__lchown): Do not use CHECK_STRING.
26585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26586 <bp-checks.h>.
26587 (__chown): Do not use CHECK_STRING.
26588 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26589 <bp-checks.h>.
26590 (truncate64): Do not use CHECK_STRING.
26591 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26592 Likewise.
26593 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26594 (__xmknod): Do not use CHECK_STRING.
26595 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26596 <bp-checks.h>.
26597 (__xmknodat): Do not use CHECK_STRING.
26598 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26599 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26600
903ae060
AS
266012013-02-04 Andreas Schwab <schwab@suse.de>
26602
26603 [BZ #14142]
26604 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26605 * include/netdb.h: Likewise for h_errno.
26606 * elf/tst-stackguard1.c: Include <tls.h>.
26607
542f9466
JK
266082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26609
26610 * elf/link.h (struct link_map): Extend the l_addr comment.
26611 * include/link.h (struct link_map): Likewise.
26612
e782a927
JM
266132013-02-01 Joseph Myers <joseph@codesourcery.com>
26614
26615 [BZ #13550]
26616 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26617 (BOUNDED_1): Remove macro.
26618 * debug/backtrace.c: Don't include <bp-checks.h>.
26619 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26620 (__backtrace): Likewise.
26621 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26622 <bp-checks.h>.
26623 (__backtrace): Don't use BOUNDED_1.
26624 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26625 <bp-checks.h>.
26626 (__backtrace): Don't use BOUNDED_1.
26627 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26628 (__backtrace): Don't use BOUNDED_1.
26629 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26630 (shmat): Don't use BOUNDED_N.
26631
8cf28c5e
JM
266322013-01-31 Joseph Myers <joseph@codesourcery.com>
26633
3a7ac8a0
JM
26634 [BZ #13550]
26635 * sysdeps/generic/bp-start.h: Remove file.
26636 * csu/libc-start.c: Don't include <bp-start.h>.
26637 (LIBC_START_MAIN): Set up __environ directly instead of using
26638 INIT_ARGV_and_ENVIRON.
26639 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26640 <bp-start.h>.
26641
f3499f95
JM
26642 [BZ #13550]
26643 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26644 definitions.
26645 (CHECK_FCNTL): Likewise.
26646 (CHECK_N_PAGES): Likewise.
26647
32a45bea
JM
26648 [BZ #13550]
26649 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26650 definitions.
26651 (CHECK_SIGSET_NULL_OK): Likewise.
26652 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26653 <bp-checks.h>.
26654 (sigpending): Don't use CHECK_SIGSET.
26655 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26656 <bp-checks.h>.
26657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26658 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26659 <bp-checks.h>.
26660 (do_sigsuspend): Don't use CHECK_SIGSET.
26661 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26662 use CHECK_SIGSET.
26663 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26664 (do_sigwait): Don't use CHECK_SIGSET.
26665 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26666 use CHECK_SIGSET.
26667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26668 include <bp-checks.h>.
26669 (sigpending): Don't use CHECK_SIGSET.
26670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26671 include <bp-checks.h>.
26672 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26673 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26674 <bp-checks.h>.
26675 (sigpending): Don't use CHECK_SIGSET.
26676 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26677 <bp-checks.h>.
26678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26679
2e8a5c8c
JM
26680 [BZ #13550]
26681 * sysdeps/generic/bp-semctl.h: Remove file.
26682 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26683 <bp-checks.h> and <bp-semctl.h>.
26684 (__old_semctl): Don't use CHECK_SEMCTL.
26685 (__new_semctl): Likewise.
26686 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26687 and <bp-semctl.h>.
26688 (__old_semctl): Don't use CHECK_SEMCTL.
26689 (__new_semctl): Likewise.
26690 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26691 <bp-checks.h> and <bp-semctl.h>.
26692 (__old_semctl): Don't use CHECK_SEMCTL.
26693 (__new_semctl): Likewise.
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26695 <bp-checks.h> and <bp-semctl.h>.
26696 (semctl): Don't use CHECK_SEMCTL.
26697
c2d54929
JM
26698 [BZ #13550]
26699 * Makerules (elide-bp-thunks): Remove variable.
26700 (elide-routines.oS): Don't use $(elide-bp-thunks).
26701 (elide-routines.os): Likewise.
26702 (elide-routines.o): Likewise.
26703 (elide-routines.op): Likewise.
26704 (elide-routines.og): Likewise.
26705 (objects): Don't use $(bp-thunks).
26706 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26707 include.
26708 (common-generated): Do not add s-proto-bp.d.
26709 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26710 (int): Likewise.
26711 (typ): Likewise.
26712 Do not generate makefile rules for bounded-pointer thunks.
26713 * sysdeps/generic/bp-thunks.h: Remove file.
26714 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26715 * sysdeps/unix/s-proto-bp.S: Likewise.
26716
8cf28c5e
JM
26717 [BZ #15062]
26718 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26719 parts of result separately when argument is not close to line from
26720 -i to i and one part of argument is small.
26721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26723 * math/libm-test.inc (cacos_test): Add more tests.
26724 (casin_test): Likewise.
26725 (casinh_test): Likewise.
26726 * sysdeps/i386/fpu/libm-test-ulps: Update.
26727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26728
c4e33b8d
DM
267292013-01-31 David S. Miller <davem@davemloft.net>
26730
26731 * po/de.po: Update from translation team.
26732
3b60b421
MK
267332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26734
26735 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26736
bb931195
TS
267372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26738
b5a5da23
TS
26739 * configure.in (_AC_PROG_CC_C89): New definition.
26740 * configure: Regenerate.
26741
bb931195
TS
26742 * configure.in (AC_PROG_CPP): New definition.
26743 * configure: Regenerate.
26744
8c53a12c
JM
267452013-01-23 Joseph Myers <joseph@codesourcery.com>
26746
26747 * debug/tst-backtrace.h: New file.
26748 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26749 (ret): Remove variable.
26750 (x): Likewise.
26751 (FAIL): Remove macro.
26752 (NO_INLINE): Likewise.
26753 (fn1): Use match function instead of strstr.
26754 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26755 (ret): Remove variable.
26756 (x): Likewise.
26757 (FAIL): Remove macro.
26758 (NO_INLINE): Likewise.
26759 (fn): Use match function instead of strstr.
26760 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26761 (ret): Remove variable.
26762 (x): Likewise.
26763 (FAIL): Remove macro.
26764 (NO_INLINE): Likewise.
26765 (handle_signal): Use match function instead of strstr.
26766 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26767 (ret): Remove variable.
26768 (x): Likewise.
26769 (FAIL): Remove macro.
26770 (NO_INLINE): Likewise.
26771 (handle_signal): Use match function instead of strstr.
26772
4858fa2a
RM
267732013-01-23 Roland McGrath <roland@hack.frob.com>
26774
26775 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26776
bae8e7f5
DM
267772013-01-23 David S. Miller <davem@davemloft.net>
26778
26779 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26780 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26781 argument of CAS if possible.
26782 * sysdeps/sparc/sparc64/bits/atomic.h
26783 (__arch_compare_and_exchange_val_32_acq): Likewise.
26784 (__arch_compare_and_exchange_val_64_acq): Likewise.
26785
9cbbc4ae
PT
267862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26787
26788 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26789 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26790 Include <limits.h>.
67b3f58c 26791 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26792
5655a0b5
AC
267932013-01-23 Adam Conrad <adconrad@0c3.net>
26794
26795 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26796 (LDFLAGS-tst-array5): Likewise.
26797
052aff95
JM
267982013-01-23 Joseph Myers <joseph@codesourcery.com>
26799
26800 [BZ #15036]
26801 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26802 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26803 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26804 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26805
7c1e01aa
DM
268062013-01-21 David S. Miller <davem@davemloft.net>
26807
26808 * sysdeps/sparc/backtrace.c: New file.
26809 * sysdeps/sparc/sparc32/backtrace.h: New file.
26810 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26811 * sysdeps/sparc/sparc64/backtrace.h: New file.
26812 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26813 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26814 -funwind-tables.
26815
ab087e0a
AS
268162013-01-21 Andreas Schwab <schwab@suse.de>
26817
26818 [BZ #15020]
26819 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26820 closed its stdout.
26821
ed689c2f
AS
268222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26823
26824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26825 "mpa2.h".
26826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26827
31d470ac
JM
268282013-01-18 Joseph Myers <joseph@codesourcery.com>
26829 Mark Mitchell <mark@codesourcery.com>
26830 Tom de Vries <tom@codesourcery.com>
26831 Paul Pluzhnikov <ppluzhnikov@google.com>
26832
26833 * debug/tst-backtrace2.c: New file.
26834 * debug/tst-backtrace3.c: Likewise.
26835 * debug/tst-backtrace4.c: Likewise.
26836 * debug/tst-backtrace5.c: Likewise.
26837 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26838 (CFLAGS-tst-backtrace3.c): Likewise.
26839 (CFLAGS-tst-backtrace4.c): Likewise.
26840 (CFLAGS-tst-backtrace5.c): Likewise.
26841 (LDFLAGS-tst-backtrace2): Likewise.
26842 (LDFLAGS-tst-backtrace3): Likewise.
26843 (LDFLAGS-tst-backtrace4): Likewise.
26844 (LDFLAGS-tst-backtrace5): Likewise.
26845 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26846 tst-backtrace4 and tst-backtrace5.
26847
90567f30 268482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26849 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26850
26851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26852 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26853 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26854 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26856 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26857 "+r" and remove output regs list as redundant. Add explicit inline
26858 asm to specify register of return val to work around compiler codegen
26859 bug. Remove (int) cast on return value. Add return type parameter to
26860 use in macro so that this macro does not truncate return value for
26861 64-bit values.
26862 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26863 pass to INTERNAL_VSYSCALL_NCS.
26864 (INLINE_VSYSCALL): Add 'long int' as return type to
26865 INTERNAL_VSYSCALL_NCS macro invocation.
26866 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26867 INTERNAL_VSYSCALL_NCS macro invocation.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26869
d3b9ea61
SP
268702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26871
0b57daeb
SP
26872 [BZ #14496]
26873 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26874 Fix application of SIMD FP exception mask.
26875
caa99d06
SP
26876 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26877 mp_no from a power of two.
26878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26879 __mpexp_twomm1. Use __pow_mp.
26880
d3b9ea61
SP
26881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26882 multiplication.
26883
1dbaee3c
DM
268842013-01-17 David S. Miller <davem@davemloft.net>
26885
26886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26887
728d7b43
JM
268882013-01-17 Joseph Myers <joseph@codesourcery.com>
26889
26890 [BZ #15023]
26891 * include/complex.h: Condition contents on [!_COMPLEX_H].
26892 (__kernel_casinhf): New prototype.
26893 (__kernel_casinh): Likewise.
26894 (__kernel_casinhl): Likewise.
26895 * math/Makefile (libm_calls): Add k_casinh.
26896 * math/k_casinh.c: New file.
26897 * math/k_casinhf.c: Likewise.
26898 * math/k_casinhl.c: Likewise.
26899 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26900 finite nonzero arguments.
26901 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26902 finite nonzero arguments.
26903 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26904 finite nonzero arguments.
26905 * math/s_casinh.c: Do not include <float.h>.
26906 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26907 * math/s_casinhf.c: Do not include <float.h>.
26908 (__casinhf): Move code for finite nonzero arguments to
26909 k_casinhf.c.
26910 * math/s_casinhl.c: Do not include <float.h>.
26911 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26912 redefine.
26913 (__casinhl): Move code for finite nonzero arguments to
26914 k_casinhl.c.
26915 * math/libm-test.inc (cacos_test): Add more tests.
26916 * sysdeps/i386/fpu/libm-test-ulps: Update.
26917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26918
2a26ef3a
PT
269192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26920
26921 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26922 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26923 [!HAVE_MREMAP]: Remove [defined linux] case.
26924 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26925
a897655d
SP
269262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26927
26928 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26929
881ebe89 269302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26931
26932 * elf/elf.h (R_386_SIZE32): New relocation.
26933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26934 R_386_SIZE32.
26935 (elf_machine_rela): Likewise.
26936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26937 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26938
59981e9b
JM
269392013-01-17 Joseph Myers <joseph@codesourcery.com>
26940
26941 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26942 (FP_FAST_FMA): Do not define.
26943 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26944 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26945 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26946 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26947 !_SOFT_FLOAT]: Likewise.
26948 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26950 value.
26951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26952 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26954 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26955 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26956 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26957 file.
26958
cfa8054f
AS
269592013-01-16 Andreas Schwab <schwab@suse.de>
26960
26961 [BZ #14327]
26962 * include/stdlib.h (__mktemp): Add declaration.
26963 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26964 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26965
dd930cc5
SP
269662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26967
881ebe89
SP
26968 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26969 definitions.
26970 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26971 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26972 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26973 definitions here.
26974 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26975 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26976 definitions.
26977 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26978 and ONE.
26979 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26980 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26981 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26982 definitions.
26983 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26984 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26985 definitions.
26986 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26987
dd930cc5
SP
26988 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26989
c19a9f89
DM
269902013-01-15 David S. Miller <davem@davemloft.net>
26991
1aa61767
DM
26992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26993 trunc{,f} to libm-sysdep_routes.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26996 file.
26997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26999 file.
27000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27001 file.
27002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27005 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27007 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27008 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27009 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27010
c42d5e98
DM
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27012 nearbyint{,f} to libm-sysdep_routes.
27013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27015 New file.
27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27017 file.
27018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27019 New file.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27021 file.
27022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27025 file.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27027 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27028 file.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27030 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27031 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27032
c19a9f89
DM
27033 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27034 libc_feholdexcept and libc_fesetenv.
27035
357679d2
MF
270362013-01-15 Mike Frysinger <vapier@gentoo.org>
27037
27038 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27039
65a82e3d
DM
270402013-01-14 David S. Miller <davem@davemloft.net>
27041
8b954ab9
DM
27042 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27043 (SPARC_ASM_VIS2_IFUNC): Likewise.
27044 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27046 use of 'siam' instruction.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27048 Likewise.
27049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27050 Likewise.
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27052 Likewise.
27053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27058 file.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27060 file.
27061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27062 file.
27063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27064 file.
27065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27070 new VIS2 routines.
27071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27074 Likewise.
27075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27080 routines to libm-sysdep_routines.
27081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27082
65a82e3d
DM
27083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27084 fdim/fdimf to libm-sysdep_routines.
27085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27086 file.
27087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27089 file.
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27093 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27094 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27095 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27096 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27097
e34ab705
SP
270982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27099
2a91b573
SP
27100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27101 to optimize copies.
27102
1066a534
SP
27103 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27106
e34ab705
SP
27107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27108 local variable MPTWO.
27109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27110 Likewise.
27111
aba5e596
MF
271122013-01-13 Mike Frysinger <vapier@gentoo.org>
27113
27114 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27115 GLOB_NOESCAPE.
27116
e557e9e5
MF
271172013-01-13 Mike Frysinger <vapier@gentoo.org>
27118
27119 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27120
0428cec9
MF
271212013-01-13 Mike Frysinger <vapier@gentoo.org>
27122
27123 * manual/pattern.texi (glob_t): Document gl_flags.
27124 (glob64_t): Likewise.
27125
8794a964
DM
271262013-01-11 David S. Miller <davem@davemloft.net>
27127
66438c3f
RM
27128 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27129 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27130 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27131 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27132 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27133 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27134 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27135 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27136 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27137 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27138 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27139 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27140 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27141
4ae4244d
DM
27142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27143 sparc V9 rather than using V8 code.
27144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27146
8794a964
DM
27147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27148 Move to...
27149 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27150 Here.
27151
6270516e
RM
271522013-01-11 Roland McGrath <roland@hack.frob.com>
27153
27154 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27155 not in the main loop.
27156 * configure: Regenerated.
27157
6a57d931
JM
271582013-01-11 Joseph Myers <joseph@codesourcery.com>
27159
27160 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27161 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27162 to just #else.
27163 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27164 [!__GLIBC_HAVE_LONG_LONG] case.
27165 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27166 condition to just #else.
27167 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27168 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27169 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27170 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27171 unconditional.
27172 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27173 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27174 #elif condition to just #else.
27175 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27176 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27177 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27178 #elif condition to just #else.
27179
0e8529e9
SE
271802013-01-11 Steve Ellcey <sellcey@mips.com>
27181
27182 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27183 (EF_MIPS_ARCH_64): Fix value.
27184 (EF_MIPS_ARCH_32R2): New.
27185 (EF_MIPS_ARCH_64R2): New.
27186
740b3dbe
L
271872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27188
27189 * Makeconfig (+link-pie-before-libc): New.
27190 (+link-pie-after-libc): Likewise.
27191 (+link-pie-tests): Likewise.
27192 (+link-pie): Rewritten.
27193 (link-before-libc): Remove $(config-LDFLAGS).
27194 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27195 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27196 (config-LDFLAGS): Renamed to ...
27197 (rtld-LDFLAGS): This.
27198 (rtld-tests-LDFLAGS): New macro.
27199 (link-libc-rpath-link): Likewise.
27200 (link-libc-tests-rpath-link): Likewise.
27201 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27202 (link-libc): Prepand $(link-libc-rpath-link).
27203 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27204 (test-program-prefix): New macro.
27205 (test-via-rtld-prefix): Likewise.
27206 (test-program-cmd): Likewise.
27207 (host-test-program-cmd): Likewise.
27208 * Makefile ($(common-objpfx)testrun.sh): Replace
27209 $(run-program-prefix) with $(test-program-prefix).
27210 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27211 $(rtld-LDFLAGS).
27212 ($(common-objpfx)shlib.lds): Likewise.
27213 (build-module-helper): Likewise.
27214 ($(common-objpfx)format.lds): Likewise.
27215 * Rules (binaries-pie-tests): New.
27216 (binaries-pie-notests): Likewise.
27217 (binaries-pie): Rewritten.
27218 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27219 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27220 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27221 (make-test-out): Replace $(host-built-program-cmd) with
27222 $(host-test-program-cmd).
27223 * config.make.in (build-hardcoded-path-in-tests): New variable.
27224 * configure.in (--enable-hardcoded-path-in-tests): New configure
27225 option.
27226 (hardcoded_path_in_tests): New AC_SUBST.
27227 * configure: Regenerated.
27228 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27229 $(built-program-cmd) with $(test-program-cmd).
27230 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27231 (test_program_cmd): This.
27232 * elf/Makefile ($(objpfx)order.out): Run test with
27233 $(test-program-prefix).
27234 ($(objpfx)order2.out): Likewise.
27235 ($(objpfx)tst-initorder.out): Likewise.
27236 ($(objpfx)tst-initorder2.out): Likewise.
27237 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27238 $(test-program-cmd).
27239 ($(objpfx)tst-array1-static.out): Likewise.
27240 ($(objpfx)tst-array2.out): Likewise.
27241 ($(objpfx)tst-array3.out): Likewise.
27242 ($(objpfx)tst-array4.out): Likewise.
27243 ($(objpfx)tst-array5.out): Likewise.
27244 ($(objpfx)tst-array5-static.out): Likewise.
27245 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27246 $(test-program-cmd).
27247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27248 $(run-program-prefix) with $(test-program-prefix).
27249 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27250 (test_program_prefix): This.
27251 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27252 $(run-program-prefix) with $(test-program-prefix).
27253 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27254 (test_program_prefix): This.
27255 * iconvdata/tst-tables.sh: Likewise.
27256 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27257 $(run-program-prefix) with $(test-program-prefix).
27258 ($(objpfx)tst-translit.out): Likewise.
27259 ($(objpfx)tst-gettext2.out): Likewise.
27260 ($(objpfx)tst-gettext4.out): Likewise.
27261 ($(objpfx)tst-gettext6.out): Likewise.
27262 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27263 (test_program_prefix): This.
27264 * intl/tst-gettext2.sh: Likewise.
27265 * intl/tst-gettext4.sh Likewise.
27266 * intl/tst-gettext6.sh: Likewise.
27267 * intl/tst-translit.sh: Likewise.
27268 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27269 with $(test-program-cmd).
27270 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27271 $(run-program-prefix) with $(test-program-prefix).
27272 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27273 (test_program_prefix): This.
27274 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27275 $(run-program-prefix) with $(test-program-prefix).
27276 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27277 (test_program_prefix): This.
27278 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27279 * posix/Makefile ($(objpfx)globtest.out): Replace
27280 $(run-via-rtld-prefix) and $(test-wrapper) with
27281 $(test-program-prefix) and $(test-via-rtld-prefix).
27282 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27283 $(test-program-prefix).
27284 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27285 $(host-test-program-cmd).
27286 (tst-spawn-ARGS): Likewise.
27287 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27288 $(test-program-prefix).
27289 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27290 (test_via_rtld_prefix): This.
27291 (test_wrapper): Renamed to ...
27292 (test_program_prefix): This.
27293 (run_program_prefix): Replaced by test_program_prefix.
27294 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27295 (test_program_prefix): This.
27296 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27297 with $(host-test-program-cmd).
27298 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27299 $(run-program-prefix) with $(test-program-prefix).
27300 ($(objpfx)tst-printf.out): Likewise.
27301 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27302 $(test-program-cmd).
27303 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27304 (test_program_prefix): This.
27305 * stdio-common/tst-unbputc.sh: Likewise.
27306 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27307 $(run-program-prefix) with $(test-program-prefix).
27308 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27309 (test_program_prefix): This.
27310 * string/Makefile ($(objpfx)tst-svc.out): Replace
27311 $(built-program-cmd) with $(test-program-cmd).
27312
c6fe55cf
AJ
273132013-01-11 Andreas Jaeger <aj@suse.de>
27314
27315 [BZ #15003]
27316 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27317 value. Sync with Linux 3.7.
27318
9e6919c8
DM
273192013-01-10 David S. Miller <davem@davemloft.net>
27320
27321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27324
1c9f1a02
RM
273252013-01-10 Roland McGrath <roland@hack.frob.com>
27326
27327 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27328 never set.
27329 * configure: Regenerated.
27330
b9de2dde
DM
273312013-01-10 David S. Miller <davem@davemloft.net>
27332
27333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27334 sparc V9 rather than using V8 code.
27335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27337
e7f68ef4
RM
273382013-01-10 Roland McGrath <roland@hack.frob.com>
27339
27340 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27341 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27342 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27343 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27344 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27345 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27346 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27347 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27348 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27349 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27350 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27351 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27352 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27353 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27354 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27355 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27356 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27357 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27358 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27359 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27360 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27361 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27362 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27363 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27364 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27365 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27366 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27367
5a47cc9c
DM
273682013-01-10 David S. Miller <davem@davemloft.net>
27369
27370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27371
4cf8f209
L
273722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 * posix/Makefile (tests-static): New variable.
27375 (tests): Add $(tests-static).
27376 (tst-exec-static-ARGS): New variable.
27377 (tst-spawn-static-ARGS): Likewise.
27378 * posix/tst-exec-static.c: New file.
27379 * posix/tst-spawn-static.c: Likewise.
27380 * posix/tst-exec.c: Support run directly.
27381 * posix/tst-spawn.c: Likewise.
27382
fed0faa1
JM
273832013-01-10 Joseph Myers <joseph@codesourcery.com>
27384
828beb13
JM
27385 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27386 long.
27387 * math/bits/mathcalls.h (llrint): Likewise.
27388 (llround): Likewise.
27389 * stdlib/stdlib.h (struct drand48_data): Likewise.
27390 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27391 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27392 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27393 Likewise.
27394 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27395 Likewise.
27396 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27397 (elf_greg_t): Likewise.
27398 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27399 (__jmp_buf): Likewise.
27400 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27401 definitions.
27402 (llrint): Likewise, for all definitions.
27403 (llrintl): Likewise.
27404
fed0faa1
JM
27405 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27406 Remove [__GNUC__] condition.
27407 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27408 condition to just [__USE_ISOC99].
27409 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27410
1a20cb20
L
274112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 [BZ #14200]
27414 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27415 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27416 defined.
27417 (_POSIX_V6_ILP32_OFF32): Likewise.
27418 (_XBS5_ILP32_OFF32): Likewise.
27419 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27420 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27421
751b85f7
SP
274222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27423
7490eb81
SP
27424 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27425
751b85f7
SP
27426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27427 doubles __mpexp_twomm1. Adjust usage.
27428 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27429 Remove.
27430
988197f0
AS
274312013-01-10 Andreas Schwab <schwab@suse.de>
27432
27433 [BZ #14964]
27434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27435 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27436
e83d7298
DM
274372013-01-09 David S. Miller <davem@davemloft.net>
27438
034ed64b 27439 [BZ #15003]
57f41c40
AS
27440 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27441 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27442 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27443 (TCP_FASTOPEN): Define.
e83d7298
DM
27444 (tcp_repair_opt): New structure.
27445 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27446 enum values.
57f41c40
AS
27447 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27448 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27449 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27450 (tcp_cookie_transactions): New structure.
27451
d5e0b9bd
AB
274522013-01-09 Anton Blanchard <anton@samba.org>
27453
27454 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27455 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27458
0c07e3ea
JM
274592013-01-09 Joseph Myers <joseph@codesourcery.com>
27460
27461 * include/features.h (__USE_ANSI): Remove.
27462
232f7002
RM
274632013-01-09 Roland McGrath <roland@hack.frob.com>
27464
ad98e30c
RM
27465 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27466
232f7002
RM
27467 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27468
950c99ca
SP
274692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27470
b5792741
SP
27471 * sysdeps/s390/fpu/libm-test-ulps: Update.
27472
47cf2278
SP
27473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27474
950c99ca
SP
27475 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27476 (__acr): Likewise.
27477 (__cpy): Likewise.
27478 (norm): Likewise.
27479 (denorm): Likewise.
27480 (__mp_dbl): Likewise.
27481 (__dbl_mp): Likewise.
27482 (add_magnitudes): Likewise.
27483 (sub_magnitudes): Likewise.
27484 (__add): Likewise.
27485 (__sub): Likewise.
27486 (__mul): Likewise.
27487 (__inv): Likewise.
27488 (__dvd): Likewise.
27489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27490 (__acr): Likewise.
27491 (__cpy): Likewise.
27492 (norm): Likewise.
27493 (denorm): Likewise.
27494 (__mp_dbl): Likewise.
27495 (__dbl_mp): Likewise.
27496 (add_magnitudes): Likewise.
27497 (sub_magnitudes): Likewise.
27498 (__add): Likewise.
27499 (__sub): Likewise.
27500 (__mul): Likewise.
27501 (__inv): Likewise.
27502 (__dvd): Likewise.
27503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27504 (__acr): Likewise.
27505 (__cpy): Likewise.
27506 (norm): Likewise.
27507 (denorm): Likewise.
27508 (__mp_dbl): Likewise.
27509 (__dbl_mp): Likewise.
27510 (add_magnitudes): Likewise.
27511 (sub_magnitudes): Likewise.
27512 (__add): Likewise.
27513 (__sub): Likewise.
27514 (__mul): Likewise.
27515 (__inv): Likewise.
27516 (__dvd): Likewise.
27517
eede9df9
JM
275182013-01-08 Joseph Myers <joseph@codesourcery.com>
27519
27520 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27521 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27522 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27523 2 && __USE_EXTERN_INLINES]: Likewise.
27524
c40ea3d9
AJ
275252013-01-08 Andreas Jaeger <aj@suse.de>
27526
27527 [BZ# 14985]
27528 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27529 Remove.
27530 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27531 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27532
2ccdea26
AB
275332013-01-07 Anton Blanchard <anton@samba.org>
27534
27535 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27536 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27537 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27538 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27539 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27540 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27541 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27542 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27549 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27550 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27551 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27552 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27553 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27556 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27558 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27560 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27561 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27562 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27564 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27565 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27567 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27568 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27571 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27573 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27577 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27578
a9708fed
JM
275792013-01-07 Joseph Myers <joseph@codesourcery.com>
27580
375607b9
JM
27581 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27582 (__MALLOC_PMT): Likewise.
27583 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27584 [__GNUC__], only on [_LIBC].
27585 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27586 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27587 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27588 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27589 forward declaration.
27590 (realloc_hook_ini): Likewise.
27591 (memalign_hook_ini): Likewise.
27592 (__libc_memalign): Do not use __MALLOC_PMT in variable
27593 declaration.
27594 (__libc_valloc): Likewise.
27595 (__libc_pvalloc): Likewise.
27596 (__libc_calloc): Likewise.
27597 (__posix_memalign): Likewise.
27598
a9708fed
JM
27599 [BZ #14996]
27600 * math/s_casinh.c: Include <float.h>.
27601 (__casinh): Do not do computation with squaring and square root
27602 for large arguments.
27603 * math/s_casinhf.c: Include <float.h>.
27604 (__casinhf): Do not do computation with squaring and square root
27605 for large arguments.
27606 * math/s_casinhl.c: Include <float.h>.
27607 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27608 (__casinhl): Do not do computation with squaring and square root
27609 for large arguments.
27610 * math/libm-test.inc (casin_test): Add more tests.
27611 (casinh_test): Likewise.
27612 * sysdeps/i386/fpu/libm-test-ulps: Update.
27613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27614
afec409a
L
276152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27616
27617 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27618 (__x86_64_raw_data_cache_size): Likewise.
27619 (__x86_64_data_cache_size_half): Likewise.
27620 (__x86_64_raw_data_cache_size_half): Likewise.
27621 (__x86_64_shared_cache_size): Likewise.
27622 (__x86_64_raw_shared_cache_size): Likewise.
27623 (__x86_64_shared_cache_size_half): Likewise.
27624 (__x86_64_raw_shared_cache_size_half): Likewise.
27625 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27626 to ...
27627 (__x86_data_cache_size): This.
27628 (__x86_64_raw_data_cache_size): Renamed to ...
27629 (__x86_raw_data_cache_size): This.
27630 (__x86_64_data_cache_size_half): Renamed to ...
27631 (__x86_data_cache_size_half): This.
27632 (__x86_64_raw_data_cache_size_half): Renamed to ...
27633 (__x86_raw_data_cache_size_half): This.
27634 (__x86_64_shared_cache_size): Renamed to ...
27635 (__x86_shared_cache_size): This.
27636 (__x86_64_raw_shared_cache_size): Renamed to ...
27637 (__x86_raw_shared_cache_size): This.
27638 (__x86_64_shared_cache_size_half): Renamed to ...
27639 (__x86_shared_cache_size_half): This.
27640 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27641 (__x86_raw_shared_cache_size_half): This.
27642 * sysdeps/x86_64/memcpy.S: Updated.
27643 * sysdeps/x86_64/memset.S: Likewise.
27644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27647
0b3986d0
DM
276482013-01-04 David S. Miller <davem@davemloft.net>
27649
27650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27651
e47686e9
AS
276522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27653
d643bac1
AS
27654 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27655 1 to avoid redefinition warning.
27656 (__USE_GNU): Don't define.
27657 (init_signaling_nan): Protoize.
27658
e47686e9
AS
27659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27660
b18decba
SP
276612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27662
fffb407f
SP
27663 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27665 (__cpymn): Likewise.
27666 (norm): Remove commented code.
27667 (denorm): Likewise.
27668 (__mp_dbl): Likewise.
27669 (__inv): Likewise.
27670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27671 (__cpymn): Likewise.
27672 (norm): Remove commented code.
27673 (denorm): Likewise.
27674 (__mp_dbl): Likewise.
27675 (__inv): Likewise.
27676
b18decba
SP
27677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27678 mp_no value for 1.0 and 2.0.
27679 (norm): Use RADIXI instead of radixi.d.
27680 (denorm): Likewise.
27681 (__mul): Use 0.0 instead of zero.d.
27682 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
276882013-01-04 Joseph Myers <joseph@codesourcery.com>
27689
27690 [BZ #14994]
27691 * math/s_casinh.c (__casinh): Reduce finite argument to first
27692 quadrant then set signs of results at the end.
27693 * math/s_casinhf.c (__casinhf): Likewise.
27694 * math/s_casinhl.c (__casinhl): Likewise.
27695 * math/libm-test.inc (casin_test): Add more tests.
27696 (casinh_test): Likewise.
27697 * sysdeps/i386/fpu/libm-test-ulps: Update.
27698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27699
302913e1
SP
277002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27701
6420d207
SP
27702 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27703
a9e48ab4
SP
27704 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27705
b7837264
SP
27706 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27707 declarations.
27708 (denorm): Likewise.
27709 (__mp_dbl): Likewise.
27710 (__inv): Likewise.
27711
f8af25d2
SP
27712 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27713 and adjust the header comment.
27714
302913e1
SP
27715 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27716 variable name from declaration.
27717
5d7dd1ca
L
277182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27719
27720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27721 Initialize COMMON_CPUID_INDEX_7 element.
27722 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27723 (CPUID_RTM): Likewise.
27724 (HAS_RTM): Likewise.
27725 (COMMON_CPUID_INDEX_7): New enum.
27726
2f5f40f4
AS
277272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27728
27729 [BZ #14981]
27730 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27731 size is zero, record memory as freed.
27732
4056f4a0
AJ
277332013-01-03 Andreas Jaeger <aj@suse.de>
27734
27735 * po/ia.po: Add new Interlingua translation.
27736
ab15736f 277372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27738
27739 * locale/programs/localedef.c: Fix description of '--posix' flag.
27740
568035b7
JM
277412013-01-02 Joseph Myers <joseph@codesourcery.com>
27742
e6898b8d
JM
27743 * NEWS: Update dates in second copyright notice.
27744 * README: Update copyright dates in example.
27745 * manual/libc.texinfo: Update copyright dates.
27746 * scripts/test-installation.pl: Update copyright date in --version
27747 output.
27748
0e2f9562
JM
27749 * hurd/ctty-input.c: Fix copyright notice formatting.
27750 * hurd/ctty-output.c: Likewise.
27751 * hurd/dtable.c: Likewise.
27752 * hurd/hurd-raise.c: Likewise.
27753 * hurd/hurdprio.c: Likewise.
27754 * hurd/msgportdemux.c: Likewise.
27755 * misc/sys/file.h: Likewise.
27756 * misc/sys/ioctl.h: Likewise.
27757 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27758 * sysdeps/mach/hurd/chdir.c: Likewise.
27759 * sysdeps/mach/hurd/fchdir.c: Likewise.
27760 * sysdeps/mach/hurd/rename.c: Likewise.
27761 * sysdeps/mach/hurd/rmdir.c: Likewise.
27762 * sysdeps/mach/hurd/seekdir.c: Likewise.
27763 * sysdeps/mach/hurd/setsid.c: Likewise.
27764 * sysdeps/posix/wait3.c: Likewise.
27765
568035b7
JM
27766 * All files with FSF copyright notices: Update copyright dates
27767 using scripts/update-copyrights.
27768 * intl/plural.c: Regenerated.
27769 * locale/programs/charmap-kw.h: Likewise.
27770 * locale/programs/locfile-kw.h: Likewise.
27771
da08f647
SP
277722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27773
0f5477af
SP
27774 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27775 four values.
27776
44e0d4c2
SP
27777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27778 calculation loop and add branch prediction.
27779
4d55b4e5
SP
27780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27781 check access beyond bounds of m1np.
27782
da08f647
SP
27783 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27784 MPTWO.
27785 (__inv): Remove local variable MPTWO to use the global
27786 constant.
27787 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27789 variable MPTWO.
27790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27791 MP3HALFS static const.
27792
8e051029
DM
277932013-01-01 David S. Miller <davem@davemloft.net>
27794
27795 * po/ca.po: Update from translation team.
27796
f4cf5f2d
JM
277972013-01-01 Joseph Myers <joseph@codesourcery.com>
27798
27799 * scripts/update-copyrights: New file.
27800 * Makeconfig: Reformat copyright notice.
27801 * ctype/ctype.h: Likewise.
27802 * debug/swprintf_chk.c: Likewise.
27803 * elf/dl-cache.c: Likewise.
27804 * elf/dl-debug.c: Likewise.
27805 * elf/dl-object.c: Likewise.
27806 * grp/initgroups.c: Likewise.
27807 * hurd/Makefile: Likewise.
27808 * hurd/hurd/signal.h: Likewise.
27809 * hurd/hurdfault.c: Likewise.
27810 * hurd/hurdioctl.c: Likewise.
27811 * hurd/hurdlookup.c: Likewise.
27812 * hurd/intr-msg.c: Likewise.
27813 * iconv/gconv_open.c: Likewise.
27814 * libio/swprintf.c: Likewise.
27815 * locale/lc-ctype.c: Likewise.
27816 * locale/nl_langinfo.c: Likewise.
27817 * mach/Machrules: Likewise.
27818 * mach/Makefile: Likewise.
27819 * malloc/obstack.h: Likewise.
27820 * manual/Makefile: Likewise.
27821 * manual/tsort.awk: Likewise.
27822 * misc/bits/stab.def: Likewise.
27823 * nis/nis_print_group_entry.c: Likewise.
27824 * nis/nis_table.c: Likewise.
27825 * nis/nss_compat/compat-pwd.c: Likewise.
27826 * nis/nss_compat/compat-spwd.c: Likewise.
27827 * po/Makefile: Likewise.
27828 * posix/fnmatch.c: Likewise.
27829 * posix/regex.h: Likewise.
27830 * resolv/Makefile: Likewise.
27831 * resolv/nss_dns/dns-network.c: Likewise.
27832 * resolv/res_hconf.c: Likewise.
27833 * scripts/gen-sorted.awk: Likewise.
27834 * soft-fp/soft-fp.h: Likewise.
27835 * stdio-common/printf.h: Likewise.
27836 * stdlib/monetary.h: Likewise.
27837 * stdlib/random.c: Likewise.
27838 * stdlib/random_r.c: Likewise.
27839 * sysdeps/generic/Makefile: Likewise.
27840 * sysdeps/gnu/Makefile: Likewise.
27841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27853 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27854 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27855 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27861 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27863 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27869 * sysdeps/mach/hurd/errnos.awk: Likewise.
27870 * sysdeps/mach/hurd/fork.c: Likewise.
27871 * sysdeps/mach/hurd/getcwd.c: Likewise.
27872 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27873 * sysdeps/mach/hurd/mmap.c: Likewise.
27874 * sysdeps/mach/hurd/utimes.c: Likewise.
27875 * sysdeps/mach/hurd/xmknod.c: Likewise.
27876 * sysdeps/posix/profil.c: Likewise.
27877 * sysdeps/posix/readdir_r.c: Likewise.
27878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27879 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27880 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27881 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27883 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27889 * sysdeps/pthread/lio_listio.c: Likewise.
27890 * sysdeps/sparc/dl-procinfo.h: Likewise.
27891 * sysdeps/unix/i386/sysdep.S: Likewise.
27892 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27893 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27894 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27895 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27897 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27898 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27899 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27900 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27901 * sysdeps/wordsize-32/divdi3.c: Likewise.
27902 * time/sys/time.h: Likewise.
27903 * wcsmbs/Makefile: Likewise.
27904
0549fbba
DM
279052013-01-01 David S. Miller <davem@davemloft.net>
27906
a141f1a7
DM
27907 * po/fr.po: Update from translation team.
27908
0549fbba
DM
27909 * catgets/gencat.c: Update copyright year.
27910 * csu/version.c: Likewise.
27911 * debug/catchsegv.sh: Likewise.
27912 * debug/pcprofiledump.c: Likewise.
27913 * debug/xtrace.sh: Likewise.
27914 * elf/ldconfig.c: Likewise.
27915 * elf/ldd.bash.in: Likewise.
27916 * elf/pldd.c: Likewise.
27917 * elf/sotruss.ksh: Likewise.
27918 * elf/sprof.c: Likewise.
27919 * iconv/iconv_prog.c: Likewise.
27920 * iconv/iconvconfig.c: Likewise.
27921 * locale/programs/locale.c: Likewise.
27922 * locale/programs/localedef.c: Likewise.
27923 * login/programs/pt_chown.c: Likewise.
27924 * malloc/memusage.sh: Likewise.
27925 * malloc/memusagestat.c: Likewise.
27926 * malloc/mtrace.pl: Likewise.
27927 * nscd/nscd.c: Likewise.
27928 * nss/getent.c: Likewise.
27929 * nss/makedb.c: Likewise.
27930 * posix/getconf.c: Likewise.
27931
18ea052c
SP
279322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27933
27934 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27935 numbers.
27936
9c89fca6
MF
279372012-12-30 Mike Frysinger <vapier@gentoo.org>
27938
27939 * math/bits/mathcalls.h (modf): Use __nonnull.
27940
085ec079
SP
279412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27942
27943 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27944 (split): Use macro CN instead of the bare value.
27945 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27946 could be used.
27947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27948 instead of the bare value.
27949 (power1): Likewise.
27950
6d9f97e1
SP
279512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27952
d63f73be
SP
27953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27954 __ATAN_TWOM.
27955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27956
6d9f97e1
SP
27957 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27958 their values.
27959 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27961 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27963
4c4febf5
AJ
279642012-12-28 Andreas Jaeger <aj@suse.de>
27965
af5843ef
AJ
27966 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27967 values are from Linux 3.7.
27968
4c4febf5
AJ
27969 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27970 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27971
99136f82
SP
279722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27973
2f216c3c 27974 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27975 TRUE case.
27976
99136f82
SP
27977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27978 (norm): Likewise.
27979 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27980 variables with preprocessor constants.
27981 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27982 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27983 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27984
7fffbdff
BH
279852012-12-27 Bruno Haible <bruno@clisp.org>
27986
27987 [BZ #14317]
27988 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27989 only if needed.
27990
b76eb5f0
SP
279912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27992
31a7fe5c
SP
27993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27994 and use variable directly.
27995 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27996
b76eb5f0
SP
27997 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27998 MPONE.
27999 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28001 variable MPONE.
28002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28004 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28005 include directive. Remove local variable MPONE.
28006 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28007 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28008 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28009
2c8bfe7d
DM
280102012-12-25 David S. Miller <davem@davemloft.net>
28011
28012 * version.h (RELEASE): Set to "development".
28013 (VERSION): Set to "2.17.90".
28014 * NEWS: Add 2.18 section.
28015
147d03b0
DM
280162012-12-21 David S. Miller <davem@davemloft.net>
28017
28018 * po/hr.po: Update from translation team.
28019
a8ebb2b9
AK
280202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28021
28022 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28023
95b4f1b6
SE
280242012-12-19 Steve Ellcey <sellcey@mips.com>
28025
b2d94007 28026 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28027
cedb2a90
MS
280282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28029
28030 * manual/contrib.texi (Contributors): Spelling correction.
28031
bbf527d6
DM
280322012-12-15 David S. Miller <davem@davemloft.net>
28033
28034 * po/ru.po: Update from translation team.
28035
bc38c906
DM
280362012-12-13 David S. Miller <davem@davemloft.net>
28037
85429b1a
DM
28038 * NEWS: Mention IFUNC testsuite enhancements.
28039
d283e353
DM
28040 * po/pl.po: Update from translation team.
28041 * po/bg.po: Likewise.
28042
bc38c906
DM
28043 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28044 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28045
a181b0d7
DM
280462012-12-11 David S. Miller <davem@davemloft.net>
28047
4641d57e
DM
28048 * po/sv.po: Update from translation team.
28049
f7bc6495
DM
28050 * po/vi.po: Update from translation team.
28051
6fc9048f
DM
28052 * po/cs.po: Update from translation team.
28053
a181b0d7
DM
28054 * po/de.po: Update from translation team.
28055 * po/eo.po: Likewise.
28056 * po/nl.po: Likewise.
28057
f70bfe80
SP
280582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28059
3c8b4190
SP
28060 [BZ #14246]
28061 * manual/argp.texi (Argp Helper Functions): Move node to follow
28062 Argp Parsing State.
28063
f70bfe80
SP
28064 [BZ #14872]
28065 * manual/conf.texi (Limits on File System Capacity): Mention if
28066 terminating null is included in the max size.
28067
188f0adf
AJ
280682012-12-10 Andreas Jaeger <aj@suse.de>
28069
28070 * po/cs.po: Update from translation team.
28071
56e7d3ad
SP
280722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28073
28074 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28075 void pointer and cast to uintptr_t.
28076 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28077 path.
28078 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28079 * sysdeps/s390/s390-64/memset.S: Likewise.
28080
76f2d2ea 280812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28082
28083 [BZ #14833]
28084 * menual/message.texi (Message Translation): Fix typos.
28085 (Helper programs for gettext): Likewise.
28086
67cbf9a2
AS
280872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28088
28089 [BZ #14898]
28090 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28091 Change to -1.
28092
682d0e9a
DM
280932012-12-07 David S. Miller <davem@davemloft.net>
28094
28095 * po/libc.pot: Update.
28096
573cd484
RH
280972012-12-07 Richard Henderson <rth@redhat.com>
28098
7e9da188 28099 [BZ #10114]
573cd484
RH
28100 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28101 normal/normal case to before the switch.
28102 (_FP_DIV): Likewise.
28103
e933a943
MF
281042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28105 Mike Frysinger <vapier@gentoo.org>
28106
28107 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28108 check for __NR_fadvise64_64.
28109
82123268
CM
281102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28111
28112 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28113 0, not just to plain "0" as a statement.
28114 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28115 with cw.
28116
d9814526
JM
281172012-12-06 Joseph Myers <joseph@codesourcery.com>
28118
28119 * NEWS: Use sourceware.org in Bugzilla URL.
28120
7728c574
SP
281212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28122
f16946dd
SP
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28124 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28125
5704bbcb
SP
28126 * stdio-common/tst-put-error.c (do_test): Add newline to the
28127 padded test to ensure flush.
28128
17aa0516
JL
281292012-12-05 Jeff Law <law@redhat.com>
28130
28131 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28132
363313b5
JM
281332012-12-05 Joseph Myers <joseph@codesourcery.com>
28134
effbd42a
JM
28135 * README: Don't refer to ports add-on as distributed separately.
28136 Mention AArch64 in list of systems supported in the ports add-on.
28137
87600365
JM
28138 * LICENSES: Add more non-FSF copyright and license notices.
28139
a0d7066a
JM
28140 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28141 ((unused)).
28142
66ca5a5b
JM
28143 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28144
363313b5
JM
28145 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28146 10000 as width of padded output.
28147
b37984ad
JM
281482012-12-04 Joseph Myers <joseph@codesourcery.com>
28149
9003570a
JM
28150 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28151
b37984ad
JM
28152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28153 variable LX with __attribute__ ((unused)).
28154 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28155 Likewise.
28156 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28159 with __attribute__ ((unused)).
28160
c8df52ec
DM
281612012-12-04 David S. Miller <davem@abraco.davemloft.net>
28162
28163 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28164
b3b099af
JM
281652012-12-04 Joseph Myers <joseph@codesourcery.com>
28166
c33aa6e3
JM
28167 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28168 (CFLAGS-nldbl-acos.c): New variable.
28169 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28170 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28171 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28172 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28173 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28174 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28175 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28176 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28177 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28178 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28179 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28180 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28181 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28182 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28183 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28184 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28185 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28186 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28187 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28188 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28189 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28190 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28191 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28192 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28193 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28194 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28195 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28196 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28197 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28198 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28199 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28200 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28201 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28202 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28203 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28204 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28205 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28206 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28207 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28208 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28209 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28210 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28211 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28212 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28213 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28214 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28215 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28216 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28217 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28218 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28219 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28220 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28221 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28222 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28223 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28224 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28225 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28226 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28227 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28228 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28229 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28230 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28231 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28232 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28233 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28234 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28235 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28236 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28237 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28238 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28239 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28240 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28241 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28242 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28243 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28244 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28245 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28246 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28247 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28248 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28249 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28250 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28251 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28252 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28253 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28254 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28255 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28256 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28257 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28258 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28259 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28260 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28261 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28262 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28263 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28264 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28265 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28266
20f0018d
JM
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28268 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28269
b3b099af
JM
28270 [BZ #14914]
28271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28272 whole low double instead of just low 47 bits when splitting values
28273 into two parts.
28274
029264d1
AM
282752012-12-03 Allan McRae <allan@archlinux.org>
28276
28277 * manual/stdio.texi (Predefined Printf Handlers): Remove
28278 @hsep and @vsep usage.
28279
c9d6789e
MF
282802012-12-03 Mike Frysinger <vapier@gentoo.org>
28281
28282 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28283 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28284
4b7634a5
JL
282852012-12-03 Jeff Law <law@redhat.com>
28286
28287 * time/sys/time.h (settimeofday): Do not mark TV argument
28288 as __nonnull.
28289
eb6cbd24
MF
282902012-12-01 Mike Frysinger <vapier@gentoo.org>
28291
28292 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28293 when currently writing and seek to current position when not.
28294 * libio/Makefile (tests): Remove bug-fclose1.
28295 * libio/bug-fclose1.c: Delete.
28296
f638872a
JM
282972012-12-01 Joseph Myers <joseph@codesourcery.com>
28298
28299 * manual/arith.texi (feenableexcept): Fix typo.
28300 (fedisableexcept): Likewise.
28301
48085d14
RM
283022012-11-30 Roland McGrath <roland@hack.frob.com>
28303
28304 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28305 second, differently-typed declaration, rather than a cast.
28306
1a538b9f
SP
283072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28308
28309 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28310 * include/rpc/svc.h: ... here.
28311
d07f2ff1 283122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28313
28314 [BZ #13013]
28315 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28316 depending n and resplen2 to catch cases where answer
28317 equals answerp2.
28318
c93ec1f0
CD
283192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28320
28321 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28322 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28323
37db69de
MF
283242012-11-29 Mike Frysinger <vapier@gentoo.org>
28325
28326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28327
e10c4e4f
RM
283282012-11-29 Roland McGrath <roland@hack.frob.com>
28329
28330 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28331
2af1b328
JL
283322012-11-28 Jeff Law <law@redhat.com>
28333
28334 [BZ #13761]
28335 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28336 dataset_temporary. Track alloca usage into alloca_used.
28337 If dataset is large allocate and release it via malloc/free.
28338
111db5b1
FW
283392012-06-04 Florian Weimer <fweimer@redhat.com>
28340
f06cc227 28341 [BZ #14197]
111db5b1
FW
28342 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28343
dd694abd
DM
283442012-11-28 David S. Miller <davem@davemloft.net>
28345
28346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28347
9984dd01
JM
283482012-11-28 Joseph Myers <joseph@codesourcery.com>
28349
28350 [BZ #14803]
28351 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28352 of pi/2 rounded to nearest to 64 bits.
28353 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28354 nearest to 64 bits.
28355 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28356 bits.
28357
14bc93a9
JL
283582012-11-28 Jeff Law <law@redhat.com>
28359 Martin Osvald <mosvald@redhat.com>
28360
28361 [BZ #14889]
28362 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28363 * sunrpc/svc.c: Include time.h.
28364 (__svc_accept_failed): New function.
28365 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28366 any reason other than EINTR, call __svc_accept_failed.
28367 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28368 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28369
e3c6aa3a
AS
283702012-11-28 Andreas Schwab <schwab@suse.de>
28371
28372 * scripts/abilist.awk: Also handle indirect functions in .opd
28373 section.
28374
1bead169
JM
283752012-11-28 Joseph Myers <joseph@codesourcery.com>
28376
28377 [BZ #13881]
28378 * sysdeps/x86/fpu/powl_helper.c: New file.
28379 * sysdeps/x86/fpu/Makefile: Likewise.
28380 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28381 (p3): New object.
28382 (__ieee754_powl): Use __powl_helper for finite arguments except
28383 integer exponents below 8.
28384 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28385 (p3): New object.
28386 (__ieee754_powl): Use __powl_helper for finite arguments except
28387 integer exponents below 8.
28388 * math/libm-test.inc (pow_test): Add more tests and enable some
28389 previously disabled tests.
28390 * sysdeps/i386/fpu/libm-test-ulps: Update.
28391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28392
0817d63d
SP
283932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28394 Carlos O'Donell <carlos_odonell@mentor.com>
28395
28396 * nss/makedb.c (is_prime): Assert that input is odd and greater
28397 than 4. Note that fact in a comment too.
28398 (next_prime): Add 4 to input.
28399
de2fd463
SP
284002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28401
28402 [BZ #11741]
28403 * libio/Makefile (tests): Add test case tst-fwrite-error.
28404 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28405 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28406 * libio/tst-fwrite-error.c: New test case.
28407
c515fb51
L
284082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28411 before casting to void *.
28412 * include/libc-internal.h (__pointer_type): New macro.
28413 (__integer_if_pointer_type_sub): Likewise.
28414 (__integer_if_pointer_type): Likewise.
28415 (cast_to_integer): Likewise.
28416 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28417 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28418 before casting to atomic64_t.
28419 (atomic_exchange_acq): Likewise.
28420 (__arch_exchange_and_add_body): Likewise.
28421 (__arch_add_body): Likewise.
28422 (atomic_add_negative): Likewise.
28423 (atomic_add_zero): Likewise.
28424
4cf77aa9
JM
284252012-11-26 Joseph Myers <joseph@codesourcery.com>
28426
28427 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28428 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28429 (add_fdes): Likewise.
28430 (linear_search_fdes): Likewise.
28431 (binary_search_unencoded_fdes): Likewise.
28432
d260b3b4
AS
284332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28434
28435 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28436
67060746
AC
284372012-11-24 Adam Conrad <adconrad@0c3.net>
28438
28439 * configure.in: Autodetect C++ header directories.
28440 * configure: Regenerated.
28441
800938a1
MF
284422012-11-23 Mike Frysinger <vapier@gentoo.org>
28443
28444 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28445
4e6e34e6
AS
284462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28447
28448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28449
7c7feb47
JM
284502012-11-22 Joseph Myers <joseph@codesourcery.com>
28451
7184dcdf
JM
28452 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28453 LDBL_MANT_DIG == 106]: Disable some tests.
28454 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28455 Likewise.
28456 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28457 Likewise.
28458
0a42601f
JM
28459 [BZ #14871]
28460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28461 input for small inputs. Return +/- pi/2 for large inputs.
28462 * math/libm-test.inc (atan_test): Add more tests.
28463
79c9b9fe
JM
28464 * sysdeps/generic/unwind-dw2-fde-glibc.c
28465 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28466 __attribute__ ((unused)).
28467
c60d3bf2
JM
28468 [BZ #14645]
28469 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28470 x * y if x and y are nonzero and z is zero.
28471
ef1e0867
JM
28472 [BZ #14811]
28473 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28474 nonzero exponents with absolute value below 0x1p-117 to +/-
28475 0x1p-117.
28476
1468ded3
JM
28477 [BZ #14869]
28478 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28479 up arguments below 2**-450, not just those below 2**-500.
28480 * math/libm-test.inc (hypot_test): Add another test.
28481
8e27e3cc
JM
28482 [BZ #14868]
28483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28484 Return a+b for ratio over 2**120, not 2**60.
28485 * math/libm-test.inc (hypot_test): Add another test.
28486
c9c0279b
JM
28487 * math/libm-test.inc (clog_test): Use
28488 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28489 (clog10_test): Likewise.
28490
7c7feb47
JM
28491 [BZ #6778]
28492 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28493
fff1530e
AS
284942012-11-22 Andreas Schwab <schwab@suse.de>
28495
28496 * sysdeps/i386/fpu/libm-test-ulps: Update.
28497
94558d30
PT
284982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28499
28500 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28501 printf output with newline.
28502
7e1be741
L
285032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28504
6bfea974
L
28505 [BZ #14865]
28506 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28507 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28508 -z nodlopen, -z initfirst and -z execstack support.
28509 * configure: Regenerated.
28510
7e1be741
L
28511 * elf/elf.h (DF_1_NODIRECT): New macro.
28512 (DF_1_IGNMULDEF): Likewise.
28513 (DF_1_NOKSYMS): Likewise.
28514 (DF_1_NOHDR): Likewise.
28515 (DF_1_EDITED): Likewise.
28516 (DF_1_NORELOC): Likewise.
28517 (DF_1_SYMINTPOSE): Likewise.
28518 (DF_1_GLOBAUDIT): Likewise.
28519 (DF_1_SINGLETON): Likewise.
28520 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28521 DT_1_SUPPORTED_MASK bits.
28522 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28523
105ce2ce
CD
285242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28525
28526 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28527
123be9de
TS
285282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28529
d072f3f7
TS
28530 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28531 macro.
28532
123be9de
TS
28533 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28534 (sendmmsg): Move declarations...
28535 * socket/sys/socket.h: ... here.
28536 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28537 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28538 include it from...
28539 * socket/recvmmsg.c: ... this new file.
28540 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28541 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28542 definition of __sendmmsg hidden.
28543 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28544 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28545 Move ENOSYS stub into and include it from...
28546 * socket/sendmmsg.c: ... this new file.
28547 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28548 (sysdep_routines): Move recvmmsg and sendmmsg...
28549 * socket/Makefile (routines): ... here.
28550 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28551 (GLIBC_PRIVATE): Add __sendmmsg.
28552 * include/sys/socket.h (__sendmmsg): Add declarations.
28553 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28554 sendmmsg.
28555
cf9a5d18
JM
285562012-11-20 Joseph Myers <joseph@codesourcery.com>
28557
28558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28559 variable I1 with __attribute__ ((unused)).
28560 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28561
ecd4caf9
JM
285622012-11-19 Joseph Myers <joseph@codesourcery.com>
28563
be14d48f
JM
28564 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28565 DUMMY variables with __attribute__ ((unused)).
28566
ecd4caf9
JM
28567 * bits/byteswap.h: Include <bits/types.h>.
28568 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28569
986cab95
PT
285702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28571
28572 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28573 string_t. Do not manually set errno.
28574 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28575 length with __strnlen. Make sure to both set errno and return it on
28576 failure.
28577
6d33cc9d
DM
285782012-11-19 David S. Miller <davem@davemloft.net>
28579
28580 With help from Joseph Myers.
28581 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28582 very large arguments properly.
28583 * math/libm-test.inc (atan_test): New tests.
28584 (atan2_test): New tests.
28585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28587
ee663277
JM
285882012-11-19 Joseph Myers <joseph@codesourcery.com>
28589
877f2d8e
JM
28590 [BZ #14856]
28591 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28592 Define to 3.
28593
116fc08a
JM
28594 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28595 [POSIX] (EADDRNOTAVAIL): Likewise.
28596 [POSIX] (EAFNOSUPPORT): Likewise.
28597 [POSIX] (EALREADY): Likewise.
28598 [POSIX] (ECONNABORTED): Likewise.
28599 [POSIX] (ECONNREFUSED): Likewise.
28600 [POSIX] (ECONNRESET): Likewise.
28601 [POSIX] (EDESTADDRREQ): Likewise.
28602 [POSIX] (EDQUOT): Likewise.
28603 [POSIX] (EHOSTUNREACH): Likewise.
28604 [POSIX] (EIDRM): Likewise.
28605 [POSIX] (EISCONN): Likewise.
28606 [POSIX] (ELOOP): Likewise.
28607 [POSIX] (EMULTIHOP): Likewise.
28608 [POSIX] (ENETDOWN): Likewise.
28609 [POSIX] (ENETUNREACH): Likewise.
28610 [POSIX] (ENOBUFS): Likewise.
28611 [POSIX] (ENODATA): Likewise.
28612 [POSIX] (ENOLINK): Likewise.
28613 [POSIX] (ENOMSG): Likewise.
28614 [POSIX] (ENOPROTOOPT): Likewise.
28615 [POSIX] (ENOSR): Likewise.
28616 [POSIX] (ENOSTR): Likewise.
28617 [POSIX] (ENOTCONN): Likewise.
28618 [POSIX] (ENOTSOCK): Likewise.
28619 [POSIX] (EOPNOTSUPP): Likewise.
28620 [POSIX] (EOVERFLOW): Likewise.
28621 [POSIX] (EPROTO): Likewise.
28622 [POSIX] (EPROTONOSUPPORT): Likewise.
28623 [POSIX] (EPROTOTYPE): Likewise.
28624 [POSIX] (ESTALE): Likewise.
28625 [POSIX] (ETIME): Likewise.
28626 [POSIX] (ETXTBSY): Likewise.
28627 [POSIX] (EWOULDBLOCK): Likewise.
28628 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28629 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28630 [POSIX] (SEEK_CUR): Likewise.
28631 [POSIX] (SEEK_END): Likewise.
28632 [POSIX || UNIX98] (mode_t): Do not require.
28633 [POSIX] (off_t): Likewise.
28634 [POSIX] (pid_t): Likewise.
28635 [POSIX] (sys/stat.h): Do not allow header.
28636 [POSIX] (unistd.h): Likewise.
28637 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28638 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28639 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28640 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28641 require.
28642 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28643 sigevent): Specify elements.
28644 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28645 entry.
28646 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28647 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28648
a483863f
JM
28649 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28650 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28651 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28652 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28653 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28654 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28655 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28656 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28657 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28658 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28659 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28660 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28661 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28662 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28663 Likewise.
28664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28665 Likewise.
28666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28667 Likewise.
28668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28669 Likewise.
28670 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28671 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28672 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28674 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28675 Specify lower bound on value.
28676 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28677 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28678 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28679 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28680 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28681 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28682 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28683 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28684 value.
28685 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28686 as optional.
28687 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28688 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28689 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28690 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28691 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28692 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28693 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28694 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28695 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28696 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28697 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28698 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28699 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28700 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28701 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28702 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28703 entry.
28704 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28705 optional.
28706 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28707 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28708 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28709 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28710 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28711 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28712 Likewise.
28713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28714 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28715 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28716 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28717 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28718 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28719 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28720 as optional.
28721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28724 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28725 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28726 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28727 specify as optional.
28728 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28729 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28730 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28731 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28732 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28733 [XPG3] (NL_LANGMAX): Likewise.
28734 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28735 [POSIX || XPG3] (NL_NMAX): Likewise.
28736 [POSIX || XPG3] (NL_SETMAX): Likewise.
28737 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28738 [XPG3] (NZERO): Likewise.
28739 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28740 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28741 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28742 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28743 (REG_ERANGE): Expect.
28744 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28745 optional-constant.
28746 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28747 Use (void) in prototype.
28748 [POSIX] (*_t): Allow.
28749 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28750 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28751 (WRDE_BADVAL): Expect.
28752
5ba924e3
JM
28753 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28754 expect.
28755 [XPG3 || XPG4] (O_RSYNC): Likewise.
28756 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28757 Likewise.
28758 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28759 [XPG3 || XPG4] (sigqueue): Likewise.
28760 [XPG3 || XPG4] (sigtimedwait): Likewise.
28761 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28762 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28763 [XPG3 || XPG4] (vsnprintf): Likewise.
28764 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28765 Likewise.
28766 [XPG3 || XPG4] (blksize_t): Likewise.
28767 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28768 Likewise.
28769 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28770 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28771 [XPG3 || XPG4] (struct itimerspec): Likewise.
28772 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28773 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28774 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28775 [XPG3 || XPG4] (clockid_t): Likewise.
28776 [XPG3 || XPG4] (timer_t): Likewise.
28777 [XPG3 || XPG4] (clock_getres): Likewise.
28778 [XPG3 || XPG4] (clock_gettime): Likewise.
28779 [XPG3 || XPG4] (clock_settime): Likewise.
28780 [XPG3 || XPG4] (nanosleep): Likewise.
28781 [XPG3 || XPG4] (timer_create): Likewise.
28782 [XPG3 || XPG4] (timer_delete): Likewise.
28783 [XPG3 || XPG4] (timer_gettime): Likewise.
28784 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28785 [XPG3 || XPG4] (timer_settime): Likewise.
28786 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28787 [XPG3 || XPG4] (getlogin_r): Likewise.
28788 [XPG3 || XPG4] (pread): Likewise.
28789 [XPG3 || XPG4] (pthread_atfork): Likewise.
28790 [XPG3 || XPG4] (pwrite): Likewise.
28791
ee663277
JM
28792 [BZ #14835]
28793 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28794 <bits/siginfo.h>.
28795
942caa16
PT
287962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28797
e19af380
PT
28798 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28799 finalizing MALLSTREAM.
28800
942caa16
PT
28801 * sysdeps/mach/hurd/syncfs.c: New file.
28802
cfde9b46
SP
288032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28804
28805 [BZ #14719]
28806 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28807 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28808 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28809 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28810 (_nss_dns_gethostbyname4_r): Likewise.
28811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28812 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28813
f6da27e5
PH
288142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28815
28816 [BZ #13763]
28817 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28818
6665d4a2
SM
288192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28820
1f51ee92
SM
28821 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28822 * elf/cache.c (print_entry): Print ",AArch64" for
28823 FLAG_AARCH64_LIB64
28824
6665d4a2
SM
28825 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28826 * elf/cache.c (print_entry): Print ",hard-float" for
28827 FLAG_ARM_LIBHF.
28828
05b227bd
DM
288292012-11-18 David S. Miller <davem@davemloft.net>
28830
28831 With help from Joseph Myers.
28832 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28833 cutoff to 2**-13.
28834 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28835 cutoff to 2**-25.
28836 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28837 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28838 small.
28839 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28840 * math/libm-test.inc (y0_test): New tests.
28841 (y1_test): New tests.
28842 * sysdeps/i386/fpu/libm-test-ulps: Update.
28843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28845
786b0b67
AS
288462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28847
28848 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28849 64-bit targets.
28850 * configure: Regenerated.
28851
8e18b86d
DM
288522012-11-17 David S. Miller <davem@davemloft.net>
28853
28854 [BZ #14811]
28855 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28856 nonzero exponents with absolute value below 0x1p-128 to +/-
28857 0x1p-128.
28858
531f1ae0
JM
288592012-11-17 Joseph Myers <joseph@codesourcery.com>
28860
12df29e2
JM
28861 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28862
150dc1a0
JM
28863 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28864
531f1ae0
JM
28865 * posix/getconf-speclist.c: New file.
28866 * posix/posix-envs.def: Likewise.
28867 * posix/confstr.c (START_ENV_GROUP): New macro.
28868 (END_ENV_GROUP): Likewise.
28869 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28870 (KNOWN_PRESENT_ENV_STRING): Likewise.
28871 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28872 (UNKNOWN_ENVIRONMENT): Likewise.
28873 (confstr): Include posix-envs.def instead of handling
28874 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28875 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28876 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28877 (END_ENV_GROUP): Likewise.
28878 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28879 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28880 (UNKNOWN_ENVIRONMENT): Likewise.
28881 (__sysconf): Include posix-envs.def instead of handling associated
28882 cases directly here.
28883 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28884 preprocessing getconf-speclist.c rather than running getconf or
28885 generating empty file.
28886
a93f9cbc
PT
288872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28888
28889 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28890
d64d9f87
AL
288912012-11-16 Andrej Lajovic <natrij@gmail.com>
28892
28893 [BZ #14672]
28894 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28895
447885eb
DM
288962012-11-16 David S. Miller <davem@davemloft.net>
28897
28898 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28899 smaller than LDBL_EPSILON/2.0L, just return xm1.
28900
bcbf9830
L
289012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28902
28903 * elf/tst-array1.c (init): Set constructor priority to 1000.
28904 (fini): Set destructor priority to 1000.
28905 * elf/tst-array2dep.c: Likewise.
28906
2b766585
SP
289072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28908
28909 [BZ #11741]
28910 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28911 (_IO_new_file_xsputn): Also return EOF if none of the input
28912 data was written when overflow failed.
28913 * libio/iopadn.c (_IO_padn): Likewise.
28914 * libio/iowpadn.c (_IO_wpadn): Likewise.
28915 * stdio-common/tst-put-error.c: Add copyright notice.
28916 (do_test): Add case for printing padded string.
28917 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28918 _IO_padn returned error.
28919 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28920 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28921 return EOF.
28922
b1848fde
SP
289232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28924
28925 * libio/libioP.h: Add comment note that the references to C++
28926 bits are now obsolete.
28927
2fd89785
MS
289282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28929
28930 * math/libm-test.inc (check_complex): Use asprintf.
28931
e3ea5409
JM
289322012-11-14 Joseph Myers <joseph@codesourcery.com>
28933
28934 * debug/pcprofiledump.c (print_version): Update copyright year.
28935 * malloc/memusagestat.c (print_version): Likewise.
28936
2e64d265
L
289372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 [BZ #14831]
28940 * elf/Makefile (tests): Add tst-audit8.
28941 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28942 ($(objpfx)tst-audit8.out): New target.
28943 (tst-audit8-ENV): New variable.
28944 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28945 audit if l_reloc_result is NULL.
28946 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28947 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28948 * elf/tst-audit8.c: New file.
28949
c485e4d2
MS
289502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28951
28952 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28953 * misc/Makefile (CFLAGS-select.c): Define.
28954 * posix/Makefile (CFLAGS-pause.c): Define.
28955
3a0d900a
DM
289562012-11-13 David S. Miller <davem@davemloft.net>
28957
28958 * crypt/Makefile: Move test targets after toplevel Rules
28959 inclusion. Grab any necessary sysdep routines when linking.
28960 * crypt/md5.c (md5_process_block): Remove define, we will always
28961 name it __md5_process_block.
28962 (md5_finish_ctx): Update md5_process_block call.
28963 (md5_stream): Likewise.
28964 (md5_process_bytes): Likewise.
28965 (md5_process_block): Rename to __md5_process_block and move to ...
28966 * crypt/md5-block.c: ... here.
28967 * crypt/sha256.c (sha256_process_block): Move to ...
28968 * crypt/sha256-block.c: ... here.
28969 * crypt/sha512.c (sha512_process_block): Move to ...
28970 * crypt/sha512-block.c: ... here.
28971 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28972 path.
28973 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28974 * sysdeps/sparc/sparc64/multiarch/Makefile
28975 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28976 crypt subdir.
28977 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28978 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28979 multiarch changes.
28980 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28981 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28982 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28983 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28984 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28985 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28986 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28987 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28988 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28989 file.
28990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28991 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28992 file.
28993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28994
8ca89318
JM
289952012-11-13 Joseph Myers <joseph@codesourcery.com>
28996
e27d476a
JM
28997 * timezone/tzselect.ksh: Update from tzcode git revision
28998 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28999 * timezone/zdump.c: Likewise.
29000 * timezone/zic.c: Likewise.
29001 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29002 in TZVERSION setting, not $(PKGVERSION).
29003 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29004 REPORT_BUGS_TO settings.
29005
8ca89318
JM
29006 [BZ #14838]
29007 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29008 macro.
29009
47594329
MS
290102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29011
29012 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29013 detection to immediately after _FP_ROUND().
29014 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29015 bits are 0.
29016
640ac3f1
DM
290172012-11-11 David S. Miller <davem@davemloft.net>
29018
29019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29020 inttypes.h
29021 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29022 __close rather than their public counterparts.
29023
3d2577bb
JM
290242012-11-10 Joseph Myers <joseph@codesourcery.com>
29025
29026 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29027 file.
29028 [UNIX98] (sem_timedwait): Do not expect.
29029 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29030 [XPG4 || UNIX98] (sockatmark): Do not expect.
29031 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29032 (clock_getcpuclockid): Do not expect.
29033 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29034 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29035 Do not expect.
29036 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29037 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29038 [UNIX98] (vwscanf): Likewise.
29039 [UNIX98] (vswscanf): Likewise.
29040
fb1ae1ee
JM
290412012-11-09 Joseph Myers <joseph@codesourcery.com>
29042
9ec6f8bd
JM
29043 * timezone/version.h: Remove file.
29044 * timezone/README: Do not refer to version.h.
29045 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29046 $(objpfx)version.h.
29047 ($(objpfx)zdump.o): Likewise.
c3f81911 29048 ($(objpfx)version.h): New target.
9ec6f8bd 29049
0aa8f8a1
JM
29050 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29051 2012i.
29052 * timezone/README: Don't mention modification to tzselect.ksh.
29053 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29054 work on unmodified tzselect.ksh. Substitute version numbers in
29055 tzselect.ksh.
29056
4e87147f
JM
29057 * Makefile (format-me): Remove.
29058 (INSTALL): Adjust indentation. Use commands directly instead of
29059 using $(format-me).
29060
8b748aed
JM
29061 * aclocal.m4 (ACX_PKGVERSION): New macro.
29062 (ACX_BUGURL): Likewise.
29063 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29064 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29065 (REPORT_BUGS_TO): Likewise.
29066 * configure: Regenerated.
29067 * config.h.in (PKGVERSION): New macro.
29068 (REPORT_BUGS_TO): Likewise.
29069 * config.make.in (PKGVERSION): New variable.
29070 (PKGVERSION_TEXI): Likewise.
29071 (REPORT_BUGS_TO): Likewise.
29072 (REPORT_BUGS_TEXI): Likewise.
29073 * Makefile (format-me): Use -I$(common-objpfx)manual.
29074 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29075 ($(common-objpfx)manual/%): New target.
29076 (manual/%): Remove target.
29077 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29078 (print_version): Use PKGVERSION.
29079 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29080 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29081 and REPORT_BUGS_TO.
29082 ($(objpfx)xtrace): Likewise.
29083 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29084 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29085 (print_version): Use PKGVERSION.
29086 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29087 (do_version): Use PKGVERSION.
29088 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29089 REPORT_BUGS_TO.
29090 (common-ldd-rewrite): Likewise.
29091 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29092 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29093 (print_version): Use PKGVERSION.
29094 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29095 * elf/pldd.c (argp_program_bug_address): Remove variable.
29096 (more_help): New function.
29097 (argp): Use more_help.
29098 (print_version): Use PKGVERSION.
29099 * elf/sln.c (main): Use PKGVERSION.
29100 (usage): Use REPORT_BUGS_TO.
29101 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29102 (top level): Use PKGVERSION.
29103 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29104 (print_version): Use PKGVERSION.
29105 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29106 (print_version): Use PKGVERSION.
29107 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29108 (print_version): Use PKGVERSION.
29109 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29110 (print_version): Use PKGVERSION.
29111 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29112 (print_version): Use PKGVERSION.
29113 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29114 (print_version): Use PKGVERSION.
29115 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29116 and BUGURL.
29117 ($(objpfx)memusage): Likewise.
29118 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29119 (do_version): Use PKGVERSION.
29120 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29121 (print_version): Use PKGVERSION.
29122 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29123 ($PKGVERSION): New variable.
29124 ($REPORT_BUGS_TO): Likewise.
29125 (usage): Use $REPORT_BUGS_TO.
29126 (top level): Use $PKGVERSION.
29127 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29128 ($(objpfx)pkgvers.texi): New rule.
29129 ($(objpfx)stamp-pkgvers): Likewise.
29130 * manual/install.texi: Include pkgvers.texi.
29131 (--with-pkgversion): Document new configure option.
29132 (--with-bugurl): Likewise.
29133 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29134 than necessarily for this particular distribution. Use
29135 REPORT_BUGS_TO for where to report bugs.
29136 * INSTALL: Regenerated.
29137 * manual/libc.texinfo: Include pkgvers.texi.
29138 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29139 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29140 (print_version): Use PKGVERSION.
29141 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29142 (print_version): Use PKGVERSION.
29143 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29144 (print_version): Use PKGVERSION.
29145 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29146 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29147 macro.
29148 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29149 (print_version): Use PKGVERSION.
29150 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29151 (print_version): Use PKGVERSION.
29152 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29153 and PKGVERSION.
29154
92e4b6a9
JM
29155 * timezone/checktab.awk: Update from tzcode 2012i.
29156 * timezone/ialloc.c: Likewise.
29157 * timezone/private.h: Likewise.
29158 * timezone/scheck.c: Likewise.
29159 * timezone/tzfile.h: Likewise.
29160 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29161 (TZVERSION): Hardcode tzcode version number.
29162 * timezone/zdump.c: Update from tzcode 2012i.
29163 * timezone/zic.c: Likewise.
29164 * timezone/version.h: New file.
29165 * timezone/README: Describe version.h. Update upstream location.
29166
9bde902c
JM
29167 [BZ #14824]
29168 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29169 (mktemp): Enable declaration.
29170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29174 Likewise.
29175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29176 Likewise.
29177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29178 Likewise.
29179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29180 Likewise.
29181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29182 Likewise.
29183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29184 Likewise.
29185
fb1ae1ee
JM
29186 [BZ #14821]
29187 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29188 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29189 for copies of such integer values.
29190 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29191 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29192
2c1adbcb
AJ
291932012-11-09 Andreas Jaeger <aj@suse.de>
29194
29195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29196 definitions and declarations that are provided by
29197 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29198
d0f8457e
AK
291992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29200
3a235abb 29201 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29202 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29203 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29204 definition.
29205
57241e26
MS
292062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29207
29208 * elf/elf.h: Update comment before AArch64 relocations.
29209
60e8270d
DM
292102012-11-07 David S. Miller <davem@davemloft.net>
29211
29212 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29213 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29214 (__start_context): Declare.
29215 (__makecontext_ret): Delete.
29216 (__makecontext): Hook up __start_context instead of
29217 __makecontext_ret.
29218 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29219 (sysdep_routines): Add __start_context when in stdlib.
29220
0fbb0fbc
JM
292212012-11-07 Joseph Myers <joseph@codesourcery.com>
29222
29223 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29224 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29225 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29226 hardcoded "nm".
29227 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29228 (READELF): New variable. Use it instead of hardcoded "readelf".
29229
eb48db7e
L
292302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29233 * sysdeps/x86/Makefile: Here.
29234 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29235 * sysdeps/x86/tst-xmmymm.sh: This.
29236
05bcf62a
JM
292372012-11-07 Joseph Myers <joseph@codesourcery.com>
29238
c4b6cf53
JM
29239 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29240 expectations.
29241 [UNIX98] (pthread_barrier_t): Do not expect.
29242 [UNIX98] (pthread_barrierattr_t): Likewise.
29243 [UNIX98] (pthread_spinlock_t): Likewise.
29244 [UNIX98] (pthread_barrier_destroy): Likewise.
29245 [UNIX98] (pthread_barrier_init): Likewise.
29246 [UNIX98] (pthread_barrier_wait): Likewise.
29247 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29248 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29249 [UNIX98] (pthread_barrierattr_init): Likewise.
29250 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29251 [UNIX98] (pthread_getcpuclockid): Likewise.
29252 [UNIX98] (pthread_mutex_timedlock): Likewise.
29253 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29254 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29255 [UNIX98] (pthread_sigmask): Likewise.
29256 [UNIX98] (pthread_spin_destroy): Likewise.
29257 [UNIX98] (pthread_spin_init): Likewise.
29258 [UNIX98] (pthread_spin_lock): Likewise.
29259 [UNIX98] (pthread_spin_trylock): Likewise.
29260 [UNIX98] (pthread_spin_unlock): Likewise.
29261 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29262 Do not expect.
29263 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29264 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29265 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29266 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29267 [XPG3 || XPG4] (pthread_key_t): Likewise.
29268 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29269 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29270 [XPG3 || XPG4] (pthread_once_t): Likewise.
29271 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29272 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29273 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29274 [XPG3 || XPG4] (pthread_t): Likewise.
29275
cbe6e120
JM
29276 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29277 not expect.
29278 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29279
1b126443
JM
29280 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29281 Change function return type to int.
29282
b961a573
JM
29283 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29284 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29285 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29286 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29287 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29288 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29289 [!POSIX] (posix_madvise): Likewise.
29290 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29291 && !UNIX98].
29292 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29293 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29294 (mode_t): Likewise.
29295 (posix_mem_offset): Likewise.
29296 (posix_typed_mem_get_info): Likewise.
29297 (posix_typed_mem_open): Likewise.
29298
9e188909
JM
29299 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29300 Change condition to [XOPEN2K8].
29301
05bcf62a
JM
29302 * conform/conformtest.pl: Preprocess allow-header data with -x c
29303 instead of from stdin.
29304 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29305 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29306 [C99-based standards] (cerfc): Likewise.
29307 [C99-based standards] (cexp2): Likewise.
29308 [C99-based standards] (cexpm1): Likewise.
29309 [C99-based standards] (clog10): Likewise.
29310 [C99-based standards] (clog1p): Likewise.
29311 [C99-based standards] (clog2): Likewise.
29312 [C99-based standards] (clgamma): Likewise.
29313 [C99-based standards] (ctgamma): Likewise.
29314 [C99-based standards] (cerff): Likewise.
29315 [C99-based standards] (cerfcf): Likewise.
29316 [C99-based standards] (cexp2f): Likewise.
29317 [C99-based standards] (cexpm1f): Likewise.
29318 [C99-based standards] (clog10f): Likewise.
29319 [C99-based standards] (clog1pf): Likewise.
29320 [C99-based standards] (clog2f): Likewise.
29321 [C99-based standards] (clgammaf): Likewise.
29322 [C99-based standards] (ctgammaf): Likewise.
29323 [C99-based standards] (cerfl): Likewise.
29324 [C99-based standards] (cerfcl): Likewise.
29325 [C99-based standards] (cexp2l): Likewise.
29326 [C99-based standards] (cexpm1l): Likewise.
29327 [C99-based standards] (clog10l): Likewise.
29328 [C99-based standards] (clog1pl): Likewise.
29329 [C99-based standards] (clog2l): Likewise.
29330 [C99-based standards] (clgammal): Likewise.
29331 [C99-based standards] (ctgammal): Likewise.
29332 * conform/data/inttypes.h-data [C99-based standards]: Include
29333 stdint.h-data. Remove all expectations for stdint.h contents.
29334 [C99-based standards] (PRI*): Do not allow.
29335 [C99-based standards] (SCN*): Likewise.
29336 [C99-based standards] (*_t): Likewise.
29337 [C99-based-standards] (PRId8): Expect macro.
29338 [C99-based-standards] (PRIi8): Likewise.
29339 [C99-based-standards] (PRIo8): Likewise.
29340 [C99-based-standards] (PRIu8): Likewise.
29341 [C99-based-standards] (PRIx8): Likewise.
29342 [C99-based-standards] (PRIX8): Likewise.
29343 [C99-based-standards] (SCNd8): Likewise.
29344 [C99-based-standards] (SCNi8): Likewise.
29345 [C99-based-standards] (SCNo8): Likewise.
29346 [C99-based-standards] (SCNu8): Likewise.
29347 [C99-based-standards] (SCNx8): Likewise.
29348 [C99-based-standards] (PRIdLEAST8): Likewise.
29349 [C99-based-standards] (PRIiLEAST8): Likewise.
29350 [C99-based-standards] (PRIoLEAST8): Likewise.
29351 [C99-based-standards] (PRIuLEAST8): Likewise.
29352 [C99-based-standards] (PRIxLEAST8): Likewise.
29353 [C99-based-standards] (PRIXLEAST8): Likewise.
29354 [C99-based-standards] (SCNdLEAST8): Likewise.
29355 [C99-based-standards] (SCNiLEAST8): Likewise.
29356 [C99-based-standards] (SCNoLEAST8): Likewise.
29357 [C99-based-standards] (SCNuLEAST8): Likewise.
29358 [C99-based-standards] (SCNxLEAST8): Likewise.
29359 [C99-based-standards] (PRIdFAST8): Likewise.
29360 [C99-based-standards] (PRIiFAST8): Likewise.
29361 [C99-based-standards] (PRIoFAST8): Likewise.
29362 [C99-based-standards] (PRIuFAST8): Likewise.
29363 [C99-based-standards] (PRIxFAST8): Likewise.
29364 [C99-based-standards] (PRIXFAST8): Likewise.
29365 [C99-based-standards] (SCNdFAST8): Likewise.
29366 [C99-based-standards] (SCNiFAST8): Likewise.
29367 [C99-based-standards] (SCNoFAST8): Likewise.
29368 [C99-based-standards] (SCNuFAST8): Likewise.
29369 [C99-based-standards] (SCNxFAST8): Likewise.
29370 [C99-based-standards] (PRId16): Likewise.
29371 [C99-based-standards] (PRIi16): Likewise.
29372 [C99-based-standards] (PRIo16): Likewise.
29373 [C99-based-standards] (PRIu16): Likewise.
29374 [C99-based-standards] (PRIx16): Likewise.
29375 [C99-based-standards] (PRIX16): Likewise.
29376 [C99-based-standards] (SCNd16): Likewise.
29377 [C99-based-standards] (SCNi16): Likewise.
29378 [C99-based-standards] (SCNo16): Likewise.
29379 [C99-based-standards] (SCNu16): Likewise.
29380 [C99-based-standards] (SCNx16): Likewise.
29381 [C99-based-standards] (PRIdLEAST16): Likewise.
29382 [C99-based-standards] (PRIiLEAST16): Likewise.
29383 [C99-based-standards] (PRIoLEAST16): Likewise.
29384 [C99-based-standards] (PRIuLEAST16): Likewise.
29385 [C99-based-standards] (PRIxLEAST16): Likewise.
29386 [C99-based-standards] (PRIXLEAST16): Likewise.
29387 [C99-based-standards] (SCNdLEAST16): Likewise.
29388 [C99-based-standards] (SCNiLEAST16): Likewise.
29389 [C99-based-standards] (SCNoLEAST16): Likewise.
29390 [C99-based-standards] (SCNuLEAST16): Likewise.
29391 [C99-based-standards] (SCNxLEAST16): Likewise.
29392 [C99-based-standards] (PRIdFAST16): Likewise.
29393 [C99-based-standards] (PRIiFAST16): Likewise.
29394 [C99-based-standards] (PRIoFAST16): Likewise.
29395 [C99-based-standards] (PRIuFAST16): Likewise.
29396 [C99-based-standards] (PRIxFAST16): Likewise.
29397 [C99-based-standards] (PRIXFAST16): Likewise.
29398 [C99-based-standards] (SCNdFAST16): Likewise.
29399 [C99-based-standards] (SCNiFAST16): Likewise.
29400 [C99-based-standards] (SCNoFAST16): Likewise.
29401 [C99-based-standards] (SCNuFAST16): Likewise.
29402 [C99-based-standards] (SCNxFAST16): Likewise.
29403 [C99-based-standards] (PRId32): Likewise.
29404 [C99-based-standards] (PRIi32): Likewise.
29405 [C99-based-standards] (PRIo32): Likewise.
29406 [C99-based-standards] (PRIu32): Likewise.
29407 [C99-based-standards] (PRIx32): Likewise.
29408 [C99-based-standards] (PRIX32): Likewise.
29409 [C99-based-standards] (SCNd32): Likewise.
29410 [C99-based-standards] (SCNi32): Likewise.
29411 [C99-based-standards] (SCNo32): Likewise.
29412 [C99-based-standards] (SCNu32): Likewise.
29413 [C99-based-standards] (SCNx32): Likewise.
29414 [C99-based-standards] (PRIdLEAST32): Likewise.
29415 [C99-based-standards] (PRIiLEAST32): Likewise.
29416 [C99-based-standards] (PRIoLEAST32): Likewise.
29417 [C99-based-standards] (PRIuLEAST32): Likewise.
29418 [C99-based-standards] (PRIxLEAST32): Likewise.
29419 [C99-based-standards] (PRIXLEAST32): Likewise.
29420 [C99-based-standards] (SCNdLEAST32): Likewise.
29421 [C99-based-standards] (SCNiLEAST32): Likewise.
29422 [C99-based-standards] (SCNoLEAST32): Likewise.
29423 [C99-based-standards] (SCNuLEAST32): Likewise.
29424 [C99-based-standards] (SCNxLEAST32): Likewise.
29425 [C99-based-standards] (PRIdFAST32): Likewise.
29426 [C99-based-standards] (PRIiFAST32): Likewise.
29427 [C99-based-standards] (PRIoFAST32): Likewise.
29428 [C99-based-standards] (PRIuFAST32): Likewise.
29429 [C99-based-standards] (PRIxFAST32): Likewise.
29430 [C99-based-standards] (PRIXFAST32): Likewise.
29431 [C99-based-standards] (SCNdFAST32): Likewise.
29432 [C99-based-standards] (SCNiFAST32): Likewise.
29433 [C99-based-standards] (SCNoFAST32): Likewise.
29434 [C99-based-standards] (SCNuFAST32): Likewise.
29435 [C99-based-standards] (SCNxFAST32): Likewise.
29436 [C99-based-standards] (PRId64): Likewise.
29437 [C99-based-standards] (PRIi64): Likewise.
29438 [C99-based-standards] (PRIo64): Likewise.
29439 [C99-based-standards] (PRIu64): Likewise.
29440 [C99-based-standards] (PRIx64): Likewise.
29441 [C99-based-standards] (PRIX64): Likewise.
29442 [C99-based-standards] (SCNd64): Likewise.
29443 [C99-based-standards] (SCNi64): Likewise.
29444 [C99-based-standards] (SCNo64): Likewise.
29445 [C99-based-standards] (SCNu64): Likewise.
29446 [C99-based-standards] (SCNx64): Likewise.
29447 [C99-based-standards] (PRIdLEAST64): Likewise.
29448 [C99-based-standards] (PRIiLEAST64): Likewise.
29449 [C99-based-standards] (PRIoLEAST64): Likewise.
29450 [C99-based-standards] (PRIuLEAST64): Likewise.
29451 [C99-based-standards] (PRIxLEAST64): Likewise.
29452 [C99-based-standards] (PRIXLEAST64): Likewise.
29453 [C99-based-standards] (SCNdLEAST64): Likewise.
29454 [C99-based-standards] (SCNiLEAST64): Likewise.
29455 [C99-based-standards] (SCNoLEAST64): Likewise.
29456 [C99-based-standards] (SCNuLEAST64): Likewise.
29457 [C99-based-standards] (SCNxLEAST64): Likewise.
29458 [C99-based-standards] (PRIdFAST64): Likewise.
29459 [C99-based-standards] (PRIiFAST64): Likewise.
29460 [C99-based-standards] (PRIoFAST64): Likewise.
29461 [C99-based-standards] (PRIuFAST64): Likewise.
29462 [C99-based-standards] (PRIxFAST64): Likewise.
29463 [C99-based-standards] (PRIXFAST64): Likewise.
29464 [C99-based-standards] (SCNdFAST64): Likewise.
29465 [C99-based-standards] (SCNiFAST64): Likewise.
29466 [C99-based-standards] (SCNoFAST64): Likewise.
29467 [C99-based-standards] (SCNuFAST64): Likewise.
29468 [C99-based-standards] (SCNxFAST64): Likewise.
29469 [C99-based-standards] (PRIdMAX): Likewise.
29470 [C99-based-standards] (PRIiMAX): Likewise.
29471 [C99-based-standards] (PRIoMAX): Likewise.
29472 [C99-based-standards] (PRIuMAX): Likewise.
29473 [C99-based-standards] (PRIxMAX): Likewise.
29474 [C99-based-standards] (PRIXMAX): Likewise.
29475 [C99-based-standards] (SCNdMAX): Likewise.
29476 [C99-based-standards] (SCNiMAX): Likewise.
29477 [C99-based-standards] (SCNoMAX): Likewise.
29478 [C99-based-standards] (SCNuMAX): Likewise.
29479 [C99-based-standards] (SCNxMAX): Likewise.
29480 [C99-based-standards] (PRIdPTR): Likewise.
29481 [C99-based-standards] (PRIiPTR): Likewise.
29482 [C99-based-standards] (PRIoPTR): Likewise.
29483 [C99-based-standards] (PRIuPTR): Likewise.
29484 [C99-based-standards] (PRIxPTR): Likewise.
29485 [C99-based-standards] (PRIXPTR): Likewise.
29486 [C99-based-standards] (SCNdPTR): Likewise.
29487 [C99-based-standards] (SCNiPTR): Likewise.
29488 [C99-based-standards] (SCNoPTR): Likewise.
29489 [C99-based-standards] (SCNuPTR): Likewise.
29490 [C99-based-standards] (SCNxPTR): Likewise.
29491 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29492 allow.
29493 * conform/data/stdint.h-data: Update comments to clarify
29494 requirements.
29495 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29496 type.
29497 [C99-based standards] (INT8_MAX): Likewise.
29498 [C99-based standards] (INT16_MIN): Likewise.
29499 [C99-based standards] (INT16_MAX): Likewise.
29500 [C99-based standards] (INT32_MIN): Likewise.
29501 [C99-based standards] (INT32_MAX): Likewise.
29502 [C99-based standards] (INT64_MIN): Likewise.
29503 [C99-based standards] (INT64_MAX): Likewise.
29504 [C99-based standards] (UINT8_MAX): Likewise.
29505 [C99-based standards] (UINT16_MAX): Likewise.
29506 [C99-based standards] (UINT32_MAX): Likewise.
29507 [C99-based standards] (UINT64_MAX): Likewise.
29508 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29509 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29510 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29511 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29512 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29513 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29514 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29515 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29516 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29517 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29518 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29519 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29520 [C99-based standards] (INT_FAST8_MIN): Likewise.
29521 [C99-based standards] (INT_FAST8_MAX): Likewise.
29522 [C99-based standards] (INT_FAST16_MIN): Likewise.
29523 [C99-based standards] (INT_FAST16_MAX): Likewise.
29524 [C99-based standards] (INT_FAST32_MIN): Likewise.
29525 [C99-based standards] (INT_FAST32_MAX): Likewise.
29526 [C99-based standards] (INT_FAST64_MIN): Likewise.
29527 [C99-based standards] (INT_FAST64_MAX): Likewise.
29528 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29529 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29530 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29531 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29532 [C99-based standards] (INTPTR_MIN): Likewise.
29533 [C99-based standards] (INTPTR_MAX): Likewise.
29534 [C99-based standards] (UINTPTR_MAX): Likewise.
29535 [C99-based standards] (INTMAX_MIN): Likewise.
29536 [C99-based standards] (INTMAX_MAX): Likewise.
29537 [C99-based standards] (UINTMAX_MAX): Likewise.
29538 [C99-based standards] (PTRDIFF_MIN): Likewise.
29539 [C99-based standards] (PTRDIFF_MAX): Likewise.
29540 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29541 [C99-based standards] (SIZE_MAX): Likewise.
29542 [C99-based standards] (WCHAR_MAX): Likewise.
29543 [C99-based standards] (WINT_MAX): Likewise.
29544 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29545 constraint on value.
29546 [C99-based standards] (WCHAR_MIN): Likewise.
29547 [C99-based standards] (WINT_MIN): Likewise.
29548 [C99-based standards] (*_t): Allow.
29549 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29550 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29551 Include math.h-data and complex.h-data. Remove all expectations
29552 of math.h and complex.h contents.
29553 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29554 at end of line.
29555 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29556 (struct tm): Expect tag.
29557 [C99-based-standards] (wcstof): Expect function.
29558 [C99-based-standards] (wcstold): Likewise.
29559 [C99-based-standards] (wcstoll): Likewise.
29560 [C99-based-standards] (wcstoull): Likewise.
29561 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29562 macro-int-constant. Specify type.
29563 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29564 constraint on value.
29565 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29566 Specify type.
29567 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29568 Specify value.
29569 [ISO C standards]: Do not allow headers.
29570 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29571 wcs[abcdefghijklmnopqrstuvwxyz]*.
29572 [ISO C standards] (*_t): Do not allow.
29573 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29574 Expect function.
29575 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29576 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29577 Specify type.
29578 [ISO C standards]: Do not allow headers.
29579 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29580 is[abcdefghijklmnopqrstuvwxyz]*.
29581 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29582 to[abcdefghijklmnopqrstuvwxyz]*.
29583 [ISO C standards] (*_t): Do not allow.
29584 * conform/data/stdalign.h-data: New file.
29585 * conform/data/stdbool.h-data: Likewise.
29586 * conform/data/stdnoreturn.h-data: Likewise.
29587
7514feb8
RM
295882012-11-07 Roland McGrath <roland@hack.frob.com>
29589
29590 [BZ #14815]
29591 * manual/filesys.texi (Directory Entries): Typo fix.
29592 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29593
19b2ecfc
MS
295942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29595
29596 * elf/elf.h (EM_AARCH64): New macro.
29597 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29598 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29599 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29600 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29601 (R_AARCH64_TLSDESC): Likewise.
29602 (NT_ARM_TLS): Likewise.
29603 (NT_ARM_HW_BREAK): Likewise.
29604 (NT_ARM_HW_WATCH): Likewise.
29605
60e235ee
JM
296062012-11-07 Joseph Myers <joseph@codesourcery.com>
29607
29608 [BZ #14811]
29609 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29610 (__ieee754_powl): Saturate nonzero exponents with absolute value
29611 below 0x1p-79 to +/- 0x1p-79.
29612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29613 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29614 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29615 nonzero exponents with absolute value below 0x1p-32 to +/-
29616 0x1p-32.
29617 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29618 (__ieee754_powl): Saturate nonzero exponents with absolute value
29619 below 0x1p-79 to +/- 0x1p-79.
29620 * math/libm-test.inc (pow_test): Add more tests.
29621
0ab234b7
AK
296222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29623
29624 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29625 _dl_s390_cap_flags with kernel. Increase string length.
29626 (_dl_s390_platforms): Add z196 and zEC12.
29627
45832f74
JM
296282012-11-07 Joseph Myers <joseph@codesourcery.com>
29629
29630 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29631 Change XOPEN21K to XOPEN2K.
29632
19218757
MK
296332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29634
29635 * string/memmove.c: Use memcpy when possible.
29636
c5f45721
AJ
296372012-11-06 Andreas Jaeger <aj@suse.de>
29638
29639 * po/eo.po: Update from translation team.
29640
82477c28
JM
296412012-11-06 Joseph Myers <joseph@codesourcery.com>
29642
29643 [BZ #14793]
29644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29645 exponent and small x and y exponents, scale x or y up. Increase
29646 by 2 the exponent used in scaling up.
29647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29649 * math/libm-test.inc (fma_test): Add more tests.
29650 (fma_test_towardzero): Likewise.
29651 (fma_test_downward): Likewise.
29652 (fma_test_upward): Likewise.
29653
99252c8c
JM
296542012-11-05 Joseph Myers <joseph@codesourcery.com>
29655
acfa885f
JM
29656 [BZ #14805]
29657 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29658 fenv_t *.
29659
99252c8c
JM
29660 [BZ #14801]
29661 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29662 namespace for names of struct fields.
29663 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29664 fenv_t fields.
29665 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29666 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29667
d6d98dea
ST
296682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29669
29670 [BZ #3665]
29671 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29672
e10bb107
TS
296732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29674
29675 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29676 PTR_DEMANGLE.
29677
29678 [BZ #5246]
29679 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29680 PTR_DEMANGLE.
29681
a0c2940d
JM
296822012-11-04 Joseph Myers <joseph@codesourcery.com>
29683
29684 [BZ #14797]
29685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29686 definitely overflow as x * y not x * y + z.
29687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29689 * math/libm-test.inc (fma_test): Add more tests.
29690 (fma_test_towardzero): Likewise.
29691 (fma_test_downward): Likewise.
29692 (fma_test_upward): Likewise.
29693
b830319d
TS
296942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29695
29696 [BZ #157]
29697
29698 * include/stub-tag.h: Remove file.
29699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29700 '#include' of it.
29701 * manual/maint.texi (Porting): Don't reference it.
29702 * Makerules ($(objpfx)stubs): Likewise.
29703 * dirent/closedir.c: Don't include <stub-tag.h>.
29704 * dirent/dirfd.c: Likewise.
29705 * dirent/fdopendir.c: Likewise.
29706 * dirent/getdents.c: Likewise.
29707 * dirent/getdents64.c: Likewise.
29708 * dirent/opendir.c: Likewise.
29709 * dirent/readdir.c: Likewise.
29710 * dirent/readdir64.c: Likewise.
29711 * dirent/readdir64_r.c: Likewise.
29712 * dirent/readdir_r.c: Likewise.
29713 * dirent/rewinddir.c: Likewise.
29714 * dirent/seekdir.c: Likewise.
29715 * dirent/telldir.c: Likewise.
29716 * gmon/profil.c: Likewise.
29717 * grp/setgroups.c: Likewise.
29718 * inet/if_index.c: Likewise.
29719 * io/access.c: Likewise.
29720 * io/chdir.c: Likewise.
29721 * io/chmod.c: Likewise.
29722 * io/chown.c: Likewise.
29723 * io/close.c: Likewise.
29724 * io/dup.c: Likewise.
29725 * io/dup2.c: Likewise.
29726 * io/dup3.c: Likewise.
29727 * io/euidaccess.c: Likewise.
29728 * io/faccessat.c: Likewise.
29729 * io/fchdir.c: Likewise.
29730 * io/fchmod.c: Likewise.
29731 * io/fchmodat.c: Likewise.
29732 * io/fchown.c: Likewise.
29733 * io/fchownat.c: Likewise.
29734 * io/fcntl.c: Likewise.
29735 * io/flock.c: Likewise.
29736 * io/fstatfs.c: Likewise.
29737 * io/fstatfs64.c: Likewise.
29738 * io/fstatvfs.c: Likewise.
29739 * io/fstatvfs64.c: Likewise.
29740 * io/futimens.c: Likewise.
29741 * io/fxstat.c: Likewise.
29742 * io/fxstat64.c: Likewise.
29743 * io/fxstatat.c: Likewise.
29744 * io/fxstatat64.c: Likewise.
29745 * io/getcwd.c: Likewise.
29746 * io/isatty.c: Likewise.
29747 * io/lchmod.c: Likewise.
29748 * io/lchown.c: Likewise.
29749 * io/link.c: Likewise.
29750 * io/linkat.c: Likewise.
29751 * io/lseek.c: Likewise.
29752 * io/lseek64.c: Likewise.
29753 * io/lxstat64.c: Likewise.
29754 * io/mkdir.c: Likewise.
29755 * io/mkdirat.c: Likewise.
29756 * io/mkfifo.c: Likewise.
29757 * io/mkfifoat.c: Likewise.
29758 * io/open.c: Likewise.
29759 * io/open64.c: Likewise.
29760 * io/openat.c: Likewise.
29761 * io/openat64.c: Likewise.
29762 * io/pipe.c: Likewise.
29763 * io/pipe2.c: Likewise.
29764 * io/poll.c: Likewise.
29765 * io/posix_fadvise.c: Likewise.
29766 * io/posix_fadvise64.c: Likewise.
29767 * io/posix_fallocate.c: Likewise.
29768 * io/posix_fallocate64.c: Likewise.
29769 * io/read.c: Likewise.
29770 * io/readlink.c: Likewise.
29771 * io/readlinkat.c: Likewise.
29772 * io/rmdir.c: Likewise.
29773 * io/sendfile.c: Likewise.
29774 * io/sendfile64.c: Likewise.
29775 * io/statfs.c: Likewise.
29776 * io/statfs64.c: Likewise.
29777 * io/statvfs.c: Likewise.
29778 * io/statvfs64.c: Likewise.
29779 * io/symlink.c: Likewise.
29780 * io/symlinkat.c: Likewise.
29781 * io/ttyname.c: Likewise.
29782 * io/ttyname_r.c: Likewise.
29783 * io/umask.c: Likewise.
29784 * io/unlink.c: Likewise.
29785 * io/unlinkat.c: Likewise.
29786 * io/utime.c: Likewise.
29787 * io/utimensat.c: Likewise.
29788 * io/write.c: Likewise.
29789 * io/xmknod.c: Likewise.
29790 * io/xmknodat.c: Likewise.
29791 * io/xstat.c: Likewise.
29792 * io/xstat64.c: Likewise.
29793 * login/getpt.c: Likewise.
29794 * login/grantpt.c: Likewise.
29795 * login/unlockpt.c: Likewise.
29796 * math/e_acoshl.c: Likewise.
29797 * math/e_acosl.c: Likewise.
29798 * math/e_asinl.c: Likewise.
29799 * math/e_atan2l.c: Likewise.
29800 * math/e_atanhl.c: Likewise.
29801 * math/e_coshl.c: Likewise.
29802 * math/e_expl.c: Likewise.
29803 * math/e_fmodl.c: Likewise.
29804 * math/e_gammal_r.c: Likewise.
29805 * math/e_hypotl.c: Likewise.
29806 * math/e_j0l.c: Likewise.
29807 * math/e_j1l.c: Likewise.
29808 * math/e_jnl.c: Likewise.
29809 * math/e_lgammal_r.c: Likewise.
29810 * math/e_log10l.c: Likewise.
29811 * math/e_log2l.c: Likewise.
29812 * math/e_logl.c: Likewise.
29813 * math/e_powl.c: Likewise.
29814 * math/e_rem_pio2l.c: Likewise.
29815 * math/e_sinhl.c: Likewise.
29816 * math/e_sqrtl.c: Likewise.
29817 * math/fclrexcpt.c: Likewise.
29818 * math/fedisblxcpt.c: Likewise.
29819 * math/feenablxcpt.c: Likewise.
29820 * math/fegetenv.c: Likewise.
29821 * math/fegetexcept.c: Likewise.
29822 * math/fegetround.c: Likewise.
29823 * math/feholdexcpt.c: Likewise.
29824 * math/fesetenv.c: Likewise.
29825 * math/fesetround.c: Likewise.
29826 * math/feupdateenv.c: Likewise.
29827 * math/fgetexcptflg.c: Likewise.
29828 * math/fraiseexcpt.c: Likewise.
29829 * math/fsetexcptflg.c: Likewise.
29830 * math/ftestexcept.c: Likewise.
29831 * math/k_cosl.c: Likewise.
29832 * math/k_rem_pio2l.c: Likewise.
29833 * math/k_sinl.c: Likewise.
29834 * math/k_tanl.c: Likewise.
29835 * math/s_asinhl.c: Likewise.
29836 * math/s_atanl.c: Likewise.
29837 * math/s_cbrtl.c: Likewise.
29838 * math/s_erfl.c: Likewise.
29839 * math/s_expm1l.c: Likewise.
29840 * math/s_log1pl.c: Likewise.
29841 * math/s_tanhl.c: Likewise.
29842 * misc/acct.c: Likewise.
29843 * misc/brk.c: Likewise.
29844 * misc/chflags.c: Likewise.
29845 * misc/chroot.c: Likewise.
29846 * misc/fchflags.c: Likewise.
29847 * misc/fgetxattr.c: Likewise.
29848 * misc/flistxattr.c: Likewise.
29849 * misc/fremovexattr.c: Likewise.
29850 * misc/fsetxattr.c: Likewise.
29851 * misc/fsync.c: Likewise.
29852 * misc/ftruncate.c: Likewise.
29853 * misc/futimes.c: Likewise.
29854 * misc/futimesat.c: Likewise.
29855 * misc/getdomain.c: Likewise.
29856 * misc/getdtsz.c: Likewise.
29857 * misc/gethostid.c: Likewise.
29858 * misc/gethostname.c: Likewise.
29859 * misc/getloadavg.c: Likewise.
29860 * misc/getpagesize.c: Likewise.
29861 * misc/getsysstats.c: Likewise.
29862 * misc/getxattr.c: Likewise.
29863 * misc/gtty.c: Likewise.
29864 * misc/ioctl.c: Likewise.
29865 * misc/lgetxattr.c: Likewise.
29866 * misc/listxattr.c: Likewise.
29867 * misc/llistxattr.c: Likewise.
29868 * misc/lremovexattr.c: Likewise.
29869 * misc/lsetxattr.c: Likewise.
29870 * misc/lutimes.c: Likewise.
29871 * misc/madvise.c: Likewise.
29872 * misc/mincore.c: Likewise.
29873 * misc/mlock.c: Likewise.
29874 * misc/mlockall.c: Likewise.
29875 * misc/mmap.c: Likewise.
29876 * misc/mprotect.c: Likewise.
29877 * misc/msync.c: Likewise.
29878 * misc/munlock.c: Likewise.
29879 * misc/munlockall.c: Likewise.
29880 * misc/munmap.c: Likewise.
29881 * misc/preadv.c: Likewise.
29882 * misc/preadv64.c: Likewise.
29883 * misc/ptrace.c: Likewise.
29884 * misc/pwritev.c: Likewise.
29885 * misc/pwritev64.c: Likewise.
29886 * misc/readv.c: Likewise.
29887 * misc/reboot.c: Likewise.
29888 * misc/remap_file_pages.c: Likewise.
29889 * misc/removexattr.c: Likewise.
29890 * misc/revoke.c: Likewise.
29891 * misc/select.c: Likewise.
29892 * misc/setdomain.c: Likewise.
29893 * misc/setegid.c: Likewise.
29894 * misc/seteuid.c: Likewise.
29895 * misc/sethostid.c: Likewise.
29896 * misc/sethostname.c: Likewise.
29897 * misc/setregid.c: Likewise.
29898 * misc/setreuid.c: Likewise.
29899 * misc/setxattr.c: Likewise.
29900 * misc/sstk.c: Likewise.
29901 * misc/stty.c: Likewise.
29902 * misc/swapoff.c: Likewise.
29903 * misc/swapon.c: Likewise.
29904 * misc/sync.c: Likewise.
29905 * misc/syncfs.c: Likewise.
29906 * misc/syscall.c: Likewise.
29907 * misc/truncate.c: Likewise.
29908 * misc/ualarm.c: Likewise.
29909 * misc/usleep.c: Likewise.
29910 * misc/ustat.c: Likewise.
29911 * misc/utimes.c: Likewise.
29912 * misc/vhangup.c: Likewise.
29913 * misc/writev.c: Likewise.
29914 * posix/_exit.c: Likewise.
29915 * posix/alarm.c: Likewise.
29916 * posix/execve.c: Likewise.
29917 * posix/fexecve.c: Likewise.
29918 * posix/fork.c: Likewise.
29919 * posix/fpathconf.c: Likewise.
29920 * posix/getaddrinfo.c: Likewise.
29921 * posix/getegid.c: Likewise.
29922 * posix/geteuid.c: Likewise.
29923 * posix/getgid.c: Likewise.
29924 * posix/getgroups.c: Likewise.
29925 * posix/getlogin.c: Likewise.
29926 * posix/getlogin_r.c: Likewise.
29927 * posix/getpgid.c: Likewise.
29928 * posix/getpid.c: Likewise.
29929 * posix/getppid.c: Likewise.
29930 * posix/getresgid.c: Likewise.
29931 * posix/getresuid.c: Likewise.
29932 * posix/getsid.c: Likewise.
29933 * posix/getuid.c: Likewise.
29934 * posix/glob64.c: Likewise.
29935 * posix/nanosleep.c: Likewise.
29936 * posix/pathconf.c: Likewise.
29937 * posix/pause.c: Likewise.
29938 * posix/posix_madvise.c: Likewise.
29939 * posix/pread.c: Likewise.
29940 * posix/pread64.c: Likewise.
29941 * posix/pwrite.c: Likewise.
29942 * posix/pwrite64.c: Likewise.
29943 * posix/sched_getaffinity.c: Likewise.
29944 * posix/sched_getp.c: Likewise.
29945 * posix/sched_gets.c: Likewise.
29946 * posix/sched_primax.c: Likewise.
29947 * posix/sched_primin.c: Likewise.
29948 * posix/sched_rr_gi.c: Likewise.
29949 * posix/sched_setaffinity.c: Likewise.
29950 * posix/sched_setp.c: Likewise.
29951 * posix/sched_sets.c: Likewise.
29952 * posix/sched_yield.c: Likewise.
29953 * posix/setgid.c: Likewise.
29954 * posix/setlogin.c: Likewise.
29955 * posix/setpgid.c: Likewise.
29956 * posix/setresgid.c: Likewise.
29957 * posix/setresuid.c: Likewise.
29958 * posix/setsid.c: Likewise.
29959 * posix/setuid.c: Likewise.
29960 * posix/sleep.c: Likewise.
29961 * posix/spawni.c: Likewise.
29962 * posix/sysconf.c: Likewise.
29963 * posix/times.c: Likewise.
29964 * posix/wait.c: Likewise.
29965 * posix/wait3.c: Likewise.
29966 * posix/wait4.c: Likewise.
29967 * posix/waitpid.c: Likewise.
29968 * resolv/gai_sigqueue.c: Likewise.
29969 * resource/getpriority.c: Likewise.
29970 * resource/getrlimit.c: Likewise.
29971 * resource/getrusage.c: Likewise.
29972 * resource/nice.c: Likewise.
29973 * resource/setpriority.c: Likewise.
29974 * resource/setrlimit.c: Likewise.
29975 * resource/ulimit.c: Likewise.
29976 * rt/aio_cancel.c: Likewise.
29977 * rt/aio_fsync.c: Likewise.
29978 * rt/aio_read.c: Likewise.
29979 * rt/aio_sigqueue.c: Likewise.
29980 * rt/aio_suspend.c: Likewise.
29981 * rt/aio_write.c: Likewise.
29982 * rt/clock_getres.c: Likewise.
29983 * rt/clock_gettime.c: Likewise.
29984 * rt/clock_nanosleep.c: Likewise.
29985 * rt/clock_settime.c: Likewise.
29986 * rt/lio_listio.c: Likewise.
29987 * rt/mq_close.c: Likewise.
29988 * rt/mq_getattr.c: Likewise.
29989 * rt/mq_notify.c: Likewise.
29990 * rt/mq_open.c: Likewise.
29991 * rt/mq_receive.c: Likewise.
29992 * rt/mq_send.c: Likewise.
29993 * rt/mq_setattr.c: Likewise.
29994 * rt/mq_timedreceive.c: Likewise.
29995 * rt/mq_timedsend.c: Likewise.
29996 * rt/mq_unlink.c: Likewise.
29997 * rt/shm_open.c: Likewise.
29998 * rt/shm_unlink.c: Likewise.
29999 * rt/timer_create.c: Likewise.
30000 * rt/timer_delete.c: Likewise.
30001 * rt/timer_getoverr.c: Likewise.
30002 * rt/timer_gettime.c: Likewise.
30003 * rt/timer_settime.c: Likewise.
30004 * setjmp/__longjmp.c: Likewise.
30005 * setjmp/setjmp.c: Likewise.
30006 * signal/kill.c: Likewise.
30007 * signal/killpg.c: Likewise.
30008 * signal/raise.c: Likewise.
30009 * signal/sigaction.c: Likewise.
30010 * signal/sigaltstack.c: Likewise.
30011 * signal/sigblock.c: Likewise.
30012 * signal/sigignore.c: Likewise.
30013 * signal/sigintr.c: Likewise.
30014 * signal/signal.c: Likewise.
30015 * signal/sigpause.c: Likewise.
30016 * signal/sigpending.c: Likewise.
30017 * signal/sigqueue.c: Likewise.
30018 * signal/sigreturn.c: Likewise.
30019 * signal/sigset.c: Likewise.
30020 * signal/sigsetmask.c: Likewise.
30021 * signal/sigstack.c: Likewise.
30022 * signal/sigsuspend.c: Likewise.
30023 * signal/sigtimedwait.c: Likewise.
30024 * signal/sigvec.c: Likewise.
30025 * signal/sigwait.c: Likewise.
30026 * signal/sigwaitinfo.c: Likewise.
30027 * signal/sysv_signal.c: Likewise.
30028 * socket/accept.c: Likewise.
30029 * socket/accept4.c: Likewise.
30030 * socket/bind.c: Likewise.
30031 * socket/connect.c: Likewise.
30032 * socket/getpeername.c: Likewise.
30033 * socket/getsockname.c: Likewise.
30034 * socket/getsockopt.c: Likewise.
30035 * socket/isfdtype.c: Likewise.
30036 * socket/listen.c: Likewise.
30037 * socket/recv.c: Likewise.
30038 * socket/recvfrom.c: Likewise.
30039 * socket/recvmsg.c: Likewise.
30040 * socket/send.c: Likewise.
30041 * socket/sendmsg.c: Likewise.
30042 * socket/sendto.c: Likewise.
30043 * socket/setsockopt.c: Likewise.
30044 * socket/shutdown.c: Likewise.
30045 * socket/sockatmark.c: Likewise.
30046 * socket/socket.c: Likewise.
30047 * socket/socketpair.c: Likewise.
30048 * stdio-common/ctermid.c: Likewise.
30049 * stdio-common/cuserid.c: Likewise.
30050 * stdio-common/remove.c: Likewise.
30051 * stdio-common/rename.c: Likewise.
30052 * stdio-common/renameat.c: Likewise.
30053 * stdio-common/tempname.c: Likewise.
30054 * stdlib/getcontext.c: Likewise.
30055 * stdlib/makecontext.c: Likewise.
30056 * stdlib/setcontext.c: Likewise.
30057 * stdlib/swapcontext.c: Likewise.
30058 * stdlib/system.c: Likewise.
30059 * streams/fattach.c: Likewise.
30060 * streams/fdetach.c: Likewise.
30061 * streams/getmsg.c: Likewise.
30062 * streams/getpmsg.c: Likewise.
30063 * streams/putmsg.c: Likewise.
30064 * streams/putpmsg.c: Likewise.
30065 * sysdeps/unix/bsd/getpt.c: Likewise.
30066 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30067 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30068 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30070 Likewise.
30071 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30072 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30073 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30074 * sysvipc/msgctl.c: Likewise.
30075 * sysvipc/msgget.c: Likewise.
30076 * sysvipc/msgrcv.c: Likewise.
30077 * sysvipc/msgsnd.c: Likewise.
30078 * sysvipc/semctl.c: Likewise.
30079 * sysvipc/semget.c: Likewise.
30080 * sysvipc/semop.c: Likewise.
30081 * sysvipc/semtimedop.c: Likewise.
30082 * sysvipc/shmat.c: Likewise.
30083 * sysvipc/shmctl.c: Likewise.
30084 * sysvipc/shmdt.c: Likewise.
30085 * sysvipc/shmget.c: Likewise.
30086 * termios/tcdrain.c: Likewise.
30087 * termios/tcflow.c: Likewise.
30088 * termios/tcflush.c: Likewise.
30089 * termios/tcgetattr.c: Likewise.
30090 * termios/tcgetpgrp.c: Likewise.
30091 * termios/tcsendbrk.c: Likewise.
30092 * termios/tcsetattr.c: Likewise.
30093 * termios/tcsetpgrp.c: Likewise.
30094 * time/adjtime.c: Likewise.
30095 * time/clock.c: Likewise.
30096 * time/getitimer.c: Likewise.
30097 * time/gettimeofday.c: Likewise.
30098 * time/setitimer.c: Likewise.
30099 * time/settimeofday.c: Likewise.
30100 * time/stime.c: Likewise.
30101 * time/time.c: Likewise.
30102
301032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30104
a20492cf
PT
30105 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30106 /usr/old/bin.
30107
72e182e3
PT
30108 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30109 instead of spaces.
30110 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30111
fbeafede
JM
301122012-11-03 Joseph Myers <joseph@codesourcery.com>
30113
5b5b04d6
JM
30114 [BZ #14796]
30115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30116 FE_TONEAREST before applying Dekker multiplication and Knuth
30117 addition. Clear inexact exceptions and check for exact zero
30118 results afterwards.
30119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30120 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30122 * math/libm-test.inc (fma_test): Add more tests.
30123 (fma_test_towardzero): Likewise.
30124 (fma_test_downward): Likewise.
30125 (fma_test_upward): Likewise.
30126 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30127 function.
30128 (libc_fesetround): New macro.
30129 (libc_fesetroundf): Likewise.
30130 (libc_fesetroundl): Likewise.
30131 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30132 function.
30133 (libc_fesetround_387): Likewise.
30134 (libc_fesetroundf): New macro.
30135 (libc_fesetround): Likewise.
30136 (libc_fesetroundl): Likewise.
30137 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30138 function.
30139 (libc_fesetroundf): New macro.
30140 (libc_fesetround): Likewise.
30141 (libc_fesetroundl): Likewise.
30142 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30143 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30144 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30145 libm_hidden_ver.
30146 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30147 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30148 libm_hidden_def.
30149 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30150 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30151 libm_hidden_ver.
30152 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30153 libm_hidden_def.
30154
fbeafede
JM
30155 [BZ #3439]
30156 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30157 integer constant usable in #if and use that to give value to enum
30158 constant.
30159 (FE_DIVBYZERO): Likewise.
30160 (FE_UNDERFLOW): Likewise.
30161 (FE_OVERFLOW): Likewise.
30162 (FE_INVALID): Likewise.
30163 (FE_INVALID_SNAN): Likewise.
30164 (FE_INVALID_ISI): Likewise.
30165 (FE_INVALID_IDI): Likewise.
30166 (FE_INVALID_ZDZ): Likewise.
30167 (FE_INVALID_IMZ): Likewise.
30168 (FE_INVALID_COMPARE): Likewise.
30169 (FE_INVALID_SOFTWARE): Likewise.
30170 (FE_INVALID_SQRT): Likewise.
30171 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30172 (FE_TONEAREST): Likewise.
30173 (FE_TOWARDZERO): Likewise.
30174 (FE_UPWARD): Likewise.
30175 (FE_DOWNWARD): Likewise.
30176 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30177 (FE_DIVBYZERO): Likewise.
30178 (FE_OVERFLOW): Likewise.
30179 (FE_UNDERFLOW): Likewise.
30180 (FE_INEXACT): Likewise.
30181 (FE_TONEAREST): Likewise.
30182 (FE_DOWNWARD): Likewise.
30183 (FE_UPWARD): Likewise.
30184 (FE_TOWARDZERO): Likewise.
30185 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30186 (FE_UNDERFLOW): Likewise.
30187 (FE_OVERFLOW): Likewise.
30188 (FE_DIVBYZERO): Likewise.
30189 (FE_INVALID): Likewise.
30190 (FE_TONEAREST): Likewise.
30191 (FE_TOWARDZERO): Likewise.
30192 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30193 (FE_OVERFLOW): Likewise.
30194 (FE_UNDERFLOW): Likewise.
30195 (FE_DIVBYZERO): Likewise.
30196 (FE_INEXACT): Likewise.
30197 (FE_TONEAREST): Likewise.
30198 (FE_TOWARDZERO): Likewise.
30199 (FE_UPWARD): Likewise.
30200 (FE_DOWNWARD): Likewise.
30201 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30202 (FE_DIVBYZERO): Likewise.
30203 (FE_OVERFLOW): Likewise.
30204 (FE_UNDERFLOW): Likewise.
30205 (FE_INEXACT): Likewise.
30206 (FE_TONEAREST): Likewise.
30207 (FE_DOWNWARD): Likewise.
30208 (FE_UPWARD): Likewise.
30209 (FE_TOWARDZERO): Likewise.
30210
105ca950
CM
302112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30212
30213 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30214
a542b389
AS
302152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30216
30217 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30218 commands. Quote $PWD.
30219 (blacklist_exports): Don't use remove_newlines. Replace "declare
30220 -x" by "export".
30221 (remove_newlines): Remove.
30222
f62c8abc
L
302232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30224
30225 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30226 * stdlib/stdlib.h (atof): Moved to ...
30227 * include/bits/stdlib-float.h: Here. New file.
30228 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30229 * stdlib/bits/stdlib-float.h: New file.
30230 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30231 -mno-sse -mno-mmx.
30232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30233 <xmmintrin.h>.
30234
0155d5b2
JM
302352012-11-02 Joseph Myers <joseph@codesourcery.com>
30236
a68d0680
JM
30237 * conform/conformtest.pl (@headers): Add fenv.h.
30238 * conform/data/fenv.h-data: New file.
30239 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30240 include of <math/fenv.h>.
30241
caf7f573
JM
30242 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30243 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30244 && !UNIX98]. Enables tests for XOPEN2K8.
30245 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30246 POSIX2008]: Likewise.
30247
6c073ad6
JM
30248 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30249 (struct rusage): Do not expect type or its members.
30250
0155d5b2
JM
30251 [BZ #3439]
30252 * math/math.h (FP_NAN): Define macro to integer constant usable in
30253 #if and use that to give value to enum constant.
30254 (FP_INFINITE): Likewise.
30255 (FP_ZERO): Likewise.
30256 (FP_SUBNORMAL): Likewise.
30257 (FP_NORMAL): Likewise.
30258
b5dcacb4
AS
302592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30260
30261 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30262 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30263 arguments.
30264
f7934be8
RM
302652012-11-02 Roland McGrath <roland@hack.frob.com>
30266
30267 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30268 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30269 autoconf-time if not.
30270 * configure.in: Remove AC_PREREQ.
30271
d7d08bde
TMQMF
302722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30273
30274 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30275 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30276 of the internal implementation.
30277
dcdae19a
JM
302782012-11-02 Joseph Myers <joseph@codesourcery.com>
30279
30280 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30281 except include of <misc/sys/syslog.h>.
30282
d6cffd3e
AS
302832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30284
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30286 function returns with a NULL context exit with zero.
30287
b3563932
TMQMF
302882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30289
30290 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30291
b288a93d
L
302922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30293
30294 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30295 (run_program_cmd): This.
30296 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30297 (tst_langinfo): New variable. Use it.
30298
a2421a68
SAS
302992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30300
30301 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30302 floating point opcodes.
30303
6f796e1b
TS
303042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30305
7402596b
TS
30306 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30307 variable.
30308
d0d4f868
TS
30309 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30310
6f796e1b
TS
30311 * sysdeps/mach/hurd/powerpc: Remove directory.
30312 * sysdeps/mach/powerpc: Likewise.
30313
4da224a2
AS
303142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30315
30316 * scripts/check-local-headers.sh: Ignore c++ headers.
30317
341dd673
TS
303182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30319
30320 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30321 __libc_cleanup_region_start argument.
30322
473611b2
JM
303232012-11-01 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #14784]
30326 [BZ #14785]
30327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30328 x * y using scaling, not as x * y + z.
30329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30331 * math/libm-test.inc (fma_test): Add more tests.
30332 (fma_test_towardzero): Likewise.
30333 (fma_test_downward): Likewise.
30334 (fma_test_upward): Likewise.
30335
4078da3d
TS
303362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30337
30338 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30339
903252aa
JM
303402012-10-31 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30343 New variable.
30344
cbc818d0
TS
303452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30346
30347 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30348
5a03cb1e
AS
303492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30350
30351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30352 Fix sort order.
30353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30354 Likewise.
30355
90aff2ff
TMQMF
303562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30357
30358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30359 Fix the order of the list for glibc 2.17.
30360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30361 Likewise.
30362
1818fcb7
AS
303632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30364
30365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30366
ef82f4da
JM
303672012-10-31 Joseph Myers <joseph@codesourcery.com>
30368
16a0e2ec
JM
30369 [BZ #14610]
30370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30371 for low part of x being zero before using __atanl (y).
30372 * math/libm-test.inc (atan2_test): Add another test.
30373
0eb69512
JM
30374 * manual/install.texi (Configuring and compiling): Document
30375 general use of test-wrapper and test-wrapper-env.
30376 * INSTALL: Regenerated.
30377
ef82f4da
JM
30378 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30379 (__fma): Do not extract and scale down low bits on after-rounding
30380 systems when result rounded to normal precision would have normal
30381 exponent.
30382 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30383 (__fmal): Do not extract and scale down low bits on after-rounding
30384 systems when result rounded to normal precision would have normal
30385 exponent.
30386 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30387 (__fmal): Do not extract and scale down low bits on after-rounding
30388 systems when result rounded to normal precision would have normal
30389 exponent.
30390 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30391 macro.
30392 (fma_test): Add more tests.
30393 (fma_test_towardzero): Likewise.
30394 (fma_test_downward): Likewise.
30395 (fma_test_upward): Likewise.
30396
954ef0d9
L
303972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30398
30399 * sysdeps/i386/tininess.h: Renamed to ...
30400 * sysdeps/x86/tininess.h: This.
30401 * sysdeps/x86_64/tininess.h: Removed.
30402
df61ffb2
JM
304032012-10-30 Joseph Myers <joseph@codesourcery.com>
30404
30405 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30406 input. Use $(build-program-cmd).
30407 ($(objpfx)tst-array1-static.out): Likewise.
30408 ($(objpfx)tst-array2.out): Likewise.
30409 ($(objpfx)tst-array3.out): Likewise.
30410 ($(objpfx)tst-array4.out): Likewise.
30411 ($(objpfx)tst-array5.out): Likewise.
30412 ($(objpfx)tst-array5-static.out): Likewise.
30413
01767843
CM
304142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30415
47cc1490
CM
30416 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30417 if defined.
30418
01767843
CM
30419 * nss/nsswitch.h (nss_interface_function): Provide new
30420 macro for use with NSS functions.
30421 * grp/initgroups.c: Use new macro.
30422 * nss/getXXbyYY.c: Likewise.
30423 * nss/getXXbyYY_r.c: Likewise.
30424 * nss/getXXent.c: Likewise.
30425 * nss/getXXent_r.c: Likewise.
30426 * sysdeps/posix/getaddrinfo.c: Likewise.
30427
8321aa97
AJ
304282012-10-30 Andreas Jaeger <aj@suse.de>
30429
30430 * po/ru.po: Update Russion translation from translation project.
30431
2a27fd6d
JM
304322012-10-30 Joseph Myers <joseph@codesourcery.com>
30433
8627a232
JM
30434 [BZ #14152]
30435 [BZ #14783]
30436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30437 result and shift together with sticky bit instead of replicating
30438 round-to-nearest rounding.
30439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30441 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30442 missing underflow exceptions.
30443 (fma_test_towardzero): Add more tests.
30444 (fma_test_downward): Likewise.
30445 (fma_test_upward): Likewise.
30446
2a27fd6d
JM
30447 [BZ #14047]
30448 * sysdeps/generic/tininess.h: New file.
30449 * sysdeps/i386/tininess.h: Likewise.
30450 * sysdeps/sh/tininess.h: Likewise.
30451 * sysdeps/x86_64/tininess.h: Likewise.
30452 * stdlib/tst-strtod-underflow.c: Likewise.
30453 * stdlib/tst-tininess.c: Likewise.
30454 * stdlib/strtod_l.c: Include <tininess.h>.
30455 (round_and_return): Do not set errno for exact underflow cases.
30456 Force an underflow exception when setting errno for underflow.
30457 Determine underflow based on rounding to normal precision if
30458 TININESS_AFTER_ROUNDING.
30459 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30460 ERANGE for exact underflow cases.
30461 * stdlib/Makefile (tests): Add tst-tininess and
30462 tst-strtod-underflow.
30463 ($(objpfx)tst-tininess): Use $(link-libm).
30464 ($(objpfx)tst-strtod-underflow): Likewise.
30465
e7170363
AJ
304662012-10-30 Andreas Jaeger <aj@suse.de>
30467
e5088dc6
AJ
30468 [BZ#14767]
30469 * elf/Makefile (tests): Remove conditional for have-initfini-array
30470 since this is now always required and the variable does not exist
30471 anymore.
30472 (tests-static): Likewise.
30473 (modules-names): Likewise.
30474
e7170363 30475 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30476
30477 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30478 merged with constructor/destructor.
30479 (init_array): Likewise.
30480 * elf/tst-array2dep.c (fini_array): Likewise.
30481 (init_array): Likewise.
30482
60457d8a
MF
304832012-10-29 Mike Frysinger <vapier@gentoo.org>
30484
30485 * manual/message.texi: Delete @cartouche tags.
30486
8bece752
PT
304872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30488
94ce799f
PT
30489 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30490 EOPNOTSUPP.
30491 * sysdeps/mach/hurd/fsync.c: Likewise.
30492
8bece752
PT
30493 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30494 [_POSIX_REALTIME_SIGNALS]: Change condition to
30495 [_POSIX_REALTIME_SIGNALS > 0].
30496
86ebe6b1
AJ
304972012-10-27 Andreas Jaeger <aj@suse.de>
30498
30499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30500 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30502 [__WORDSIZE != 64]: Likewise.
30503
54399c08
L
305042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30505
30506 * iconvdata/tst-table.sh: Remove ${SHELL}.
30507 * iconvdata/tst-tables.sh: Likewise.
30508
e2211bed
DM
305092012-10-25 David S. Miller <davem@davemloft.net>
30510
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30512 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30513 of strtoull.
30514
f303f97c
DM
30515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30516 ifunc-impl-list.c
30517 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30518 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30519 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30520 file.
30521
1e9d84cd
RM
305222012-10-25 Roland McGrath <roland@hack.frob.com>
30523
30524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30525 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30526 __getdirentries.
30527
df381762
JM
305282012-10-25 Joseph Myers <joseph@codesourcery.com>
30529 Jim Blandy <jimb@codesourcery.com>
30530
30531 * scripts/cross-test-ssh.sh: New file.
30532 * manual/install.texi (Configuring and compiling): Document use of
30533 cross-test-ssh.sh.
30534 * INSTALL: Regenerated.
30535
bff64913
PT
305362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30537
30538 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30539 EOPNOTSUPP.
30540
25fe8932
JM
305412012-10-25 Joseph Myers <joseph@codesourcery.com>
30542
30543 * Makeconfig (run-program-prefix): Fix comment.
30544
cc1290d0
JM
305452012-10-24 Joseph Myers <joseph@codesourcery.com>
30546 Jim Blandy <jimb@codesourcery.com>
30547
30548 * Makeconfig (test-wrapper): New variable,
30549 (test-wrapper-env): Likewise.
30550 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30551 (run-built-tests): Define to yes.
30552 (run-program-prefix): Use $(test-wrapper).
30553 (built-program-cmd): Likewise.
30554 * Rules (make-test-out): Use $(test-wrapper-env) and
30555 $(host-built-program-cmd).
30556 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30557 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30558 tst-pathopt.sh.
30559 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30560 $(test-wrapper-env) to tst-rtld-load-self.sh.
30561 ($(objpfx)order2.out): Use $(test-wrapper).
30562 ($(objpfx)tst-initorder.out): Likewise.
30563 ($(objpfx)tst-initorder2.out): Likewise.
30564 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30565 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30566 (test_wrapper_env): New variable. Use it to run ld.so.
30567 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30568 Use it to run ld.so.
30569 (test_wrapper_env): Likewise.
30570 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30571 $(test-wrapper) to run-iconv-test.sh.
30572 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30573 (ICONV): Use $test_wrapper.
30574 * posix/Makefile ($(objpfx)globtest.out): Pass
30575 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30576 globtest.sh, not $(run-program-prefix).
30577 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30578 (test_wrapper): Likewise.
30579 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30580 set together with run_via_rtld_prefix.
30581 (run_program_prefix): Define in terms of test_wrapper and
30582 run_via_rtld_prefix.
30583
6e6249d0
RM
305842012-10-24 Roland McGrath <roland@hack.frob.com>
30585
30586 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30587 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30588 Targets removed.
30589
30590 [BZ #14743]
30591 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30592 Declare __clock_getres, __clock_gettime, __clock_settime,
30593 __clock_nanosleep, and __clock_getcpuclockid.
30594 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30595 Remove librt_hidden_def (clock_gettime).
30596 * sysdeps/unix/clock_gettime.c: Likewise.
30597 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30599 * rt/clock_getres.c: Define __clock_getres as an alias.
30600 * sysdeps/posix/clock_getres.c: Likewise.
30601 * rt/clock_settime.c: Define __clock_settime as an alias.
30602 * sysdeps/unix/clock_settime.c: Likewise.
30603 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30604 * sysdeps/unix/clock_nanosleep.c: Likewise.
30605 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30606 * rt/clock-compat.c: New file.
30607 * rt/Makefile (librt-routines): Add clock-compat and move
30608 $(clock-routines) to ...
30609 (routines): ... here, new variable.
30610 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30611 Don't add get_clockfreq here.
30612 * rt/Versions (libc: GLIBC_2.17): New version set.
30613 Add clock_* symbols here.
30614 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30616 (GLIBC_2.17): Add clock_* symbols.
30617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30621 Likewise.
30622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30623 Likewise.
30624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30628 * NEWS: Mention the move.
30629
30630 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30631 Use __open, __read, __close rather than their public counterparts.
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30633 (__get_clockfreq_via_cpuinfo): Likewise.
30634 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30635 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30636
30637 * config.h.in (HAVE_IFUNC): New #undef.
30638 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30639 was successful.
30640 * configure: Regenerated.
30641
0cae3f4b
MF
306422012-10-24 Mike Frysinger <vapier@gentoo.org>
30643
30644 * configure.in: Move READELF check to start of file.
30645 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30646 libc_cv_asm_gnu_indirect_function in the process.
30647 * configure: Regenerated.
30648
8175a253
MF
306492012-10-24 Mike Frysinger <vapier@gentoo.org>
30650
30651 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30652 send the output to /dev/null.
30653 (libc_cv_cc_with_libunwind): Likewise.
30654 (libc_cv_as_noexecstack): Likewise.
30655 * configure: Regenerate.
30656
0708a7d1
JM
306572012-10-24 Joseph Myers <joseph@codesourcery.com>
30658
10b40d85
JM
30659 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30660
0708a7d1
JM
30661 * posix/globtest.sh (TMPDIR): Do not set.
30662 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30663 (testout): Likewise.
30664
9fddec1a
AJ
306652012-10-24 Andreas Jaeger <aj@suse.de>
30666
3a8db22f
AJ
30667 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30668 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30669 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30670 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30671 posix_fadvise64, posix_fallocate64.
30672
9fddec1a
AJ
30673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30674 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30675 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30676 Likewise.
30677 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30678 Likewise.
30679 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30680
30681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30682 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30683 <bits/fcntl-linux.h>.
30684 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30685
30686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30687 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30688 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30689 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30690 [__WORDSIZE != 64]: Likewise.
30691
ebfd1bbd
JM
306922012-10-23 Joseph Myers <joseph@codesourcery.com>
30693
03ac099f
JM
30694 * Makeconfig (run-built-tests): New variable.
30695 * Rules [$(cross-compiling) = yes]: Change condition to
30696 [$(run-built-tests) = no].
30697 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30698 to [$(run-built-tests) = yes].
30699 * elf/Makefile [$(cross-compiling) = no]: Likewise
30700 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30701 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30702 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30703 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30704 * io/Makefile [$(cross-compiling) = no]: Likewise.
30705 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30706 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30707 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30708 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30709 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30710 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30711 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30712 * string/Makefile [$(cross-compiling) = no]: Likewise.
30713
ebfd1bbd
JM
30714 * posix/Makefile ($(objpfx)globtest.out): Pass
30715 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30716 $(rtld-installed-name).
30717 * posix/globtest.sh (elf_objpfx): Remove variable.
30718 (rtld_installed_name): Likewise.
30719 (library_path): Likewise.
30720 (run_program_prefix): New variable. Use for running globtest
30721 binary.
30722
166bca24
JB
307232012-10-23 Jim Blandy <jimb@codesourcery.com>
30724 Joseph Myers <joseph@codesourcery.com>
30725
30726 * Makeconfig (host-built-program-cmd): New variable.
30727 * elf/Makefile (tst-stackguard1-ARGS): Use
30728 $(host-built-program-cmd).
30729 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30730 (tst-spawn-ARGS): Likewise.
30731 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30732
88866099
JM
307332012-10-23 Joseph Myers <joseph@codesourcery.com>
30734 Jim Blandy <jimb@codesourcery.com>
30735
30736 * Makeconfig (run-via-rtld-prefix): New variable.
30737 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30738 (built-program-cmd): Likewise.
30739
b4b4c296
AJ
307402012-10-22 Andreas Jaeger <aj@suse.de>
30741
30742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30743 __O_RSYNC if it exists, otherwise to O_SYNC.
30744
6fb54a22
JB
307452012-10-22 Jim Blandy <jimb@codesourcery.com>
30746 Joseph Myers <joseph@codesourcery.com>
30747
30748 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30749 /dev/null.
30750 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30751 from /dev/null
30752 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30753 /dev/null.
30754
481b90b9
AJ
307552012-10-22 Andreas Jaeger <aj@suse.de>
30756
2a0e2669
AJ
30757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30758 Define always.
30759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30760
76e38f9a
AJ
30761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30762 bits/fcntl-linux.h.
30763
7cd37b43
AJ
30764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30765 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30766
481b90b9
AJ
30767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30768 to __O_LARGEFILE.
30769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30770 to __O_LARGEFILE.
30771
aba75984
JB
307722012-10-21 Jim Blandy <jimb@codesourcery.com>
30773 Joseph Myers <joseph@codesourcery.com>
30774
30775 * config.make.in (NM): New variable.
30776
88d4247f
AJ
307772012-10-21 Andreas Jaeger <aj@suse.de>
30778
30779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30780 definitions and declarations that are provided by
30781 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30782
f2eed205
L
307832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30784
30785 [BZ #14683]
30786 * elf/Makefile (tests-static): Add tst-leaks1-static.
30787 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30788 ($(objpfx)tst-leaks1-static): New rule.
30789 ($(objpfx)tst-leaks1-static-mem): Likewise.
30790 (tst-leaks1-static-ENV): New macro.
30791 * elf/dl-open.c (dl_open_worker): Check the main application
30792 only if SHARED is defined.
30793 * elf/tst-leaks1-static.c: New file.
30794
335e6931
AJ
307952012-10-20 Andreas Jaeger <aj@suse.de>
30796
30797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30798 generic values for Linux.
30799 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30800 and declarations that are provided by <bits/fcntl-linux.h> and
30801 include <bits/fcntl-linux.h>.
30802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30804
ac5c94d3
RM
308052012-10-20 Roland McGrath <roland@hack.frob.com>
30806
30807 * io/fcntl.h: Move include of <bits/types.h> to the top and
30808 include it unconditionally.
30809
de54b33a
L
308102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30811
228cfb01
L
30812 * wcsmbs/Makefile (tests-ifunc): New variable.
30813 (tests): Add $(tests-ifunc).
30814 * wcsmbs/test-wcschr-ifunc.c: New file.
30815 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30816 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30817 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30818 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30819 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30820
69f07e5f
L
30821 * string/Makefile (tests-ifunc): New variable.
30822 (tests): Add $(tests-ifunc).
30823 * string/test-memccpy.c (TEST_NAME): New macro.
30824 * string/test-memchr.c (TEST_NAME): Likewise.
30825 * string/test-memcmp.c (TEST_NAME): Likewise.
30826 * string/test-memcpy.c (TEST_NAME): Likewise.
30827 * string/test-memmem.c (TEST_NAME): Likewise.
30828 * string/test-memmove.c (TEST_NAME): Likewise.
30829 * string/test-memset.c (TEST_NAME): Likewise.
30830 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30831 * string/test-stpcpy.c (TEST_NAME): Likewise.
30832 * string/test-stpncpy.c (TEST_NAME): Likewise.
30833 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30834 * string/test-strcasestr.c (TEST_NAME): Likewise.
30835 * string/test-strcat.c (TEST_NAME): Likewise.
30836 * string/test-strchr.c (TEST_NAME): Likewise.
30837 * string/test-strcmp.c(TEST_NAME): Likewise.
30838 * string/test-strcpy.c (TEST_NAME): Likewise.
30839 * string/test-strcspn.c (TEST_NAME): Likewise.
30840 * string/test-strlen.c (TEST_NAME): Likewise.
30841 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30842 * string/test-strncmp.c (TEST_NAME): Likewise.
30843 * string/test-strncpy.c (TEST_NAME): Likewise.
30844 * string/test-strnlen.c (TEST_NAME): Likewise.
30845 * string/test-strpbrk.c (TEST_NAME): Likewise.
30846 * string/test-strrchr.c (TEST_NAME): Likewise.
30847 * string/test-strspn.c (TEST_NAME): Likewise.
30848 * string/test-strstr.c (TEST_NAME): Likewise.
30849 * string/test-bcopy-ifunc.c: New file.
30850 * string/test-bzero-ifunc.c: Likewise.
30851 * string/test-memccpy-ifunc.c: Likewise.
30852 * string/test-memchr-ifunc.c: Likewise.
30853 * string/test-memcmp-ifunc.c: Likewise.
30854 * string/test-memcpy-ifunc.c: Likewise.
30855 * string/test-memmem-ifunc.c: Likewise.
30856 * string/test-memmove-ifunc.c: Likewise.
30857 * string/test-mempcpy-ifunc.c: Likewise.
30858 * string/test-memset-ifunc.c: Likewise.
30859 * string/test-rawmemchr-ifunc.c: Likewise.
30860 * string/test-stpcpy-ifunc.c: Likewise.
30861 * string/test-stpncpy-ifunc.c: Likewise.
30862 * string/test-strcasecmp-ifunc.c: Likewise.
30863 * string/test-strcasestr-ifunc.c: Likewise.
30864 * string/test-strcat-ifunc.c: Likewise.
30865 * string/test-strchr-ifunc.c: Likewise.
30866 * string/test-strchrnul-ifunc.c: Likewise.
30867 * string/test-strcmp-ifunc.c: Likewise.
30868 * string/test-strcpy-ifunc.c: Likewise.
30869 * string/test-strcspn-ifunc.c: Likewise.
30870 * string/test-strlen-ifunc.c: Likewise.
30871 * string/test-strncasecmp-ifunc.c: Likewise.
30872 * string/test-strncat-ifunc.c: Likewise.
30873 * string/test-strncmp-ifunc.c: Likewise.
30874 * string/test-strncpy-ifunc.c: Likewise.
30875 * string/test-strnlen-ifunc.c: Likewise.
30876 * string/test-strpbrk-ifunc.c: Likewise.
30877 * string/test-strrchr-ifunc.c: Likewise.
30878 * string/test-strspn-ifunc.c: Likewise.
30879 * string/test-strstr-ifunc.c: Likewise.
30880
de54b33a
L
30881 * debug/Makefile (tests-ifunc): New variable.
30882 (tests): Add $(tests-ifunc).
30883 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30884 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30885 * debug/test-stpcpy_chk-ifunc.c: New file.
30886 * debug/test-strcpy_chk-ifunc.c: Likewise.
30887
88481c16
SP
308882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30889
30890 [BZ #13601]
30891 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30892 header is not read in.
30893
135948bd
JM
308942012-10-19 Joseph Myers <joseph@codesourcery.com>
30895
89f1c388
JM
30896 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30897 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30898 directly. Pass built executable to script as
30899 $(built-program-cmd).
30900 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30901 $testprogram without using LD_LIBRARY_PATH and $ldso.
30902
e40a0d21
JM
30903 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30904 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30905 $(rtld-installed-name).
30906 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30907 (rtld_installed_name): Likewise.
30908 (library_path): Likewise.
30909 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30910 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30911 $(run-program-prefix) to tst-tables.sh.
30912 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30913 it to run tst-table-from and tst-table-to.
30914 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30915 Pass it to tst-table.sh.
30916 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30917 $(run-program-prefix) to tst-gettext.sh.
30918 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30919 tst-translit.sh.
30920 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30921 tst-gettext2.sh.
30922 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30923 to run tst-gettext.
30924 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30925 to run tst-gettext2.
30926 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30927 to run tst-translit.
30928 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30929 $(run-program-prefix) to tst-mtrace.sh.
30930 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30931 to run tst-mtrace.
30932 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30933 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30934 $(rtld-installed-name).
30935 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30936 (rtld_installed_name): Likewise.
30937 (run_program_prefix): New variable. Use it to run wordexp-test.
30938
728e272a
JM
30939 * Makeconfig (ARCH): Remove all definitions.
30940 (machine): Likewise.
30941 [ARCH]: Remove conditional code.
30942 [!objdir]: Give error.
30943 [!objdir] (objpfx): Remove.
30944 [!objdir] (common-objpfx): Likewise.
30945 [!objdir] (common-objdir): Likewise.
30946 * configure.in (config_makefile): Remove. Hardcode Makefile in
30947 AC_CONFIG_FILES call.
30948 * configure: Regenerated.
30949
d528cdcf
JM
30950 [BZ #13888]
30951 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30952 or TMPDIR.
30953 (testout): Likewise.
30954
135948bd
JM
30955 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30956 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30957 $(rtld-installed-name).
30958 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30959 (rtld_installed_name): Likwise.
30960 (runit): Remove function.
30961 (run_getconf): New variable, Use it for running getconf binary.
30962
38c78296
L
309632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 [BZ #14716]
30966 * string/test-memmem.c (check_result): New function.
30967 (do_one_test): Use it.
30968 (check1): New function.
30969 (test_main): Use it.
30970
d077f65f
MT
309712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30972
30973 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30974
ced52c71
JM
309752012-10-18 Joseph Myers <joseph@codesourcery.com>
30976
30977 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30978 (_G_LSEEK64): Likewise.
30979 (_G_MMAP64): Likewise.
30980 (_G_FSTAT64): Likewise.
30981 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30982 (_G_LSEEK64): Likewise.
30983 (_G_MMAP64): Likewise.
30984 (_G_FSTAT64): Likewise.
30985 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30986 unconditional. Call __mmap64 directly.
30987 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30988 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30989 __lseek64 directly.
30990 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30991 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30992 __mmap64 directly.
30993 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30994 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30995 __lseek64 directly.
30996 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30997 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30998 __lseek64 directly.
30999 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31000 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31001 __lseek64 directly.
31002 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31003 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31004 __fxstat64 directly.
31005 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31006 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31007 unconditional.
31008 (freopen64) [!_G_OPEN64]: Remove conditional code.
31009 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31010 unconditional.
31011 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31012 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31013 unconditional.
31014 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31015 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31016 unconditional.
31017 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31018 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31019 unconditional.
31020 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31021 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31022 unconditional.
31023 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31024 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31025 unconditional.
31026 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31027 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31028 unconditional.
31029 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31030
b741de23
SP
310312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31032
31033 [BZ #12140]
31034 * manual/memory.texi (Malloc Tunable Parameters): Add note
31035 about free list pointers overwriting some perturb bytes.
31036 Wording suggested by Roland McGrath.
31037
f9b9d9c9
JM
310382012-10-17 Joseph Myers <joseph@codesourcery.com>
31039
31040 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31041 (lgamma_test): Likewise.
31042 (tgamma_test): Likewise.
31043
172a631a
FW
310442012-10-16 Florian Weimer <fweimer@redhat.com>
31045
31046 [BZ #14700]
31047 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31048 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31049
e9f37252
MK
310502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31051
31052 * NEWS: Mention BZ #14716.
31053 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31054 when removing AVAILABLE1_USES_J macro.
31055
d394eb74
L
310562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31059 (__bswap_64): __uint64_t for unsigned 64-bit int.
31060
ca38dc17
AS
310612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31062
31063 * include/string.h (memmem): Declare libc hidden alias.
31064 * string/memmem.c (memmem): Define libc hidden alias.
31065 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31066 __read, __close instead of open, read, close.
31067
9a387d1f
L
310682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31069
ac49ecaf
L
31070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31071 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31072 global and hidden.
31073 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31074 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31075 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31076 Likewise.
31077 (__rawmemchr_sse2): Likewise.
31078 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31079 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31080 (__strchr_sse2): Likewise.
31081 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31082 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31083 (__strcasecmp_sse2): Likewise.
31084 (__strncasecmp_sse2): Likewise.
31085 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31086 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31087 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31088 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31089 (__strrchr_sse2): Likewise.
31090 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31091 ifunc-impl-list.c.
31092 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31093 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31094 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31095 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31096 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31098 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31099 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31100 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31101 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31102 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31103 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31104 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31105 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31106 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31107 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31108 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31109 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31110 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31111 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31112 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31113 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31114 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31115 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31116 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31117 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31118 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31119 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31120 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31121 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31122
b090e8ea
L
31123 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31124 global and hidden.
31125 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31126 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31127 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31128 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31129 Likewise.
31130 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31131 Likewise.
31132 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31133 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31134 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31135 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31136 ifunc-impl-list.c.
31137 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31138 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31139 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31140 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31141 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31142 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31143 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31144 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31145 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31146 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31147 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31148 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31149 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31150 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31151 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31153 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31154 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31155 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31156 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31157 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31158 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31159 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31160 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31162 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31163 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31164 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31167 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31168 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31169 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31171 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31178
11dd4af6
L
31179 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31180 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31181 * include/ifunc-impl-list.h: New file.
31182 * misc/ifunc-impl-list.c: Likewise.
31183 * misc/Makefile (routines): Add ifunc-impl-list.
31184 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31185 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31186 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31187 TEST_NAME]: New variables.
11dd4af6
L
31188 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31189 are defined.
31190 (test_init): Call __libc_ifunc_impl_list to initialize
31191 func_list if TEST_IFUNC and TEST_NAME are defined.
31192
9a387d1f
L
31193 * string/Makefile (strop-tests): Add bcopy and bzero.
31194 * string/test-bcopy.c: New file.
31195 * string/test-bzero.c: Likewise.
31196 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31197 defined.
31198 * string/test-memset.c: Support bzero test if TEST_BZERO is
31199 defined.
31200 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31201 __libc_memmove.
31202 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31203 __libc_memset.
31204 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31205 of memset.
31206
472371b9
JM
312072012-10-10 Joseph Myers <joseph@codesourcery.com>
31208
1e4a9536
JM
31209 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31210 * configure: Regenerated.
31211
d173d12e
JM
31212 * Makeconfig (+link-static-before-libc): Don't include
31213 $(link-static-libc).
31214
472371b9
JM
31215 * libio/libio.h (_IO_pos_t): Remove.
31216
89a3ad0b
AO
312172012-10-10 Alexandre Oliva <aoliva@redhat.com>
31218
31219 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31220 McGrath.
31221
e7451425
AO
312222012-10-10 Alexandre Oliva <aoliva@redhat.com>
31223
31224 * crypt/crypt-entry.c: Include fips-private.h.
31225 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31226 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31227 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31228 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31229
4ba74a35
AO
312302012-10-10 Alexandre Oliva <aoliva@redhat.com>
31231
31232 * crypt/crypt-private.h: Include stdbool.h.
31233 (_ufc_setup_salt_r): Return bool.
31234 * crypt/crypt-entry.c: Include errno.h.
31235 (__crypt_r): Return NULL with EINVAL for bad salt.
31236 * crypt/crypt_util.c (bad_for_salt): New.
31237 (_ufc_setup_salt_r): Check that salt is long enough and within
31238 the specified alphabet.
31239 * crypt/badsalttest.c: New file.
31240 * crypt/Makefile (tests): Add it.
31241 ($(objpfx)badsalttest): New.
31242
f96f1242
MK
312432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31244
31245 * NEWS: Add entry for BZ #14602.
31246
0e8e0c1c
JM
312472012-10-09 Joseph Myers <joseph@codesourcery.com>
31248
31249 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31250 type-generic.
31251 * math/libm-test.inc: Update comment listing what functions and
31252 macros are tested.
31253 (isgreater_test): New function.
31254 (isgreaterequal_test): Likewise.
31255 (isless_test): Likewise.
31256 (islessequal_test): Likewise.
31257 (islessgreater_test): Likewise.
31258 (isunordered_test): Likewise.
31259 (main): Call the new functions.
31260
273edc5e
RM
312612012-10-09 Roland McGrath <roland@hack.frob.com>
31262
b8493de0
RM
31263 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31264 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31265 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31266 * sysdeps/i386/configure: Regenerated.
31267 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31268 * sysdeps/mach/configure: Regenerated.
31269 * sysdeps/mach/hurd/configure: Regenerated.
31270 * sysdeps/powerpc/configure: Regenerated.
31271 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31272 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31273 * sysdeps/s390/s390-32/configure: Regenerated.
31274 * sysdeps/s390/s390-64/configure: Regenerated.
31275 * sysdeps/sh/configure: Regenerated.
31276 * sysdeps/sparc/configure: Regenerated.
31277 * sysdeps/unix/sysv/linux/configure: Regenerated.
31278 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31279 * sysdeps/x86_64/configure: Regenerated.
31280
273edc5e
RM
31281 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31282 defined. Don't check if MAP is NULL.
31283
c8450f70
JM
312842012-10-09 Joseph Myers <joseph@codesourcery.com>
31285
31286 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31287 (_G_stat64): Likewise.
31288 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31289 (_G_stat64): Likewise.
31290 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31291 instead of struct _G_stat64.
31292 * libio/fileops.c (mmap_remap_check): Likewise.
31293 (decide_maybe_mmap): Likewise.
31294 (_IO_new_file_seekoff): Likewise.
31295 (_IO_file_stat): Likewise.
31296 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31297 _G_off64_t.
31298 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31299 instead of struct _G_stat64.
31300 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31301
57e605ba
MK
313022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31303
31304 [BZ #14602]
31305 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31306 Replace with ...
31307 (CHECK_EOL): New macro.
31308 (two_way_short_needle): Check beginning of haystack for EOL. Use
31309 CHECK_EOL.
31310 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31311 Replace with CHECK_EOL.
31312 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31313 Replace with CHECK_EOL.
31314
ef1bb361
JM
313152012-10-08 Joseph Myers <joseph@codesourcery.com>
31316
31317 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31318 type-generic.
31319 * math/libm-test.inc: Update comment listing what functions and
31320 macros are tested.
31321 (finite_test): New function.
31322 (isinf_test): Likewise.
31323 (isnan_test): Likewise.
31324 (fpclassify_test): Test subnormal input.
31325 (isfinite_test): Likewise.
31326 (isnormal_test): Likewise.
31327 (main): Call the new functions.
31328
55f11534
JN
313292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31330
31331 [BZ #14660]
31332 * Makerules (%.dynsym): Force C locale when running
31333 $(OBJDUMP) --dynamic-syms.
31334
1ab29350
AS
313352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31336
31337 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31338 <stdint.h>.
31339
f1ecb7ef
DM
313402012-10-06 David S. Miller <davem@davemloft.net>
31341
31342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31343 upper 32-bits of the length value in %o2 since we use branch-on-register
31344 tests which consider the entire 64-bit register.
31345
5d41d91a
L
313462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31347
31348 * string/test-strstr.c (check2): Add a test for page boundary.
31349
3baddb72
DM
313502012-10-05 David S. Miller <davem@davemloft.net>
31351
31352 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31354 file.
31355 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31356 sysdep_routines.
31357 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31358 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31359 and bzero when HWCAP_SPARC_CRYPTO is present.
31360
9cee5585
L
313612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31362
d7e0dab9
L
31363 [BZ #14602]
31364 * string/test-strstr.c (check2): New function.
31365 (test_main): Call check2.
31366
03759f47
L
31367 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31368 and bug-strchr1.
31369 * string/bug-strcasestr1.c (do_test): Moved to ...
31370 * string/test-strcasestr.c (check1): Here. New function.
31371 (do_one_test): Break out result checking code into ...
31372 (check_result): This. New function.
31373 (do_one_test): Call check_result.
31374 (test_main): Call check1.
31375 * string/bug-strchr1.c (do_test): Moved to ...
31376 * string/test-strchr.c (check1): Here. New function.
31377 (do_one_test): Break out result checking code into ...
31378 (check_result): This. New function.
31379 (do_one_test): Call check_result.
31380 (test_main): Call check1.
31381 * string/bug-strstr1.c (main): Moved to ...
046f153e 31382 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31383 (do_one_test): Break out result checking code into ...
31384 (check_result): This. New function.
31385 (do_one_test): Call check_result.
31386 (test_main): Call check1.
31387 * string/bug-strcasestr1.c: Removed.
31388 * string/bug-strchr1.c: Likewise.
31389 * string/bug-strstr1.c: Likewise.
31390
53cea63e
L
31391 * elf/Makefile (dl-routines): Add hwcaps.
31392 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31393 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31394 (_dl_important_hwcaps): Moved to ...
31395 * elf/dl-hwcaps.c: Here. New file.
31396 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31397
9cee5585 31398 [BZ #14557]
bb859b06
L
31399 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31400 if IS_IN_rtld isn't defined.
31401
9cee5585
L
31402 * elf/dl-support.c (_dl_sysinfo_map): New.
31403 Include "get-dynamic-info.h" and "setup-vdso.h".
31404 (_dl_non_dynamic_init): Call setup_vdso.
31405 * elf/dynamic-link.h: Don't include <assert.h>.
31406 (elf_get_dynamic_info): Moved to ...
31407 * elf/get-dynamic-info.h: Here. New file.
31408 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31409 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31410 * elf/setup-vdso.h: Here. New file.
31411 * elf/rtld.c: Include "setup-vdso.h".
31412 (dl_main): Call setup_vdso.
31413
23c31b76
JM
314142012-10-05 Joseph Myers <joseph@codesourcery.com>
31415
28234b07
JM
31416 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31417 creal in comment listing functions tested. List finite, isinf,
31418 isnan, isless, islessequal, isgreater, isgreaterequal,
31419 islessgreater, isunordered, lgamma_r and pow10 as functions and
31420 macros not tested. Mention which functions not tested are aliases
31421 for other functions. Fix typo. Note that signs of NaNs are not
31422 tested.
31423
23c31b76
JM
31424 * scripts/config.guess: Update from config.git.
31425 * scripts/config.sub: Likewise.
31426
9043e228
RM
314272012-10-04 Roland McGrath <roland@hack.frob.com>
31428
31429 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31430 * misc/madvise.c (madvise): Renamed to __madvise.
31431 Make madvise a weak alias.
31432 * include/sys/mman.h: Declare __madvise.
31433 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31434 * sysdeps/unix/syscalls.list
31435 (madvise): Make __madvise the strong name, and madvise a weak alias.
31436 * sysdeps/unix/sysv/linux/syscalls.list
31437 (madvise, mmap): Remove redundant entries.
31438 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31439 * malloc/malloc.c (mtrim): Likewise.
31440 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31441
f57f8055
RM
314422012-10-03 Roland McGrath <roland@hack.frob.com>
31443
31444 * sysdeps/mach/hurd/dl-cache.c: File removed.
31445 * config.h.in (USE_LDCONFIG): New #undef.
31446 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31447 * configure: Regenerated.
31448 * elf/Makefile (dl-routines): Add dl-cache only under
31449 [$(use-ldconfig) = yes].
31450 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31451 cache on [USE_LDCONFIG].
31452 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31453 [USE_LDCONFIG].
31454 * elf/rtld.c (dl_main): Likewise.
31455
5bb0c10a
PT
314562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31457
31458 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31459 _SC_LEVEL4_CACHE_LINESIZE.
31460
010188c6
RM
314612012-10-03 Roland McGrath <roland@hack.frob.com>
31462
31463 * sysdeps/unix/bsd/confstr.h: File removed.
31464
b6c5ec07
AO
314652012-10-02 Alexandre Oliva <aoliva@redhat.com>
31466
31467 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31468 sys/sdt-config.h.
31469
408223d4
RM
314702012-10-02 Roland McGrath <roland@hack.frob.com>
31471
31472 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31473 Make 'mapoff' field ElfW(Off) rather than off_t.
31474
bb9510dc
DL
314752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31476
fc997c6e
DL
31477 * nscd/Makefile: Remove nscd-cflags and all its users.
31478 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31479 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31480
bb9510dc
DL
31481 [BZ #10631]
31482 * malloc.c (malloc_printerr): Clarify error message.
31483
05699367
L
314842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31485
31486 [BZ #14648]
31487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31488 Set bit_FMA_Usable if FMA is supported.
31489 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31490 macro.
31491 (bit_FMA4_Usable): Updated.
31492 (index_FMA_Usable): New macro.
31493 (CPUID_FMA): Likewise
31494 (HAS_FMA): Defined with bit_FMA_Usable.
31495
51367701
RM
314962012-10-01 Roland McGrath <roland@hack.frob.com>
31497
31498 * bits/types.h (__swblk_t): Type removed.
31499 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31500 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31502 (__SWBLK_T_TYPE): Likewise.
31503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31504 (__SWBLK_T_TYPE): Likewise.
31505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31506 (__SWBLK_T_TYPE): Likewise.
31507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31508 (__SWBLK_T_TYPE): Likewise.
31509
4d57bf63 315102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31511 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31512
31513 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31514 (xdr_mapname): Use YPMAXMAP as maxsize.
31515 (xdr_peername): Use YPMAXPEER as maxsize.
31516 (xdr_keydat): Use YPAXRECORD as maxsize.
31517 (xdr_valdat): Use YPMAXRECORD as maxsize.
31518
93c65d43
RM
315192012-10-01 Roland McGrath <roland@hack.frob.com>
31520
497a03d6
RM
31521 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31522
93c65d43
RM
31523 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31524 * csu/init-first.c: ... here.
31525 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31526 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31528 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31529 * sysdeps/i386/init-first.c: File removed.
31530 * sysdeps/sh/init-first.c: File removed.
31531
bec749fd
JM
315322012-10-01 Joseph Myers <joseph@codesourcery.com>
31533
31534 [BZ #14645]
31535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31536 if x * y might underflow to zero and z is zero.
31537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31539 * math/libm-test.inc (min_subnorm_value): New variable.
31540 (fma_test): Add more tests.
31541 (fma_test_towardzero): Likewise.
31542 (fma_test_downward): Likewise
31543 (fma_test_upward): Likewise.
31544 (initialize): Set min_subnorm_value.
31545
8ec5b013
JM
315462012-09-29 Joseph Myers <joseph@codesourcery.com>
31547
31548 [BZ #14638]
31549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31550 0 + 0.
31551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31552 mode for addition resulting in exact zero.
31553 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31555 exact 0 + 0.
31556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31558 * math/libm-test.inc (fma_test): Add more tests.
31559 (fma_test_towardzero): New function.
31560 (fma_test_downward): Likewise.
31561 (fma_test_upward): Likewise.
31562 (main): Call the new functions.
31563
b1fa802e
DM
315642012-09-28 David S. Miller <davem@davemloft.net>
31565
31566 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31567
d3b9fd9e
RM
315682012-09-28 Roland McGrath <roland@hack.frob.com>
31569
ea4d37b3
RM
31570 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31571 instead of SIGALRM.
31572
ac51c949
RM
31573 * sysdeps/gnu/_G_config.h: Moved to ...
31574 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31575 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31576 * sysdeps/generic/_G_config.h: ... here.
31577
28c195f7
RM
31578 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31579
848917f9
RM
31580 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31581
6bacf05b
RM
31582 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31583 Conditionalize target on [libnss_test1.so-version].
31584
91363dbb
RM
31585 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31586
cc87f7d8
RM
31587 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31588 (elfobjdir): Move out of conditionals.
31589
b1c608fe
RM
31590 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31591 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31592 (__nss_lookup_function): Conditionalize label remove_from_tree on
31593 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31594
1d9a6d96
DM
315952012-09-28 David S. Miller <davem@davemloft.net>
31596
31597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31598 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31599 file.
31600 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31601 sysdep_routines.
31602 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31604 when HWCAP_SPARC_CRYPTO is present.
31605
72581615
PT
316062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31607
31608 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31609
715a900c
JL
316102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31611
31612 [BZ #6530]
31613 * stdio-common/vfprintf.c (process_string_arg): Revert
31614 2000-07-22 change.
31615
316162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31617
31618 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31619 for testcase.
31620 * stdio-common/tst-sprintf.c: Include <locale.h>
31621 (main): Test sprintf's handling of incomplete multibyte
31622 characters.
31623
9bac1d86
L
316242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31625
31626 * elf/dl-runtime.c (VERSYMIDX): Removed.
31627 * elf/dl-version.c (VERSYMIDX): Likewise.
31628 * elf/do-rel.h (VERSYMIDX): Likewise.
31629 (VALIDX): Likewise.
31630 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31631 * elf/rtld.c (VALIDX): Likewise.
31632 (ADDRIDX): Likewise.
9bac1d86
L
31633 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31634 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31635 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31636 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31637 (VALIDX): Likewise.
31638 (ADDRIDX): Likewise.
9bac1d86 31639
b31606c0
PT
316402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31641
31642 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31643
11541177
JL
316442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31645
31646 [BZ #11438]
31647 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31648 to global scope.
31649 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31650 addresses are in the same scope as 192.0.2/24.
31651 * posix/gai.conf: Document new scope table defaults.
31652
adb26fae
SP
316532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31654
31655 [BZ #5298]
31656 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31657 for ftell. Compute offsets from write pointers instead.
31658 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31659
4573c6b0
SP
316602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31661
31662 [BZ #14543]
31663 * libio/Makefile (tests): New test case tst-fseek.
31664 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31665 combination works in wide mode.
31666 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31667 state when the external buffer state changes.
31668
aa9bbfe6
DM
316692012-09-27 David S. Miller <davem@davemloft.net>
31670
31671 [BZ #14376]
31672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31673 pass reloc->r_addend in as the 'high' argument to
31674 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31675
784421e7
DM
31676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31677
c39bc8b8
PT
316782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31679
31680 * rt/tst-aio2.c: Include <pthread.h>.
31681 * rt/tst-aio3.c: Likewise.
31682
1ccc2399
SE
316832012-09-27 Steve Ellcey <sellcey@mips.com>
31684
31685 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31686
31ed4153
L
316872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31688
25f5f885
L
31689 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31690 contents on [SHARED].
31ed4153 31691
b7bfe116
MP
316922012-09-26 Marek Polacek <polacek@redhat.com>
31693
31694 [BZ #14530]
31695 [BZ #13741]
31696 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31697 for C++ and GCC <4.3 as well as for non GCC compilers.
31698
43c4edba
MT
316992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31700
31701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31702
6a1bf82f
RM
317032012-09-25 Roland McGrath <roland@hack.frob.com>
31704
31705 * Makefile.in (all, install): Declare with .PHONY.
31706 Reported by Michael Hope <michael.hope@linaro.org>.
31707
8ad11b9a
TMQMF
317082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31709
31710 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31711 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31712 system header.
31713 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31714 Likewise.
31715 (sydep_routines): Add the new and the internal functions.
31716 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31717 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31719 (GLIBC_2.17): Add the new function.
31720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31721 (GLIBC_2.17): Likewise.
31722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31723 (GLIBC_2.17): Likewise.
31724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31725 (GLIBC_2.17): Likewise.
31726 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31727
7e2fca8d
AM
317282012-09-25 Alan Modra <amodra@gmail.com>
31729
31730 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31731 Add release barrier before setting once_control to say
31732 initialisation is done. Add hints on lwarx. Use macro in
31733 place of isync.
31734 (clear_once_control): Add release barrier.
31735
b87c4b24
JM
317362012-09-25 Joseph Myers <joseph@codesourcery.com>
31737
d032e0d2
JM
31738 [BZ #13629]
31739 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31740 specially.
31741 * math/s_clog10.c (__clog10): Likewise.
31742 * math/s_clog10f.c (__clog10f): Likewise.
31743 * math/s_clog10l.c (__clog10l): Likewise.
31744 * math/s_clogf.c (__clogf): Likewise.
31745 * math/s_clogl.c (__clogl): Likewise.
31746 * math/Makefile (libm-calls): Add x2y2m1.
31747 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31748 (__x2y2m1): Likewise.
31749 (__x2y2m1l): Likewise.
31750 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31751 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31752 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31753 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31754 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31755 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31756 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31757 * sysdeps/i386/fpu/libm-test-ulps: Update.
31758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31759
b87c4b24
JM
31760 [BZ #14621]
31761 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31762 int as type of variable DEPTH.
31763 (glob): Use size_t instead of int as type of variables NEWCOUNT
31764 and OLD_PATHC.
31765
6d3bf199
LD
317662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31767
22bf5c17
LD
31768 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31769 Add s_sincosf-sse2.
31770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31771 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31772 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31773 macros for using routine as __sincosf_ia32.
31774 Use macro for function declaration and weak_alias.
31775 * sysdeps/i386/fpu/libm-test-ulps: Update.
31776
31777 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31779
31780 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31781 subnormal argument.
31782 * math/s_cexpf.c (__cexpf): Likewise.
31783 * math/s_csinf.c (__csinf): Likewise.
31784 * math/s_csinhf.c (__csinhf): Likewise.
31785 * math/s_ctanf.c (__ctanf): Likewise.
31786 * math/s_ctanhf.c (__ctanhf): Likewise.
31787 * math/s_ccosh.c (__ccoshf): Likewise.
31788 * math/s_cexp.c (__cexpl): Likewise.
31789 * math/s_csin.c (__csin): Likewise.
31790 * math/s_csinh.c (__csinh): Likewise.
31791 * math/s_ctan.c (__ctan): Likewise.
31792 * math/s_ctanh.c (ctanh): Likewise.
31793 * math/s_ccoshl.c (__ccoshl): Likewise.
31794 * math/s_cexpl.c (__cexpl): Likewise.
31795 * math/s_csinl.c (__csinl): Likewise.
31796 * math/s_csinhl.c (__csinhl): Likewise.
31797 * math/s_ctanl.c (__ctanl): Likewise.
31798 * math/s_ctanhl.c (__ctanhl): Likewise.
31799
203e5603
JM
318002012-09-25 Joseph Myers <joseph@codesourcery.com>
31801
31802 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31803 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31804 (_IO_off_t): Define to __off_t, not _G_off_t.
31805 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31806 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31807 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31808 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31809 type of __dummy and __dummy2 fields.
31810 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31811 (_G_ssize_t): Likewise.
31812 (_G_off_t): Likewise.
31813 (_G_pid_t): Likewise.
31814 (_G_uid_t): Likewise.
31815 (_G_wchar_t): Likewise.
31816 (_G_wint_t): Likewise.
31817 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31818 (_G_ssize_t): Likewise.
31819 (_G_off_t): Likewise.
31820 (_G_pid_t): Likewise.
31821 (_G_uid_t): Likewise.
31822 (_G_wchar_t): Likewise.
31823 (_G_wint_t): Likewise.
31824 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31825 (_G_ssize_t): Likewise.
31826 (_G_off_t): Likewise.
31827 (_G_pid_t): Likewise.
31828 (_G_uid_t): Likewise.
31829 (_G_wchar_t): Likewise.
31830 (_G_wint_t): Likewise.
31831
9fab36eb
SP
318322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31833
31834 * malloc/arena.c: Include malloc-sysdep.h.
31835 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31836 is sufficient to shrink the heap or an unmap is needed.
31837 * sysdeps/generic/malloc-sysdep.h: New file. Define
31838 new function check_may_shrink_heap.
31839 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31840 new function check_may_shrink_heap.
31841
2b4f00d1
SP
318422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31843
31844 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31845 comments.
31846
9a9028b1
DL
318472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31848
57c69bef
DL
31849 * catgets/test-gencat.sh: Add "set -e".
31850 * elf/tst-pathopt.sh: Likewise.
31851 * grp/tst_fgetgrent.sh: Likewise.
31852 * iconvdata/run-iconv-test.sh: Likewise.
31853 * intl/tst-gettext.sh: Likewise.
31854 * intl/tst-gettext2.sh: Likewise.
31855 * intl/tst-gettext4.sh: Likewise.
31856 * intl/tst-gettext6.sh: Likewise.
31857 * intl/tst-translit.sh: Likewise.
31858 * io/ftwtest-sh: Likewise.
31859 * libio/test-freopen.sh: Likewise.
31860 * malloc/tst-mtrace.sh: Likewise.
31861 * posix/globtest.sh: Likewise.
31862 * posix/tst-getconf.sh: Likewise.
31863 * posix/wordexp-tst.sh: Likewise.
31864 * stdio-common/tst-printf.sh: Likewise.
31865 * stdio-common/tst-unbputc.sh: Likewise.
31866 * stdlib/tst-fmtmsg.sh: Likewise.
31867 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31868 * catgets/Makefile: Do not specify -e option when running
31869 testsuite shell scripts.
31870 * elf/Makefile: Likewise.
31871 * grp/Makefile: Likewise.
31872 * iconvdata/Makefile: Likewise.
31873 * intl/Makefile: Likewise.
31874 * io/Makefile: Likewise.
31875 * libio/Makefile: Likewise.
31876 * malloc/Makefile: Likewise.
31877 * posix/Makefile: Likewise.
31878 * stdio-common/Makefile: Likewise.
31879 * stdlib/Makefile: Likewise.
31880 * sysdeps/x86_64/Makefile: Likewise.
31881
9a9028b1
DL
31882 * io/ftwtest-sh: Add copyright header.
31883 * posix/globtest.sh: Likewise.
31884 * posix/tst-getconf.sh: Likewise.
31885 * posix/wordexp-tst.sh: Likewise.
31886 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31887
ced6f16e
L
318882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31889
94b32c39
L
31890 [BZ #13679]
31891 * Makeconfig (+link): Defined as $(+link-static) if
31892 $(build-shared) isn't yes.
31893 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31894 isn't yes.
31895 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31896
189e935b
L
31897 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31898
ced6f16e
L
31899 [BZ #14562]
31900 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31901 new chunk size with MALLOC_ALIGN_MASK.
31902
a9f8e53a
JM
319032012-09-24 Joseph Myers <joseph@codesourcery.com>
31904
31905 [BZ #5044]
31906 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31907 <rounding-mode.h>.
31908 (__printf_fphex): Determine rounding using get_rounding_mode and
31909 round_away.
31910 * stdio-common/tst-printf-round.c (struct hex_test): New
31911 structure.
31912 (hex_tests): New variable.
31913 (test_hex_in_one_mode): New function.
31914 (do_test): Also run tests for hex float output.
31915
43153109
JM
319162012-09-21 Joseph Myers <joseph@codesourcery.com>
31917
31918 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31919 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31920 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31921 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31922 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31923 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31924 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31926
8a26625d
JM
319272012-09-20 Joseph Myers <joseph@codesourcery.com>
31928
31929 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31930 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31931 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31932 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31933
f3fd569c
DL
319342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31935
31936 [BZ #14579]
31937 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31938 mode only.
31939 * elf/tst-rtld-load-self.sh: New test.
31940 * elf/Makefile: Run it.
31941
63bbedd4
JM
319422012-09-18 Joseph Myers <joseph@codesourcery.com>
31943
31944 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31945 (tst-writev-ENV): Remove.
31946 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31947
626f8b6a
CM
319482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31949
31950 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31951
b7aaa4d6
JM
319522012-09-17 Joseph Myers <joseph@codesourcery.com>
31953
31954 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31955 unconditional.
31956 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31957 Likewise.
31958 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31959 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31960 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31961 Likewise.
31962
65513990
L
319632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 [BZ #14587]
31966 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31967 * config.make.in (have-cpp-asm-debuginfo): Removed.
31968 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31969 * configure: Regenerated.
31970
784761be
JM
319712012-09-14 Joseph Myers <joseph@codesourcery.com>
31972
31973 [BZ #5044]
31974 * stdio-common/printf_fp.c: Include <stdbool.h> and
31975 <rounding-mode.h>.
31976 (___printf_fp): Determine rounding using get_rounding_mode and
31977 round_away.
31978 * stdio-common/tst-printf-round.c: New file.
31979 * stdio-common/Makefile (tests): Add tst-printf-round.
31980 (link-libm): New variable.
31981 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31982
9503345f
L
319832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31984
31985 [BZ #14576]
31986 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31987 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31988 Likewise.
31989 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31990 Likewise.
31991
ad35fc00
JM
319922012-09-13 Joseph Myers <joseph@codesourcery.com>
31993
31994 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31995 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31996 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31997 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31998
6c9b0f68
JM
319992012-09-12 Joseph Myers <joseph@codesourcery.com>
32000
32001 [BZ #14518]
32002 * include/rounding-mode.h: New file.
32003 * sysdeps/generic/get-rounding-mode.h: Likewise.
32004 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32005 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32006 (MAX_VALUE): New macro.
32007 (MIN_VALUE): Likewise.
32008 (overflow_value): New function.
32009 (underflow_value): Likewise.
32010 (round_and_return): Use overflow_value and underflow_value to
32011 determine return values in overflow and underflow cases. Use
32012 round_away to determine rounding depending on rounding mode.
32013 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32014 determine return values in overflow and underflow cases.
32015 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32016 (struct test_results): New structure.
32017 (struct test): Use struct test_results to store expected results
32018 for all rounding modes.
32019 (TEST): Include expected results for all rounding modes.
32020 (test_in_one_mode): New function.
32021 (do_test): Use test_in_one_mode to compute and check results.
32022 Check results for all rounding modes.
32023 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32024 $(link-libm).
32025
19fcedd5
AM
320262012-12-09 Allan McRae <allan@archlinux.org>
32027
1e9d84cd 32028 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32029
8bbfd2f1
JM
320302012-09-11 Joseph Myers <joseph@codesourcery.com>
32031
32032 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32033 (_G_int32_t): Likewise.
32034 (_G_uint16_t): Likewise.
32035 (_G_uint32_t): Likewise.
32036 (_G_HAVE_BOOL): Likewise.
32037 (_G_HAVE_ATEXIT): Likewise.
32038 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32039 (_G_HAVE_IO_FILE_OPEN): Likewise.
32040 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32041 (_G_int32_t): Likewise.
32042 (_G_uint16_t): Likewise.
32043 (_G_uint32_t): Likewise.
32044 (_G_HAVE_BOOL): Likewise.
32045 (_G_HAVE_ATEXIT): Likewise.
32046 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32047 (_G_HAVE_IO_FILE_OPEN): Likewise.
32048 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32049 (_G_int32_t): Likewise.
32050 (_G_uint16_t): Likewise.
32051 (_G_uint32_t): Likewise.
32052 (_G_HAVE_BOOL): Likewise.
32053 (_G_HAVE_ATEXIT): Likewise.
32054 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32055 (_G_HAVE_IO_FILE_OPEN): Likewise.
32056
b1dc5912
L
320572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32058
32059 * csu/libc-tls.c: Update copyright years.
32060
0e886ef9
JM
320612012-09-10 Joseph Myers <joseph@codesourcery.com>
32062
28361c5e
JM
32063 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32064 [!_G_USING_THUNKS]: Remove conditional code.
32065 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32066 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32067
0e886ef9
JM
32068 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32069 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32070 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32071 (_G_VTABLE_LABEL_PREFIX): Likewise.
32072 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32073 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32075 (_G_VTABLE_LABEL_PREFIX): Likewise.
32076 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32077 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32079 (_G_VTABLE_LABEL_PREFIX): Likewise.
32080 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32081
bcba7aa2
L
320822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 * libio/Makefile: Include ../Makeconfig before tests.
32085 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32086 only if $(build-shared) is yes.
32087
06585ee8
L
32088 * iconv/gconv_db.c: Update copyright years.
32089
80ccd52c
LD
320902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32091
32092 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32093 unwind info if defined PIC. Fix special cases description.
32094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32095
32096 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32097 DP_HI_MASK entry.
32098 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32099
691bc9c1
L
321002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32101
3d9b46b3
L
32102 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32103
de2139a9
L
32104 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32105 is NULL.
32106
5ca78dd0
L
32107 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32108 (LDLIBS-tst-chk4): This.
32109 (LDFLAGS-tst-chk5): Renamed to ...
32110 (LDLIBS-tst-chk5): This.
32111 (LDFLAGS-tst-chk6): Renamed to ...
32112 (LDLIBS-tst-chk6): This.
32113 (LDFLAGS-tst-lfschk4): Renamed to ...
32114 (LDLIBS-tst-lfschk4): This.
32115 (LDFLAGS-tst-lfschk5): Renamed to ...
32116 (LDLIBS-tst-lfschk5): This.
32117 (LDFLAGS-tst-lfschk6): Renamed to ...
32118 (LDLIBS-tst-lfschk6): This.
32119
691bc9c1
L
32120 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32121 on $(common-objpfx)soversions.mk.
32122
65cafb1c
JM
321232012-09-07 Joseph Myers <joseph@codesourcery.com>
32124
32125 [BZ #10014]
32126 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32127 example host name.
32128
c78ab094
SP
321292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32130
32131 * malloc/arena.c (arena_get_retry): New function that gets
32132 another arena for the caller to try its request on.
32133 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32134 current arena cannot fulfill the request.
32135 (__libc_memalign): Likewise.
32136 (__libc_memalign): Likewise.
32137 (__libc_pvalloc): Likewise.
32138 (__libc_calloc): Likewise.
32139
01f49f59
JT
321402012-09-05 John Tobey <john.tobey@gmail.com>
32141
32142 [BZ #13542]
32143 * manual/arith.texi (Operations on Complex): Fix description
32144 of carg branch cut.
32145
4c23fed5
JM
321462012-09-06 Joseph Myers <joseph@codesourcery.com>
32147
1d3c8572
JM
32148 [BZ #10014]
32149 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32150 host name.
32151
4c23fed5
JM
32152 [BZ #10038]
32153 * manual/memory.texi (Memory): Make order of menu items match
32154 order of sections.
32155
04570aaa
L
321562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32157
32158 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32159 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32160 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32161
b80af2f4
L
321622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * csu/libc-tls.c (static_dtv): Renamed to ...
32165 (_dl_static_dtv): This. Make it global.
32166 (_dl_initial_dtv): Removed.
32167 (__libc_setup_tls): Updated.
32168 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32169 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32170 DL_INITIAL_DTV.
32171
2abe9f15
PM
321722012-09-06 Petr Machata <pmachata@redhat.com>
32173
32174 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32175 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32176 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32177 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32178
0948c3af
L
321792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32180
32181 [BZ #14545]
32182 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32183 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32184 freeing dtv[-1].
32185
a5055ad1
L
321862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32187
32188 [BZ #14544]
32189 * Makeconfig (link-static-before-libc): Replace $(+prector)
32190 with $(+prectorT).
32191 (link-static-after-libc): Replace $(+postctor) with
32192 $(+postctorT).
32193 (link-bounded): Replace $(+prector)/$(+postctor) with
32194 $(+prectorT)/$(+postctorT).
32195 (+prectorT): New macro.
32196 (+postctorT): Likewise.
32197
ed8c2ecd
JM
321982012-09-06 Joseph Myers <joseph@codesourcery.com>
32199
32200 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32201 (round_str): Handle values above the maximum for IBM long double
32202 as inexact.
32203 * stdlib/tst-strtod-round.c (tests): Regenerated.
32204
14c996c8
AK
322052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32206
32207 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32208 assembler flag.
32209 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32210 zarch_nohighgprs around the zarch optimized routines.
32211 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32212 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32213 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32214 for zarch.
32215
430d6ce6
DM
322162012-09-05 David S. Miller <davem@davemloft.net>
32217
32218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32219
57f41c40
AS
32220 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32221 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32222 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32223 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32224 entries.
32225
24d4e01b
AO
322262012-09-05 Alexandre Oliva <aoliva@redhat.com>
32227
32228 * malloc/arena.c: Fold copyright years.
32229 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32230
61d58174
AO
322312012-09-05 Alexandre Oliva <aoliva@redhat.com>
32232
32233 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32234
20196a5e
AO
322352012-09-05 Alexandre Oliva <aoliva@redhat.com>
32236
32237 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32238
5c447383
AO
322392012-09-05 Alexandre Oliva <aoliva@redhat.com>
32240
32241 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32242 change internal state upon failure.
32243
fad64255
AO
322442012-09-05 Alexandre Oliva <aoliva@redhat.com>
32245
32246 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32247 * malloc/memusage.c (mmap): Likewise.
32248 (mmap64, mremap): Likewise. Adjust name in comment.
32249
1ffb8c90
SP
322502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32251
32252 * libio/fileops.c: Fix typos in comments.
32253 * libio/oldfileops.c: Likewise.
32254 * libio/wfileops.c: Likewise.
32255
6ef9cc37
SP
322562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
32258 [BZ #1349]
32259 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32260 (tst-malloc-usable-ENV): Set environment for test case.
32261 * malloc/hooks.c (malloc_check_get_size): New function to get
32262 requested size.
32263 * malloc/malloc.c (musable): Use malloc_check_get_size.
32264 * malloc/tst-malloc-usable.c: New test case.
32265
4d038ae3
AS
322662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32267
32268 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32269
c4e85184
AM
322702012-09-05 Allan McRae <allan@archlinux.org>
32271
b9dafc56 32272 [BZ #13966]
c4e85184
AM
32273 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32274 determine header location.
32275 * configure: Regenerated.
32276
e1343020
AS
322772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32278
32279 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32280 float format.
32281 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32282 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32283 format.
e1343020
AS
32284 (test): Regenerate.
32285
0a9f1987
DM
322862012-09-04 David S. Miller <davem@davemloft.net>
32287
32288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32290 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32291
29237804
FW
322922012-09-04 Florian Weimer <fweimer@redhat.com>
32293
32294 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32295 failures.
32296
edb3cb88
FW
32297 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32298
60160d83
JM
322992012-09-04 Joseph Myers <joseph@codesourcery.com>
32300
32301 [BZ #9914]
32302 * libio/iogetdelim.c: Include <limits.h>.
32303 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32304 + len + 1 would overflow.
32305
bcd6c8dc
AJ
323062012-09-03 Andreas Jaeger <aj@suse.de>
32307
32308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32309 * sysdeps/i386/fpu/libm-test-ulps: Update.
32310
4ffffbd2
LD
323112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32312
32313 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32314 Add s_sinf-sse2, s_conf-sse2.
32315
32316 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32317 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32318 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32319 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32320
32321 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32322 for using routine as __sinf_ia32.
32323 Use macro for function declaration and weak_alias.
32324 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32325 for using routine as __cosf_ia32.
32326 Use macro for function declaration and weak_alias.
32327
32328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32329 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32330
32331 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32332 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32334
32335 * math/libm-test.inc (cos_test): Add more test cases.
32336 (sin_test): Likewise.
32337 (sincos_test): Likewise.
32338
511fa286
AK
323392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32340
32341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32342 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32343 hidden.
32344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32345
5f30cfec
L
323462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32347
32348 [BZ #14538]
32349 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32350 first element of the GOT.
32351 (elf_machine_load_address): Return the difference between
32352 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32353
0786794f
AM
323542012-09-01 Allan McRae <allan@archlinux.org>
32355
5f30cfec
L
32356 [BZ #13412]
32357 * configure.in (AWK): Require gawk version 3.0 or later.
32358 * configure: Regenerated.
0786794f 32359
26889eac
JM
323602012-09-01 Joseph Myers <joseph@codesourcery.com>
32361
32362 * sysdeps/unix/sysv/linux/kernel-features.h
32363 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32364 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32365 [__NR_clock_getres]: Make code unconditional.
32366 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32367 (clock_getcpuclockid): Remove code left unreachable by removal of
32368 conditionals.
32369 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32370 code unconditional.
32371 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32373 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32374 Make code unconditional.
32375 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32376 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32377 * sysdeps/unix/sysv/linux/clock_settime.c
32378 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32379 conditional code.
32380 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32381 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32382
d22e28b0
L
323832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 [BZ #14476]
32386 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32387 scripts/test-installation.pl.
32388
32389 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32390 and $ld_so_version if it is set.
32391
050af9c4
SP
323922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32393
32394 [BZ #14516]
32395 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32396 failure if reading from procfs failed.
32397 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32398
ad845c0b
JM
323992012-08-27 Joseph Myers <joseph@codesourcery.com>
32400
32401 * sysdeps/unix/sysv/linux/kernel-features.h
32402 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32403 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32404 Remove conditional code.
32405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32406 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32407 Remove conditional code.
32408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32409 * sysdeps/unix/sysv/linux/i386/fxstat.c
32410 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32412 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32413 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32415 * sysdeps/unix/sysv/linux/i386/lxstat.c
32416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32418 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32419 Remove conditional code.
32420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32421 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32422 Remove conditional code.
32423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32425 <kernel-features.h>.
32426 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32427 Remove.
32428 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32429 Remove conditional code.
32430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32431 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32432 Remove conditional.
32433
5dbf56af
MF
324342012-08-27 Mike Frysinger <vapier@gentoo.org>
32435
32436 [BZ #5400]
32437 * NEWS: Add fixed bug number.
32438
d6e70f43
JM
324392012-08-27 Joseph Myers <joseph@codesourcery.com>
32440
7efb4737
JM
32441 [BZ #14519]
32442 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32443 underflowing exponent in case of negative sign.
32444 * stdlib/tst-strtod-round-data: Add more tests.
32445 * stdlib/tst-strtod-round.c (tests): Regenerated.
32446
af92131a
JM
32447 [BZ #3479]
32448 * stdlib/strtod_l.c (NDIG): Remove.
32449 (HEXNDIG): Likewise.
32450 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32451 smallest representable value.
32452 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32453 lie within an exact representation of 1/2 ulp of the result.
32454 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32455 unconditionally.
32456 (TENS_P9_IDX): Define unconditionally.
32457 (TENS_P9_SIZE): Likewise.
32458 (TENS_P10_IDX): Likewise.
32459 (TENS_P10_SIZE): Likewise.
32460 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32461 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32462 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32463 entries for 10^2^13 and 10^2^14.
32464 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32465 (TENS_P13_IDX): Define.
32466 (TENS_P13_SIZE): Likewise.
32467 (TENS_P14_IDX): Likewise.
32468 (TENS_P14_SIZE): Likewise.
32469 (_fpioconst_pow10): Change array size to
32470 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32471 unconditional.
32472 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32473 1024]: Add entries for 10^2^13 and 10^2^14.
32474 [LAST_POW10 > _LAST_POW10]: Remove #error.
32475 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32476 (_fpioconst_pow10): Change array size to
32477 FPIOCONST_POW10_ARRAY_SIZE.
32478 * stdlib/gen-fpioconst.c: New file.
32479 * stdlib/gen-tst-strtod-round.c: Likewise.
32480 * stdlib/tst-strtod-round-data: Likewise.
32481 * stdlib/tst-strtod-round.c: Likewise.
32482 * stdlib/Makefile (tests): Add tst-strtod-round.
32483
d6e70f43
JM
32484 [BZ #14459]
32485 * stdlib/strtod_l.c: Include <stdint.h>.
32486 (NDEBUG): Do not define.
32487 (round_and_return): Change EXPONENT parameter to type intmax_t.
32488 Rearrange calculations to avoid internal overflow possibilities.
32489 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32490 Rearrange calculations to avoid internal overflow possibilities.
32491 Assert that number fits inside MPNSIZE limbs.
32492 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32493 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32494 calculations and add assertions to avoid internal overflow
32495 possibilities. Add casts to avoid signed/unsigned operations.
32496 * stdlib/tst-strtod-overflow.c: New file.
32497 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32498
1f529f7d
MP
324992012-08-25 Marek Polacek <polacek@redhat.com>
32500
32501 * time/time.h: Fix some typos in comments.
32502
59a629f1
RM
325032012-08-23 Roland McGrath <roland@hack.frob.com>
32504
32505 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32506 * posix/tst-rfc3484-2.c: Likewise.
32507 * posix/tst-rfc3484-3.c: Likewise.
32508
d3bafbc9
SM
325092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32510
32511 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32512 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32513
4efcc022
JM
325142012-08-23 Joseph Myers <joseph@codesourcery.com>
32515
32516 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32517 #include of fxstatat64.c.
32518
3cc3ef96
RM
325192012-08-22 Roland McGrath <roland@hack.frob.com>
32520
f04e2132
RM
32521 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32522 * shadow/getspent_r.c: Likewise.
32523 * shadow/getspnam.c: Likewise.
32524 * shadow/getspnam_r.c: Likewise.
32525 * gshadow/getsgent.c: Likewise.
32526 * gshadow/getsgent_r.c: Likewise.
32527 * gshadow/getsgnam.c: Likewise.
32528 * gshadow/getsgnam_r.c: Likewise.
32529 * inet/getnetbyad.c: Likewise.
32530 * inet/getnetbyad_r.c: Likewise.
32531 * inet/getnetbynm.c: Likewise.
32532 * inet/getnetbynm_r.c: Likewise.
32533 * inet/getnetent.c: Likewise.
32534 * inet/getnetent_r.c: Likewise.
32535 * inet/getproto.c: Likewise.
32536 * inet/getproto_r.c: Likewise.
32537 * inet/getprtent.c: Likewise.
32538 * inet/getprtent_r.c: Likewise.
32539 * inet/getprtname.c: Likewise.
32540 * inet/getprtname_r.c: Likewise.
32541 * inet/getrpcbyname.c: Likewise.
32542 * inet/getrpcbyname_r.c: Likewise.
32543 * inet/getrpcbynumber.c: Likewise.
32544 * inet/getrpcbynumber_r.c: Likewise.
32545 * inet/getrpcent.c: Likewise.
32546 * inet/getrpcent_r.c: Likewise.
32547 * inet/getaliasent.c: Likewise.
32548 * inet/getaliasent_r.c: Likewise.
32549 * inet/getaliasname.c: Likewise.
32550 * inet/getaliasname_r.c: Likewise.
32551 * nscd/getgrgid_r.c: Likewise.
32552 * nscd/getgrnam_r.c: Likewise.
32553 * nscd/gethstbyad_r.c: Likewise.
32554 * nscd/gethstbynm3_r.c: Likewise.
32555 * nscd/getpwnam_r.c: Likewise.
32556 * nscd/getpwuid_r.c: Likewise.
32557 * nscd/getsrvbynm_r.c: Likewise.
32558 * nscd/getsrvbypt_r.c: Likewise.
32559 * nscd/gai.c: Likewise.
32560
c53d909c
RM
32561 * configure.in (build_nscd): New substituted variable, set
32562 by --disable-build-nscd and defaults to $use_nscd.
32563 * configure: Regenerated.
32564 * config.make.in (build-nscd): New substituted variable.
32565 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32566 Change conditional to require [$(build-nscd) = yes] as well.
32567 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32568
3cc3ef96
RM
32569 [BZ# 13696]
32570 * configure.in (use_nscd): New substituted variable, set by
32571 --disable-nscd. If enabled, define USE_NSCD.
32572 * configure: Regenerated.
32573 * config.h.in: Add USE_NSCD.
32574 * config.make.in (use-nscd): New substituted variable.
32575 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32576 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32577 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32578 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32579 (CFLAGS-getgrnam_r.c): Likewise.
32580 (CFLAGS-initgroups.c): Likewise.
32581 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32582 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32583 Variables removed.
32584 * inet/getnetgrent_r.c
32585 (nscd_setnetgrent): New function, broken out of ...
32586 (setnetgrent): ... here. Call it.
32587 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32588 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32589 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32590 * nscd/Makefile (routines, aux): Move definitions after include of
32591 Makeconfig. Conditionalize on [$(use-nscd) != no].
32592 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32593 Conditionalize on [USE_NSCD].
32594 (is_nscd, nscd_init_cb): Likewise.
32595 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32596 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32597 * nss/nss_db/db-init.c: Likewise.
32598 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32599 [USE_NSCD].
32600 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32601 (make_request): Use it.
32602 (cache_valid_p): New function.
32603 (__check_pf): Use it.
32604 * NEWS: Add item for --disable-nscd.
32605
07e51550
DL
326062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32607
32608 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32609 to support sed >= 4.2.1-20-ga9bf076.
32610 * configure: Regenerated.
32611
35a5b08b
RM
326122012-08-22 Roland McGrath <roland@hack.frob.com>
32613
32614 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32615 Conditionalize whole body on [IREL].
32616
8479f23a
JL
326172012-08-22 Jeff Law <law@redhat.com>
32618
32619 [BZ #14505]
32620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32621 if the family is PF_UNSPEC.
32622
48da0b21
MF
326232012-08-22 Mike Frysinger <vapier@gentoo.org>
32624
32625 * Makerules (lib-version): Rename from V.
32626 (install-lib-nosubdir): Change V to lib-version.
32627
15d0da8c
WS
326282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32629
32630 [BZ #14252]
32631 * powerpc32/power6/wcschr.c: New file.
32632 * powerpc32/power6/wcscpy.c: New file.
32633 * powerpc32/power6/wcsrchr.c: New file.
32634 * powerpc64/power6/wcschr.c: New file.
32635 * powerpc64/power6/wcscpy.c: New file.
32636 * powerpc64/power6/wcsrchr.c: New file.
32637
bcca0895
MK
326382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32639
32640 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32641 (two_way_short_needle): Use it.
5a4aaa33
RM
32642 * string/strstr.c (AVAILABLE1_USES_J): Define.
32643 * string/strcasestr.c: Likewise.
99677e57
MK
32644
32645 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32646 array references.
32647 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32648
400726de
MK
32649 [BZ #11607]
32650 * NEWS: Add an entry.
32651 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32652 define their defaults.
32653 (two_way_short_needle): Detect end-of-string on-the-fly.
32654 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32655 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32656 * string/bug-strcasestr1.c: New test.
32657 * string/Makefile: Run it.
32658
20a71f2c
MK
326592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32660
32661 [BZ #11607]
32662 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32663 the first character.
32664
21ad0558
RM
326652012-08-21 Roland McGrath <roland@hack.frob.com>
32666
32667 * csu/elf-init.c (__libc_csu_irel): Function removed.
32668 * csu/libc-start.c (apply_irel): New function.
32669 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32670
0e1d9911
JM
326712012-08-21 Joseph Myers <joseph@codesourcery.com>
32672
32673 * sysdeps/unix/sysv/linux/kernel-features.h
32674 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32675 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32676 <kernel-features.h>.
32677 [__NR_fadvise64_64]: Make code unconditional.
32678 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32679 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32680 !__NR_fadvise64_64)]: Likewise.
32681 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32682 !__NR_fadvise64_64))]: Likewise.
32683 [__NR_fadvise64]: Make code unconditional.
32684 [!__NR_fadvise64]: Remove conditional code.
32685 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32686 <kernel-features.h>.
32687 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32688 unconditional.
32689 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32690 conditional code.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32692 not include <kernel-features.h>.
32693 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32694 unconditional.
32695 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32696 conditional code.
32697 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32698 include <kernel-features.h>.
32699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32700 unconditional.
32701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32702 conditional code.
32703
14a50c9d
WS
327042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32705
32706 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32707 slight instruction rearrangements per scrollpipe analysis.
32708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32709
c0f4faf0
RM
327102012-08-20 Roland McGrath <roland@hack.frob.com>
32711
696da859
RM
32712 * manual/syslog.texi (syslog; vsyslog, closelog):
32713 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32714 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32715
c0f4faf0
RM
32716 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32717 DSOCAPS to match condition on defining it.
32718
348363b2
JM
327192012-08-20 Joseph Myers <joseph@codesourcery.com>
32720
a35cbf28
JM
32721 * sysdeps/unix/sysv/linux/kernel-features.h
32722 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32724 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32725 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32727 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32728 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32732
445f7ecd
JM
32733 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32734 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32735
348363b2
JM
32736 * sysdeps/unix/sysv/linux/kernel-features.h
32737 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32738 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32739 unconditional.
32740 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32741 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32742 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32743 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32744 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32745 Make code unconditional.
32746 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32747 (__mmap64) [!__NR_mmap2]: Likewise.
32748 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32749 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32750 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32751 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32752 [__NR_mmap2]: Make code unconditional.
32753 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32754 (__mmap64) [!__NR_mmap2]: Likewise.
32755
bc5bc0e5
AK
327562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32757
32758 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32759
88d506de
AJ
327602012-08-18 Andreas Jaeger <aj@suse.de>
32761
32762 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32763
493387d2
MF
327642012-08-18 Mike Frysinger <vapier@gentoo.org>
32765
32766 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32767 * include/unistd.h (__have_sock_cloexec): Likewise.
32768 (__have_pipe2): Likewise.
32769 (__have_dup3): Likewise.
32770
a277af22
MF
327712012-08-18 Mike Frysinger <vapier@gentoo.org>
32772
32773 [BZ #9685]
32774 * include/unistd.h (__have_pipe2): Change define into an extern int.
32775 (__have_dup3): Likewise.
32776 * socket/have_sock_cloexec.c: Include fcntl.h.
32777 (__have_pipe2): New variable.
32778 (__have_dup3): Likewise.
32779
fdab8fd3
MF
327802012-08-17 Mike Frysinger <vapier@gentoo.org>
32781
32782 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32783
31035e80
MP
327842012-08-17 Marek Polacek <polacek@redhat.com>
32785
32786 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32787 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32788
3bd9e993
RM
327892012-08-17 Roland McGrath <roland@hack.frob.com>
32790
c91c505f
RM
32791 * configure.in: Add AC_SUBST for sysheaders.
32792 * configure: Regenerated.
32793 * config.make.in (sysheaders): New substituted variable.
32794
7c6f9d53
RM
32795 * sysdeps/unix/mkfifo.c: Moved ...
32796 * sysdeps/posix/mkfifo.c: ... here.
32797 * sysdeps/unix/mkfifoat.c: Moved ...
32798 * sysdeps/posix/mkfifoat.c: ... here.
32799
32800 * sysdeps/unix/utime.c: Moved ...
32801 * sysdeps/posix/utime.c: ... here.
32802
32803 * sysdeps/unix/time.c: Moved ...
32804 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32805 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32806 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32807
32808 * sysdeps/unix/nice.c: Moved ...
32809 * sysdeps/posix/nice.c: ... here.
32810
32811 * sysdeps/unix/alarm.c: Moved ...
32812 * sysdeps/posix/alarm.c: ... here.
32813
3bd9e993
RM
32814 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32815
d1f09384
JL
328162012-08-17 Jeff Law <law@redhat.com>
32817
32818 * intl/Makefile (codeset_mo): New variable.
32819 ($(codeset_mo)): New target.
32820 (tst-codeset.out): Depend on that. Remove explicit rule.
32821 (tst-gettext3.out, tst-gettext5.out): Likewise.
32822 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32823 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32824 * intl/tst-codeset.sh: Remove.
32825 * intl/tst-gettext3.sh: Likewise.
32826 * intl/tst-gettext5.sh: Likewise.
32827
2ae1ae5c
RM
328282012-08-17 Roland McGrath <roland@hack.frob.com>
32829
c31fdb83
RM
32830 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32831 * sysdeps/unix/syscalls.list: ... here.
32832
a0844057
RM
32833 * sysdeps/posix/getaddrinfo.c
32834 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32835 (gaiconf_init, gaiconf_reload): Use them.
32836 [!_STATBUF_ST_NSEC]
32837 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32838 Define using time_t rather than struct timespec.
32839
750c1f2a
RM
32840 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32841 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32842 Macros removed.
32843 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32844 [!NO_THREADS].
32845 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32846 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32847 Likewise.
32848
2ae1ae5c
RM
32849 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32850 __libc_cleanup_push argument.
32851
e66a42f5
RM
32852 * bits/param.h: New file.
32853 * misc/sys/param.h: New file.
32854 * include/sys/param.h: New file.
32855 * misc/Makefile (headers): Add bits/param.h.
32856 * sysdeps/generic/sys/param.h: File removed.
32857 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32858 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32859 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32860 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32861
b7c08a66
RM
32862 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32863 last change.
32864
b2e1c562
RM
32865 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32866 [_IO_MTSAFE_IO].
32867 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32868 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32869 New macros.
32870
c75ccd4c
RM
32871 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32872 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32873 rather than -D_IO_MTSAFE_IO conditionally.
32874 * stdio-common/Makefile (CPPFLAGS): Likewise.
32875 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32876 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32877 Use $(libio-mtsafe).
32878 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32879 of -D_IO_MTSAFE_IO.
32880 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32881 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32882 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32883 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32884 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32885 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32886 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32887 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32888 (CFLAGS-fread_u_chk.c): Likewise.
32889 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32890 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32891 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32892 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32893 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32894 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32895 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32896 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32897 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32898
32899 * libio/Makefile: Test [$(libc-reentrant) = yes]
32900 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32901
32902 * Makeconfig
32903 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32904 * sysdeps/pthread/configure: File removed.
32905 * sysdeps/pthread/Makeconfig: New file.
32906 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32907 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32908
d9195db8
GB
329092012-08-16 Gary Benson <gbenson@redhat.com>
32910
32911 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32912 unmapping the first object in a namespace.
32913
86466cd9
RM
329142012-08-16 Roland McGrath <roland@hack.frob.com>
32915
32916 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32917 (__internal_setnetgrent): ... this. Add internal_function to
32918 definition. Add libc_hidden_def.
32919 (setnetgrent): Update caller.
32920 (internal_endnetgrent): Renamed to ...
32921 (__internal_endnetgrent): ... this. Add internal_function to
32922 definition. Add libc_hidden_def.
32923 (endnetgrent): Update caller.
32924 (internal_getnetgrent_r): Renamed to ...
32925 (__internal_getnetgrent_r): ... this. Add internal_function to
32926 definition. Add libc_hidden_def.
32927 (__getnetgrent_r): Update caller.
32928 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32929
c3c8283c
JM
329302012-08-16 Joseph Myers <joseph@codesourcery.com>
32931
32932 * stdlib/longlong.h: Update from GCC.
32933
db1ee0a8
RM
329342012-08-16 Roland McGrath <roland@hack.frob.com>
32935
32936 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32937 on _QL, which is set by umul_ppmm but never used.
32938 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32939 variables, which are set by GMP macros but never used.
32940 * stdio-common/_itowa.c (_itowa): Likewise.
32941 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32942 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32943
30f69637
CD
329442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32945
32946 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32947 struct La_sh_regs is not constant.
32948 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32949 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32950 and struct La_sparc64_regs are not constant.
32951
93a78ac4
JM
329522012-08-16 Joseph Myers <joseph@codesourcery.com>
32953
32954 * sysdeps/unix/sysv/linux/kernel-features.h
32955 (__ASSUME_POSIX_TIMERS): Remove.
32956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32957 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32958 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32959 Make code unconditional.
32960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32961 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32962 Make code unconditional.
32963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32964 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32965 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32967 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32968 Make code unconditional.
32969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32970 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32971 (__libc_missing_posix_timers): Remove.
32972
dd924cd7
RM
329732012-08-15 Roland McGrath <roland@hack.frob.com>
32974
4b4f2771
RM
32975 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32976 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32977
601c888b
RM
32978 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32979
176790a7
RM
32980 * elf/dl-sym.c: Include <stdlib.h>.
32981
329bc018
RM
32982 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32983 constants, which avoids warnings in 32-bit builds.
32984
e04e272d
RM
32985 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32986 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32987
952bf94a
RM
32988 * misc/lseek.c: File moved to ...
32989 * io/lseek.c: ... here.
32990
7c99b50a
RM
32991 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32992
dd924cd7
RM
32993 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32994 shifting LEN more than 31 bits at once.
32995
b3f479a8
LD
329962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32997
32998 [BZ #14195]
8c4ae0d4
RM
32999 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33000 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33001 * string/test-strncasecmp.c (check1): Renamed to...
33002 (bz12205): ...this.
33003 (bz14195): Add new testcase for two empty input strings and N > 0.
33004 (test_main): Call new testcase, adapt for renamed function.
33005
9c55864e
AJ
330062012-08-15 Andreas Jaeger <aj@suse.de>
33007
33008 [BZ #14090]
33009 * crypt/md5test2.c: New test, based on test supplied by Serge
33010 Belyshev <belyshev@depni.sinp.msu.ru>.
33011 * crypt/Makefile (xtests): Add md5test-giant..
33012 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33013
02dcb6c5
PE
330142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33015
33016 [BZ #14090]
33017 * crypt/md5.c (md5_process_block): Don't assume the buffer
33018 length is less than 2**32.
33019 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33020 length is less than 2**64.
33021
a3f95dcc
RM
330222012-08-15 Roland McGrath <roland@hack.frob.com>
33023
be75d758
RM
33024 * string/str-two-way.h: Include <sys/param.h>.
33025 (MAX): Macro removed.
33026
7312ca90
RM
33027 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33028 Move #define and #undef of memmove to just before and after
33029 including <string.h>.
33030
9a0a5486
RM
33031 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33032 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33033 and after including <string.h>. Move declarations of
33034 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33035 to before #include "string/memmove.c".
33036
67cc348d
RM
33037 * include/dirent.h: Declare __getdirentries.
33038
a3f95dcc
RM
33039 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33040 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33041
ca98e171
MF
330422012-08-14 Mike Frysinger <vapier@gentoo.org>
33043
33044 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33045 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33046 * sysdeps/i386/configure: Regenerated.
33047 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33048 STABS_CURRENT_FILE, and STABS_FUN.
33049 (END): Remove call to STABS_FUN_END.
33050 (STABS_CURRENT_FILE1): Delete.
33051 (STABS_CURRENT_FILE): Likewise.
33052 (STABS_FUN): Likewise.
33053 (STABS_FUN_END): Likewise.
33054 (STABS_FUN2): Likewise.
33055 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33056 * sysdeps/x86_64/configure: Regenerated.
33057
5908bf46
RM
330582012-08-14 Roland McGrath <roland@hack.frob.com>
33059
33060 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33061 * elf/dl-lookup.c: Likewise.
5908bf46 33062
f2c05b9e
JM
330632012-08-14 Joseph Myers <joseph@codesourcery.com>
33064
33065 * sysdeps/unix/sysv/linux/kernel-features.h
33066 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33067 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33068 unconditionally.
33069 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33070 unconditionally.
33071 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33072 condition on __ASSUME_CLONE_THREAD_FLAGS.
33073
e11f5155
AJ
330742012-08-14 Andreas Jaeger <aj@suse.de>
33075
33076 * sysdeps/i386/fpu/libm-test-ulps: Update.
33077
51a9ba86
MK
330782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33079
2fdd4f78
AJ
33080 * include/atomic.h (atomic_exchange_and_add): Split into ...
33081 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33082 New atomic macros.
51a9ba86 33083
ba6cba9e
MT
330842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33085
33086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33087
42443a47
JL
330882012-08-13 Jeff Law <law@redhat.com>
33089
33090 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33091 null byte in the output string.
33092
121dce05
JM
330932012-08-10 Joseph Myers <joseph@codesourcery.com>
33094
33095 * sysdeps/unix/sysv/linux/kernel-features.h
33096 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33097 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33098 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33099 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33100 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33101 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33102 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33103
bf51f568
JL
331042012-08-09 Jeff Law <law@redhat.com>
33105
33106 [BZ #13939]
33107 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33108 When avoid_arena is set, don't retry in the that arena. Pick the
33109 next one, whatever it might be.
33110 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33111 (arena_lock): Pass in new parameter to arena_get2.
33112 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33113 arena_get2.
33114 (__libc_malloc): Unify retrying after main arena failure with
33115 __libc_memalign version.
33116 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33117
f85fa270
L
331182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33119
33120 [BZ #14166]
33121 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33122 to __redirect_strstr.
33123 (__strstr_sse42): Use typeof __redirect_strstr.
33124 (__strstr_ia32): Likewise.
33125 (__libc_strstr): New prototype.
33126 (strstr): Renamed to ...
33127 (__libc_strstr): This.
33128 (strstr): New strong alias of __libc_strstr.
33129 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33130 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33131 __redirect_time.
33132 Include <time.h>.
33133 (__libc_time): New prototype.
33134 (time_ifunc): Replace time with __libc_time.
33135 (time): New strong alias and hidden definition of __libc_time.
33136 (__GI_time): Remove strong alias.
33137 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33138 Include <stddef.h>.
33139 (memmove): Redefined to __redirect_memmove.
33140 (__memmove_sse2): Use typeof __redirect_memmove.
33141 (__memmove_ssse3): Likewise.
33142 (__memmove_ssse3_back): Likewise.
33143 (__libc_memmove): New prototype.
33144 (memmove): Renamed to ...
33145 (__libc_memmove): This.
33146 (memmove): New strong alias of __libc_memmove.
33147
33b4a91e
MS
331482012-08-08 Mark Salter <msalter@redhat.com>
33149
33150 * elf/elf.h
33151 (R_MN10300_TLS_GD): Define.
33152 (R_MN10300_TLS_LD): Likewise.
33153 (R_MN10300_TLS_LDO): Likewise.
33154 (R_MN10300_TLS_GOTIE): Likewise.
33155 (R_MN10300_TLS_IE): Likewise.
33156 (R_MN10300_TLS_LE): Likewise.
33157 (R_MN10300_TLS_DTPMOD): Likewise.
33158 (R_MN10300_TLS_DTPOFF): Likewise.
33159 (R_MN10300_TLS_TPOFF): Likewise.
33160 (R_MN10300_SYM_DIFF): Likewise.
33161 (R_MN10300_ALIGN): Likewise.
33162 (R_MN10300_NUM): Update.
33163
b36137f1
JM
331642012-08-08 Joseph Myers <joseph@codesourcery.com>
33165
33166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33167 Remove.
33168
cdd915fd
RM
331692012-08-08 Roland McGrath <roland@hack.frob.com>
33170
a2433aac
RM
33171 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33172
cdd915fd
RM
33173 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33174 sysdeps/unix -> sysdeps/posix move.
33175 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33176
bf9b740a
AM
331772012-08-07 Allan McRae <allan@archlinux.org>
33178
33179 [BZ #14303]
33180 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33181 (SUNOS_CPP): Likewise.
33182 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33183 not found.
33184 (open_input): Call CPP using execvp.
33185
93df14ee
JM
331862012-08-07 Joseph Myers <joseph@codesourcery.com>
33187
33188 * sysdeps/unix/sysv/linux/kernel-features.h
33189 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33192 (__ASSUME_WAITID_SYSCALL): Likewise.
33193 * sysdeps/unix/sysv/linux/dl-execstack.c
33194 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33195 code unconditional.
33196 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33197 conditional code.
33198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33199 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33200 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33201 code.
33202 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33203 unconditional.
33204 [__ASSUME_WAITID_SYSCALL]: Likewise.
33205 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33206
d34689de
RM
332072012-08-07 Roland McGrath <roland@hack.frob.com>
33208
a281decc
RM
33209 * sysdeps/unix/closedir.c: Renamed to ...
33210 * sysdeps/posix/closedir.c: ... here.
33211 * sysdeps/unix/dirfd.c: Renamed to ...
33212 * sysdeps/posix/dirfd.c: ... here.
33213 * sysdeps/unix/dirstream.h: Renamed to ...
33214 * sysdeps/posix/dirstream.h: ... here.
33215 * sysdeps/unix/fdopendir.c: Renamed to ...
33216 * sysdeps/posix/fdopendir.c: ... here.
33217 * sysdeps/unix/opendir.c: Renamed to ...
33218 * sysdeps/posix/opendir.c: ... here.
33219 * sysdeps/unix/readdir.c: Renamed to ...
33220 * sysdeps/posix/readdir.c: ... here.
33221 * sysdeps/unix/readdir_r.c: Renamed to ...
33222 * sysdeps/posix/readdir_r.c: ... here.
33223 * sysdeps/unix/rewinddir.c: Renamed to ...
33224 * sysdeps/posix/rewinddir.c: ... here.
33225 * sysdeps/unix/seekdir.c: Renamed to ...
33226 * sysdeps/posix/seekdir.c: ... here.
33227 * sysdeps/unix/telldir.c: Renamed to ...
33228 * sysdeps/posix/telldir.c: ... here.
33229 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33230 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33231 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33232 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33233
22895b47
RM
33234 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33235 * bits/fcntl.h: ... here.
33236
707a53b6
RM
33237 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33238 not 0.
33239 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33240 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33241 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33242 (struct flock): Move l_start, l_len to the beginning.
33243 Use __pid_t for l_pid.
33244 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33245 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33246 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33247 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33248 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33249 [__USE_LARGEFILE64] (struct flock64): New type.
33250 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33251
f0bd3e25
RM
33252 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33253 * bits/dirent.h: ... here.
33254
d34689de
RM
33255 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33256 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33257
6dad2c06
JM
332582012-08-07 Joseph Myers <joseph@codesourcery.com>
33259
33260 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33261 Change from 2.6.0 to 2.6.16.
33262 * sysdeps/unix/sysv/linux/configure: Regenerated.
33263 * sysdeps/unix/sysv/linux/kernel-features.h
33264 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33265 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33266 version.
33267 (__ASSUME_UTIMES): Likewise.
33268 (__ASSUME_CLONE_STOPPED): Remove.
33269 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33270 architectures, not kernel version.
33271 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33272 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33273 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33274 (__ASSUME_WAITID_SYSCALL): Likewise.
33275 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33276 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33277 * README: State 2.6.16 as minimum Linux kernel version. Do not
33278 refer to older versions.
33279
03af9520
RM
332802012-08-06 Roland McGrath <roland@hack.frob.com>
33281
8e49df1d
RM
33282 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33283 Define alphasort64 as an alias.
33284 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33285 Define versionsort64 as an alias.
33286 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33287 Define scandir64 as an alias.
33288 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33289 Define scandirat64 as an alias.
33290 * dirent/alphasort64.c (alphasort64):
33291 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33292 * dirent/versionsort64.c: Likewise.
33293 * dirent/scandir64.c: Likewise.
33294 * dirent/scandirat64.c: Likewise.
33295 * sysdeps/wordsize-64/alphasort.c: File removed.
33296 * sysdeps/wordsize-64/alphasort64.c: File removed.
33297 * sysdeps/wordsize-64/scandir.c: File removed.
33298 * sysdeps/wordsize-64/scandir64.c: File removed.
33299 * sysdeps/wordsize-64/scandirat.c: File removed.
33300 * sysdeps/wordsize-64/scandirat64.c: File removed.
33301 * sysdeps/wordsize-64/versionsort.c: File removed.
33302 * sysdeps/wordsize-64/versionsort64.c: File removed.
33303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33304 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33306 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33308 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33311
33312 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33314 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33316 [defined __arch64__ || defined __sparcv9]
33317 (__INO_T_MATCHES_INO64_T): New macro.
33318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33319 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33320 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33321 * sysdeps/unix/sysv/linux/bits/dirent.h
33322 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33323 (_DIRENT_MATCHES_DIRENT64): New macro.
33324
03af9520
RM
33325 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33326 Define lockf64 as an alias.
33327 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33328 Define fseeko64 as an alias.
33329 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33330 Define ftello64 as an alias.
33331 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33332 Define _IO_fgetpos64 and fgetpos64 as aliases.
33333 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33334 Define _IO_fsetpos64 and fsetpos64 as aliases.
33335 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33336 Conditionalize body on this.
33337 * libio/fseeko64.c: Likewise.
33338 * libio/ftello64.c: Likewise.
33339 * libio/iofgetpos64.c: Likewise.
33340 * libio/iofsetpos64.c: Likewise.
33341 * sysdeps/wordsize-64/lockf.c: File removed.
33342 * sysdeps/wordsize-64/lockf64.c: File removed.
33343 * sysdeps/wordsize-64/fseeko.c: File removed.
33344 * sysdeps/wordsize-64/fseeko64.c: File removed.
33345 * sysdeps/wordsize-64/ftello.c: File removed.
33346 * sysdeps/wordsize-64/ftello64.c: File removed.
33347 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33348 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33349 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33350 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33352 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33354 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33356 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33360 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33361
33362 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33364 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33366 [defined __arch64__ || defined __sparcv9]
33367 (__OFF_T_MATCHES_OFF64_T): New macro.
33368 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33369 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33371 (__OFF_T_MATCHES_OFF64_T): New macro.
33372
c5757acd
L
333732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * stdlib/secure-getenv.c (__secure_getenv): Replace
33376 GLIBC_2_16 with GLIBC_2_17.
33377
3a31811e
L
333782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33379
33380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33382
faa2bccb
DM
333832012-08-03 David S. Miller <davem@davemloft.net>
33384
33385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33386
85fe1997
JM
333872012-08-03 Joseph Myers <joseph@codesourcery.com>
33388
33389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33390 Remove.
33391 (__ASSUME_CORRECT_SI_PID): Likewise.
33392 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33393 (__ASSUME_TMPFS_NAME): Likewise.
33394 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33395 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33397 (HAVE_AUX_SECURE): Make definition unconditional.
33398 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33399 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33400
4f75b7a0
RM
334012012-08-03 Roland McGrath <roland@hack.frob.com>
33402
33403 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33404 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33405 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33406 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33407 __eloop_threshold instead of SYMLOOP_MAX.
33408
33409 * sysdeps/generic/eloop-threshold.h: New file.
33410 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33411 of MAXSYMLINKS.
33412 * elf/chroot_canon.c (chroot_canon): Likewise.
33413
7aab07e4
JM
334142012-08-03 Joseph Myers <joseph@codesourcery.com>
33415
33416 [BZ #13717]
33417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33418 Change to 2.6.0 everywhere.
33419 * sysdeps/unix/sysv/linux/configure: Regenerated.
33420 * sysdeps/unix/sysv/linux/kernel-features.h
33421 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33422 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33423 kernel versions.
33424 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33425 (__ASSUME_FUTEX_REQUEUE): Remove.
33426 (__ASSUME_STATFS64): Define unconditionally.
33427 (__ASSUME_AT_SECURE): Likewise.
33428 (__ASSUME_CORRECT_SI_PID): Likewise.
33429 (__ASSUME_TGKILL): Define without depending on kernel version for
33430 i386.
33431 (__ASSUME_UTIMES): Likewise.
33432 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33433 kernel version.
33434 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33435 (__ASSUME_TMPFS_NAME): Likewise.
33436 * README: Update reference to Linux kernel versions.
33437
b67e9372
MP
334382012-08-02 Marek Polacek <polacek@redhat.com>
33439
1f529f7d 33440 [BZ# 14150]
b67e9372
MP
33441 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33442 libc_cv_asm_type_prefix with %.
33443 * configure: Regenerated.
d2441631
RM
33444 * include/libc-symbols.h: Remove comment about
33445 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33446 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33447 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33448 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33449 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33450 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33451 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33452 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33453 * elf/tst-unique2mod1.c: Likewise.
33454 * elf/tst-unique1mod2.c: Likewise.
33455 * elf/tst-unique1mod1.c: Likewise.
33456 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33457 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33458 Replace ASM_TYPE_DIRECTIVE with .type.
33459 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33460 * sysdeps/i386/sysdep.h: Likewise.
33461 * sysdeps/x86_64/sysdep.h: Likewise.
33462 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33464 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33465 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33466 * sysdeps/powerpc/powerpc32/sysdep.h:
33467 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33468 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33469 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33470 * sysdeps/i386/fpu/e_powf.S: Likewise.
33471 * sysdeps/i386/fpu/e_expl.S: Likewise.
33472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33473 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33474 * sysdeps/i386/fpu/e_pow.S: Likewise.
33475 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33476 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33477 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33478 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33479 * sysdeps/i386/fpu/e_log2.S: Likewise.
33480 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33481 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33482 * sysdeps/i386/fpu/e_powl.S: Likewise.
33483 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33484 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33485 * sysdeps/i386/fpu/e_logl.S: Likewise.
33486 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33491 * sysdeps/i386/fpu/e_log.S: Likewise.
33492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33493 * sysdeps/i386/fpu/e_logf.S: Likewise.
33494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33495 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33496 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33497 * sysdeps/i386/fpu/e_log10.S: Likewise.
33498 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33500 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33501 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33502 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33503 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33504 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33505 * sysdeps/i386/i686/strtok.S: Likewise.
33506 * sysdeps/i386/i386-mcount.S: Likewise.
33507 * sysdeps/i386/strtok.S: Likewise.
33508 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33513 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33514 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33515 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33517 * sysdeps/x86_64/_mcount.S: Likewise.
33518 * sysdeps/x86_64/strtok.S: Likewise.
33519 * sysdeps/sh/_mcount.S: Likewise.
33520
2747bf9a
RM
335212012-08-01 Roland McGrath <roland@hack.frob.com>
33522
33523 * libio/iofopen.c: Include <fcntl.h>.
33524 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33525 (_IO_fopen64, fopen64): Define as aliases.
33526 * libio/iofopen64.c: Include <fcntl.h>.
33527 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33528 Conditionalize body on this.
33529 * sysdeps/wordsize-64/iofopen.c: File removed.
33530 * sysdeps/wordsize-64/iofopen64.c: File removed.
33531
3fb791b8
MP
335322012-08-01 Marek Polacek <polacek@redhat.com>
33533
33534 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33535 Use dlfcn directly instead of a variable.
33536 (binfmt-subdir): Do not define.
33537 (dlfcn): Likewise.
33538
a9f1039f
JM
335392012-08-01 Joseph Myers <joseph@codesourcery.com>
33540
23bddc06
JM
33541 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33542 Remove all definitions.
33543 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33544 <kernel-features.h>.
33545 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33546 (miss_F_GETOWN_EX): Remove all definitions.
33547 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33548 macro definition.
33549 [!__ASSUME_FCNTL64]: Remove conditional code.
33550 [__ASSUME_FCNTL64]: Make code unconditional.
33551 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33552 <kernel-features.h>.
33553 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33554 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33555 (lockf64) [__NR_fcntl64]: Make code unconditional.
33556 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33557
a9f1039f
JM
33558 * sysdeps/unix/sysv/linux/kernel-features.h
33559 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33560 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33561 Make code unconditional.
33562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33565 [__NR_vfork]: Make code unconditional.
33566 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33567 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33569 [__NR_vfork]: Make code unconditional.
33570 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33571 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33572
09c0ee5f
RM
335732012-08-01 Roland McGrath <roland@hack.frob.com>
33574
48aec5b9
RM
33575 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33576 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33577
cd97c966
RM
33578 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33579 Define mkstemp64 as an alias.
3f55550c
RM
33580 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33581 Define mkstemps64 as an alias.
cd97c966
RM
33582 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33583 Define mkostemp64 as an alias.
b8625cfc
RM
33584 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33585 Define mkostemps64 as an alias.
cd97c966
RM
33586 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33587 Conditionalize body on this.
33588 * misc/mkostemp64.c: Likewise.
b8625cfc 33589 * misc/mkostemps64.c: Likewise.
3f55550c 33590 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33591 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33592 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33593 * sysdeps/wordsize-64/mkostemp.c: File removed.
33594 * sysdeps/wordsize-64/mkstemp.c: File removed.
33595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33597 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33599
09c0ee5f
RM
33600 [BZ #14138]
33601 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33603 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33604 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33605
33606 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33607 compat_symbol macros from <shlib-compat.h> rather than the underlying
33608 default_symbol_version and symbol_version macros, so that DEFAULT
33609 lines in shlib-versions are respected.
33610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33611
7e66ee51
FW
336122012-08-01 Florian Weimer <fweimer@redhat.com>
33613
33614 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33615 Declare with warn_unused_result.
33616 (setgid, setregid, setegid, setresgid): Likewise.
33617 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33618 Likewise.
33619 * WUR-REPORT: Remove set*id functions.
33620
d2a54255
PT
336212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33622
33623 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33624
7ecdb005
RM
336252012-07-31 Roland McGrath <roland@hack.frob.com>
33626
b4180a5e 33627 [BZ #10191]
789bd351
RM
33628 * include/sys/socket.h (__libc_accept, __libc_accept4):
33629 Add attribute_hidden.
33630 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33631
40ce302d
RM
33632 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33633 use of PTR_MANGLE.
33634 * inet/getnetgrent_r.c (setup): Likewise.
33635
7ecdb005
RM
33636 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33637
e2eabb2c
DM
336382012-07-31 David S. Miller <davem@davemloft.net>
33639
33640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33641
d0419dbf
JM
336422012-07-31 Joseph Myers <joseph@codesourcery.com>
33643
33644 [BZ #13629]
33645 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33646 value between 1.0 and 2.0 and smaller part has absolute value less
33647 than 1.0.
33648 * math/s_clog10.c (__clog10): Likewise.
33649 * math/s_clog10f.c (__clog10f): Likewise.
33650 * math/s_clog10l.c (__clog10l): Likewise.
33651 * math/s_clogf.c (__clogf): Likewise.
33652 * math/s_clogl.c (__clogl): Likewise.
33653 * math/libm-test.inc (clog_test): Add more tests.
33654 (clog10_test): Likewise.
33655 * sysdeps/i386/fpu/libm-test-ulps: Update.
33656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33657
2bc13872
FW
336582012-07-31 Florian Weimer <fweimer@redhat.com>
33659
33660 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33661 Exit with zero in case no suitable GID is found, and write a
33662 message to standard error.
33663
bea9b193
RM
336642012-07-30 Roland McGrath <roland@hack.frob.com>
33665
33666 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33667 rather than to 1.
33668 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33669 (MAXPATHLEN): Removed.
33670 (NOGROUP, NODEV): New macros.
33671 (setbit, clrbit, isset, isclr): New macros.
33672 (howmany, roundup, powerof2): New macros.
33673 (DEV_BSIZE): New macro.
33674
33675 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33676 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33677
33678 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33679 definition on [!__NO_LONG_DOUBLE_MATH].
33680
33681 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33682 PTR_MANGLE and PTR_DEMANGLE.
33683
33684 * socket/accept4.c (accept4): Rename to __libc_accept4.
33685 Define accept4 as a weak alias.
33686
33687 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33688 on [_DIRENT_HAVE_D_TYPE].
33689 * io/ftw.c (ftw_dir): Likewise.
33690
33691 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33692
33693 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33694
33695 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33696 Use the BSD numbers rather than the arbitrary ones we had.
33697 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33698 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33699 (SIGXCPU, SIGXFSZ): New macros.
33700 (_NSIG): Now 32.
33701
33702 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33703 initializer on [_LIBC_REENTRANT].
33704
33705 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33706 definitions inside [_POSIX_MAPPED_FILES].
33707
33708 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33709
33710 * dirent/opendir.c: Include <fcntl.h>.
33711
33712 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33713 (__libc_getspecific): Likewise.
33714 (__libc_key_create): Likewise.
33715
33716 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33717 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33718 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33719 (tmpfile64): Define as alias.
33720 * sysdeps/wordsize-64/tmpfile.c: File removed.
33721 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33722 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33723 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33724
33725 * stdio-common/vfscanf.c: Include <stdbool.h>.
33726 * nss/makedb.c: Likewise.
33727 * stdio-common/_i18n_number.h: Likewise.
33728 * argp/argp-help.c: Likewise.
33729 * posix/wordexp.c: Likewise.
33730 * sysdeps/posix/spawni.c: Likewise.
33731 * nss/nss_files/files-initgroups.c: Likewise.
33732 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33733 * nss/nss_files/files-initgroups.c: Likewise.
33734 * nss/nss_db/db-netgrp.c: Likewise.
33735 * nss/nss_db/db-initgroups.c: Likewise.
33736 * io/fchmodat.c: Include <sys/stat.h>.
33737
33738 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33739 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33740
33741 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33742 [HAVE_MMAP].
33743
33744 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33745 Add multiple inclusion protection.
33746
e5abc686
DM
337472012-07-27 David S. Miller <davem@davemloft.net>
33748
33749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33750
815e6fa3
GB
337512012-07-27 Gary Benson <gbenson@redhat.com>
33752
33753 [BZ #14298]
33754 * elf/rtld.c: Include <stap-probe.h>.
33755 (dl_main): Added static probes "init_start" and "init_complete".
33756 * elf/dl-load.c: Include <stap-probe.h>.
33757 (lose): Take new parameter "nsid".
33758 Added static probe "map_failed".
33759 (_dl_map_object_from_fd): Pass namespace id to lose.
33760 Added static probe "map_start".
33761 (open_verify): Pass namespace id to lose.
33762 * elf/dl-open.c: Include <stap-probe.h>.
33763 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33764 and "reloc_complete".
33765 * elf/dl-close.c: Include <stap-probe.h>.
33766 (_dl_close_worker): Added static probes "unmap_start" and
33767 "unmap_complete".
33768 * elf/rtld-debugger-interface.txt: New file documenting the above.
33769
9f98c16c
RM
337702012-07-26 Roland McGrath <roland@hack.frob.com>
33771
33772 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33773 rather than a string variable.
33774 * sunrpc/rpc_main.c (h_output): Likewise.
33775 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33776
f3c22df3
PT
337772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33778
33779 * inet/check_native.c: New file.
33780
3129cfc6
JM
337812012-07-26 Joseph Myers <joseph@codesourcery.com>
33782
da865e95
JM
33783 [BZ #13629]
33784 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33785 if larger part has absolute value 1.0.
33786 * math/s_clog10.c (__clog10): Likewise.
33787 * math/s_clog10f.c (__clog10f): Likewise.
33788 * math/s_clog10l.c (__clog10l): Likewise.
33789 * math/s_clogf.c (__clogf): Likewise.
33790 * math/s_clogl.c (__clogl): Likewise.
33791 * math/libm-test.inc (clog_test): Add more tests.
33792 (clog10_test): Likewise.
33793 * sysdeps/i386/fpu/libm-test-ulps: Update.
33794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33795
3129cfc6
JM
33796 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33797 (pltexit): Likewise.
33798 (La_regs): Likewise.
33799 (La_retval): Likewise.
33800 (int_retval): Likewise.
33801 Update #error for removed macros to refer only to definitions in
33802 tst-audit.h.
33803 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33804 macro.
33805 (pltexit): Likewise.
33806 (La_regs): Likewise.
33807 (La_retval): Likewise.
33808 (int_retval): Likewise.
33809 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33810 macro.
33811 (pltexit): Likewise.
33812 (La_regs): Likewise.
33813 (La_retval): Likewise.
33814 (int_retval): Likewise.
33815 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33816 macro.
33817 (pltexit): Likewise.
33818 (La_regs): Likewise.
33819 (La_retval): Likewise.
33820 (int_retval): Likewise.
33821 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33822 macro.
33823 (pltexit): Likewise.
33824 (La_regs): Likewise.
33825 (La_retval): Likewise.
33826 (int_retval): Likewise.
33827 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33828 macro.
33829 (pltexit): Likewise.
33830 (La_regs): Likewise.
33831 (La_retval): Likewise.
33832 (int_retval): Likewise.
33833 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33834 macro.
33835 (pltexit): Likewise.
33836 (La_regs): Likewise.
33837 (La_retval): Likewise.
33838 (int_retval): Likewise.
33839 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33840 macro definitions in tst-audit.h.
33841 * sysdeps/i386/tst-audit.h: New file.
33842 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33843 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33844 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33845 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33846 * sysdeps/sh/tst-audit.h: Likewise.
33847 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33848 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33849 * sysdeps/x86_64/tst-audit.h: Likewise.
33850
bfc07087
AJ
338512012-07-26 Andreas Jaeger <aj@suse.de>
33852
b1b2aaf8
AJ
33853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33854 ptrace.
33855
33856 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33857 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33858 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33859 PTRACE_O_MASK.
33860 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33861 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33862 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33863
bfc07087
AJ
33864 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33865 value.
33866
33867 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33868 _sigsys.
33869 (si_call_addr, si_syscall, si_arch): Define new macro.
33870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33871 _sigsys.
33872 (si_call_addr, si_syscall, si_arch): Define new marcro.
33873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33874 _sigsys.
33875 (si_call_addr, si_syscall, si_arch): Define new macro.
33876 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33877 _sigsys.
33878 (si_call_addr, si_syscall, si_arch): Define new macro.
33879
89b4b02f
JM
338802012-07-25 Joseph Myers <joseph@codesourcery.com>
33881
33882 [BZ #13717]
33883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33884 Change to 2.4.21 where previously 2.4.1.
33885 * sysdeps/unix/sysv/linux/configure: Regenerated.
33886 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33887 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33888 Linux kernel version.
33889 (__ASSUME_STD_AUXV): Remove.
33890 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33891 kernel version.
33892 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33893 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33894 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33895 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33896 (__ASSUME_NETLINK_SUPPORT): Likewise.
33897 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33898 (__no_netlink_support): Remove conditional definition.
33899 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33900 Remove.
33901 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33902 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33903 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33904 (if_nameindex_ioctl): Remove.
33905 (if_nameindex_netlink): Do not handle __no_netlink_support.
33906 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33907 code.
33908 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33909 Remove conditional code.
33910 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33911 code.
33912 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33913 unconditional.
33914 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33915 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33916 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33917 Remove.
33918 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33919 [!__ASSUME_STD_AUXV]: Remove conditional code.
33920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33921 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33922 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33924 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33925 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33926 code.
33927 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33929 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33930 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33931 conditional code.
33932 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33934 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33935 code.
33936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33937 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33938 conditional code.
33939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33940 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33941 code unconditional.
33942 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33943 conditional code.
33944 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33945 unconditional.
33946 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33947 conditional code.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33949 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33950 unconditional.
33951 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33952 conditional code.
33953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33954 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33955 code unconditional.
33956 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33957 conditional code.
33958 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33959 unconditional.
33960 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33961 conditional code.
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33963 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33964 code unconditional.
33965 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33966 conditional code.
33967 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33968 unconditional.
33969 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33970 conditional code.
33971
842a39cd
AS
339722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33973
33974 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33975 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33976 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33977 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33978 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33979 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33980 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33981 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33982 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33983 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33984 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33985 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33986 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33987 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33988 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33989 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33990 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33992 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33994 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33997
84b3fd84
FW
339982012-07-25 Florian Weimer <fweimer@redhat.com>
33999
34000 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34001 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34002 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34003 Introduce __libc_secure_getenv.
0c7936d5
FW
34004 * stdlib/Versions (2.17): Add secure_getenv
34005 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34006 * stdlib/secure-getenv.c: Rename __secure_getenv to
34007 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34008 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34009 * stdlib/tst-secure-getenv.c: New.
34010 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34011 * manual/startup.texi (Environment Access): Document
34012 secure_getenv.
84b3fd84
FW
34013 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34014 __libc_secure_getenv.
34015 * inet/ruserpass.c (ruserpass): Likewise.
34016 * malloc/mtrace.c (mtrace): Likewise.
34017 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34018 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34019 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34020 * sysdeps/posix/tempname.c: Likewise. Evaluate
34021 HAVE_SECURE_GETENV.
34022 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34023 __secure_getenv to __libc_secure_getenv.
84b3fd84 34024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34026 Likewise.
34027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34028 Likewise.
34029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34031 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34036
56e49b71
JM
340372012-07-25 Joseph Myers <joseph@codesourcery.com>
34038
34039 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34040 (struct La_i86_retval): Likewise.
34041 (struct La_x86_64_regs): Likewise.
34042 (struct La_x86_64_retval): Likewise.
34043 (struct La_x32_regs): Likewise.
34044 (struct La_x32_retval): Likewise.
34045 (struct La_ppc32_regs): Likewise.
34046 (struct La_ppc32_retval): Likewise.
34047 (struct La_ppc64_regs): Likewise.
34048 (struct La_ppc64_retval): Likewise.
34049 (struct La_sh_regs): Likewise.
34050 (struct La_sh_retval): Likewise.
34051 (struct La_s390_32_regs): Likewise.
34052 (struct La_s390_32_retval): Likewise.
34053 (struct La_s390_64_regs): Likewise.
34054 (struct La_s390_64_retval): Likewise.
34055 (struct La_sparc32_regs): Likewise.
34056 (struct La_sparc32_retval): Likewise.
34057 (struct La_sparc64_regs): Likewise.
34058 (struct La_sparc64_retval): Likewise.
34059 (struct audit_ifaces): Remove architecture-specific pltenter and
34060 pltexit members.
34061 * sysdeps/i386/ldsodefs.h: New file.
34062 * sysdeps/powerpc/ldsodefs.h: Likewise.
34063 * sysdeps/s390/ldsodefs.h: Likewise.
34064 * sysdeps/sh/ldsodefs.h: Likewise.
34065 * sysdeps/sparc/ldsodefs.h: Likewise.
34066 * sysdeps/x86_64/ldsodefs.h: Likewise.
34067
354691b7
MP
340682012-07-25 Marek Polacek <polacek@redhat.com>
34069
34070 [BZ #6808]
34071 * math/libm-test.inc (yn_test): Add another test.
34072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34073 to ERANGE when the result is +-Inf.
34074 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34075 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34076 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34077 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34078
bf9e2071
JM
340792012-07-24 Joseph Myers <joseph@codesourcery.com>
34080
34081 * conform/data/time.h-data (NULL): Use macro-constant. Require
34082 equal to 0.
34083 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34084 clock_t.
34085 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34086
57633811
TS
340872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34088
34089 * configure.in <sysdeps resolving>: Correct printing
34090 Implies_before.
34091 * configure: Regenerate.
34092
c23c33b0
TS
340932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34094
34095 * math/w_ilogb.c: Include <limits.h>.
34096 * math/w_ilogbl.c: Likewise.
34097
b5982523
JM
340982012-07-20 Joseph Myers <joseph@codesourcery.com>
34099
34100 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34101 va_copy. Document allowing for unavailable va_copy only as
34102 pre-C99 compatibility.
34103 * manual/string.texi (Copying and Concatenation): Use va_copy
34104 instead of __va_copy in concat example.
34105
ac4ea442
PT
341062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34107
34108 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34109 (__sendto): Use create_address_port. Initialize APORT and deallocate
34110 it if not null.
34111
f98eafbd
PT
34112 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34113 with O_NOLINK passed to __file_name_lookup.
34114
898c7aab
PT
34115 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34116 with O_NOLINK passed to __file_name_lookup.
34117
0ced335a
PT
34118 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34119 negative N or less than NGIDS.
34120
b3404dbd
PT
34121 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34122 type to string_t. Set ERANGE as errno and return it if NAME is not big
34123 enough. Use memcpy instead of strncpy.
34124
0f48659e
JM
341252012-07-20 Joseph Myers <joseph@codesourcery.com>
34126
34127 * elf/Makefile (check-data): Remove.
34128 (localplt.data): New vpath directive.
34129 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34130 instead of $(check-data).
34131 * scripts/data/localplt-generic.data: Move to ...
34132 * sysdeps/generic/localplt.data: ... here.
34133 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34134 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34135 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34137 ... here.
34138 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34140 ... here.
34141 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34143 ... here.
34144 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34146 ... here.
34147 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34149 ... here.
34150 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34152 ... here.
34153
d37cbdaa
AZ
341542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34155
34156 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34157 PPC32 and PPC64 files.
34158 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34159 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34160
46f85fc2
AK
341612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34162
34163 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34164 __makecontext_ret to ...
34165 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34166 ... here and call exit if uc_link is NULL. New file.
34167 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34168 __makecontext_ret.S.
34169 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34170 __makecontext_ret to ...
34171 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34172 ... here and call exit if uc_link is NULL. New file.
34173 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34174 __makecontext_ret.S.
34175
08f43f9b
AK
341762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34177
34178 * elf/elf.h (R_390_IRELATIVE): New definition.
34179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34180 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34181 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34183 (elf_machine_lazy_rel): Likewise.
34184 * sysdeps/s390/dl-irel.h: New file.
34185 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34186 * sysdeps/s390/s390-64/memset.S: New asm code.
34187 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34188 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34189 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34190 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34191 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34192 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34193 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34194 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34195 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34196 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34197 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34198 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34199 * sysdeps/s390/s390-32/memset.S: New asm code.
34200 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34201
3b05db33
MP
342022012-07-17 Marek Polacek <polacek@redhat.com>
34203
34204 [BZ #14349]
34205 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34206 * sysdeps/s390/s390-64/configure.in: Likewise.
34207 * sysdeps/sparc/configure.in: Likewise.
34208 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34209 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34210 * sysdeps/i386/configure.in: Likewise.
34211 * sysdeps/x86_64/configure.in: Likewise.
34212 * sysdeps/sh/configure.in: Likewise.
34213 * sysdeps/s390/s390-32/configure: Regenerated.
34214 * sysdeps/s390/s390-64/configure: Likewise.
34215 * sysdeps/x86_64/configure: Likewise.
34216 * sysdeps/sh/configure: Likewise.
34217 * sysdeps/powerpc/powerpc64/configure: Likewise.
34218 * sysdeps/powerpc/powerpc32/configure: Likewise.
34219 * sysdeps/sparc/configure: Likwise.
34220 * sysdeps/i386/configure: Likewise.
34221
a66877c6
MP
34222 * elf/dl-open.c: Comment fixes.
34223
cfc82fd8
JM
342242012-07-17 Joseph Myers <joseph@codesourcery.com>
34225
bd29910a
JM
34226 * Makefile [CXX] (check-data): Remove.
34227 [CXX] (c++-types.data): New vpath directive.
34228 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34229 vpath. Do not allow for C++ type data being missing.
34230 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34231 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34232 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34233 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34234 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34235 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34236 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34238 ... here.
34239 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34241 ... here.
34242 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34244 ... here.
34245 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34247 ... here.
34248 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34250 ... here.
34251 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34253 ... here.
34254 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34256 ... here.
34257 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34259
cfc82fd8
JM
34260 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34261 definitions to architecture-specific files.
34262 (TLS_IE): Likewise.
34263 (TLS_LD): Likewise.
34264 (TLS_GD): Likewise.
34265 * sysdeps/i386/tls-macros.h: New file.
34266 * sysdeps/powerpc/tls-macros.h: Likewise.
34267 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34268 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34269 * sysdeps/sh/tls-macros.h: Likewise.
34270 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34271 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34272 * sysdeps/x86_64/tls-macros.h: Likewise.
34273
f7db3170
TS
342742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34275
07cbfc23
TS
34276 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34277 zero value for regular exit case.
34278
f7db3170
TS
34279 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34280 (__start_context): Preserve zero value for regular exit case.
34281
dc97c227
TS
342822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34283 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34284
34285 * manual/setjmp.texi (setcontext): Clarify normal process
34286 termination when uc_link is the null pointer.
34287 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34288 exit call.
34289
d0cd7d02
AS
342902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34291
34292 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34293 preprocessor. Test for each exception mask separately.
34294
dd318934
AJ
342952012-07-16 Andreas Jaeger <aj@suse.de>
34296
34297 * po/ru.po: Update from translation team.
34298
8048311a
JM
342992012-07-15 Joseph Myers <joseph@codesourcery.com>
34300
34301 * conform/data/string.h-data (NULL): Use macro-constant. Require
34302 equal to 0.
34303 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34304 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34305 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34306 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34308
b637d46e
AJ
343092012-07-13 Andreas Jaeger <aj@suse.de>
34310
34311 * po/fr.po: Update from translation team.
34312
541428fe
MP
343132012-07-12 Marek Polacek <polacek@redhat.com>
34314
34315 [BZ #14173]
34316 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34318 loop condition.
34319
ec332e94
JM
343202012-07-12 Joseph Myers <joseph@codesourcery.com>
34321
34322 [BZ #13717]
34323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34324 Change to 2.4.1 where previously 2.4.0.
34325 * sysdeps/unix/sysv/linux/configure: Regenerated.
34326 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34327 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34328 version.
34329 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34330 (__ASSUME_AT_CLKTCK): Remove.
34331 (__ASSUME_AT_PAGESIZE): Likewise.
34332 (__ASSUME_AT_XID): Likewise.
34333 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34334 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34335 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34336 unconditionally.
34337 (HAVE_AUX_PAGESIZE): Likewise.
34338 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34339 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34340 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34341
7b6e99be
JB
343422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34343
34344 [BZ #14307]
34345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34346 the temporary buffer used to invoke __gethostbyname2_r,
34347 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34348 host_data / struct gaih_addrtuple.
34349 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34350 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34351 header file nss/nsswitch.h.
34352 * nss/nsswitch.h (global scope): Add definition of implementation
34353 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34354 resolv/nss_dns/dns-host.c).
34355
608404eb
AJ
343562012-07-11 Andreas Jaeger <aj@suse.de>
34357
34358 * po/fr.po: Update from translation team.
34359
71220aca
AJ
34360 * po/sv.po: Update from translation team
34361 * po/fr.po: Another update from translation team.
34362
28cfe843
AZ
343632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34364
34365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34366 for subnormals or multiply small sinh result by itself.
34367 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34369
6b90f981
DM
343702012-07-11 David S. Miller <davem@davemloft.net>
34371
34372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34373
c6825772
AS
343742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34375
34376 [BZ #14347]
34377 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34378 (INTERNAL_MARK): Shift it here.
34379
7b8e0d49
MP
343802012-07-10 Marek Polacek <polacek@redhat.com>
34381
34382 [BZ #14151]
34383 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34384 libc_cv_asm_global_directive with .globl.
34385 * configure: Regenerated.
34386 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34387 with .globl.
34388 * sysdeps/i386/configure: Regenerated.
34389 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34390 with .globl.
34391 * sysdeps/x86_64/configure: Regenerated.
34392 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34393 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34394 * elf/tst-unique2mod2.c: Likewise.
34395 * elf/tst-unique2mod1.c: Likewise.
34396 * elf/tst-unique1mod2.c: Likewise.
34397 * elf/tst-unique1mod1.c: Likewise.
34398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34399 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34401 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34402 * sysdeps/mach/sysdep.h: Likewise.
34403 * sysdeps/i386/sysdep.h: Likewise.
34404 * sysdeps/i386/i386-mcount.S: Likewise.
34405 * sysdeps/x86_64/_mcount.S: Likewise.
34406 * sysdeps/x86_64/sysdep.h: Likewise.
34407 * sysdeps/sh/_mcount.S: Likewise.
34408 * sysdeps/sh/sysdep.h: Likewise.
34409 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34410 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34411 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34412 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34413 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34414 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34415 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34416 * locale/localeinfo.h: Likewise.
34417 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34418 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34419
6c55cda3
RM
344202012-07-09 Roland McGrath <roland@hack.frob.com>
34421
34422 [BZ #14336]
34423 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34424 system".
34425 * manual/message.texi (The Uniforum approach): Likewise.
34426 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34427 (glibc iconv Implementation): Likewise.
34428
638a572e
JM
344292012-07-09 Joseph Myers <joseph@codesourcery.com>
34430
34431 [BZ #14337]
34432 * math/s_clog.c (__clog): Avoid scaling a value down where that
34433 could result in underflow.
34434 * math/s_clog10.c (__clog10): Likewise.
34435 * math/s_clog10f.c (__clog10f): Likewise.
34436 * math/s_clog10l.c (__clog10l): Likewise.
34437 * math/s_clogf.c (__clogf): Likewise.
34438 * math/s_clogl.c (__clogl): Likewise.
34439 * math/libm-test.inc (clog_test): Add more tests.
34440 (clog10_test): Likewise.
34441 * sysdeps/i386/fpu/libm-test-ulps: Update.
34442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34443
261f4859
AS
344442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34445
0abaf3e4
AS
34446 [BZ #14283]
34447 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34448 by 7 not 8 to examine high bit of fractional part.
34449
261f4859
AS
34450 [BZ #14042]
34451 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34452 for call to __mcount_internal.
34453 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34454 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34455 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34456
f17ac40d
JM
344572012-07-06 Joseph Myers <joseph@codesourcery.com>
34458
9ad63c23
JM
34459 [BZ #14154]
34460 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34461 approximation for values within 0x1p-13f of an odd multiple of
34462 pi/4.
34463 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34464 exception. Add more tests.
34465 * sysdeps/i386/fpu/libm-test-ulps: Update.
34466
f17ac40d
JM
34467 [BZ #6778]
34468 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34469 inputs and return -1 for them. Do not check for +Inf in case not
34470 reachable for +Inf.
34471 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34472 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34474 and return -1 for them. Do not check for +Inf in case not
34475 reachable for +Inf.
34476 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34477 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34482 spurious underflow.
34483 * sysdeps/i386/fpu/libm-test-ulps: Update.
34484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34485
fb21f89b
MF
344862012-07-06 Mike Frysinger <vapier@gentoo.org>
34487
34488 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34489
cdfe2c5e
JM
344902012-07-05 Joseph Myers <joseph@codesourcery.com>
34491
34492 [BZ #14157]
34493 [BZ #14331]
34494 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34495 could result in spurious underflow. Scale down values above
34496 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34497 * math/s_csqrtf.c (__csqrtf): Likewise.
34498 * math/s_csqrtl.c (__csqrtl): Likewise.
34499 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34500 spurious underflow.
34501 * sysdeps/i386/fpu/libm-test-ulps: Update.
34502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34503
70d35b67
AS
345042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34505
704bc459
AS
34506 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34507 xopen-msg.sed.
34508 * catgets/xopen-msg.awk: New file.
34509 * catgets/xopen-msg.sed: Removed.
34510
70d35b67
AS
34511 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34512 po2text.sed.
34513 * intl/po2test.awk: New file.
34514 * intl/po2test.sed: Removed.
34515
ca61cf32
JM
345162012-07-04 Joseph Myers <joseph@codesourcery.com>
34517
34518 [BZ #14328]
34519 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34520 or multiply small sinh result by itself.
34521 * math/s_ctanf.c (__ctanf): Likewise.
34522 * math/s_ctanh.c (__ctanh): Likewise.
34523 * math/s_ctanhf.c (__ctanhf): Likewise.
34524 * math/s_ctanhl.c (__ctanhl): Likewise.
34525 * math/s_ctanl.c (__ctanl): Likewise.
34526 * math/libm-test.inc (ctan_test_tonearest): New function.
34527 (ctan_test_towardzero): Likewise.
34528 (ctan_test_downward): Likewise.
34529 (ctan_test_upward): Likewise.
34530 (ctanh_test_tonearest): Likewise.
34531 (ctanh_test_towardzero): Likewise.
34532 (ctanh_test_downward): Likewise.
34533 (ctanh_test_upward): Likewise.
34534 (main): Call these new functions.
34535 * sysdeps/i386/fpu/libm-test-ulps: Update.
34536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34537
ca48a46a
MF
345382012-07-03 Mike Frysinger <vapier@gentoo.org>
34539
34540 * .gitignore: Delete /ports entry.
34541
9d63d37d
AJ
345422012-07-03 Andreas Jaeger <aj@suse.de>
34543
34544 * po/bg.po: Update from translation team.
34545 * po/cs.po: Likewise.
34546 * po/de.po: Likewise.
34547 * po/hr.po: Likewise.
34548 * po/nl.pl: Likewise.
34549 * po/pl.po: Likewise.
34550 * po/vi.po: Likewise.
34551
370ca3d2
JM
345522012-07-03 Joseph Myers <joseph@codesourcery.com>
34553
95f5a9a8
JM
34554 * Makeconfig [!+link] (+link-before-libc): New variable.
34555 [!+link] (+link-after-libc): Likewise.
34556 [!+link] (+link-tests): Likewise.
34557 [!+link] (+link): Define in terms of $(+link-before-libc) and
34558 $(+link-after-libc).
34559 [!+link-static] (+link-static-before-libc): New variable.
34560 [!+link-static] (+link-static-after-libc): Likewise.
34561 [!+link-static] (+link-static-tests): Likewise.
34562 [!+link-static] (+link-static): Define in terms of
34563 $(+link-static-before-libc) and $(+link-static-after-libc).
34564 [build-shared] (link-libc-before-gnulib): New variable.
34565 [build-shared] (link-libc-tests): Likewise.
34566 [build-shared] (link-libc): Define in terms of
34567 $(link-libc-before-gnulib).
34568 [!build-shared] (link-libc-tests): New variable.
34569 (link-libc-static-tests): New variable.
34570 [!gnulib] (gnulib-arch): New variable.
34571 [!gnulib] (gnulib-tests): Likewise.
34572 [!gnulib] (static-gnulib-arch): Likewise.
34573 [!gnulib] (static-gnulib-tests): Likewise.
34574 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34575 Define with "=" instead of ":=".
34576 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34577 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34578 * Rules (binaries-all-notests): New variable.
34579 (binaries-all-tests): Likewise.
34580 (binaries-static-notests): Likewise.
34581 (binaries-static-tests): Likewise.
34582 (binaries-all): Define using $(binaries-all-notests) and
34583 $(binaries-all-tests).
34584 (binaries-static): Define using $(binaries-static-notests) and
34585 $(binaries-static-tests).
34586 (binaries-shared-tests): New variable.
34587 (binaries-shared-notests): Likewise.
34588 (binaries-shared): Remove variable.
34589 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34590 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34591 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34592 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34593 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34594 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34595 * elf/Makefile (sln-modules): New variable.
34596 (extra-objs): Add $(sln-modules:=.o).
34597 (ldconfig-modules): Add static-stubs.
34598 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34599 * elf/static-stubs.c: New file.
34600
7a845b2c
JM
34601 [BZ #14283]
34602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34603 by 7 not 8 to examine high bit of fractional part. Use volatile
34604 variables when splitting into final array of floats if
34605 __FLT_EVAL_METHOD__ != 0.
34606 * math/libm-test.inc (cos_test): Add another test.
34607 (sin_test): Likewise.
34608 * sysdeps/i386/fpu/libm-test-ulps: Update.
34609
e2283f38
JM
34610 [BZ #14273]
34611 * math/libm-test.inc (cosh_test): Add more tests.
34612
370ca3d2
JM
34613 * version.h (RELEASE): Set to "development".
34614 (VERSION): Set to "2.16.90".
34615
ee9247c3
CD
346162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34617
34618 * NEWS: Update copyright. Remove last-updated date.
34619 Mention math library bug fixes and timezone data changes.
34620 * README: Mention GNU/Hurd, x32, and HPPA support status.
34621
4648c381
TS
346222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34623
34624 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34625
aac78a43
AJ
346262012-06-27 Andreas Jaeger <aj@suse.de>
34627
34628 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34629
ed3dbfad
AJ
346302012-06-25 Andreas Jaeger <aj@suse.de>
34631
34632 * sysdeps/s390/fpu/libm-test-ulps: Update.
34633
4d0ee855
AS
346342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34635 Thomas Schwinge <thomas@codesourcery.com>
34636
34637 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34638 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34640 fanotify_mark.
34641
af1bce34
TS
346422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34643
a9fa33ba
TS
34644 * sysdeps/mach/start.c: Remove file.
34645 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34646 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34647 * sysdeps/sh/init-first.c: Likewise.
34648
58f902b8
TS
34649 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34650 registers for frame unwinding purposes, add CFI directives.
34651 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34653 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34654 Likewise.
34655
1518f58b
TS
34656 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34657 __fortify_fail returning.
34658 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34659
db9b5059
TS
34660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34661 sysdeps/sh/____longjmp_chk.S.
34662 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34663 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34664 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34665 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34666
967705fe
TS
34667 * sysdeps/sh/abort-instr.h: New file.
34668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34669 process in case exit returns.
34670
a9def8c4
TS
34671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34672 initialize the GOT register before use.
34673
2a649725
TS
34674 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34675 calculation of ARGC > 4.
34676
af1bce34
TS
34677 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34678 meaningful names to some local labels.
34679
d230f50a
KK
346802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34681 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34682
34683 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34684 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34685 (__arch_compare_and_exchange_val_16_acq): Likewise.
34686 (__arch_compare_and_exchange_val_32_acq): Likewise.
34687 (atomic_exchange_and_add): Fix gUSA sequence.
34688 (atomic_add): Likewise.
34689 (atomic_add_negative): Likewise.
34690 (atomic_add_zero): Likewise.
34691 (atomic_bit_test_set): Likewise.
34692
0479b305
AS
346932012-06-22 Andreas Schwab <schwab@redhat.com>
34694
34695 [BZ #13579]
34696 * include/link.h (struct link_map): Add l_free_initfini.
34697 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34698 l_initfini.
34699 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34700 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34701 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34702 set.
34703
0e3933b9
CD
347042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34705
34706 * configure.in: Use AC_LANG_SOURCE.
34707 * configure: Regenerate.
34708
4248b1b1
RM
347092012-06-22 Roland McGrath <roland@hack.frob.com>
34710
34711 * configure.in (libc_cv_localstatedir): New substituted variable.
34712 * configure: Regenerated.
34713 * config.make.in (localstatedir): New variable, substituted from
34714 libc_cv_localstatedir.
34715 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34716 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34717 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34718 * sysdeps/gnu/configure: Regenerated.
34719
006dd861
JL
347202012-06-21 Jeff Law <law@redhat.com>
34721
34722 [BZ #14277]
34723 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34724 free. Simplify list management for _LIBC case.
34725
79662d42
JM
347262012-06-21 Joseph Myers <joseph@codesourcery.com>
34727
b7abb4bf
JM
34728 [BZ #14273]
34729 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34730 Clear sign bit of 64-bit integer value before comparing against
34731 overflow value.
34732
79662d42
JM
34733 * sysdeps/mach/configure: Regenerated.
34734
1f150908
L
347352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34736
34737 [BZ #14278]
34738 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34739
28363bbf
JL
347402012-06-21 Jeff Law <law@redhat.com>
34741
34742 [BZ #13882]
34743 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34744 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34745 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34746 * elf/dl-open.c (dl_open_worker): Likewise.
34747
09615db4
CD
347482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34749
34750 * scripts/list-sources.sh: Scan PORTS for translations.
34751 * po/libc.pot: Regenerated.
34752
2174c6dd
AJ
347532012-06-21 Andreas Jaeger <aj@suse.de>
34754
34755 [BZ #12194]
34756 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34757 warning.
34758 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34759 * bits/byteswap-16.h (__bswap_16): Likewise.
34760 * bits/byteswap.h (__bswap_constant_16): Likewise.
34761
3ee947b1
L
347622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34763
34764 [BZ #14117]
a2f34833
L
34765 * sysdeps/i386/fpu_control.h: Removed.
34766 * sysdeps/x86_64/fpu_control.h: Moved to ...
34767 * sysdeps/x86/fpu_control.h: Here.
34768
3ee947b1
L
34769 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34770 (_FPU_SETCW): Likewise.
34771
ed1825f8
L
347722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34773
25f1282a
L
34774 [BZ #14117]
34775 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34776 * sysdeps/x86/fpu/bits/mathinline.h: This.
34777 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34778
ed1825f8
L
34779 [BZ #14050]
34780 [BZ #14117]
34781 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34782 functions if __x86_64__ is defined.
34783
36d54b74
CLT
347842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34785
34786 * string/endian.h: Add !__ASSEMBLER__ condition for including
34787 conversion interfaces.
34788
10285c21
JM
347892012-06-15 Joseph Myers <joseph@codesourcery.com>
34790
34791 [BZ #14241]
34792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34793 of ABS(x) in calculating zero to negative powers other than odd
34794 integers.
34795 * math/libm-test.inc (pow_test): Add more tests.
34796
06c5abbd
AJ
347972012-06-15 Andreas Jaeger <aj@suse.de>
34798
34799 * manual/contrib.texi (Contributors): Update entry of Liubov
34800 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34801 Machado Filho.
34802
a3aeac40
CH
348032012-06-15 Cyril Hrubis <metan@ucw.cz>
34804
34805 * string/string.h: Add __wur to GNU version of strerror_r.
34806
49bdf4c1
L
348072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34808
34809 [BZ #14229]
34810 * string/Makefile (tests): Add tst-strtok_r.
34811 * string/tst-strtok_r.c: New file.
34812 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34813 RAX_LP/RDX_LP on SAVE_PTR.
34814
834f9b8d
RM
348152012-06-14 Roland McGrath <roland@hack.frob.com>
34816
34817 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34818
75fa1921
JM
348192012-06-14 Joseph Myers <joseph@codesourcery.com>
34820
34821 * libm_test.inc (csqrt_test): Allow more spurious underflow
34822 exceptions.
34823 (j0_test): Likewise.
34824 (j1_test): Likewise.
34825 (y0_test): Likewise.
34826 (y1_test): Likewise.
34827
771766df
CD
348282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34829
34830 * po/Makefile (libc.pot): Use UTF-8 charset.
34831
ceb9e56b
PP
348322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34833
34834 [BZ #14210]
34835 Suppress sign-conversion warning from FD_SET.
34836 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34837 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34838 not unsigned long int.
34839 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34840
ddb28975
L
348412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 [BZ #14050]
34844 [BZ #14117]
34845 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34846 __extern_always_inline instead of __extern_inline.
34847 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34848 (__signbit): Likewise.
34849 (__signbitl): Support C++ namespace.
34850 (lrintf): New inline function.
34851 (lrint): Likewise.
34852 (llrintf): Likewise.
34853 (llrint): Likewise.
34854 (fmaxf): Likewise.
34855 (fmax): Likewise.
34856 (fminf): Likewise.
34857 (fmin): Likewise.
34858 (rint): Likewise.
34859 (rintf): Likewise.
34860 (ceil): Likewise.
34861 (ceilf): Likewise.
34862 (floor): Likewise.
34863 (floorf): Likewise.
34864 (nearbyint): Likewise.
34865 (nearbyintf): Likewise.
34866
d7b4fb26
TS
348672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34868
34869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34870 non-default versions.
34871
eb55f5c2
RM
348722012-06-11 Roland McGrath <roland@hack.frob.com>
34873
34874 [BZ #14218]
34875 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34876
366af02c
TS
348772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34878
99ff6e5c
TS
34879 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34880 (FE_UPWARD, FE_DOWNWARD): Don't define.
34881 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34882 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34883
366af02c
TS
34884 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34885 reading it.
34886 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34887 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34888
793ea851
KK
348892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34890
34891 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34893 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34894 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34895
a728a38f
L
348962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34897
34898 [BZ #14117]
c08010c7
L
34899 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34900 * sysdeps/i386/fpu/Implies: New file.
34901 * sysdeps/x86_64/fpu/Implies: Likewise.
34902 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34903 * sysdeps/x86/fpu/bits/fenv.h: This.
34904
a728a38f
L
34905 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34906 __SSE_MATH__.
34907
6e230d11
SP
349082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34909
34910 [BZ #14134]
34911 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34912 character 0xffff that matches the last element of the
34913 conversion table.
34914
1b671feb
AZ
349152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34916
34917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34918 fmodl commit.
34919
6043738b
AZ
349202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34921
34922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34923 values higher than 25.6283.
34924
34ae0b32
AZ
349252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34926
34927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34928 subnormal exponent extraction and add some __builtin_expect.
34929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34930 Fix for subnormal mantissa calculation.
34931
1214ec8f
MF
349322012-06-04 Mike Frysinger <vapier@gentoo.org>
34933
34934 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34935 cpu2 is -1 and errno is not ENOSYS.
34936
f3d1f93c
L
349372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34938
34939 [BZ #14117]
0e4a3cd7
L
34940 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34941 * sysdeps/x86/bits/string.h: This.
34942 * sysdeps/x86_64/bits/string.h: Removed.
34943
6704c645
L
34944 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34945 if not compiling for x86-64, but compiling for >= i486.
34946
48495318
L
34947 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34948 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34949
14adcbfc
L
34950 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34951 New macro from Linux kernel 3.4.0.
34952 (FP_XSTATE_MAGIC2): Likewise.
34953 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34954 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34955 (struct _fpx_sw_bytes): New struct.
34956 (struct _xsave_hdr): Likewise.
34957 (struct _ymmh_state): Likewise.
34958 (struct _xstate): Likewise.
34959
68e408ab
L
34960 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34961 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34962 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34963 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34964 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34965 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34966
f3d1f93c
L
34967 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34968 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34969 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34970 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34971 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34972 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34973
d9dc34cd
TMQMF
349742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34975
34976 [BZ #13743]
34977 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34978 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34979 (sysdep_headers): Include sys/platform/ppc.h.
34980 * sysdeps/powerpc/test-gettimebase.c: Test for
34981 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34982 * manual/Makefile (appendices): Include platform.texi.
34983 * manual/contrib.texi (Contributors): Update @node pointers.
34984 * manual/maint.texi (Maintenance): Likewise.
34985 (Platform): New node.
34986 * manual/platform.texi: New file. Document the new features.
34987
4af3879c
SP
349882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34989 Jakub Jelinek <jakub@redhat.com>
34990
34991 [BZ #14188]
34992 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34993 where __builtin_expect is unavailable.
34994
2fd6ff13
DM
349952012-06-03 David S. Miller <davem@davemloft.net>
34996
34997 * stdlib/longlong.h: Updated from GCC.
34998
173f7220
AS
349992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35000
35001 [BZ #14042]
35002 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35003 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35004 __mcount_internal.
35005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35006 (GLIBC_2.16): Likewise.
35007
f34a1c6f
L
350082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35009
35010 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35011
88a4576f
JM
350122012-06-01 Joseph Myers <joseph@codesourcery.com>
35013
ea32bcdd
JM
35014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35015 (default-abi): New variable.
35016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35017 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35018 variable.
35019 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35020 Likewise.
35021 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35022 Likewise.
35023 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35024 Likewise.
35025
88a4576f
JM
35026 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35027 definition. Document in comment.
35028
402fe938
DM
350292012-06-01 David S. Miller <davem@davemloft.net>
35030
35031 * stdlib/longlong.h: Updated from GCC.
35032
3553723f
L
350332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35034
35035 [BZ #14117]
3bd872c4
L
35036 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35037 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35038 sys/debugreg.h sys/io.h here.
35039 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35040 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35041 sys/io.h.
35042 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35043 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35044 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35045 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35046 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35047 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35048
3553723f
L
35049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35050 Define only if __x86_64__ is defined.
35051
4842e4fe
JM
350522012-06-01 Joseph Myers <joseph@codesourcery.com>
35053
c5bfe3d5
JM
35054 [BZ #14048]
35055 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35056 Use int64_t for variable i.
35057 * math/libm-test.inc (fmod_test): Add more tests.
35058
4842e4fe
JM
35059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35060 z computation is not scheduled after fetestexcept.
35061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35062 Use math_force_eval instead of asm to ensure calculation scheduled
35063 before exception test.
35064 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35065 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35066
efb73488
AJ
350672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35068
35069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35070 computation is not scheduled after fetestexcept.
35071
29bcce7c
L
350722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35073
35074 [BZ #14117]
35075 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35076 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35077
73a68f94
AZ
350782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35079
35080 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35081 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35082
67b6df78
L
350832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35084
edf2933a 35085 [BZ #14117]
ebc64a18
L
35086 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35087 <bits/wordsize.h>.
35088 (__WCHAR_MIN): Support __WORDSIZE == 64.
35089 (__WCHAR_MAX): Likewise.
35090
edf2933a
L
35091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35093
57c6cf40
L
35094 [BZ #14183]
35095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35096 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35097
67b6df78 35098 [BZ #14117]
8eb6281e
L
35099 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35100 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35101
aac639f4
L
35102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35103 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35104
67b6df78
L
35105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35106 Defined to 1 if __x86_64__ isn't defined.
35107 (_STAT_VER_LINUX_OLD): New.
35108 (st_atime): Remove duplicate.
35109 (st_mtime): Likewise.
35110 (st_ctime): Likewise.
35111
1c2cfe81
DM
351122012-05-31 David S. Miller <davem@davemloft.net>
35113
35114 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35115 entries.
35116
5be8418c
AS
351172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35118
e7725326
AS
35119 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35120 gen-libm-test.pl.
35121
5be8418c
AS
35122 [BZ #14132]
35123 * elf/dl-reloc.c: Include <_itoa.h>.
35124 (_dl_reloc_bad_type): Remove use of INTUSE.
35125 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35126 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35127 * stdio-common/psiginfo.c (psiginfo): Likewise.
35128 * stdio-common/psignal.c (psignal): Likewise.
35129 * string/strsignal.c (strsignal): Likewise.
35130 * include/signal.h (_sys_siglist): Declare hidden proto.
35131 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35132 INTVARDEF with libc_hidden_data_def.
35133 * stdio-common/itoa-udigits.c: Likewise.
35134 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35135 (_itoa_lower_digits_internal): Remove declaration.
35136 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35137 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35138 (_sys_sigabbrev_internal): Remove aliases.
35139 (_sys_siglist): Define hidden alias.
35140
507352f1
MT
351412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35142
35143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35144 bits/sysctl.h.
35145
42bbb1c3
L
351462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35147
35148 [BZ #14117]
6bd784b6
L
35149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35150 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35151
8bca20f0
L
35152 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35154 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35155 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35157 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35158
f9e890a9
L
35159 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35160 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35161 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35162
471101a1
L
35163 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35164 with __addr.
35165 (insw): Likewise.
35166 (insl): Likewise.
35167 (outsb): Likewise.
35168 (outsw): Likewise.
35169 (outsl): Likewise.
35170
6451c862
L
35171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35173 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35174
a254b8c9
L
35175 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35176 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35179 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35180 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35181
b8dfdd92
L
35182 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35183 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35184
578cd270
L
35185 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35186 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35187
de662f5f
L
35188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35191
25653439
L
35192 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35193 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35194 to ...
35195 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35196
6bad24a0
L
35197 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35198 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35199 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35200
42bbb1c3
L
35201 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35202 for x86-64.
35203 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35204
2d10d547
JM
352052012-05-31 Joseph Myers <joseph@codesourcery.com>
35206
35207 * math/math.h (M_El): Use two more decimal places.
35208 (M_LOG2El): Likewise.
35209 (M_LOG10El): Likewise.
35210 (M_LN2l): Likewise.
35211 (M_LN10l): Likewise.
35212 (M_PIl): Likewise.
35213 (M_PI_2l): Likewise.
35214 (M_PI_4l): Likewise.
35215 (M_1_PIl): Likewise.
35216 (M_2_PIl): Likewise.
35217 (M_2_SQRTPIl): Likewise.
35218 (M_SQRT2l): Likewise.
35219 (M_SQRT1_2l): Likewise.
35220
f230c29b
DM
352212012-05-31 David S. Miller <davem@davemloft.net>
35222
35223 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35224 values between float registers.
35225 * sysdeps/sparc/sparc64/memset.S: Likewise.
35226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35227
fed806c3
MF
352282012-05-31 Mike Frysinger <vapier@gentoo.org>
35229
35230 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35231 -D_FORTIFY_SOURCE=1.
35232 (CPPFLAGS-tst-longjmp_chk.c): Define.
35233 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35234 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35235 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35236 CFLAGS-tst-wchar-h.c.
35237
30917259
MP
352382012-05-31 Marek Polacek <polacek@redhat.com>
35239
35240 [BZ #14132]
35241 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35242 __endmntent_internal): Remove declaration.
35243 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35244 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35245 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35246
1c58d5dc
DM
352472012-05-30 David S. Miller <davem@davemloft.net>
35248
35249 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35250 (___Q_simulate_exceptions): Use real FP ops rather than writing
35251 into the %fsr.
35252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35253 Likewise.
35254
7dc00e0d
L
352552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35256
35257 [BZ #14117]
0bd53985
L
35258 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35259 * sysdeps/x86/bits/xtitypes.h: This.
35260
3a257e66
L
35261 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35262 * sysdeps/x86/bits/wordsize.h: This.
35263
62f62904
L
35264 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35265 * sysdeps/x86/bits/huge_vall.h: This.
35266
404fe9d9
L
35267 * sysdeps/i386/bits/select.h: Removed.
35268 * sysdeps/x86_64/bits/select.h: Renamed to ...
35269 * sysdeps/x86/bits/select.h: This.
35270
d48d0446
L
35271 * sysdeps/i386/bits/setjmp.h: Removed.
35272 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35273 * sysdeps/x86/bits/setjmp.h: This.
35274
7dc00e0d
L
35275 * sysdeps/i386/bits/mathdef.h: Removed.
35276 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35277 * sysdeps/x86/bits/mathdef.h: This.
35278
03277f8f
AS
352792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35280
35281 [BZ #14132]
35282 * include/sys/socket.h (__connect_internal)
35283 (__libc_sa_len_internal): Remove declaration.
35284 (__connect, __libc_sa_len): Declare hidden_proto.
35285 (SA_LEN): Remove use of INTUSE.
35286 * socket/connect.c: Add libc_hidden_def.
35287 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35288 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35289 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35290 alias.
35291 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35293 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35294 of adding _internal alias.
35295
13764867
L
352962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35297
35298 [BZ #14117]
6bd97696
L
35299 * sysdeps/i386/bits/link.h: Removed.
35300 * sysdeps/i386/bits/linkmap.h: Likewise.
35301 * sysdeps/x86_64/bits/link.h: Renamed to ...
35302 * sysdeps/x86/bits/link.h: This.
35303 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35304 * sysdeps/x86/bits/linkmap.h: This.
35305
f726f0bb
L
35306 * sysdeps/i386/bits/endian.h: Removed.
35307 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35308 * sysdeps/x86/bits/endian.h: This.
35309
13764867
L
35310 * sysdeps/i386/bits/byteswap.h: Removed.
35311 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35312 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35313 * sysdeps/x86/bits/byteswap.h: This.
35314 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35315 * sysdeps/x86/bits/byteswap-16.h: This.
35316 * sysdeps/i386/Implies: Add x86.
35317 * sysdeps/x86_64/Implies: Likewise.
35318
ae251b0b
DM
353192012-05-30 David S. Miller <davem@davemloft.net>
35320
35321 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35322 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35323 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35324 (FP_TRAPPING_EXCEPTIONS): Define.
35325 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35326 (FP_TRAPPING_EXCEPTIONS): Define.
35327 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35328 subnormals only when inexact has been signalled or underflow
35329 exceptions are enabled.
35330 (_FP_PACK_CANONICAL): Likewise.
35331
d5c90867
L
353322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35333
35334 [BZ #14183]
35335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35336 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35337
63f1549e
RH
353382012-05-30 Richard Henderson <rth@twiddle.net>
35339
8d8f2279
RH
35340 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35341 with #ifndef NOT_IN_libc.
35342
63f1549e
RH
35343 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35344 marked to avoid plt entry.
35345
0ab0291b
L
353462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35347
35348 [BZ #14112]
35349 * Makeconfig (default-abi): New macro.
35350 (abi-includes): Likewise.
35351 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35352 $(abi-$(default-abi)-lib-soname) for soname if defined.
35353 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35354 abi-variants.
35355 * Makefile (installed-stubs): Likewise.
35356 * include/stubs-biarch.h: Removed.
35357 * scripts/lib-names.awk: Only handle one library at a time.
35358 * scripts/soversions.awk: Remove WORDSIZE support.
35359 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35360 entries.
35361 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35362 Removed.
35363 (syscall-list-default-condition): Likewise.
35364 (syscall-list-default-condition): Likewise.
35365 (syscall-list-includes): Likewise.
35366 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35367 syscall-list-* with abi-*. Handle undefined abi-variants.
35368 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35369 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35370 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35372 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35373 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35374 Removed.
35375 (syscall-list-32-options): Likewise.
35376 (syscall-list-32-condition): Likewise.
35377 (syscall-list-64-options): Likewise.
35378 (syscall-list-64-condition): Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35380 macro.
35381 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35382 Renamed to ...
35383 (abi-*): This.
35384 (abi-64-ld-soname): New macro.
35385 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35386 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35387 Renamed to ...
35388 (abi-*): This.
35389 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35390 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35391
4da0431d
JM
353922012-05-30 Joseph Myers <joseph@codesourcery.com>
35393
3a85279c
JM
35394 * sysdeps/unix/sysv/linux/kernel-features.h
35395 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35396 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35397 include <kernel-features.h>.
35398 [!__NR_ftruncate64]: Remove conditional code.
35399 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35400 [__NR_ftruncate64]: Make code unconditional.
35401 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35402 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35403 include <kernel-features.h>.
35404 [!__NR_ftruncate64]: Remove conditional code.
35405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35406 [__NR_ftruncate64]: Make code unconditional.
35407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35409 include <kernel-features.h>.
35410 [!__NR_ftruncate64]: Remove conditional code.
35411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35412 [__NR_ftruncate64]: Make code unconditional.
35413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35415 include <kernel-features.h>.
35416 [!__NR_ftruncate64]: Remove conditional code.
35417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35418 [__NR_ftruncate64]: Make code unconditional.
35419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35420
4da0431d
JM
35421 * configure.in (libc_cv_fpie): Weaken to a compile test using
35422 LIBC_TRY_CC_OPTION.
35423 * configure: Regenerated.
35424
11ef492c
AK
354252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35426
35427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35431 Refreshed.
35432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35438 Refreshed.
35439
d66ef399
DM
354402012-05-27 David S. Miller <davem@davemloft.net>
35441
35442 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35443 (___Q_zero): New.
35444 (__Q_simulate_exceptions): Return void. Change to simulate
35445 exceptions by writing into the %fsr.
35446 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35447 (__Qp_handle_exceptions): Likewise.
35448 (numbers): Delete.
35449 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35450 __Qp_handle_exceptions.
35451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35452 __Qp_handle_exceptions.
35453 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35454 as unused and give dummy FP_RND_NEAREST initializer.
35455 (FP_INHIBIT_RESULTS): Define.
35456 (___Q_simulate_exceptions): Update declaration.
35457 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35458 formatting.
35459 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35460 as unused and give dummy FP_RND_NEAREST initializer.
35461 (__Qp_handle_exceptions): Update declaration.
35462 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35463 formatting.
35464
04fb54b5
TS
354652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35466
35467 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35468 the temporary FPU control word.
35469 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35470 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35471 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35472 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35473 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35475 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35476 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35477 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35478 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35479 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35480
3f99608f
KK
354812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35482
35483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35484 fields.
35485
65a4de4e
CLT
354862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35487
35488 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35489 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35490 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35491 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35492 Likewise.
35493 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35494 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35495 Likewise.
35496
15749d40
UD
354972012-05-27 Ulrich Drepper <drepper@gmail.com>
35498
35499 * po/h.po: Update from translation team.
35500
25dbcb27
AS
355012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35502
3d3f8e55
AS
35503 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35504
25dbcb27
AS
35505 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35506 handling of denormals.
35507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35508 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35509 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35510 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35514 Likewise.
35515
7ad47a80 355162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35517
35518 [BZ #14152]
35519 * math/libm-test.inc (fma_test): Don't always expect underflow
35520 exception.
35521
9c6ea9fa
SP
355222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35523
35524 [BZ #12416]
35525 * elf/tst-execstack.c: Include stackinfo.h.
35526 (do_test): Adjust test case to ensure that pthread_getattr_np
35527 behaviour remains the same after marking stack executable.
35528
a8239222
JM
355292012-05-25 Joseph Myers <joseph@codesourcery.com>
35530
35531 * sysdeps/unix/sysv/linux/kernel-features.h
35532 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35533 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35534 kernel-features.h.
35535 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35536 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35537 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35538 kernel-features.h.
35539 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35540 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35541
918b5606
L
355422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35543
35544 * configure.in: Define the default includes to being none.
35545 * configure: Regenerated.
35546
3a097cc7
RM
355472012-05-25 Roland McGrath <roland@hack.frob.com>
35548
8422c9a5
RM
35549 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35550 * sysdeps/x86_64/setjmp.S: Likewise.
35551 * sysdeps/i386/bsd-setjmp.S: Likewise.
35552 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35553 * sysdeps/i386/setjmp.S: Likewise.
35554 * sysdeps/i386/__longjmp.S: Likewise.
35555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35557
3a097cc7
RM
35558 * include/stap-probe.h: New file.
35559 * configure.in: Handle --enable-systemtap.
35560 * configure: Regenerated.
35561 * config.h.in (USE_STAP_PROBE): New #undef.
35562 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35563 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35564 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35565
21708942
JM
355662012-05-25 Joseph Myers <joseph@codesourcery.com>
35567
35568 [BZ #13717]
35569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35570 to 2.4.0 where earlier.
35571 * sysdeps/unix/sysv/linux/configure: Regenerated.
35572 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35573 <kernel-features.h>.
35574 [__ASSUME_32BITUIDS]: Make code unconditional.
35575 [!__ASSUME_32BITUIDS]: Remove conditional code.
35576 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35577 <kernel-features.h>.
35578 [__ASSUME_32BITUIDS]: Make code unconditional.
35579 [!__ASSUME_32BITUIDS]: Remove conditional code.
35580 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35581 [__ASSUME_32BITUIDS]: Make code unconditional.
35582 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35583 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35584 <kernel-features.h>.
35585 [__ASSUME_32BITUIDS]: Make code unconditional.
35586 [!__ASSUME_32BITUIDS]: Remove conditional code.
35587 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35588 <kernel-features.h>.
35589 [__ASSUME_32BITUIDS]: Make code unconditional.
35590 [!__ASSUME_32BITUIDS]: Remove conditional code.
35591 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35592 <kernel-features.h>.
35593 [__ASSUME_32BITUIDS]: Make code unconditional.
35594 [!__ASSUME_32BITUIDS]: Remove conditional code.
35595 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35596 <kernel-features.h>.
35597 [__ASSUME_32BITUIDS]: Make code unconditional.
35598 [!__ASSUME_32BITUIDS]: Remove conditional code.
35599 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35600 <kernel-features.h>.
35601 [__ASSUME_32BITUIDS]: Make code unconditional.
35602 [!__ASSUME_32BITUIDS]: Remove conditional code.
35603 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35604 <kernel-features.h>.
35605 [__ASSUME_32BITUIDS]: Make code unconditional.
35606 [!__ASSUME_32BITUIDS]: Remove conditional code.
35607 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35608 <kernel-features.h>.
35609 [__ASSUME_32BITUIDS]: Make code unconditional.
35610 [!__ASSUME_32BITUIDS]: Remove conditional code.
35611 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35612 <kernel-features.h>.
35613 [__ASSUME_32BITUIDS]: Make code unconditional.
35614 [!__ASSUME_32BITUIDS]: Remove conditional code.
35615 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35616 <kernel-features.h>.
35617 [__ASSUME_32BITUIDS]: Make code unconditional.
35618 [!__ASSUME_32BITUIDS]: Remove conditional code.
35619 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35620 <kernel-features.h>.
35621 [__ASSUME_32BITUIDS]: Make code unconditional.
35622 [!__ASSUME_32BITUIDS]: Remove conditional code.
35623 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35624 <kernel-features.h>.
35625 [__NR_setresgid] (__setresgid): Do not declare.
35626 [__ASSUME_32BITUIDS]: Make code unconditional.
35627 [!__ASSUME_32BITUIDS]: Remove conditional code.
35628 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35629 <kernel-features.h>.
35630 [__NR_setresuid] (__setresuid): Do not declare.
35631 [__ASSUME_32BITUIDS]: Make code unconditional.
35632 [!__ASSUME_32BITUIDS]: Remove conditional code.
35633 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35634 <kernel-features.h>.
35635 [__ASSUME_32BITUIDS]: Make code unconditional.
35636 [!__ASSUME_32BITUIDS]: Remove conditional code.
35637 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35638 <kernel-features.h>.
35639 [__ASSUME_32BITUIDS]: Make code unconditional.
35640 [!__ASSUME_32BITUIDS]: Remove conditional code.
35641 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35642 <kernel-features.h>.
35643 [__ASSUME_32BITUIDS]: Make code unconditional.
35644 [!__ASSUME_32BITUIDS]: Remove conditional code.
35645 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35646 <kernel-features.h>.
35647 [__ASSUME_32BITUIDS]: Make code unconditional.
35648 [!__ASSUME_32BITUIDS]: Remove conditional code.
35649 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35650 <kernel-features.h>.
35651 [__ASSUME_32BITUIDS]: Make code unconditional.
35652 [!__ASSUME_32BITUIDS]: Remove conditional code.
35653 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35654 <kernel-features.h>.
35655 [__ASSUME_32BITUIDS]: Make code unconditional.
35656 [!__ASSUME_32BITUIDS]: Remove conditional code.
35657 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35658 <kernel-features.h>.
35659 [__ASSUME_32BITUIDS]: Make code unconditional.
35660 [!__ASSUME_32BITUIDS]: Remove conditional code.
35661 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35662 <kernel-features.h>.
35663 [__ASSUME_32BITUIDS]: Make code unconditional.
35664 [!__ASSUME_32BITUIDS]: Remove conditional code.
35665 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35666 <kernel-features.h>.
35667 [__ASSUME_32BITUIDS]: Make code unconditional.
35668 [!__ASSUME_32BITUIDS]: Remove conditional code.
35669 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35670 <kernel-features.h>.
35671 [__ASSUME_32BITUIDS]: Make code unconditional.
35672 [!__ASSUME_32BITUIDS]: Remove conditional code.
35673 * sysdeps/unix/sysv/linux/kernel-features.h
35674 (__ASSUME_SETRESUID_SYSCALL): Remove.
35675 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35676 (__ASSUME_32BITUIDS): Likewise.
35677 (__ASSUME_LDT_WORKS): Likewise.
35678 (__ASSUME_O_DIRECTORY): Likewise.
35679 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35680 architecture but not kernel version.
35681 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35682 (__ASSUME_MMAP2_SYSCALL): Likewise.
35683 (__ASSUME_STAT64_SYSCALL): Likewise.
35684 (__ASSUME_IPC64): Likewise.
35685 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35686 <kernel-features.h>.
35687 [__ASSUME_32BITUIDS]: Make code unconditional.
35688 [!__ASSUME_32BITUIDS]: Remove conditional code.
35689 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35690 <kernel-features.h>.
35691 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35692 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35693 132096]: Remove conditional code.
35694 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35695 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35696 <kernel-features.h>.
35697 [__ASSUME_32BITUIDS]: Make code unconditional.
35698 [!__ASSUME_32BITUIDS]: Remove conditional code.
35699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35700 <kernel-features.h>.
35701 [__ASSUME_32BITUIDS]: Make code unconditional.
35702 [!__ASSUME_32BITUIDS]: Remove conditional code.
35703 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35704 <kernel-features.h>.
35705 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35706 unconditional.
35707 (__setresgid): Do not declare.
35708 [__ASSUME_32BITUIDS]: Make code unconditional.
35709 [!__ASSUME_32BITUIDS]: Remove conditional code.
35710 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35711 <kernel-features.h>.
35712 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35713 unconditional.
35714 (__setresuid): Do not declare.
35715 [__ASSUME_32BITUIDS]: Make code unconditional.
35716 [!__ASSUME_32BITUIDS]: Remove conditional code.
35717 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35718 <kernel-features.h>.
35719 [__ASSUME_32BITUIDS]: Make code unconditional.
35720 [!__ASSUME_32BITUIDS]: Remove conditional code.
35721 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35722 <kernel-features.h>.
35723 [__ASSUME_32BITUIDS]: Make code unconditional.
35724 [!__ASSUME_32BITUIDS]: Remove conditional code.
35725
a386f1cc
RH
357262012-05-25 Richard Henderson <rth@twiddle.net>
35727
35728 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35729 dl_hwcap to ifunc resolver.
35730 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35731 elf_ifunc_invoke.
35732 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35733 dl_hwcap to ifunc resolver.
35734 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35735
b6550497
JM
357362012-05-24 Joseph Myers <joseph@codesourcery.com>
35737
35738 [BZ #14153]
35739 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35740 for |x| <= 2**-26, not 2**-57.
35741 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35742 exception.
35743
b0bc23a1
JL
357442012-05-24 Jeff Law <law@redhat.com>
35745
35746 * stdio-common/Makefile (tests): Add bug25.
35747 * stdio-common/bug25.c: New test.
35748
347c92e9
L
357492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35750
35751 [BZ #13576]
35752 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35753 multiple of MALLOC_ALIGNMENT in size.
35754 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35755
6bcc8b3f
JM
357562012-05-24 Joseph Myers <joseph@codesourcery.com>
35757
35758 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35759 Require >= 256.
35760 (FILENAME_MAX): Use macro-int-constant.
35761 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35762 (_IOFBF): Use macro-int-constant.
35763 (_IOLBF): Likewise.
35764 (_IONBF): Likewise.
35765 (SEEK_CUR): Likewise.
35766 (SEEK_END): Likewise.
35767 (SEEK_SET): Likewise.
35768 (TMP_MAX): Likewise.
35769 (EOF): Use macro-int-constant. Require < 0.
35770 (NULL): Use macro-constant. Require == 0.
35771 (stdin): Require type to be FILE *.
35772 (stdout): Likewise.
35773 (stderr): Likewise.
35774 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35775 macro-int-constant.
35776 (EXIT_SUCCESS): Likewise.
35777 (NULL): Use macro-constant. Require == 0.
35778 (RAND_MAX): Use macro-int-constant.
35779 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35780 [C99-based standards] (strtof): Require function.
35781 [C99-based standards] (strtold): Likewise.
35782 [C99-based standards] (strtoll): Likewise.
35783 [C99-based standards] (strtoull): Likewise.
35784 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35785 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35786 [ISO || ISO99 || ISO11] (math.h): Likewise.
35787 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35788 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35790
d18ea0c5
AS
357912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35792
35793 [BZ #14132]
56d25bb8
AS
35794 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35795 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35796 * intl/dgettext.c (DCGETTEXT): Likewise.
35797 * intl/gettext.c (DCGETTEXT): Likewise.
35798 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35799 * posix/regex_internal.h (gettext): Likewise.
35800 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35801 Remove declaration.
35802 * include/argz.h (__argz_count_internal)
35803 (__argz_stringify_internal): Remove declaration.
35804 (__argz_count, __argz_stringify): Declare hidden proto.
35805 * intl/dcgettext.c: Remove use of INTDEF.
35806 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35807 * string/argz-stringify.c: Likewise.
35808 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35809 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35810 Declare hidden proto.
d18ea0c5
AS
35811 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35812 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35813 Declare hidden proto.
35814 * include/stdio.h (__asprintf_internal): Don't declare.
35815 (__asprintf): Don't define as macro. Declare hidden proto.
35816 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35817 (__fsetlocking): Declare hidden proto.
35818 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35819 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35820 hidden proto.
35821 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35822 (_IO_setlinebuf): Remove use of INTUSE.
35823 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35824 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35825 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35826 Remove declaration.
35827 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35828 (_IO_do_flush): Remove use of INTUSE.
35829 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35830 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35831 (_IO_adjust_column, _IO_least_wmarker)
35832 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35833 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35834 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35835 (_IO_default_doallocate, _IO_wdefault_doallocate)
35836 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35837 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35838 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35839 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35840 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35841 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35842 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35843 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35844 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35845 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35846 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35847 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35848 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35849 proto.
35850 (_IO_flush_all_internal, _IO_adjust_column_internal)
35851 (_IO_default_uflow_internal, _IO_default_finish_internal)
35852 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35853 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35854 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35855 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35856 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35857 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35858 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35859 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35860 (_IO_file_close_internal, _IO_file_close_it_internal)
35861 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35862 (_IO_file_init_internal, _IO_file_attach_internal)
35863 (_IO_file_fopen_internal, _IO_file_read_internal)
35864 (_IO_file_sync_internal, _IO_file_seek_internal)
35865 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35866 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35867 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35868 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35869 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35870 (_IO_list_all_internal, _IO_link_in_internal)
35871 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35872 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35873 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35874 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35875 (_IO_do_write_internal, _IO_padn_internal)
35876 (_IO_getline_info_internal, _IO_getline_internal)
35877 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35878 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35879 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35880 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35881 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35882 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35883 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35884 with libc_hidden_ver, remove use of INTUSE.
35885 * libio/genops.c: Likewise.
35886 * libio/freopen.c: Likewise.
35887 * libio/freopen64.c: Likewise.
35888 * libio/iofclose.c: Likewise.
35889 * libio/iofdopen.c: Likewise.
35890 * libio/iofflush.c: Likewise.
35891 * libio/iofflush_u.c: Likewise.
35892 * libio/iofgets.c: Likewise.
35893 * libio/iofgets_u.c: Likewise.
35894 * libio/iofopen.c: Likewise.
35895 * libio/iofopncook.c: Likewise.
35896 * libio/iofread.c: Likewise.
35897 * libio/iofread_u.c: Likewise.
35898 * libio/ioftell.c: Likewise.
35899 * libio/iofwrite.c: Likewise.
35900 * libio/iogetline.c: Likewise.
35901 * libio/iogets.c: Likewise.
35902 * libio/iogetwline.c: Likewise.
35903 * libio/iopadn.c: Likewise.
35904 * libio/iopopen.c: Likewise.
35905 * libio/ioseekoff.c: Likewise.
35906 * libio/ioseekpos.c: Likewise.
35907 * libio/iosetbuffer.c: Likewise.
35908 * libio/iosetvbuf.c: Likewise.
35909 * libio/ioungetc.c: Likewise.
35910 * libio/ioungetwc.c: Likewise.
35911 * libio/iovdprintf.c: Likewise.
35912 * libio/iovsprintf.c: Likewise.
35913 * libio/iovsscanf.c: Likewise.
35914 * libio/memstream.c: Likewise.
35915 * libio/obprintf.c: Likewise.
35916 * libio/oldfileops.c: Likewise.
35917 * libio/oldiofclose.c: Likewise.
35918 * libio/oldiofdopen.c: Likewise.
35919 * libio/oldiofopen.c: Likewise.
35920 * libio/oldiopopen.c: Likewise.
35921 * libio/oldstdfiles.c: Likewise.
35922 * libio/putc.c: Likewise.
35923 * libio/setbuf.c: Likewise.
35924 * libio/setlinebuf.c: Likewise.
35925 * libio/stdfiles.c: Likewise.
35926 * libio/strops.c: Likewise.
35927 * libio/vasprintf.c: Likewise.
35928 * libio/vscanf.c: Likewise.
35929 * libio/vsnprintf.c: Likewise.
35930 * libio/vswprintf.c: Likewise.
35931 * libio/wfiledoalloc.c: Likewise.
35932 * libio/wfileops.c: Likewise.
35933 * libio/wgenops.c: Likewise.
35934 * libio/wmemstream.c: Likewise.
35935 * libio/wstrops.c: Likewise.
35936 * libio/__fpurge.c: Likewise.
35937 * libio/__fsetlocking.c: Likewise.
35938 * assert/assert.c: Likewise.
35939 * debug/fgets_chk.c: Likewise.
35940 * debug/fgets_u_chk.c: Likewise.
35941 * debug/fread_chk.c: Likewise.
35942 * debug/fread_u_chk.c: Likewise.
35943 * debug/gets_chk.c: Likewise.
35944 * debug/obprintf_chk.c: Likewise.
35945 * debug/vasprintf_chk.c: Likewise.
35946 * debug/vdprintf_chk.c: Likewise.
35947 * debug/vsnprintf_chk.c: Likewise.
35948 * debug/vsprintf_chk.c: Likewise.
35949 * malloc/mtrace.c: Likewise.
35950 * misc/error.c: Likewise.
35951 * misc/syslog.c: Likewise.
35952 * stdio-common/asprintf.c: Likewise.
35953 * stdio-common/fxprintf.c: Likewise.
35954 * stdio-common/getw.c: Likewise.
35955 * stdio-common/isoc99_fscanf.c: Likewise.
35956 * stdio-common/isoc99_scanf.c: Likewise.
35957 * stdio-common/isoc99_vfscanf.c: Likewise.
35958 * stdio-common/isoc99_vscanf.c: Likewise.
35959 * stdio-common/isoc99_vsscanf.c: Likewise.
35960 * stdio-common/printf-prs.c: Likewise.
35961 * stdio-common/printf_fp.c: Likewise.
35962 * stdio-common/printf_fphex.c: Likewise.
35963 * stdio-common/printf_size.c: Likewise.
35964 * stdio-common/putw.c: Likewise.
35965 * stdio-common/scanf.c: Likewise.
35966 * stdio-common/sprintf.c: Likewise.
35967 * stdio-common/tmpfile.c: Likewise.
35968 * stdio-common/vfprintf.c: Likewise.
35969 * stdio-common/vfscanf.c: Likewise.
35970 * stdlib/strfmon_l.c: Likewise.
35971 * sunrpc/openchild.c: Likewise.
35972 * sunrpc/xdr_stdio.c: Likewise.
35973 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35974 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35975
d6c33fda
RM
359762012-05-24 Roland McGrath <roland@hack.frob.com>
35977
c1487492
RM
35978 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35979
35980 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35981 in the third column, to generate for the shared library an IFUNC
35982 that uses _dl_vdso_vsym.
35983 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35984 * Makeconfig (object-suffixes-noshared): New variable.
35985
35986 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35987 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35988 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35989 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35990
d6c33fda
RM
35991 [BZ #14132]
35992 * include/sys/time.h (__gettimeofday): Remove macro.
35993 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35994 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35995 Remove INTDEF.
35996 (__gettimeofday): Add libc_hidden_def.
35997 (gettimeofday): Add libc_hidden_weak.
35998 * sysdeps/mach/gettimeofday.c: Likewise.
35999 * sysdeps/posix/gettimeofday.c: Likewise.
36000 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36001 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36003 (__gettimeofday_internal): Remove strong_alias.
36004 (__gettimeofday): Add libc_hidden_def.
36005 (gettimeofday): Add libc_hidden_weak.
36006 * sysdeps/unix/syscalls.list (gettimeofday):
36007 Remove __gettimeofday_internal alias.
36008
b5a2bbe6
L
360092012-05-24 Daniel Jacobowitz <drow@false.org>
36010 H.J. Lu <hongjiu.lu@intel.com>
36011
36012 [BZ #12495]
36013 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36014 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36015 (largebin_index_32_big): New.
36016 (largebin_index): Use it for 16-byte alignment.
36017 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36018 correction with front_misalign.
36019
cfba4fda
L
360202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36021
7f907421
L
36022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36024 Likewise.
36025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36026 Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36028 Likewise.
36029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36030 Likewise.
36031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36032 Likewise.
36033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36034 Likewise.
36035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36036 Likewise.
36037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36038 Likewise.
36039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36040 Likewise.
36041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36042 Likewise.
36043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36044 Likewise.
36045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36046 Likewise.
36047
cfba4fda
L
36048 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36049 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36050
80bad0cc
JM
360512012-05-24 Joseph Myers <joseph@codesourcery.com>
36052
7a25eb06
JM
36053 [BZ #10846]
36054 [BZ #14036]
36055 * math/libm-test.inc (exp_test): Add test from bug 14036.
36056 (pow_test): Add test from bug 10846.
36057
795405f9
JM
36058 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36059 and other flags.
36060 (special_function): Do not include flags in test name.
36061 (parse_args): Likewise.
36062 * sysdeps/i386/fpu/libm-test-ulps: Update.
36063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36064 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36065 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36067
80bad0cc
JM
36068 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36069 exceptions.
36070 * math/libm-test.inc ("Philosophy"): Update comment about
36071 exception testing.
36072 (UNDERFLOW_EXCEPTION): New macro.
36073 (UNDERFLOW_EXCEPTION_OK): Likewise.
36074 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36075 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36076 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36077 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36078 (INVALID_EXCEPTION_OK): Update value.
36079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36080 (OVERFLOW_EXCEPTION_OK): Likewise.
36081 (IGNORE_ZERO_INF_SIGN): Likewise.
36082 (test_exceptions): Handle underflow exceptions.
36083 (acos_test): Update for underflow exception expectations.
36084 (cexp_test): Likewise.
36085 (clog_test): Likewise.
36086 (clog10_test): Likewise.
36087 (csqrt_test): Likewise.
36088 (ctan_test): Likewise.
36089 (ctanh_test): Likewise.
36090 (exp_test): Likewise.
36091 (exp10_test): Likewise.
36092 (exp2_test): Likewise.
36093 (expm1_test): Likewise.
36094 (fma_test): Likewise.
36095 (j0_test): Likewise.
36096 (jn_test): Likewise.
36097 (nexttoward_test): Likewise.
36098 (pow_test): Likewise.
36099 (scalbn_test): Likewise.
36100 (scalbln_test): Likewise.
36101 (tan_test): Likewise.
36102 (y1_test): Likewise.
36103 * sysdeps/i386/fpu/libm-test-ulps: Update.
36104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36105
9e0e3d0b
DM
361062012-05-23 David S. Miller <davem@davemloft.net>
36107
36108 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36109 (__libc_sigaction): Remove unused local variables.
36110
ccd0a08f
L
361112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36112
36113 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36114
62bdf9a6
PE
361152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36116
f8591f80
PE
36117 mktime: avoid signed integer overflow
36118 * time/mktime.c (__mktime_internal): Do not mishandle the case
36119 where diff == INT_MIN.
36120
94c7d826
PE
36121 mktime: simplify computation of average
36122 * time/mktime.c (ranged_convert): Use new time_t_avg function
36123 instead of rolling our own (probably-slower) code.
36124
ce73d683
PE
36125 mktime: do not assume signed right shift propagates sign bit
36126 * time/mktime.c (isdst_differ): New static function.
36127 (__mktime_internal): No need to normalize tm_isdst now.
36128 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36129 tm_isdst values.
36130
72a22e59
PE
36131 mktime: merge another wrapv change from gnulib
36132 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36133 from some compilers.
36134
68605433
PE
36135 mktime: remove incorrect attempt at unusual arithmetics
36136 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36137 The code didn't really work on such machines anyway.
36138 (TYPE_MINIMUM): Assume two's complement.
36139 (twos_complement_arithmetic): Verify that long_int and time_t
36140 are two's complement (or unsigned, in the latter case).
36141
03cf7fe3
PE
36142 mktime: check signed shifts on long_int and time_t, too
36143 * time/mktime.c (SHR): Check that shifts work as desired
36144 on the types long_int and time_t too, as SHR is used on
36145 such types.
36146
f04dfbc2
PE
36147 mktime: do not assume 'long' is wide enough
36148 * time/mktime.c (verify): Move decl up.
36149 (long_int): New type.
36150 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36151 to remove assumption in the code that 'long' is wide enough to
36152 store year values. This assumption is not true on x32 and on
36153 some non-glibc platforms.
36154
62bdf9a6
PE
36155 mktime: merge wrapv change from gnulib
36156 * time/mktime.c (WRAPV): New macro.
36157 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36158 (guess_time_tm, __mktime_internal): Do not assume that signed
36159 integer overflow wraps around; modern compilers generate code
36160 where this assumption is no longer valid.
36161
5e292e4f
L
361622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36163
36164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36165 Replace "jmp L(pseudo_end)" with "ret".
36166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36167 Likewise.
36168
8caf8c87
AJ
361692012-05-23 Andreas Jaeger <aj@suse.de>
36170
36171 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36172 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36173
1a09dc56
AJ
361742012-05-23 Andreas Jaeger <aj@suse.de>
36175 Maximilian Attems <max@stro.at>
36176
36177 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36178 New macros.
36179
1c87aba0
L
361802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36181
36182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36183 code so that pseudo_end is just ret and the stack pointer is
36184 correct also for static library in error case.
36185
40e45bd5
JM
361862012-05-23 Joseph Myers <joseph@codesourcery.com>
36187
c2670533
JM
36188 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36189 move to syscalls.list.
36190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36194
40e45bd5
JM
36195 * manual/install.texi (Running make install): Do not mention Linux
36196 kernel version for which pt_chown is not needed.
36197 (Linux): Do not mention problems with nscd with 2.0 kernels.
36198 * INSTALL: Regenerated.
36199
be08eda5
AJ
362002012-05-23 Andreas Jaeger <aj@suse.de>
36201
36202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36203 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36204 macro.
36205 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36207 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36209 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36215 * sysdeps/unix/sysv/linux/bits/in.h
36216 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36217
a6a056bb
RM
362182012-05-22 Roland McGrath <roland@hack.frob.com>
36219
36220 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36221 (PREPARE_VERSION): Just use assert instead, it will be elided
36222 under [NDEBUG] anyway.
36223
c9009328
L
362242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36225
36226 * sysdeps/unix/sysv/linux/Makefile: Include
36227 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36228 (sysdep_routines): Remove sysctl.
c9009328
L
36229 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36230 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36231 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36232 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36233 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36234
73338355
AJ
362352012-05-22 Andreas Jaeger <aj@suse.de>
36236
36237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36238 that pseudo_end is just ret and the stack pointer is correct also
36239 for static library in error case.
36240
d44638b0
PP
362412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36242
36243 [BZ #14122]
36244 * nss/nsswitch.c (defconfig_entries): New variable.
36245 (__nss_database_lookup): Don't leak defconfig entries.
36246 (nss_parse_service_list): Don't leak on error paths.
36247 (free_database_entries): New function.
36248 (free_defconfig): New function.
36249 (free_mem): Move common code to free_database_entries.
36250
31a39bd8
L
362512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36252
da0331a8
L
36253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36254 Add arch_prctl.
36255 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36256
31a39bd8
L
36257 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36258 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36260 New macro.
36261 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36262 (INTERNAL_SYSCALL_TYPES): Likewise.
36263 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36264 (LOAD_REGS_TYPES_[1-6]): Likewise.
36265 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36266 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36267
45470df3
AZ
362682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36269
36270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36271 copysignl for GLIBC_2_0.
36272 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36273 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36275 logbl for GLIBC_2_0.
36276 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36277 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36278
98a61bcb
L
362792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36280
a4f6e481
L
36281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36283
f63d5db6
L
36284 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36285 Use "neg %eax".
36286
98a61bcb
L
36287 * time/mktime.c: Update copyright years.
36288
95770f14
PE
362892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36290
6226efbd
PE
36291 mktime: merge comment-quoting-style change from gnulib
36292 * time/mktime.c: Quote 'like this' in comments.
36293 The GNU coding standards suggest that we no longer quote `like this',
36294 as "`" and "'" are typically rendered asymmetrically nowadays.
36295 The typical gnulib style is to quote 'like this' when quoting
36296 code, and "like this" when quoting English.
36297
b99e4f78
PE
36298 * time/mktime.c (compile-command): Add "-I.".
36299
643e01e6
PE
36300 mktime: merge mktime-internal.h change from gnulib
36301 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36302
2554247d
PE
36303 mktime: merge time_r change from gnulib
36304 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36305
826dd0ab
PE
36306 mktime: merge DEBUG change from gnulib
36307 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36308 case system <time.h> has a #define.
36309
bd83aabe
PE
36310 mktime: merge <sys/types.h> change from gnulib
36311 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36312 since <time.t> is now guaranteed to define time_t.
36313
95770f14
PE
36314 mktime: merge HAVE_CONFIG_H change from gnulib
36315 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36316
5e1a27a9
L
363172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36318
0e44a77e
L
36319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36320 Use "neg %eax".
36321
5e1a27a9
L
36322 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36323 __rlim_t cast.
36324 (struct rusage): Use anonymous union to pad each field to
36325 __syscall_slong_t.
36326
46259bec
DM
363272012-05-21 David S. Miller <davem@davemloft.net>
36328
36329 * Makefules (o-iterator): Remove .s cases.
36330 (compile-command.s): Delete.
36331 (COMPILE.s): Delete.
36332 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36333
59f0c22e
JM
363342012-05-21 Joseph Myers <joseph@codesourcery.com>
36335
36336 * configure.in (libc_cv_predef_stack_protector): Only consider
36337 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36338 * configure: Regenerated.
36339
20c07380
L
363402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36341
bbb3154b
L
36342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36343 New macro. Use R*LP on int and pointer.
36344 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36345 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36346 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36347 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36348
20c07380
L
36349 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36350 [__WORDSIZE_TIME64_COMPAT32] instead of
36351 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36352 (struct utmp): Likewise.
36353 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36354 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36355 Renamed to ...
36356 (__WORDSIZE_TIME64_COMPAT32): This.
36357 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36358 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36359 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36360 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36361 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36362 (__WORDSIZE_TIME64_COMPAT32): New macro.
36363
d8d1017e
AJ
363642012-05-21 Andreas Jaeger <aj@suse.de>
36365
36366 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36367 only if [SHARED]. Add prototype for __wcschr_ia32.
36368
6c7fb145
RM
363692012-05-21 Roland McGrath <roland@hack.frob.com>
36370
36371 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36372 of %rbp unmolested in the jmp_buf while mangling the low bits.
36373 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36374 unmolested high bits of %rbp while demangling the low bits.
36375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36376
66274218
AJ
363772012-05-21 Andreas Jaeger <aj@suse.de>
36378
07c58f8f
AJ
36379 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36380 * sunrpc/svc_simple.c: Use it for registerrpc.
36381 * sunrpc/xcrypt.c: Use it for passwd2des.
36382
66274218
AJ
36383 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36384
61f65140
L
363852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36386
36387 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36388 Don't define if [__SYSCALL_WORDSIZE != 32].
36389 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36390 New macro.
36391
5fefb436
AJ
363922012-05-21 Bruno Haible <bruno@clisp.org>
36393 Andreas Jaeger <aj@suse.de>
36394
36395 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36396 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36397 inptr and inend for must_buffer_ch.
36398 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36399 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36400 * stdio-common/Makefile (tests): Remove bug15.
36401 (bug15-ENV): Remove macro.
36402 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36403 anymore.
36404
d8e272ab
AJ
364052012-05-19 Andreas Jaeger <aj@suse.de>
36406 Roland McGrath <roland@hack.frob.com>
36407
36408 * manual/contrib.texi: Completely rewritten. It contains now an
36409 alphabetical list of contributors and their contributions.
36410
4a56a162
RH
364112012-05-21 Richard Henderson <rth@twiddle.net>
36412
36413 * misc/getauxval.c (__getauxval): Use unsigned long int.
36414 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36415 (getauxval): Use unsigned long int.
36416
d024d23c
L
364172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36418
36419 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36420
cbc00a03
RM
364212012-05-21 Roland McGrath <roland@hack.frob.com>
36422
36423 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36424 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36425 __alignof__ (long double).
36426
478143fa
AZ
364272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36428
36429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36430
c7683a6d
RH
364312012-05-20 Richard Henderson <rth@twiddle.net>
36432
36433 * misc/getauxval.c: New file.
36434 * misc/sys/auxv.h: New file.
36435 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36436 (routines): Add getauxval.
36437 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36438 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36439 * elf/dl-sysdep.c (_dl_auxv): Remove.
36440 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36441 * elf/dl-support.c (_dl_auxv): New variable.
36442 (_dl_aux_init): Initialize it.
36443 * manual/startup.texi (Auxiliary Vector): New node.
36444 * sysdeps/generic/bits/hwcap.h: New file.
36445 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36446 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36447 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36448 * sysdeps/sparc/sysdep.h: ... here. Include it.
36449 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36452 Update.
c7683a6d
RH
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36461
a6f1845d
AZ
364622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36463
36464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36465
cbcbe830
DM
364662012-05-19 David S. Miller <davem@davemloft.net>
36467
36468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36469
e0b16cc2
JM
364702012-05-19 Joseph Myers <joseph@codesourcery.com>
36471
36472 [BZ #14123]
36473 * math/s_ccosh.c: Include <float.h>
36474 (__ccosh): Avoid internal overflow calculating sinh and cosh
36475 values before multiplying by sin and cos values.
36476 * math/s_ccoshf.c: Likewise.
36477 * math/s_ccoshl.c: Likewise.
36478 * math/s_csin.c: Likewise.
36479 * math/s_csinf.c: Likewise.
36480 * math/s_csinl.c: Likewise.
36481 * math/s_csinh.c: Likewise.
36482 * math/s_csinhf.c: Likewise.
36483 * math/s_csinhl.c: Likewise.
36484 * math/libm-test.inc (ccos_test): Add more tests.
36485 (ccosh_test): Likewise.
36486 (csin_test): Likewise.
36487 (csinh_test): Likewise.
36488 * sysdeps/i386/fpu/libm-test-ulps: Update.
36489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36490
6ad13e08
L
364912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36492
f66f0ce8
L
36493 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36494 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36495
6ad13e08
L
36496 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36497
b1d072a7
JM
364982012-05-19 Joseph Myers <joseph@codesourcery.com>
36499
36500 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36501 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36502 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36503 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36504 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36505 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36506 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36507 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36508 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36509 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36510 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36511 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36512 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36513 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36514 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36515 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36516 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36517 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36518 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36519 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36520 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36521 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36522 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36523 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36524 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36525 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36526 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36527 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36528 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36529 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36530 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36531
9eae47cb
AJ
365322012-05-18 Andreas Jaeger <aj@suse.de>
36533
36534 * csu/.gitignore: Delete.
36535
bb07f69f
L
365362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36537
36538 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36539 (timex): Use __syscall_slong_t.
36540
e6bdb741
AJ
365412012-05-18 Andreas Jaeger <aj@suse.de>
36542 Carlos O'Donell <carlos_odonell@mentor.com>
36543
36544 * manual/install.texi (Configuring and compiling): Update
36545 description about files modified in the source directory.
d6c33fda 36546 * INSTALL: Regenerated.
e6bdb741 36547
1b74487e
L
365482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36549
36550 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36551 value. Use "or" to set return value to -1.
36552 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36553 negate return value.
36554
a88b64b9
TMQMF
365552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36556
57f41c40
AS
36557 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36558 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36559 failure if the compiler has Graphite support disabled.
36560 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36561 Likewise.
57f41c40
AS
36562 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36563 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36564 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36565 Likewise.
36566
3707636e
L
365672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36568
610b8622
L
36569 * sysdeps/x86_64/x32/_itoa.h: New file.
36570
7cd195df
L
36571 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36572 getdents system call only if kernel and user dirents have the
36573 same d_ino and d_off.
36574
94b07d20
L
36575 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36576 LLONG_MAX != LONG_MAX.
36577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36578 (_fitoa_word): Likewise.
36579
18298070
L
36580 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36581 years.
36582 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36583 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36584 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36585
553c7ea4
L
36586 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36587 include <bits/wordsize.h>. Check __x86_64__ instead of
36588 __WORDSIZE.
36589 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36590 if __x86_64__ is defined. Use anonymous union on fpstate.
36591
3707636e
L
36592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36593 anonymous union.
36594
b53ef01a
AS
365952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36596
37fb1dc0
AS
36597 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36598 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36599 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36600 Refer to _rtld_local_ro instead of _rtld_global_ro.
36601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36602 Likewise.
36603 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36604 Likewise.
36605 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36606 Likewise.
36607 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36608 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36609 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36610
b53ef01a
AS
36611 * sysdeps/powerpc/powerpc32/dl-machine.c
36612 (__elf_machine_runtime_setup) [PROF]: Don't reference
36613 _dl_prof_resolve.
36614
7a185db2
AJ
366152012-05-18 Andreas Jaeger <aj@suse.de>
36616
36617 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36618 function only available for GCCs before 3.4 since GCC 3.4
36619 introduced a builtin.
36620 (lrint): Likewise.
36621 (llrintf): Likewise.
36622 (llrint): Likewise.
36623 (fmaxf): Likewise.
36624 (fmax): Likewise.
36625 (fminf): Likewise.
36626 (fmin): Likewise.
36627 (rint): Likewise.
36628 (rintf): Likewise.
36629 (nearbyint): Likewise.
36630 (nearbyintf): Likewise.
36631 (ceil): Likewise.
36632 (ceilf): Likewise.
36633 (floor): Likewise.
36634 (floorf): Likewise.
36635
3e5aef87
L
366362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36637
428bd707
L
36638 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36639 on both fields and cast pointer to __syscall_ulong_t.
36640
3e5aef87
L
36641 * bits/types.h (__fsword_t): New type.
36642 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36643 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36645 (__FSWORD_T_TYPE): Likewise.
36646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36647 (__FSWORD_T_TYPE): Likewise.
36648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36649 (__FSWORD_T_TYPE): Likewise.
36650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36651 (__FSWORD_T_TYPE): Likewise.
36652 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36653 __SWORD_TYPE with __fsword_t.
36654 (statfs64): Likewise.
36655
1ba7c3dc
DM
366562012-05-17 David S. Miller <davem@davemloft.net>
36657
36658 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36659
59910343
AJ
366602012-05-17 Andreas Jaeger <aj@suse.de>
36661
36662 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36663 warning.
36664
2e4c1e9e
L
366652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36666
36667 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36668
de7f5ce7
AJ
366692012-05-17 Andreas Jaeger <aj@suse.de>
36670
36671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36672 when it is used.
36673
286abc3d
CM
366742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36675
36676 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36677
477cc68e
L
366782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36679
36680 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36681 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36682
1a0994f5
CD
366832012-05-17 Andreas Jaeger <aj@suse.de>
36684 Carlos O'Donell <carlos_odonell@mentor.com>
36685
36686 [BZ #14059]
36687 * sysdeps/x86_64/multiarch/init-arch.h
36688 (bit_YMM_Usable): Rename to...
36689 (bit_AVX_Usable): ... this.
36690 (bit_FMA4_Usable): New macro.
36691 (bit_XMM_state): New macro.
36692 (bit_YMM_state): New macro.
36693 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36694 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36695 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36696 (CPUID_OSXSAVE): New macro.
36697 (CPUID_AVX): New macro.
36698 (CPUID_FMA4): New macro.
36699 (index_YMM_Usable): Rename to...
36700 (index_AVX_Usable): ... this.
36701 (HAS_AVX): Use HAS_ARCH_FEATURE.
36702 (HAS_FMA4): Likewise.
36703 (HAS_YMM_USABLE): Remove.
36704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36705 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36706 are present.
36707 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36708 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36709 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36710 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36711 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36712
0af797de
CM
367132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36714
36715 * math/libm-test.c: Support platforms without multiple rounding modes.
36716 * math/bug-nextafter.c: Support platforms without FP exceptions.
36717 * math/bug-nexttoward.c: Likewise.
36718 * math/test-fenv.c: Likewise.
36719 * math/test-misc.c: Likewise.
36720 * stdlib/bug-getcontext.c: Likewise.
36721
e39745ff
AJ
367222012-05-17 Andreas Jaeger <aj@suse.de>
36723
36724 * manual/examples/search.c (critter_cmp): Change signature to
36725 avoid warnings.
36726 * manual/string.texi (Collation Functions): Likewise.
36727
48970aba
L
367282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36729
36730 * bits/types.h: Fold copyright years.
36731 * bits/typesizes.h: Likewise.
36732 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36736 * time/time.h: Likewise.
36737
bedee953
PP
367382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36739
36740 [BZ #208]
36741 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36742 in instead of returning them. Return void.
36743 (__libc_mallinfo): Accumulate over all arenas.
36744 (__malloc_stats): Adjust for change in int_mallinfo interface.
36745
61653dfb
RM
367462012-05-16 Roland McGrath <roland@hack.frob.com>
36747
30b99d79
RM
36748 [BZ #10375]
36749 * configure.in (NM): Add AC_CHECK_TOOL for it.
36750 (libc_extra_cflags): New substituted variable.
36751 Check for -fstack-protector being used implicitly.
36752 * configure: Regenerated.
36753 * config.make.in (config-extra-cflags): New variable,
36754 gets @libc_extra_cflags@.
36755 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36756
61653dfb
RM
36757 [BZ #10375]
36758 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36759 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36760 * configure: Regenerated.
36761 * config.make.in (CPPUNDEFS): New substituted variable.
36762 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36763 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36764 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36765
661768bb
L
367662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36769 (mq_attr): Use __syscall_slong_t.
36770
d4261567
L
367712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36772
36773 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36774 Check __x86_64__ instead of __WORDSIZE.
36775 (_STAT_VER_LINUX): Likewise.
36776 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36777 __syscall_ulong_t and __syscall_slong_t.
36778 (stat64): Likewise.
36779
cf3ff365
L
367802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36781
36782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36783
76cf3e4d
L
367842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36785
36786 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36787
a637753a
L
367882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36789
36790 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36791 __syscall_ulong_t.
36792
d5e05119
L
36793 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36794 include <bits/wordsize.h>. Check __x86_64__ instead of
36795 __WORDSIZE.
36796 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36797 defined.
36798 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36799
f62ee380
L
36800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36801 include <bits/wordsize.h>. Check __x86_64__ instead of
36802 __WORDSIZE.
36803 (user_regs_struct): Use "__extension__ unsigned long long"
36804 instead of "unsigned long" if __x86_64__ is defined.
36805 (user): Likewise. Pad after pointer field if __ILP32__ is
36806 defined.
36807
4e124ced
JM
368082012-05-16 Joseph Myers <joseph@codesourcery.com>
36809
6a3951a0
JM
36810 * configure.in (makeinfo): Require version 4.5 or later. Allow
36811 versions 5 to 9.
36812 * configure: Regenerated.
36813 * manual/install.texi (texinfo): Increase version requirement to
36814 4.5 or later.
36815 * INSTALL: Regenerated.
36816
4e124ced
JM
36817 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36818
953ca31a
L
368192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36820
36821 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36822
617aca05
L
36823 * sysdeps/x86_64/x32/ffs.c: New file.
36824
5762f7ae
L
36825 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36826 __syscall_ulong_t.
36827 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36828 defined. Use __syscall_ulong_t.
36829 (shminfo): Use __syscall_ulong_t.
36830 (shm_info): Likewise.
36831
a26b6856
L
36832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36833 __syscall_ulong_t.
36834
cb2b9ef7
L
36835 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36836 <bits/wordsize.h>.
36837 (msgqnum_t): Use __syscall_ulong_t.
36838 (msglen_t): Likewise.
36839 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36840 __syscall_ulong_t.
36841
34683bb0
L
36842 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36843 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36844
84a68786
L
36845 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36846
48baa5f1
L
36847 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36848 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36849
180be88b
L
36850 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36851 __syscall_slong_t.
36852
5e90c8ad
L
36853 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36854 include <bits/wordsize.h>. Check __x86_64__ instead of
36855 __WORDSIZE.
36856
23dfb58b
L
36857 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36858 "unsigned long long int" if __x86_64__ is defined.
36859 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36860
ce5d54b0
L
36861 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36862 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36863 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36864
13dc9eac
L
36865 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36866 <stdint.h>.
36867 (GET_PC): Cast to uintptr_t first.
36868 (GET_FRAME): Likewise.
36869 (GET_STACK): Likewise.
36870
a7895d15
L
36871 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36872 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36873 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36874 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36875 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36876 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36877 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36878 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36879 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36880 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36881 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36883 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36884 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36885 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36886 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36888 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36889 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36890 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36891 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36893 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36895 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36897 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36898 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36899 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36900
656416c9
AS
369012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36902
5bd66283
AS
36903 * Makerules (+depfiles): Also collect depfiles from .oS in
36904 $(extra-objs).
36905 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36906 .oS, $(libnldbl-routines)).
36907
656416c9
AS
36908 * Makerules (native-compile-mkdep-flags): Define.
36909 * sunrpc/Makefile (extra-objs): Add $(addprefix
36910 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36911 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36912 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36913 calling $(make-target-directory).
36914
a46f2169
L
369152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36916
36917 * bits/types.h (__snseconds_t): Removed.
36918 * time/time.h (struct timespec): Replace __snseconds_t with
36919 __syscall_slong_t.
36920 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36921 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36922 Likewise.
36923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36924 (__SNSECONDS_T_TYPE): Likewise.
36925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36926 (__SNSECONDS_T_TYPE): Likewise.
36927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36928 (__SNSECONDS_T_TYPE): Likewise.
36929
6af6528b
L
369302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36931
36932 * sysdeps/mach/hurd/bits/typesizes.h
36933 (__SYSCALL_SLONG_TYPE): New macro.
36934 (__SYSCALL_ULONG_TYPE): Likewise.
36935
de986b56
L
369362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36937
36938 * bits/types.h (__syscall_slong_t): New type.
36939 (__syscall_ulong_t): Likewise.
36940
36941 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36942 (__SYSCALL_ULONG_TYPE): Likewise.
36943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36944 (__SYSCALL_SLONG_TYPE): Likewise.
36945 (__SYSCALL_ULONG_TYPE): Likewise.
36946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36947 (__SYSCALL_SLONG_TYPE): Likewise.
36948 (__SYSCALL_ULONG_TYPE): Likewise.
36949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36950 (__SYSCALL_SLONG_TYPE): Likewise.
36951 (__SYSCALL_ULONG_TYPE): Likewise.
36952
85736dc7
L
369532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36954
36955 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36956 Add sigaltstack-offsets.sym.
36957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36958 <sigaltstack-offsets.h>.
36959 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36960 longjmp_msg pointer.
36961 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36962 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36963 signal stack.
36964 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36965
cc03b296
JM
369662012-05-15 Joseph Myers <joseph@codesourcery.com>
36967
a9538892
JM
36968 * elf/stackguard-macros.h: Remove file.
36969 * sysdeps/generic/stackguard-macros.h: New file.
36970 * sysdeps/i386/stackguard-macros.h: Likewise.
36971 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36972 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36973 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36974 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36975 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36976 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36977 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36978 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36979 <elf/stackguard-macros.h>.
36980
cc03b296
JM
36981 [BZ #14109]
36982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36983 __aligned__ in attribute.
36984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36985 (gregset_t): Likewise.
36986
93171016
L
369872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36988
36989 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36990 * sysdeps/x86_64/64/Implies-after: Here. New file.
36991 * sysdeps/x86_64/x32/Implies-after: New file.
36992
d86813a0
L
369932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36994
36995 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36996 and access return value for _dl_profile_fixup. Use R10_LP to
36997 load frame size.
36998
2953ec75
L
369992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37000
37001 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37002
3b550e9e
L
370032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37004
37005 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37006 * sysdeps/x86_64/x32/sysdep.h: New file.
37007
eda41706
L
370082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37009
37010 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37011 * sysdeps/x86_64/setjmp.S: Likewise.
37012
9ea01d93
AZ
370132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37014
37015 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37016 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37017 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37019 remove unused global constant.
37020
02a91938
CM
370212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37022
37023 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37024 include of <not-cancel.h>.
37025
6540185f
RM
370262012-05-15 Roland McGrath <roland@hack.frob.com>
37027
37028 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37029
509072a0
AJ
370302012-05-15 Jeff Law <law@redhat.com>
37031 Andreas Jaeger <aj@suse.de>
37032
37033 [BZ #13594]
37034 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37035 out from...
37036 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37037 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37039 code changing __hst_map_handle.map.
37040
ba75122d
RM
370412012-05-15 Roland McGrath <roland@hack.frob.com>
37042
37043 * configure.in (sysnames): Look for Implies-before and Implies-after
37044 files.
37045 * configure: Regenerated.
37046
890d8bd8
L
370472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37048
37049 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37050 8-byte data alignment with LP_SIZE alignment.
37051
f6ee6623
L
370522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37053
37054 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37055 into R10_LP.
37056
ea2626f6
L
370572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37058
37059 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37060
085f715e
L
370612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37062
37063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37064 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37066 Likewise.
37067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37068
be8498fc
L
370692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37070
37071 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37072 (stackinfo_sub_sp): Likewise.
37073
70bc83b9
L
370742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37075
37076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37077 RAX_LP.
37078
9bc0b730
L
370792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37080
37081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37082 into R*_LP.
37083
6d2850e7
L
370842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37085
37086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37087 sizes into R*_LP.
37088
3cb84561
L
370892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37092
54e2ed81
L
370932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37094
37095 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37096 into R11_LP and load __x86_64_shared_cache_size_half into
37097 R8_LP.
37098
8a17f349
L
370992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37100
37101 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37102 R8_LP.
37103
777b1eea
AZ
371042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37105
37106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37107 logb for POWER7.
37108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37109 logbf for POWER7.
37110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37111 logbl for POWER7.
37112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37113 powerpc32/power7/fpu/s_logb.c via #include.
37114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37115 powerpc32/power7/fpu/s_logbf.c via #include.
37116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37117 powerpc32/power7/fpu/s_logbl.c via #include.
37118
d20d4ac2
JM
371192012-05-15 Joseph Myers <joseph@codesourcery.com>
37120
37121 * README.libm: Remove file.
37122
6cdef1ab
L
371232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37124
37125 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37126 count for x32. Use R*_LP and omit operand-size suffix.
37127
0b254d8f
L
371282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37129
37130 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37131 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37132 * sysdeps/x86_64/x32/shlib-versions: New file.
37133
ceb809dc
RM
371342012-05-14 Roland McGrath <roland@hack.frob.com>
37135
37136 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37137 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37138 Use _dl_fatal_printf instead.
37139
37f1abd4
JM
371402012-05-14 Joseph Myers <joseph@codesourcery.com>
37141
37142 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37143 set if not set by the user. Do not allow for being unset.
37144 * sysdeps/unix/sysv/linux/configure: Regenerated.
37145
11de3a33
L
371462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37147
37148 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37149 the `q' suffix from lea and replace .quad with ASM_ADDR.
37150
e02f153a
L
371512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37152
37153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37154 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37155 instead of $17.
37156 (PTR_DEMANGLE): Likewise.
37157
520ae0fd
L
371582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37159
37160 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37161 (LP_OP): Likewise.
37162 (ASM_ADDR): Likewise.
37163 (RAX_LP): Likewise.
37164 (RBP_LP): Likewise.
37165 (RBX_LP): Likewise.
37166 (RCX_LP): Likewise.
37167 (RDI_LP): Likewise.
37168 (RSI_LP): Likewise.
37169 (RSP_LP): Likewise.
37170 (R8_LP): Likewise.
37171 (R9_LP): Likewise.
37172 (R10_LP): Likewise.
37173 (R10_LP): Likewise.
37174 (R11_LP): Likewise.
37175 (R12_LP): Likewise.
37176 (R13_LP): Likewise.
37177 (R14_LP): Likewise.
37178 (R15_LP): Likewise.
37179
b985be81
L
371802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37181
37182 * sysdeps/x86_64/x32/dl-machine.h: New file.
37183
6a4888ff
AJ
371842012-05-14 Andreas Jaeger <aj@suse.de>
37185
37186 * manual/Makefile (subdir): Remove export of subdir.
37187 (all): Remove target.
37188 (.PHONY): Remove all from list.
37189 (mkinstalldirs): Remove.
37190 (.PHONY): Remove installdirs from list.
37191 ($(inst_infodir)/libc.info): Use make-target-directory.
37192 (installdirs): Remove.
37193 (subdir_%): Remove.
37194 (glibc-targets): Remove.
37195 (lib): Remove.
37196 (stubs): Remove.
37197 ($(objpfx)stubs ../po/manual.pot): Remove.
37198 ($(objpfx)stamp%): Remove.
37199 (make-target-directory): Remove.
37200 (subdir_install): Remove.
37201 (routines): Remove.
37202 (aux): Remove.
37203 (sources): Remove.
37204 (objects): Remove.
37205 (headers): Remove.
37206
37207 [BZ #13750]
37208 * manual/.gitignore: Remove, it's not needed anymore.
37209 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37210 all files in it.
37211 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37212 directory.
37213 (texis): Renamed to $(objpfx)texis.
37214 (texis-path): New, contains path to generated files.
37215 (chapters.%): Use texis-path for complete path, add extra argument
37216 libc-texinfo.sh.
37217 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37218 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37219 (summary,texi, stamp-summary): Use complete path of
37220 files. Generate files in build dir.
37221 (dir-add.texi): Build in build dir.
37222 (libm-err.texi,stamp-libm-err): Likewise.
37223 (version.texi, stamp-version): Likewise.
37224 (.%c.texi): Likewise.
37225 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37226 (mostlyclean): Remove target.
37227 (realclean): Remove target.
37228 (generated): Add new variable with contents from mostlyclean and
37229 realclean, remove entries duplicated in common-mostlyclean, add
37230 stamp-libm-err and stamp-version.
37231 (generated-dirs): Add libc directory.
37232 ($(inst_infodir)/libc.info): Install files from build dir.
37233
37234 * manual/install.texi (Configuring and compiling): Adjust since
37235 the info files are not part of the tar ball anymore.
37236
7ac77294
AJ
372372012-05-14 Andreas Jaeger <aj@suse.de>
37238
37239 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37240 variable.
37241
ffb7875d
JM
372422012-05-14 Joseph Myers <joseph@codesourcery.com>
37243
37244 [BZ #13717]
37245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37246 to 2.2.0 where earlier.
37247 * sysdeps/unix/sysv/linux/configure: Regenerated.
37248 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37249 Remove conditional code.
37250 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37251 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37252 Remove conditional code.
37253 [!__NR_lchown]: Likewise.
37254 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37255 [__NR_lchown]: Likewise.
37256 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37257 comment referencing __ASSUME_LCHOWN_SYSCALL.
37258 * sysdeps/unix/sysv/linux/i386/sigaction.c
37259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37261 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37262 Remove conditional code.
37263 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37264 (__protocol_available): Remove #if 0 code.
37265 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37266 conditional code.
37267 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37268 * sysdeps/unix/sysv/linux/kernel-features.h
37269 (__ASSUME_GETCWD_SYSCALL): Don't define.
37270 (__ASSUME_REALTIME_SIGNALS): Likewise.
37271 (__ASSUME_PREAD_SYSCALL): Likewise.
37272 (__ASSUME_PWRITE_SYSCALL): Likewise.
37273 (__ASSUME_POLL_SYSCALL): Likewise.
37274 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37275 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37276 non-SPARC.
37277 (__ASSUME_SIOCGIFNAME): Don't define.
37278 (__ASSUME_MSG_NOSIGNAL): Likewise.
37279 (__ASSUME_SENDFILE): Define unconditionally.
37280 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37281 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37282 conditional code.
37283 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37284 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37285 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37286 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37287 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37288 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37289 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37291 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37297 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37314 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37315 Remove conditional code.
37316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37317 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37318 Remove conditional code.
37319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37320 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37321 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37322 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37323 Remove conditional code.
37324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37325 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37326 Remove conditional code.
37327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37328 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37329 Remove conditional code.
37330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37331 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37332 Remove conditional code.
37333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37334 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37335 Remove conditional code.
37336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37337 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37340 * sysdeps/unix/sysv/linux/sigaction.c
37341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37343 * sysdeps/unix/sysv/linux/sigpending.c
37344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37346 * sysdeps/unix/sysv/linux/sigprocmask.c
37347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37349 * sysdeps/unix/sysv/linux/sigsuspend.c
37350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37353 (__libc_missing_rt_sigs): Remove.
37354 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37355 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37356 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37357 Remove conditional code.
37358 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37359 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37360 return 1.
37361 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37362 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37363 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37365
1bfb7291
AJ
373662012-05-14 Andreas Jaeger <aj@suse.de>
37367
caae5a81
AJ
37368 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37369 it's not used in glibc.
37370 (__coshm1): Likewise.
37371 (__acosh1p): Likewise.
37372 (__sgn): Likewise.
37373
1bfb7291
AJ
37374 * manual/string.texi (Copying and Concatenation): Add missing
37375 variable in concat example.
37376 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37377
c044d724
L
373782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37379
144c5467 37380 [BZ #14103]
c044d724
L
37381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37382 __builtin_clzl with __builtin_clzll.
37383
2523c62b
L
373842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37385
37386 [BZ #14104]
37387 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37388 libc_freeres_ptr.
37389
d7bb4c42
LD
373902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37391
37392 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37393 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37394 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37396
9dc4e1fb
MF
373972012-05-14 Mike Frysinger <vapier@gentoo.org>
37398
37399 * NEWS: Update ia64 info.
37400
c7df0112
AS
374012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37402
37403 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37404 used as bcopy.
37405
dc70356c
TS
374062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37407
37408 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37409 * sysdeps/unix/syscalls.list (dup3): Likewise.
37410 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37411 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37412
9fb1a21f
L
374132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37414
37415 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37416 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37417
4822a2a5
L
374182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37419
37420 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37421 thread pointer.
37422 (TLS_IE): Use mov/add instead of movq/addq to load thread
37423 pointer.
37424 (TLS_GD_PREFIX): New.
37425 (TLS_GD): Use it.
37426
842b81d6
DM
374272012-05-11 David S. Miller <davem@davemloft.net>
37428
37429 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37430 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37431 (_FPU_SETCW): Likewise.
37432
1cf463cd
L
374332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37434
37435 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37436 is 32-byte aligned.
37437
60cc4a18
AS
374382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37439
37440 [BZ #11837]
37441 * iconvdata/gb18030.c: Update tables.
37442 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37443 characters specially.
37444 (BODY for TO_LOOP): Add encoding of missing ranges.
37445
febb44a4
TS
374462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37447
37448 [BZ #13673]
37449 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37450 * sysdeps/mach/hurd/dup3.c: Likewise.
37451 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37452 * sysdeps/powerpc/memmove.c:: Likewise.
37453
0a10fb9e
L
374542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37455
37456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37457 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37458
df8a552f
L
374592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37460
37461 * elf/elf.h (R_X86_64_RELATIVE64): New.
37462 (R_X86_64_NUM): Updated.
37463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37464 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37465 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37466 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37467 tst-quad1pie tst-quad2pie
37468 (modules-names): Add tst-quadmod1 tst-quadmod2.
37469 ($(objpfx)tst-quad1): New dependency.
37470 ($(objpfx)tst-quad2): Likewise.
37471 ($(objpfx)tst-quad1pie): Likewise.
37472 ($(objpfx)tst-quad2pie): Likewise.
37473 * sysdeps/x86_64/tst-quad1.c: New file.
37474 * sysdeps/x86_64/tst-quad1pie.c: New file.
37475 * sysdeps/x86_64/tst-quad2.c: Likewise.
37476 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37477 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37478 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37479 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37480 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37481
f34d6f84
ST
374822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37483
f42d41d1
ST
37484 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37485 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37486 * streams/stropts.h (t_scalar_t): Define type.
37487
3c3571fc
ST
37488 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37489 (_PATH_PRESERVE): Set to "/var/lib".
37490 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37491
61f06bd3
ST
37492 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37493 instead of int.
37494
918d4d71
ST
37495 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37496 if __dir_mkfile succeeded.
37497
f34d6f84
ST
37498 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37499 checking for _hurd_dtablesize. Unlock it right after having
37500 finished _hurd_dtable allocation.
37501
10589b4a
TS
375022012-05-10 Thomas Schwinge <thomas@schwinge.name>
37503
674cdbc7
TS
37504 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37505 * sysdeps/mach/hurd/configure: Regenerated.
37506 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37507 special-casing to...
37508 * sysdeps/gnu/configure.in: ... this new file.
37509 * sysdeps/unix/sysv/linux/configure: Regenerated.
37510 * sysdeps/gnu/configure: New generated file.
37511
8e41b99f
TS
37512 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37513 for Linux: use nsec instead of usec, as well as:
37514 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37515 members of type struct timespec.
37516 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37517 New macros.
37518 (struct stat64): Likewise.
37519 (_STATBUF_ST_NSEC): New macro.
37520 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37521
10589b4a
TS
37522 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37523 __strtoul_internal rather than strtoul.
37524
63643c85
PT
375252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37526
37527 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37528 and reject them.
37529
3faebe6a
ST
375302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37531
37532 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37533 which preserves existing values.
37534 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37535
c6474b07
PT
375362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37537
37538 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37539 TIMEOUT values. Return EINVAL for NFDS values either negative or
37540 greater than FD_SETSIZE.
37541
1043890b
ST
375422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37543
37544 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37545 allocated, call __vm_protect to finish enabling the existing space, and
37546 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37547 allocate the remainder.
37548
37ed8b9b
PT
375492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37550
37551 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37552 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37553
db653660
ST
375542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37555
37ed8b9b
PT
37556 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37557 sysdeps/mach/hurd/readlink.c.
b29d4053 37558
db653660
ST
37559 * posix/tst-sysconf.c (posix_options): Only use
37560 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37561 _POSIX_SYNCHRONIZED_IO when they are defined
37562 * sysdeps/mach/hurd/bits/posix_opt.h:
37563 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37564 (_XOPEN_REALTIME): Undefine macro.
37565 (_XOPEN_REALTIME_THREADS): Undefine macro.
37566 (_XOPEN_SHM): Undefine macro.
37567 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37568 macro to -1.
37569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37570 macro to -1.
37571 (_POSIX_ASYNC_IO): Undefine macro.
37572 (_POSIX_PRIORITIZED_IO): Undefine macro.
37573 (_POSIX_SPIN_LOCKS): Define macro to -1.
37574
ee16e894
ST
37575 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37576 SA_NODEFER, SA_RESETHAND.
37577 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37578 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37579 F_DUPFD_CLOEXEC.
37580
6103ae3b
TS
375812012-05-10 Thomas Schwinge <thomas@schwinge.name>
37582
37583 * elf/Makefile (pldd-modules): Define unconditionally.
37584
80b4e5f3
TS
375852012-05-10 Thomas Schwinge <thomas@schwinge.name>
37586
37587 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37588
edadcbd6
ST
375892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37590
37591 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37592 Return ENOENT when name is empty.
37593 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37594
80694780
TS
375952012-05-10 Thomas Schwinge <thomas@schwinge.name>
37596
1792c087
TS
37597 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37598
80694780
TS
37599 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37600
6b645f0d
ST
376012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37602
80694780
TS
37603 Fix mlock in all cases except non-readable pages.
37604 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37605 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37606
6b645f0d
ST
37607 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37608 (__mkdir): When path is `/', just fail with EEXIST.
37609 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37610
e468f8a3
TS
376112012-05-10 Thomas Schwinge <thomas@schwinge.name>
37612
37613 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37614 <sys/uio.h> (for writev).
37615 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37616 and <sys/param.h> (for MIN).
37617
a4186cff
PT
376182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37619
37620 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37621 REQUESTED_TIME. Properly set the remaining time and return EINTR
37622 if interrupted.
37623
510bbf14
TS
376242012-05-10 Thomas Schwinge <thomas@schwinge.name>
37625
37626 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37627 Depend on against $(link-rpcuserlibs).
37628
5d5722e8
ST
376292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37630
a4186cff
PT
37631 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37632 (__libc_stack_end): Do not use attribute_relro.
37633 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37634 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37635 to libthread-provided value.
a4186cff
PT
37636 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37637 attribute_relro.
5d5722e8 37638
37233df9
TS
376392012-05-10 Thomas Schwinge <thomas@schwinge.name>
37640
be971a2b
TS
37641 [BZ #3748]
37642 * bits/libc-lock.h (__libc_once_get): New macro.
37643 * sysdeps/mach/bits/libc-lock.h: Likewise.
37644 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37646 instead of using implementation details.
37647
37233df9
TS
37648 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37649 * libio/freopen.c: Likewise.
37650 * libio/freopen64.c: Likewise.
37651 * misc/syslog.c: Likewise.
37652 * nscd/connections.c: Likewise.
37653 * nscd/netgroupcache.c: Likewise.
37654 * sysdeps/posix/getcwd.c: Likewise.
37655
38de94a5
RM
376562012-05-10 Roland McGrath <roland@hack.frob.com>
37657
37658 * math/w_ilogbf.c: Add #include <limits.h>.
37659
67530489
ST
376602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37661
a4186cff 37662 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37663 path instead of returning without unlocking.
37664
67530489
ST
37665 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37666 immediate-write ioctls.
37667 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37668
5aa3a74a
TS
376692012-05-10 Thomas Schwinge <thomas@schwinge.name>
37670
18bad2ae
TS
37671 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37672 __builtin_frame_address instead of making assumptions about the
37673 location of the return address relative to DATA. Force early load of
37674 the return address.
37675 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37676 __builtin_frame_address.
37677
5aa3a74a
TS
37678 dup3 for GNU Hurd.
37679 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37680 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37681 implement dup3 and do some further code clean-ups.
37682 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37683 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37684
ecd0de9a
ST
376852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37686
cd9fa985
ST
37687 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37688
a4186cff
PT
37689 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37690 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37691 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37692 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37693 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37694 d->port.lock.
802ca5a5 37695
a4186cff
PT
37696 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37697 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37698 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37699
bcf55240
TS
377002012-05-10 Thomas Schwinge <thomas@schwinge.name>
37701
6960eb42
TS
37702 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37703 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37704 definitions.
37705
eb43375f
TS
37706 accept4 for GNU Hurd.
37707 * include/sys/socket.h (__libc_accept4): New prototype.
37708 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37709 to implement __libc_accept4.
37710 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37711 __libc_accept4.
37712 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37713
bcf55240
TS
37714 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37715 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37716 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37717 signal-defines.sym.
37718
6178c55b
ST
377192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37720
a4186cff 37721 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37722
6f080c2f
TS
377232012-05-10 Thomas Schwinge <thomas@schwinge.name>
37724
37725 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37726 assertion on O_CLOEXEC flag.
37727 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37728 * hurd/intern-fd.c: Likewise.
37729 * hurd/port2fd.c: Likewise.
37730
bcfe3a54
ST
377312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37732
37733 [BZ #3906]
37734 * bits/in.h (IPV6_PKTINFO): Define new macro.
37735 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37736
89c9aa49
AZ
377372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37738
37739 [BZ #13954]
37740 [BZ #13955]
37741 [BZ #13956]
37742 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37744 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37745 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37747 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37748 * math/libm-test.inc (logb_test) : Additional logb tests.
37749
021db4be
AJ
377502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37751 Andreas Jaeger <aj@suse.de>
37752
37753 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37754 * configure: Regenerated.
37755 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37756 * config.make.in (link-obsolete-rpc): New substituted variable.
37757 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37758 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37759 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37760 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37761 so that libc.a contains the symbols.
37762 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37763 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37764 * sunrpc/auth_none.c: Likewise.
37765 * sunrpc/auth_unix.c: Likewise.
37766 * sunrpc/authdes_prot.c: Likewise.
37767 * sunrpc/authuxprot.c: Likewise.
37768 * sunrpc/clnt_gen.c: Likewise.
37769 * sunrpc/clnt_perr.c: Likewise.
37770 * sunrpc/clnt_raw.c: Likewise.
37771 * sunrpc/clnt_simp.c: Likewise.
37772 * sunrpc/clnt_tcp.c: Likewise.
37773 * sunrpc/clnt_udp.c: Likewise.
37774 * sunrpc/clnt_unix.c: Likewise.
37775 * sunrpc/des_crypt.c: Likewise.
37776 * sunrpc/des_soft.c: Likewise.
37777 * sunrpc/get_myaddr.c: Likewise.
37778 * sunrpc/key_call.c: Likewise.
37779 * sunrpc/key_prot.c: Likewise.
37780 * sunrpc/netname.c: Likewise.
37781 * sunrpc/pm_getmaps.c: Likewise.
37782 * sunrpc/pm_getport.c: Likewise.
37783 * sunrpc/pmap_clnt.c: Likewise.
37784 * sunrpc/pmap_prot.c: Likewise.
37785 * sunrpc/pmap_prot2.c: Likewise.
37786 * sunrpc/pmap_rmt.c: Likewise.
37787 * sunrpc/publickey.c: Likewise.
37788 * sunrpc/rpc_cmsg.c: Likewise.
37789 * sunrpc/rpc_common.c: Likewise.
37790 * sunrpc/rpc_dtable.c: Likewise.
37791 * sunrpc/rpc_prot.c: Likewise.
37792 * sunrpc/rpc_thread.c: Likewise.
37793 * sunrpc/rtime.c: Likewise.
37794 * sunrpc/svc.c: Likewise.
37795 * sunrpc/svc_auth.c: Likewise.
37796 * sunrpc/svc_raw.c: Likewise.
37797 * sunrpc/svc_run.c: Likewise.
37798 * sunrpc/svc_tcp.c: Likewise.
37799 * sunrpc/svc_udp.c: Likewise.
37800 * sunrpc/svc_unix.c: Likewise.
37801 * sunrpc/svcauth_des.c: Likewise.
37802 * sunrpc/xcrypt.c: Likewise.
37803 * sunrpc/xdr.c: Likewise.
37804 * sunrpc/xdr_array.c: Likewise.
37805 * sunrpc/xdr_float.c: Likewise.
37806 * sunrpc/xdr_intXX_t.c: Likewise.
37807 * sunrpc/xdr_mem.c: Likewise.
37808 * sunrpc/xdr_rec.c: Likewise.
37809 * sunrpc/xdr_ref.c: Likewise.
37810 * sunrpc/xdr_sizeof.c: Likewise.
37811 * sunrpc/xdr_stdio.c: Likewise.
37812
b5c086a2
RM
378132012-05-10 Roland McGrath <roland@hack.frob.com>
37814
37815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37816 change. Update copyright years.
37817
6d74dd09
JM
378182012-05-10 Joseph Myers <joseph@codesourcery.com>
37819
37820 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37821
28e72501
MK
378222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37823 Joseph Myers <joseph@codesourcery.com>
37824 Paul Pluzhnikov <ppluzhnikov@google.com>
37825
37826 [BZ #14012]
37827 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37828 requiring rpcgen.
37829 [cross-compiling] (extra-libs): Likewise.
37830 [cross-compiling] (extra-libs-others): Likewise.
37831 [cross-compiling] (librpcsvc-routines): Likewise.
37832 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37833 [cross-compiling] (omit-deps): Likewise.
37834 (sunrpc-CPPFLAGS): New variable.
37835 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37836 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37837 (cross-rpcgen-objs): New variable.
37838 (extra-objs): Append $(cross-rpcgen-objs).
37839 ($(cross-rpcgen-objs)): New rule.
37840 ($(objpfx)cross-rpcgen): Likewise.
37841 (rpcgen-cmd): Define to use $(built-program-file). Expand
37842 comment.
37843 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37844 ($(objpfx)x%.stmp): Likewise.
37845 * sunrpc/proto.h [IS_IN_build] (_): Define.
37846 [IS_IN_build] (_libc_intl_domainname): Likewise.
37847
c8c59454
L
378482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37849
37850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37851 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37852 and R_X86_64_TPOFF64.
37853
6f27cd16
JM
378542012-05-10 Joseph Myers <joseph@codesourcery.com>
37855
37856 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37857 sysdeps/unix/sysv/syscalls.list.
37858 (stime): Likewise.
37859 (utime): Likewise.
37860 * sysdeps/unix/sysv/syscalls.list: Remove file.
37861
02467e1c
PE
378622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37863
37864 [BZ #3440]
37865 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37866 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37867 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37868 (__LC_IDENTIFICATION): Make these macros useful in #if
37869 expressions, as required by C99.
37870
da392631
AS
378712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37872
37873 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37874 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37875 after this.
37876
8115f29b
L
378772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37878
37879 * stdlib/longlong.h: Updated from GCC.
37880
bdd74070
AJ
378812012-05-09 Andreas Jaeger <aj@suse.de>
37882
edfe0dbe
AJ
37883 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37884 default is first entry.
37885 (run_mode): Set type.
37886 (main): Remove informal message about syslog.
37887 (options): Fix typo.
37888
bcfe3a54
ST
37889 [BZ #14053]
37890 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37891 to asm.
bcfe3a54
ST
37892 (lrint): Likewise.
37893 (llrintf): Likewise.
37894 (llrint): Likewise.
37895 (rint): Likewise.
37896 (rintf): Likewise.
37897 (nearbyint): Likewise.
37898 (nearbyintf): Likewise.
bdd74070 37899
91d8d69e
AJ
379002012-05-09 Andreas Jaeger <aj@suse.de>
37901 Pedro Alves <palves@redhat.com>
37902
37903 * nscd/nscd.c (run_mode): Use enum.
37904 (main): Cleanup coding style issue.
37905
bb90b80b
AJ
379062012-05-09 Alexandre Oliva <aoliva@redhat.com>
37907 Andreas Jaeger <aj@suse.de>
37908
bcfe3a54
ST
37909 * nscd/nscd.c (go_background): Replaced with...
37910 (run_mode): ... this.
bb90b80b 37911 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37912 (options): Add -F --foreground.
37913 (main): Implement it.
37914 (parse_opt): Parse it.
bb90b80b 37915
1a4b75a1
AJ
379162012-05-09 Andreas Jaeger <aj@suse.de>
37917
37918 [BZ #14083]
37919 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37920 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37921 -Wconversion warning.
37922 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37923 Likewise.
37924
b1cc2472
JM
379252012-05-09 Joseph Myers <joseph@codesourcery.com>
37926
37927 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37928 == 0.
37929 (LC_ALL): Use macro-int-constant.
37930 (LC_COLLATE): Likewise.
37931 (LC_CTYPE): Likewise.
37932 (LC_MESSAGES): Likewise.
37933 (LC_MONETARY): Likewise.
37934 (LC_NUMERIC): Likewise.
37935 (LC_TIME): Likewise.
37936 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37937 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37939 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37940 Specify type.
37941 [C99-based standards] (float_t): Expect type.
37942 [C99-based standards] (double_t): Expect type.
37943 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37944 type.
37945 [C99-based standards] (HUGE_VALL): Likewise.
37946 [C99-based standards] (INFINITY): Likewise.
37947 [C99-based standards] (NAN): Likewise.
37948 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37949 [C99-based standards] (FP_NAN): Likewise.
37950 [C99-based standards] (FP_NORMAL): Likewise.
37951 [C99-based standards] (FP_SUBNORMAL): Likewise.
37952 [C99-based standards] (FP_ZERO): Likewise.
37953 [C99-based standards] (FP_FAST_FMA): Use
37954 optional-macro-int-constant. Specify type. Require == 1.
37955 [C99-based standards] (FP_FAST_FMAF): Likewise.
37956 [C99-based standards] (FP_FAST_FMAL): Likewise.
37957 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37958 [C99-based standards] (FP_ILOGBNAN): Likewise.
37959 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37960 Specify type.
37961 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37962 [C99-based standards] (math_errhandling): Specify type.
37963 [ISO99 || ISO11] (signgam): Do not allow.
37964 [non-C99-based standards] (copysignf): Do not allow.
37965 [non-C99-based standards] (exp2f): Likewise.
37966 [non-C99-based standards] (log2f): Likewise.
37967 [non-C99-based standards] (modff): Allow.
37968 [non-C99-based standards] (erff): Do not allow.
37969 [non-C99-based standards] (erfcf): Likewise.
37970 [non-C99-based standards] (gammaf): Likewise.
37971 [non-C99-based standards] (hypotf): Likewise.
37972 [non-C99-based standards] (j0f): Likewise.
37973 [non-C99-based standards] (j1f): Likewise.
37974 [non-C99-based standards] (jnf): Likewise.
37975 [non-C99-based standards] (lgammaf): Likewise.
37976 [non-C99-based standards] (tgammaf): Likewise.
37977 [non-C99-based standards] (y0f): Likewise.
37978 [non-C99-based standards] (y1f): Likewise.
37979 [non-C99-based standards] (ynf): Likewise.
37980 [non-C99-based standards] (isnanf): Likewise.
37981 [non-C99-based standards] (acoshf): Likewise.
37982 [non-C99-based standards] (asinhf): Likewise.
37983 [non-C99-based standards] (atanhf): Likewise.
37984 [non-C99-based standards] (cbrtf): Likewise.
37985 [non-C99-based standards] (expm1f): Likewise.
37986 [non-C99-based standards] (ilogbf): Likewise.
37987 [non-C99-based standards] (log1pf): Likewise.
37988 [non-C99-based standards] (logbf): Likewise.
37989 [non-C99-based standards] (nextafterf): Likewise.
37990 [non-C99-based standards] (remainderf): Likewise.
37991 [non-C99-based standards] (rintf): Likewise.
37992 [non-C99-based standards] (scalbf): Likewise.
37993 [non-C99-based standards] (copysignl): Likewise.
37994 [non-C99-based standards] (exp2l): Likewise.
37995 [non-C99-based standards] (log2l): Likewise.
37996 [non-C99-based standards] (modfl): Allow.
37997 [non-C99-based standards] (erfl): Do not allow.
37998 [non-C99-based standards] (erfcl): Likewise.
37999 [non-C99-based standards] (gammal): Likewise.
38000 [non-C99-based standards] (hypotl): Likewise.
38001 [non-C99-based standards] (j0l): Likewise.
38002 [non-C99-based standards] (j1l): Likewise.
38003 [non-C99-based standards] (jnl): Likewise.
38004 [non-C99-based standards] (lgammal): Likewise.
38005 [non-C99-based standards] (tgammal): Likewise.
38006 [non-C99-based standards] (y0l): Likewise.
38007 [non-C99-based standards] (y1l): Likewise.
38008 [non-C99-based standards] (ynl): Likewise.
38009 [non-C99-based standards] (isnanl): Likewise.
38010 [non-C99-based standards] (acoshl): Likewise.
38011 [non-C99-based standards] (asinhl): Likewise.
38012 [non-C99-based standards] (atanhl): Likewise.
38013 [non-C99-based standards] (cbrtl): Likewise.
38014 [non-C99-based standards] (expm1l): Likewise.
38015 [non-C99-based standards] (ilogbl): Likewise.
38016 [non-C99-based standards] (log1pl): Likewise.
38017 [non-C99-based standards] (logbl): Likewise.
38018 [non-C99-based standards] (nextafterl): Likewise.
38019 [non-C99-based standards] (remainderl): Likewise.
38020 [non-C99-based standards] (rintl): Likewise.
38021 [non-C99-based standards] (scalbl): Likewise.
38022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38023 [non-C99-based standards] (FP_*): Do not allow.
38024 [C99-based standards] (FP_*): Change to
38025 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38026 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38027 allow.
38028 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38029 (SIG_ERR): Likewise.
38030 [X/Open-based standards] (SIG_HOLD): Likewise.
38031 (SIG_IGN): Likewise.
38032 (SIGABRT): Use macro-int-constant. Specify type. Require
38033 positive value.
38034 (SIGFPE): Likewise.
38035 (SIGILL): Likewise.
38036 (SIGINT): Likewise.
38037 (SIGSEGV): Likewise.
38038 (SIGTER): Likewise.
38039 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38040 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38041 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38042 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38043 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38044 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38045 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38046 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38047 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38048 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38049 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38050 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38051 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38052 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38053 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38054 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38055 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38056 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38057 [X/Open-based standards] (SIGTRAP): Likewise.
38058 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38059 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38060 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38061 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38062 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38063 allow.
38064
b9f1922d
IW
380652012-05-08 Ian Wienand <ianw@vmware.com>
38066
38067 [BZ #14080]
38068 * time/tzset.c (__tzset_parse_tz): Update default rules for
38069 daylight time changes in the Energy Policy Act of 2005.
38070
1db86e88
AJ
380712012-05-09 Andreas Jaeger <aj@suse.de>
38072
38073 [BZ #13983]
38074 * elf/ldconfig.c (parse_conf): Change string to make clear that
38075 ldconfig only issued a warning if ld.so.conf does not exist.
38076
dee4a4e3
DM
380772012-05-08 David S. Miller <davem@davemloft.net>
38078
ee0db190
DM
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38080 movxtod instead of popping the value on the stack.
38081
dee4a4e3
DM
38082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38083
6a43ec98
CD
380842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38085
38086 * config.h.in: Add HAVE_ARM_PCS_VFP.
38087
05c2c961
RMG
380882012-05-08 Roland Mc Grath <roland@hack.frob.com>
38089
bcfe3a54
ST
38090 [BZ #13979]
38091 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38092 checking but the checks are disabled for any reason.
05c2c961 38093
4b30f61a
L
380942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38095
38096 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38097 and ELF64_R_TYPE with ELFW(R_TYPE).
38098
eee2bc67
JM
380992012-05-08 Joseph Myers <joseph@codesourcery.com>
38100
7ea5391a
JM
38101 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38102 (ulimit): Likewise.
38103
eee2bc67
JM
38104 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38105 (settimeofday): Likewise.
38106
abb66a67
MF
381072012-05-08 Mike Frysinger <vapier@gentoo.org>
38108
38109 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38110 a struct th_u2 inside the union, and move tu_block/tu_code into
38111 a new th_u3 union of tu_block/tu_code inside of that. Move
38112 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38113 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38114 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38115 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38116 (th_stuff): Change to th_u1.tu_stuff.
38117 (th_data): Define.
38118 (th_msg): Change to th_u1.th_u2.tu_data.
38119
7f18b530
DM
381202012-05-07 David S. Miller <davem@davemloft.net>
38121
05760585
DM
38122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38123
7f18b530
DM
38124 [BZ #14074]
38125 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38126 (SETUP_PIC_REG): Use it.
38127 (SETUP_PIC_REG_LEAF): Use it.
38128
495fd99f
JM
381292012-05-07 Joseph Myers <joseph@codesourcery.com>
38130
38131 [BZ #13885]
38132 [BZ #13923]
38133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38134 USE_AS_EXPM1L.
38135 (EXPL_FINITE): Likewise.
38136 (FLDLOG): Likewise.
38137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38138 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38139 e_expl.S.
38140 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38141 USE_AS_EXPM1L.
38142 (EXPL_FINITE): Likewise.
38143 (FLDLOG): Likewise.
38144 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38145 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38146 e_expl.S.
38147 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38148 test of -max_value argument for long double.
38149 * sysdeps/i386/fpu/libm-test-ulps: Update.
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151
6693d694
DM
381522012-05-06 David S. Miller <davem@davemloft.net>
38153
38154 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38155 quad soft-float symbols whose references which are compiler
38156 generated.
38157 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38158
6c23e11c
JM
381592012-05-06 Joseph Myers <joseph@codesourcery.com>
38160
d8b82cad
JM
38161 [BZ #13884]
38162 [BZ #13914]
38163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38164 USE_AS_EXP10L.
38165 (EXPL_FINITE): Likewise.
38166 (FLDLOG): Likewise.
38167 (c0): Likewise.
38168 (c1): Likewise.
38169 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38170 Adjust comments for base varying.
38171 (__expl_finite): Change alias to EXPL_FINITE.
38172 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38173 e_expl.S.
38174 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38175 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38177 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38179 USE_AS_EXP10L.
38180 (EXPL_FINITE): Likewise.
38181 (FLDLOG): Likewise.
38182 (c0): Likewise.
38183 (c1): Likewise.
38184 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38185 Adjust comments for base varying.
38186 (__expl_finite): Change alias to EXPL_FINITE.
38187 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38188 tests for bugs.
38189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38190
6c23e11c
JM
38191 [BZ #14064]
38192 * math/libm-test.inc (check_float_internal): Correct ulp
38193 calculation for subnormal expected results.
38194
29ba805c
AJ
381952012-05-06 Andreas Jaeger <aj@suse.de>
38196
38197 * Makeconfig (+math-flags): New, set to -frounding-math.
38198 (+cflags): Add +math-flags so that all of glibc gets compiled with
38199 it.
38200
38201 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38202
7b17aeda
JM
382032012-05-05 Joseph Myers <joseph@codesourcery.com>
38204
5779f134
JM
38205 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38206 Disable one test.
38207
41498f4d
JM
38208 [BZ #13787]
38209 [BZ #13922]
38210 [BZ #14036]
38211 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38212 (__ieee754_expl): Allow for and saturate large arguments.
38213 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38214 (u_threshold): Likewise.
38215 (__exp): Call __ieee754_exp before checking for overflow and
38216 underflow.
38217 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38218 (u_threshold): Likewise.
38219 (__expf): Call __ieee754_expf before checking for overflow and
38220 underflow.
38221 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38222 (u_threshold): Likewise.
38223 (__expl): Call __ieee754_expl before checking for overflow and
38224 underflow.
38225 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38226 (__ieee754_expl): Allow for and saturate large arguments.
38227 * math/libm-test.inc (exp_test): Add another test. Do not allow
38228 missing overflow exception on overflow.
38229 (expm1_test): Do not allow missing overflow exception on overflow.
38230
6698b8bf
JM
38231 * sysdeps/i386/fpu/e_expl.c: Move to ...
38232 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38233 rather than using inline asm.
38234 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38235 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38236 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38237
7b17aeda
JM
38238 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38239 (nice): Likewise.
38240 (poll): Likewise.
38241 (signal): Likewise.
38242 (time): Likewise.
38243 (times): Likewise.
38244
f7c85819
JM
382452012-05-04 Joseph Myers <joseph@codesourcery.com>
38246
38247 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38248 sysdeps/unix/common/syscalls.list.
38249 (fchmod): Likewise.
38250 (fchown): Likewise.
38251 (ftruncate): Likewise.
38252 (getrusage): Likewise.
38253 (gettimeofday): Likewise.
38254 (setpgid): Likewise.
38255 (setregid): Likewise.
38256 (setreuid): Likewise.
38257 (sigaction): Likewise.
38258 (truncate): Likewise.
38259 (vhangup): Likewise.
38260 * sysdeps/unix/common/syscalls.list: Remove file.
38261 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38262 * sysdeps/unix/sysv/linux/Implies: Likewise.
38263
336270d0
L
382642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38265
38266 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38268 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38269 Moved to ...
38270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38271 Here.
38272 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38273 to ...
38274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38275 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38276 to ...
38277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38278 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38279 to ...
38280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38282 to ...
38283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38284 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38285 to ...
38286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38288 to ...
38289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38290 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38291 to ...
38292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38293 Here.
38294 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38295 to ...
38296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38297 Here.
38298 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38299 to ...
38300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38301 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38302 Moved to ...
38303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38304 Here.
38305 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38306 to ...
38307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38308
d128e450
JM
383092012-05-04 Joseph Myers <joseph@codesourcery.com>
38310
fa8ee516
JM
38311 * sysdeps/unix/common/bits/dirent.h: Remove file.
38312 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38313
d128e450
JM
38314 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38315 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38316 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38317 * sysdeps/unix/bsd/isatty.c: Likewise.
38318 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38319 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38320 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38321
ff8faaf0 383222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38323
62881be4 38324 [BZ #13563]
31dc8730
AZ
38325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38326 long double comparison inaccuracies.
38327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38329
6fef930c
AS
383302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38331
38332 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38334
8f203e6c
JM
383352012-05-04 Joseph Myers <joseph@codesourcery.com>
38336
38337 [BZ #14049]
38338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38339 nonzero digits before rounding a hex value.
38340 * stdlib/tst-strtod.c (tests): Add another test.
38341
5197d9c2
AK
383422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38343
38344 * sysdeps/s390/fpu/libm-test-ulps: Update.
38345
f0c1dedf
AJ
383462012-05-03 Andreas Jaeger <aj@suse.de>
38347
38348 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38349 does not get optimized out.
38350 (malloc_opt_barrier): New.
38351
a65ef2ae 383522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38353 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38354
2b942cb7 38355 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38356 intermediate file deletion.
2b942cb7 38357 (generated): Add .symlist files.
a65ef2ae 38358
54b71e02
JM
383592012-05-03 Joseph Myers <joseph@codesourcery.com>
38360
38361 [BZ #13775]
38362 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38363 Redirect under this condition.
38364 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38365 [__USE_GNU] (__dprintf_chk): Not under this condition.
38366 [__USE_GNU] (__vdprintf_chk): Likewise.
38367 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38368 under this condition.
38369 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38370 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38371 [__USE_XOPEN2K8] (vdprintf): Likewise.
38372 [__USE_GNU] (__dprintf_chk): Not under this condition.
38373 [__USE_GNU] (__vdprintf_chk): Likewise.
38374 [__USE_GNU] (dprintf): Likewise.
38375 [__USE_GNU] (vdprintf): Likewise.
38376
d3dfcc41
RM
383772012-05-03 Roland McGrath <roland@hack.frob.com>
38378
38379 * elf/Makefile (common-generated): Set this instead of generated for
38380 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38381 $(all-built-dso)-derived lists.
38382
7ac30cc5
AJ
383832012-05-03 Andreas Jaeger <aj@suse.de>
38384
0c51e550
AJ
38385 * sysdeps/i386/fpu/libm-test-ulps: Update.
38386
7ac30cc5
AJ
38387 * FAQ: Removed.
38388 * FAQ.in: Likewise.
38389 * scripts/gen-FAQ.pl: Likewise.
38390 * manual/install.texi (Installation): Point to online location of
38391 FAQ.
38392 * Makefile (files-for-dist): Remove FAQ.
38393 (FAQ): Remove.
38394
d4c2917f
AM
383952012-05-02 Allan McRae <allan@archlinux.org>
38396
38397 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38398 (LDFLAGS-reldepmod5.so): Likewise.
38399 (LDFLAGS-reldep6mod1.so): Likewise.
38400 (LDFLAGS-reldep6mod4.so): Likewise.
38401 (LDFLAGS-reldep8mod3.so): Likewise.
38402 (LDFLAGS-unload4mod1.so): Likewise.
38403 (LDFLAGS-unload4mod2.so): Likewise.
38404 (LDFLAGS-tst-initorder): Likewise.
38405 (LDFLAGS-tst-initordera2.so): Likewise.
38406 (LDFLAGS-tst-initordera3.so): Likewise.
38407 (LDFLAGS-tst-initordera4.so): Likewise.
38408 (LDFLAGS-tst-initorderb2.so): Likewise.
38409 (LDFLAGS-noload): Likewise.
38410 (LDFLAGS-next): Likewise.
38411 (LDFLAGS-order2mod1.so): Likewise.
38412 (LDFLAGS-order2mod2.so): Likewise.
38413 (LDFLAGS-tst-initorder2): Likewise.
38414 (LDFLAGS-tst-initorder2a.so): Likewise.
38415 (LDFLAGS-tst-initorder2b.so): Likewise.
38416 (LDFLAGS-tst-initorder2c.so): Likewise.
38417 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38418
d77f993f
DM
384192012-05-02 David S. Miller <davem@davemloft.net>
38420
38421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38422
171a70b4
PP
384232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38424
38425 [BZ #14055]
38426 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38427
0be196ad
AJ
384282012-05-02 Andreas Jaeger <aj@suse.de>
38429
38430 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38431 since we manipulate rounding mode.
38432 (CPPFLAGS-test-idouble.c): Likewise.
38433 (CPPFLAGS-test-ifloat.c): Likewise.
38434 (CFLAGS-test-ldouble.c): Likewise.
38435 (CFLAGS-test-double.c): Likewise.
38436 (CFLAGS-test-float.c): Likewise.
38437 (CFLAGS-test-misc.c): Likewise.
38438 (CFLAGS-test-test-fenv.c): Likewise.
38439
4f9d04aa
AZ
384402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38441
2b942cb7
RM
38442 [BZ #2550]
38443 [BZ #2570]
38444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38445 comparisons to determine direction to adjust input.
4f9d04aa 38446
82a79e7d
RM
384472012-05-01 Roland McGrath <roland@hack.frob.com>
38448
f5a01ca9
RM
38449 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38450 output to the target.
38451
90fe4186
RM
38452 * scripts/localplt.awk: New file.
38453 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38454 (check-localplt-CFLAGS): Variable removed.
38455 ($(all-built-dso:=.jmprel)): New static pattern rule.
38456 (generated): Add those targets.
38457 (localplt-built-dso): New variable.
38458 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38459
38460 * elf/check-localplt.c: File removed.
38461
82397ed6
RM
38462 * scripts/check-execstack.awk: New file.
38463 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38464 (check-execstack-CFLAGS): Variable removed.
38465 ($(objpfx)check-execstack.h): Target removed.
38466 ($(objpfx)execstack-default): New target.
38467 (generated): Add that instead of check-execstack.h.
38468 ($(all-built-dso:=.phdr)): New static pattern rule.
38469 (generated): Add those targets.
38470 * elf/check-execstack.c: File removed.
38471
82a79e7d
RM
38472 * scripts/check-textrel.awk: New file.
38473 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38474 (check-textrel-CFLAGS): Variable removed.
38475 (all-built-dso): Use := to define.o
38476 ($(all-built-dso:=.dyn)): New static pattern rule.
38477 (generated): Add those targets.
38478 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38479 * config.make.in (READELF): New substituted variable.
38480 * elf/check-textrel.c: File removed.
38481
62fde54f 384822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38483
615605c9
JM
38484 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38485 allow.
38486 * conform/data/ctype.h-data [C99-based standards] (isblank):
38487 Expect function.
38488 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38489 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38491 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38492 Specify type. Require positive value.
38493 (EILSEQ): Likewise.
38494 (ERANGE): Likewise.
38495 [ISO || POSIX] (EILSEQ): Do not expect.
38496 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38497 Specify type. Require positive value.
38498 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38499 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38500 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38501 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38502 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38503 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38504 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38505 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38506 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38507 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38508 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38509 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38510 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38511 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38512 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38513 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38514 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38515 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38516 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38517 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38518 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38519 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38520 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38521 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38522 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38523 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38524 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38525 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38526 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38527 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38528 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38529 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38530 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38531 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38532 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38533 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38534 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38535 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38536 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38537 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38538 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38539 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38540 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38541 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38542 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38543 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38544 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38545 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38546 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38547 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38548 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38549 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38550 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38551 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38552 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38553 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38554 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38555 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38556 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38557 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38558 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38559 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38560 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38561 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38562 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38563 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38564 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38565 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38566 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38567 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38568 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38569 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38570 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38571 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38572 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38573 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38574 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38575 Require >= 2.
38576 (FLT_ROUNDS): Expect as macro, not constant.
38577 (FLT_MANT_DIG): Use macro-int-constant.
38578 (DBL_MANT_DIG): Likewise.
38579 (LDBL_MANT_DIG): Likewise.
38580 (FLT_DIG): Likewise.
38581 (DBL_DIG): Likewise.
38582 (LDBL_DIG): Likewise.
38583 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38584 (DBL_MIN_EXP): Likewise.
38585 (LDBL_MIN_EXP): Likewise.
38586 (FLT_MAX_EXP): Use macro-int-constant.
38587 (DBL_MAX_EXP): Likewise.
38588 (LDBL_MAX_EXP): Likewise.
38589 (FLT_MAX_10_EXP): Likewise.
38590 (DBL_MAX_10_EXP): Likewise.
38591 (LDBL_MAX_10_EXP): Likewise.
38592 (FLT_MAX): Use macro-constant.
38593 (DBL_MAX): Likewise.
38594 (LDBL_MAX): Likewise.
38595 (FLT_EPSILON): Use macro-constant. Give upper bound.
38596 (DBL_EPSILON): Likewise.
38597 (LDBL_EPSILON): Likewise.
38598 (FLT_MIN): Likewise.
38599 (DBL_MIN): Likewise.
38600 (LDBL_MIN): Likewise.
38601 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38602 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38603 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38604 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38605 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38606 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38607 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38608 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38609 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38610 [ISO11] (FLT_TRUE_MIN): Likewise.
38611 [ISO11] (LDBL_TRUE_MIN): Likewise.
38612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38613 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38614 (SCHAR_MIN): Use macro-int-constant. Specify type.
38615 (SCHAR_MAX): Likewise.
38616 (UCHAR_MAX): Likewise.
38617 (CHAR_MIN): Likewise.
38618 (CHAR_MAX): Likewise.
38619 (MB_LEN_MAX): Use macro-int-constant.
38620 (SHRT_MIN): Use macro-int-constant. Specify type.
38621 (SHRT_MAX): Likewise.
38622 (USHRT_MAX): Likewise.
38623 (INT_MAX): Likewise.
38624 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38625 bound negative.
38626 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38627 bound with "U".
38628 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38629 bound with "L".
38630 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38631 bound negative. Suffix upper bound with "L".
38632 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38633 bound with "UL".
38634 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38635 Specify type.
38636 [C99-based standards] (LLONG_MAX): Likewise.
38637 [C99-based standards] (ULLONG_MAX): Likewise.
38638 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38639 == 0.
38640 [ISO11] (max_align_t): Require type.
38641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38642
c9140a62
JM
38643 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38644 from $CFLAGS, without defining away __attribute__ calls.
38645 (checknamespace): Use $CFLAGS_namespace.
38646
9af0bf29
JM
38647 * conform/conformtest.pl (@keywords): Only include C99 keywords
38648 for standards based on C99 or C11.
38649
343222a2
JM
38650 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38651 Disable tests.
38652 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38653 UNIX98]: Likewise.
38654
661f8cf0
JM
38655 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38656 usability of symbols in #if.
38657
ee74b9cb
JM
38658 * conform/conformtest.pl: If macro or constant types start
38659 "promoted:", expect the symbol to be of the following type
38660 promoted by the integer promotions.
62fde54f 38661
aafc49b3
JM
38662 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38663 in one place. Also handle "macro-constant".
38664
fefdf574
JM
38665 * conform/conformtest.pl: Only accept expected macro values with
38666 "==". Parse all "macro" lines in one place.
38667 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38668
f2d922fe
JM
38669 * conform/conformtest.pl: Handle braced types on "constant" lines
38670 instead of handling "typed-constant".
38671 * conform/data/signal.h-data: Use "constant" instead of
38672 "typed-constant".
38673
d22956c9
JM
38674 * conform/conformtest.pl: Handle "optional-" at start of lines in
38675 one place rather than duplicating several cases. Handle each
38676 format of "macro" line with initial "optional-".
38677
028e2e38
JM
38678 * conform/conformtest.pl: Only accept expected constant or
38679 optional-constant values with "==". Parse all "constant" lines in
38680 one place. Parse all "optional-constant" lines in one place.
38681 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38682 * conform/data/fmtmsg.h-data: Likewise.
38683 * conform/data/netinet/in.h-data: Likewise.
38684 * conform/data/tar.h-data: Likewise.
38685 * conform/data/limits.h-data: Use "==" form on "constant" and
38686 "optional-constant" lines.
38687
1b8f2850
JM
38688 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38689 Use -std=c99 for XOPEN2K.
38690 (@knownproblems): Remove.
38691 (newtoken): Don't check %isknown.
38692
a05a144b
JM
38693 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38694 Do not expect macro.
38695 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38696 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38697 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38698 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38699 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38700 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38701 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38702 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38703 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38704 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38705 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38706 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38707 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38708 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38709 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38710 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38711 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38712 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38713 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38714 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38715 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38717 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38719 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38720 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38721 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38722 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38723 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38724 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38725 [XPG3] (acosh): Likewise.
38726 [XPG3] (asinh): Likewise.
38727 [XPG3] (atanh): Likewise.
38728 [XPG3] (cbrt): Likewise.
38729 [XPG3] (expm1): Likewise.
38730 [XPG3] (ilogb): Likewise.
38731 [XPG3] (log1p): Likewise.
38732 [XPG3] (logb): Likewise.
38733 [XPG3] (nextafter): Likewise.
38734 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38735 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38736 [XPG3] (remainder): Likewise.
38737 [XPG3] (rint): Likewise.
38738 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38739 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38740 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38741 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38742 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38743 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38744 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38745 [UNIX98 || XOPEN2K] (scalb): Expect.
38746 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38747 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38748 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38749 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38750 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38751 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38752 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38753 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38754 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38755 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38756 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38757 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38758 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38759 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38760 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38761 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38762 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38763 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38764 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38765 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38766 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38767 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38768 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38769 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38770 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38771 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38772 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38773 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38774 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38775 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38776 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38777 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38778 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38779 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38780 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38781 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38782 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38783 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38784 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38785 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38786 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38787 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38788 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38789 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38790 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38791 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38792 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38793 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38794 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38795 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38796 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38797 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38798 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38799 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38800 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38801 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38802 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38803 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38804 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38805 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38806 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38807 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38808 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38809 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38810 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38811 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38812 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38813 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38814 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38815 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38816 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38817 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38818 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38819 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38820 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38821 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38822 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38823 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38824 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38825 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38826 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38827 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38828 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38829 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38830 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38831 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38832 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38833 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38834 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38835 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38836 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38837 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38838 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38839 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38840 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38841 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38842 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38843 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38844 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38845 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38846 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38847 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38848 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38849 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38850 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38851 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38852 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38853 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38854 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38855 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38856 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38857 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38858 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38859 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38860 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38861 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38862 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38863 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38864 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38865 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38866 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38867 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38868 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38869 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38870 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38871 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38872 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38873 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38874 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38875 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38876 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38877 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38878 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38879 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38880 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38881 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38882 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38883
73c5ebe3
JM
38884 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38885 _XOPEN_SOURCE_EXTENDED for XPG4.
38886
39c33b6c
JM
38887 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38888
62fde54f
JM
38889 * Makeconfig (localtime): Remove variable.
38890 (inst_localtime-file): Likewise.
38891
0741d64c
AS
388922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38893
38894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38895 Update.
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38897 Update.
38898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38899 Update.
38900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38901 Update.
38902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38903 Update.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38905 Update.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38907 Update.
38908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38909 Update.
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38911 Update.
38912
7cb029ee
JM
389132012-05-01 Joseph Myers <joseph@codesourcery.com>
38914
38915 [BZ #2550]
38916 [BZ #2570]
38917 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38918 comparisons to determine direction to adjust input.
38919 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38920 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38921 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38922 Likewise.
38923 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38924 Likewise.
38925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38926 Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38929 Likewise.
38930 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38931 Likewise.
38932 * math/libm-test.inc (nexttoward_test): Add more tests.
38933
412bd966
AS
389342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38935
38936 [BZ #14040]
38937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38938 in version GLIBC_2.1, not GLIBC_2.0.
38939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38940 Likewise.
38941
9568c0c2
JM
389422012-04-30 Joseph Myers <joseph@codesourcery.com>
38943
adfbc8ac
JM
38944 [BZ #13942]
38945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38946 (1 - x) * (1 + x).
38947 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38948 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38949 * math/libm-test.inc (acos_test): Add more tests.
38950 (asin_test): Likewise.
38951 * sysdeps/i386/fpu/libm-test-ulps: Update.
38952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38953
5ba3cc69
JM
38954 [BZ #14034]
38955 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38956 of square root.
38957 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38958 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38959 * math/libm-test.inc (acos_test_tonearest): New function.
38960 (acos_test_towardzero): Likewise.
38961 (acos_test_downward): Likewise.
38962 (acos_test_upward): Likewise.
38963 (asin_test_tonearest): Likewise.
38964 (asin_test_towardzero): Likewise.
38965 (asin_test_downward): Likewise.
38966 (asin_test_upward): Likewise.
38967 (main): Call the new functions.
38968 * sysdeps/i386/fpu/libm-test-ulps: Update.
38969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38970
9568c0c2
JM
38971 [BZ #13884]
38972 [BZ #13924]
38973 * math/e_exp10.c: Include <float.h>.
38974 (__ieee754_exp10): Handle underflow here rather than multiplying
38975 large negative argument by M_LN10.
38976 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38977 of __ieee754_expf.
38978 * math/e_exp10l.c: Include <float.h>.
38979 (__ieee754_exp10l): Handle underflow here rather than multiplying
38980 large negative argument by M_LN10l.
38981 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38982 spurious overflow exception on underflow.
38983
5ac3ea17
MP
389842012-04-29 Marek Polacek <polacek@redhat.com>
38985
38986 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38987 (__fortify_function): New macro.
38988 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38989 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38990 __extern_always_inline.
38991 * libio/bits/stdio2.h: Likewise.
38992 * libio/bits/stdio.h: Likewise.
38993 * string/string.h: Likewise.
38994 * string/bits/string3.h: Likewise.
38995 * include/stdio.h: Likewise.
38996 * stdlib/bits/stdlib.h: Likewise.
38997 * stdlib/stdlib.h: Likewise.
38998 * rt/bits/mqueue2.h: Likewise.
38999 * rt/mqueue.h: Likewise.
39000 * posix/bits/unistd.h: Likewise.
39001 * posix/unistd.h: Likewise.
39002 * io/bits/poll2.h: Likewise.
39003 * io/bits/fcntl2.h: Likewise.
39004 * io/fcntl.h: Likewise.
39005 * io/sys/poll.h: Likewise.
39006 * misc/bits/syslog.h: Likewise.
39007 * misc/bits/syslog-ldbl.h: Likewise.
39008 * misc/sys/syslog.h: Likewise.
39009 * socket/bits/socket2.h: Likewise.
39010 * socket/sys/socket.h: Likewise.
39011 * debug/tst-chk1.c: Likewise.
39012 * wcsmbs/bits/wchar2.h: Likewise.
39013 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39014 * wcsmbs/wchar.h: Likewise.
39015
ecf0ebfb
AJ
390162012-04-29 Andreas Jaeger <aj@suse.de>
39017
39018 * Makerules (tests): Remove enable-check-abi protection.
39019 (check-abi-warn): Remove.
39020 (check-abi-%): Remove check-abi-warn usage.
39021
39022 * configure.in: Remove check-abi configure option.
39023 * configure: Regenerated.
39024 * config.make.in (enable-check-abi): Remove.
39025
6d5c57fa
AS
390262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39027
24c5d07e 39028 [BZ #14033]
ded5180a
AS
39029 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39030 double functions to double *_finite functions.
39031
7e0d315d
AS
39032 [BZ #13941]
39033 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39034 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39035 LDBL_MIN_EXP.
39036 * stdio-common/Makefile (tests): Add tst-sprintf3.
39037 * stdio-common/tst-sprintf3.c: New file.
39038
6d5c57fa
AS
39039 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39040 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39041
0749ff8b
JM
390422012-04-28 Joseph Myers <joseph@codesourcery.com>
39043
39044 * conform/conformtest.pl: Remove duplicate typed-constant
39045 handling.
39046
8dbd5d7b
DM
390472012-04-28 David S. Miller <davem@davemloft.net>
39048
39049 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39050 (check-abi-%): Remove AWK script prerequisite and explicit
39051 abilist directory.
39052 (check-abi): Rewrite to just diff the symlist with the abilist.
39053 (config-tls, config-abi-config): Delete, no longer used.
39054 (update-abi-%): Remove AWK script and explicit abilist directory.
39055 (update-abi): Rewrite to simply compare and conditionally copy the
39056 symlist and the sysdep abilist file. Remove update-abi-config
39057 checks.
39058 * abilist/ld.abilist: Remove.
39059 * abilist/libBrokenLocale.abilist: Remove.
39060 * abilist/libanl.abilist: Remove.
39061 * abilist/libcrypt.abilist: Remove.
39062 * abilist/libdl.abilist: Remove.
39063 * abilist/librt.abilist: Remove.
39064 * abilist/libthread_db.abilist: Remove.
39065 * abilist/libutil.abilist: Remove.
39066 * scripts/extract-abilist.awk: Remove.
39067 * scripts/merge-abilist.awk: Remove.
39068 * sysdeps/generic/libcidn.abilist: New file.
39069 * sysdeps/generic/libnss_compat.abilist: New file.
39070 * sysdeps/generic/libnss_db.abilist: New file.
39071 * sysdeps/generic/libnss_dns.abilist: New file.
39072 * sysdeps/generic/libnss_files.abilist: New file.
39073 * sysdeps/generic/libnss_hesiod.abilist: New file.
39074 * sysdeps/generic/libnss_nis.abilist: New file.
39075 * sysdeps/generic/libnss_nisplus.abilist: New file.
39076 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39077 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39078 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39079 file.
39080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39081 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39082 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39083 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39084 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39085 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39086 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39087 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39088 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39089 file.
39090 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39091 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39092 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39093 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39094 file.
39095 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39096 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39097 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39098 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39099 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39101 file.
39102 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39103 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39104 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39105 file.
39106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39108 New file.
39109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39110 New file.
39111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39112 New file.
39113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39114 New file.
39115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39116 New file.
39117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39118 New file.
39119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39120 New file.
39121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39122 New file.
39123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39124 New file.
39125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39126 New file.
39127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39128 New file.
39129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39130 New file.
39131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39132 New file.
39133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39134 file.
39135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39136 New file.
39137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39138 New file.
39139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39140 file.
39141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39142 New file.
39143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39144 New file.
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39146 file.
39147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39148 New file.
39149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39150 New file.
39151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39152 New file.
39153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39154 New file.
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39156 New file.
39157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39158 New file.
39159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39161 file.
39162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39163 New file.
39164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39165 file.
39166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39167 file.
39168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39169 file.
39170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39171 file.
39172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39173 file.
39174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39175 New file.
39176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39177 file.
39178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39179 file.
39180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39181 New file.
39182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39183 file.
39184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39186 file.
39187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39188 New file.
39189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39190 file.
39191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39192 file.
39193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39194 file.
39195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39196 file.
39197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39198 file.
39199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39200 New file.
39201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39202 file.
39203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39204 file.
39205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39206 New file.
39207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39208 file.
39209 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39210 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39211 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39212 file.
39213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39214 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39215 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39216 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39217 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39218 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39219 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39220 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39221 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39222 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39225 file.
39226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39227 New file.
39228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39229 file.
39230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39231 file.
39232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39233 file.
39234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39235 file.
39236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39237 file.
39238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39239 New file.
39240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39241 New file.
39242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39243 file.
39244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39245 New file.
39246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39247 file.
39248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39250 file.
39251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39252 New file.
39253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39254 file.
39255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39256 file.
39257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39258 file.
39259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39260 file.
39261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39262 file.
39263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39264 New file.
39265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39266 New file.
39267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39268 file.
39269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39270 New file.
39271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39272 file.
39273
41d73a1b
JM
392742012-04-28 Joseph Myers <joseph@codesourcery.com>
39275
39276 * conform/conformtest.pl: Fix typo in handling typed-constant from
39277 allow-header.
39278
28aeeda4
JM
392792012-04-27 Joseph Myers <joseph@codesourcery.com>
39280
adae8f5e
JM
39281 * README: Cut down references to pre-2.6 Linux kernels and
39282 Linuxthreads. Update lists of configurations in libc and ports
39283 and sort alphabetically. Say "or newer" with Linux kernel version
39284 requirements.
39285
28aeeda4
JM
39286 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39287
a462cb63
RA
392882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39289
39290 [BZ #887]
39291 * math/libm-test.inc (logb_test_downward): New test to expose
39292 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39293 rounding mode.
39294
6ad3493e
JM
392952012-04-27 Joseph Myers <joseph@codesourcery.com>
39296
39297 [BZ #14027]
39298 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39299 to be done.
39300 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39301 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39302
2ce4f015
JM
393032012-04-26 Joseph Myers <joseph@codesourcery.com>
39304
5aeb141a
JM
39305 * sysdeps/unix/i386/brk.S: Remove file.
39306 * sysdeps/unix/i386/dl-brk.S: Likewise.
39307 * sysdeps/unix/i386/pipe.S: Likewise.
39308 * sysdeps/unix/i386/sigreturn.S: Likewise.
39309 * sysdeps/unix/i386/syscall.S: Likewise.
39310 * sysdeps/unix/i386/vfork.S: Likewise.
39311 * sysdeps/unix/i386/wait.S: Likewise.
39312
7143acae
JM
39313 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39314 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39315
2ce4f015
JM
39316 * configure.in (arm*-none*): Do not allow without
39317 --enable-hacker-mode.
39318 (netbsd*): Remove case setting base_os.
39319 (386bsd*): Likewise.
39320 (freebsd*): Likewise.
39321 (bsdi*): Likewise.
39322 (osf*): Likewise.
39323 (sunos*): Likewise.
39324 (ultrix*): Likewise.
39325 (newsos*): Likewise.
39326 (dynix*): Likewise.
39327 (*bsd*): Likewise.
39328 (sysv*): Likewise.
39329 (isc*): Likewise.
39330 (esix*): Likewise.
39331 (sco*): Likewise.
39332 (minix*): Likewise.
39333 (irix4*): Likewise.
39334 (irix6*): Likewise.
39335 (solaris[2-9]*): Likewise.
39336 (none): Likewise.
39337 * configure: Regenerated.
39338
0ac229c8
AZ
393392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39340
39341 [BZ #11521]
39342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39343 overflow or cancellation in calculating denominator.
39344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39346 down expression to avoid unexpected rounding in newer GCCs.
39347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39348
33f244f4
DM
393492012-04-26 David S. Miller <davem@davemloft.net>
39350
39351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39352 long-double compat symbols.
39353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39366
cfa1f3e8
DM
393672012-04-25 David S. Miller <davem@davemloft.net>
39368
39369 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39370 HWCAP_* values only after the memory barriers have been defined.
39371 (atomic_full_barrier): Define.
39372 (atomic_read_barrier): Define.
39373 (atomic_write_barrier): Define.
39374
6e236b92
SP
393752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39376
39377 * shlib-versions: Add libgcc_s version information.
39378 * sysdeps/generic/libgcc_s.h: Remove.
39379 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39380 libgcc_s.h.
39381 * sysdeps/gnu/unwind-resume.c: Likewise.
39382 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39383
aab39a09
DM
393842012-04-25 David S. Miller <davem@davemloft.net>
39385
39386 * sysdeps/unix/sparc/brk.S: Delete.
39387 * sysdeps/unix/sparc/dl-brk.S: Delete.
39388 * sysdeps/unix/sparc/pipe.S: Delete.
39389 * sysdeps/unix/sparc/sysdep.S: Delete.
39390 * sysdeps/unix/sparc/sysdep.h: Delete.
39391 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39392 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39393 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39395 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39396 (JUMPTARGET): Remove.
39397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39398 sysdeps/unix/sparc/sysdep.h
39399 (ENTRY, END): Remove.
39400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39401
a3cc4f48
JM
394022012-04-25 Joseph Myers <joseph@codesourcery.com>
39403
2ed8cda2
JM
39404 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39405 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39406 -DIS_IN_build.
39407
35d76d59
JM
39408 * timezone/README: Update upstream location and email address for
39409 tzcode and tzdata.
39410 * timezone/zdump.c: Update from tzcode 2012b.
39411 * timezone/zic.c: Likewise.
39412
a3cc4f48
JM
39413 * configure.in (libc_cv_as_needed): Remove test.
39414 * configure: Regenerated.
39415 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39416 conditional definition.
39417 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39418 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39419 * config.make.in (have-as-needed): Remove variable.
39420
ceab42c3
SP
394212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39422 Paul Pluzhnikov <ppluzhnikov@google.com>
39423
39424 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39425 strings correctly.
39426
3ce2865f
CLT
394272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39428
39429 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39430 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39431 * sysdeps/sh/strlen.S: Likewise.
39432
f37e0d68
JM
394332012-04-24 Joseph Myers <joseph@codesourcery.com>
39434
ae186e9a
JM
39435 * sysdeps/unix/fork.S: Remove file.
39436 * sysdeps/unix/i386/fork.S: Likewise.
39437 * sysdeps/unix/sparc/fork.S: Likewise.
39438
b96914af
JM
39439 * sysdeps/unix/system.c: Remove file.
39440 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39441
f37e0d68
JM
39442 * sysdeps/unix/getegid.S: Remove file.
39443 * sysdeps/unix/geteuid.S: Likewise.
39444
87ef29ca
RM
394452012-04-24 Roland McGrath <roland@hack.frob.com>
39446
83bcd236
RM
39447 * scripts/check-localplt.awk: New file.
39448 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39449 of diff.
39450 * scripts/data/localplt-generic.data: Add a comment.
39451
87ef29ca
RM
39452 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39453 NODE when __dir_mkfile failed.
39454 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39455 Reported by Ludovic Courtès <ludo@gnu.org>.
39456
e5a6e567
AJ
394572012-04-24 Andreas Jaeger <aj@suse.de>
39458
39459 * Makerules (common-clean): Also remove gen-as-const-headers
39460 files.
39461
c1820385
JM
394622012-04-24 Joseph Myers <joseph@codesourcery.com>
39463
39464 * Makerules (native-compile): Do not change working directory for
39465 build. Use $(OUTPUT_OPTION) in command.
39466 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39467
94e02fc4
AZ
394682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39469
39470 [BZ #13886]
39471 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39472 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39473 * math/libm-test.inc (floor_test): Add more tests.
39474 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39475
3a533ca3
JM
394762012-04-24 Joseph Myers <joseph@codesourcery.com>
39477
940ab4b3
JM
39478 * sysdeps/unix/getdents.c: Remove file.
39479 * sysdeps/unix/sysv/getdents.c: Likewise.
39480 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39481
90e037bd
JM
39482 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39483 sysdeps/unix/mman/syscalls.list.
39484 (mmap): Likewise.
39485 (mprotect): Likewise.
39486 (msync): Likewise.
39487 (munmap): Likewise.
39488 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39489 * sysdeps/unix/mman/syscalls.list: Remove.
39490 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39491
3a533ca3
JM
39492 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39493 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39494 * configure: Regenerated.
39495 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39496 $(libgcc_s_suffix).
39497 * config.make.in (libgcc_s_suffix): Remove variable.
39498
1ad743de
JM
394992012-04-23 Joseph Myers <joseph@codesourcery.com>
39500
4ad451e2
JM
39501 * sysdeps/unix/sysv/gethostname.c: Move to ...
39502 * sysdeps/posix/gethostname.c: ... here.
39503
5e37ce39
JM
39504 * sysdeps/unix/execve.S: Remove file.
39505
1ad743de
JM
39506 * sysdeps/unix/_exit.S: Remove file.
39507
4e681b5b
AJ
395082012-04-23 Andreas Jaeger <aj@suse.de>
39509
39510 [BZ #13739]
39511 * manual/Makefile: Remove make dist support, there's no
39512 need for a stand-alone documentation tar ball.
39513 (TEXI2DVI): Define always, it's not in Makeconfig.
39514 (dist): Removed.
39515 (tar-it): Removed.
39516 (edition): Removed.
39517 (glibc-doc-$(edition).tar): Removed
39518 (%.Z): Removed.
39519 (%.gz): Removed.
39520 (%.uu): Removed.
39521 (ETAGS): Remove, it's in Makeconfig.
39522 (move-if-change): Remove, it's in Makeconfig.
39523
38686a03 395242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39525
39526 [BZ #13970]
39527 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39528 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39529 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39530 (strtod_l, strtof_l, strtold_l): Remove __wur.
39531 It is not necessarily an error to ignore strtol's return value.
39532 One can reliably look at the stored endptr to decide whether
39533 the number had valid syntax.
39534
7c0616fa
AJ
395352012-04-21 Andreas Jaeger <aj@suse.de>
39536
803cb6b7 39537 [BZ #13739]
7c0616fa
AJ
39538 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39539
b0fe253f
JM
395402012-04-21 Joseph Myers <joseph@codesourcery.com>
39541
39542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39543 * sysdeps/unix/sysv/Versions: Remove file.
39544
8280f22d
MT
395452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39546
39547 [BZ #13927]
39548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39549
75ce411f 395502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39551
39552 [BZ #7064]
39553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39554 version from __vm86.
39555
097d59fa
JM
395562012-04-20 Joseph Myers <joseph@codesourcery.com>
39557
a90f3bcb
JM
39558 * sysdeps/unix/common/lxstat.c: Remove file.
39559 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39560
edc7ea78
JM
39561 * sysdeps/unix/sysv/Makefile: Remove file.
39562
cb78c221
JM
39563 * sysdeps/unix/sysv/direct.h: Remove file.
39564
efa6a45f
JM
39565 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39566 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39567 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39568 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39569 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39570 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39571 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39572
9c9f2d0c
JM
39573 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39574
4541c83b
JM
39575 * sysdeps/unix/xmknod.c: Remove file.
39576 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39577
f5d153a0
JM
39578 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39579
aa746595
JM
39580 * sysdeps/unix/sysv/i386/time.S: Remove file.
39581
cce5905e
JM
39582 * sysdeps/unix/fxstat.c: Remove file.
39583 * sysdeps/unix/xstat.c: Likewise.
39584 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39585
37fa3841
JM
39586 * sysdeps/unix/sysv/sigaction.c: Remove file.
39587
ff1962a3
JM
39588 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39589 (sysdep_headers): Remove variable.
39590 [termio.h not in sysdep_headers] (generated): Likewise.
39591 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39592 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39593 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39594 * sysdeps/unix/sysv/tcflow.c: Likewise.
39595 * sysdeps/unix/sysv/tcflush.c: Likewise.
39596 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39597 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39598 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39599 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39600 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39601
e7740d31
JM
39602 * sysdeps/unix/siglist.c: Remove file.
39603
ee06f18b
JM
39604 * sysdeps/unix/getppid.S: Remove file.
39605
097d59fa
JM
39606 * sysdeps/unix/mkdir.c: Remove file.
39607 * sysdeps/unix/rmdir.c: Likewise.
39608
ff3d51ec
AS
396092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39610
39611 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39612 ERR_MAX value.
39613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39614 errlist-compat value.
39615
50f81fd7
DM
396162012-04-18 David S. Miller <davem@davemloft.net>
39617
39618 * sysdeps/generic/memcopy.h (reg_char): Delete.
39619 * debug/strcat_chk.c: Use char, not reg_char.
39620 * debug/strcpy_chk.c: Likewise.
39621 * debug/strncat_chk.c: Likewise.
39622 * debug/strncpy_chk.c: Likewise.
39623 * string/memchr.c: Likewise.
39624 * string/memrchr.c: Likewise.
39625 * string/rawmemchr.c: Likewise.
39626 * string/strcat.c: Likewise.
39627 * string/strchr.c: Likewise.
39628 * string/strchrnul.c: Likewise.
39629 * string/strcmp.c: Likewise.
39630 * string/strcpy.c: Likewise.
39631 * string/strncat.c: Likewise.
39632 * string/strncmp.c: Likewise.
39633 * string/strncpy.c: Likewise.
39634
8ff41c46
WS
396352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39636
39637 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39638 __builtin_memcopy is called when src and dest ranges are known to not
39639 overlap.
39640
6b652f46
WS
396412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39642
39643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39644 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39645 fwd_align_merge macro call.
39646 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39647 bwd_align_merge macro call.
39648 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39649
b282631e
WS
396502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39651
39652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39653 bwd_align_merge macros.
39654 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39655 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39656 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39657
95aa737c
DM
396582012-04-18 David S. Miller <davem@davemloft.net>
39659
39660 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39661
7a99a614
AJ
396622012-04-18 Andreas Jaeger <aj@suse.de>
39663
39664 [BZ# 6794]
39665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39666 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39668
39669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39670 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39671 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39672
39673 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39674 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39675 Adjust for changed ldbl-128 files.
39676
39677 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39678 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39680
e5270c23
DM
396812012-04-17 David S. Miller <davem@davemloft.net>
39682
39683 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39684
fb5e92c9
AS
396852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39686
39687 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39688 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39689 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39690 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39691 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39692 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39693
76da7265
AZ
396942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39695
39696 [BZ #6794]
39697 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39698 * math/libm-test.inc: Add ilogb errno and exception tests.
39699 * math/w_ilogb.c: New file: ilogb wrapper.
39700 * math/w_ilogbf.c: New file: ilogbf wrapper.
39701 * math/w_ilogbl.c: New file: ilogbl wrapper.
39702 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39703 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39704 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39705 exception being thrown with 0.0 as argument.
39706 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39707 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39708 exception being thrown with 0.0 as argument.
39709 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39710 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39711 exception being thrown with 0.0 as argument.
39712 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39713 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39714 exception being thrown with 0.0 as argument.
39715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39716 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39718 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39719 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39720 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39721 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39722 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39723 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39724
0396e69d
PB
397252012-04-17 Petr Baudis <pasky@ucw.cz>
39726
39727 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39728 with altivec.
39729
750b5926
MP
397302012-04-16 Marek Polacek <polacek@redhat.com>
39731
39732 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39733
751728a1
MP
397342012-04-16 Marek Polacek <polacek@redhat.com>
39735
39736 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39737 operands of fdivp instruction.
39738
34a27407
L
397392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39740
39741 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39742 * elf/tst-auditmod3b.c: Likewise.
39743 * elf/tst-auditmod4b.c: Likewise.
39744 * elf/tst-auditmod5b.c: Likewise.
39745 * elf/tst-auditmod6b.c: Likewise.
39746 * elf/tst-auditmod6c.c: Likewise.
39747 * elf/tst-auditmod7b.c: Likewise.
39748 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39749 * sysdeps/x86_64/preconfigure.in: Likewise.
39750 * sysdeps/x86_64/preconfigure: Regenerated.
39751
7e73e17d
L
397522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39753
39754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39755 __ILP32__.
39756
c7a6ab72
AB
397572012-04-13 Antoine Balestrat <merkil33@gmail.com>
39758
39759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39760 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39761
a9e8e0e0
CL
397622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39763
39764 [BZ #13973]
39765 * locale/iso-639.def: Fix gl language name. Spotted by
39766 Yaron Shahrabani.
39767
ec98af7d
RM
397682012-04-12 Roland McGrath <roland@hack.frob.com>
39769
39770 [BZ #2074]
39771 * libio/libio.h (__io_write_fn): Update comment.
39772
247c3ede
PB
397732012-04-12 Petr Baudis <pasky@ucw.cz>
39774
39775 [BZ #2074]
39776 * stdio.texi (Hook Functions): The user provided writer function
39777 is not allowed to return -1.
39778
55939d6d
DM
397792012-04-11 David S. Miller <davem@davemloft.net>
39780
39781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39782
90020f5a
MF
397832012-04-11 Mike Frysinger <vapier@gentoo.org>
39784
39785 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39786 Add a leading slash to rtkaio.
39787
288f9098
JM
397882012-04-11 Jim Meyering <meyering@redhat.com>
39789
90020f5a
MF
39790 [BZ #11959]
39791 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39792 It is not necessarily an error to ignore fwrite's return
39793 value. One can reliably use ferror to test for errors after
39794 the fact.
288f9098 39795
4be2b570
L
397962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39797
39798 * bits/types.h (__snseconds_t): New type.
39799 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39800
39801 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39803 (__SNSECONDS_T_TYPE): Likewise.
39804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39805 (__SNSECONDS_T_TYPE): Likewise.
39806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39807 (__SNSECONDS_T_TYPE): Likewise.
39808
288f9098 398092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39810
39811 [BZ #2636]
39812 * manual/time.texi (Processor Time): Return type of times is
39813 elapsed real time since an arbitrary point in the past.
39814 (CPU Time): Move CLK_TCK from here...
39815 (Processor Time): ...to here. Correct description.
39816 * manual/conf.texi (Constants for Sysconf): Correct description of
39817 _SC_CLK_TCK.
39818
d7dd4413
DM
398192012-04-10 David S. Miller <davem@davemloft.net>
39820
39821 [BZ #13967]
39822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39823 where the is a gap between DT_REL(A) and DT_JMPREL.
39824
b46068fc
L
398252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39826
39827 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39828 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39829 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39830
73d65cc3
SP
398312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39832
39833 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39834 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39835 (dl_main): Handle --inhibit-cache.
39836 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39837 _dl_inhibit_cache.
39838 * elf/dl-load.c (_dl_map_object): Use it.
39839 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39840
bcc8d661
JM
398412012-04-09 Joseph Myers <joseph@codesourcery.com>
39842
8f9a2fae
JM
39843 [BZ #13872]
39844 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39845 (__ieee754_powl): Saturate large exponents rather than testing for
39846 overflow of y*log2(x).
39847 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39848 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39849 exceptions.
39850
bcc8d661
JM
39851 [BZ #11521]
39852 * math/s_ctan.c: Include <float.h>.
39853 (__ctan): Avoid internal overflow or cancellation in calculating
39854 denominator.
39855 * math/s_ctanf.c: Likewise.
39856 * math/s_ctanl.c: Likewise.
39857 * math/s_ctanh.c: Likewise.
39858 * math/s_ctanhf.c: Likewise.
39859 * math/s_ctanhl.c: Likewise.
39860 * math/libm-test.inc (ctan_test): Add more tests.
39861 (ctanh_test): Likewise.
39862 * sysdeps/i386/fpu/libm-test-ulps: Update.
39863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39864
823fbbb4
AJ
398652012-04-09 Andreas Jaeger <aj@suse.de>
39866
03879793
AJ
39867 [BZ #6894]
39868 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39869 is an optional BSD extension.
39870
823fbbb4
AJ
39871 [BZ #10254]
39872 * manual/stdio.texi (Opening Streams): Document additional fopen
39873 parameters.
39874
8de131cb
RM
398752012-04-09 Roland McGrath <roland@hack.frob.com>
39876
39877 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39878 %eax without telling the compiler.
39879
c0ed9d7d
CD
398802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39881
39882 [BZ # 13963]
39883 * manual/install.texi: Use sourceware.org.
39884
c483f6b4
JM
398852012-04-09 Joseph Myers <joseph@codesourcery.com>
39886
d7dd9453
JM
39887 [BZ #13873]
39888 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39889 (__ieee754_pow): Generate overflow and underflow using huge*huge
39890 and tiny*tiny rather than just returning constant infinity or zero
39891 for large exponents.
39892 * math/libm-test.inc (pow_test): Require overflow exceptions for
39893 applicable cases of large exponents.
39894
c483f6b4
JM
39895 [BZ #706]
39896 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39897 (__ieee754_pow): Use iterative multiplication algorithm only for
39898 integer exponents with absolute value below 1024. Check for odd
39899 integer exponents when using algorithm for real exponents.
39900 * math/libm-test.inc (pow_test): Add more tests.
39901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39902
d2de7579
JM
399032012-04-08 Joseph Myers <joseph@codesourcery.com>
39904
39905 [BZ #13705]
39906 * math/libm-test.inc (exp_test): Do not allow overflow exception
39907 on underflow test.
39908
f77f1232
AJ
399092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39910
39911 [BZ #13705]
39912 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39913 instead of __kernel_standard_f.
39914
3884932b
MF
399152012-04-08 Mike Frysinger <vapier@gentoo.org>
39916
39917 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39918 * sysdeps/x86_64/memset_chk.S: Likewise.
39919
54472e9c
AJ
399202012-04-08 Andreas Jaeger <aj@suse.de>
39921
6ab0fbfc
AJ
39922 [BZ #10153]
39923 * manual/startup.texi (Environment Access): Describe return value
39924 for putenv and setenv.
39925
61efba8c
AJ
39926 [BZ #6895]
39927 * manual/filesys.texi (Directory Entries): Add description for
39928 DT_LNK.
39929
95c3f29a
AJ
39930 [BZ #6890]
39931 * manual/filesys.texi (Directory Entries): Clarify that it's file
39932 system not operating system in the description of DT_UNKNOWN.
39933
54472e9c
AJ
39934 [BZ #6578]
39935 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39936
624254b1
SC
399372012-04-08 Stephen Compall <s11@member.fsf.org>
39938
39939 [BZ #6649]
39940 * manual/llio.texi (Opening and Closing Files): Add cross
39941 reference to explain mode argument.
39942
1e4920e0
MF
399432012-04-07 Mike Frysinger <vapier@gentoo.org>
39944
39945 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39946 * sysdeps/x86_64/memset_chk.S: Likewise.
39947
5ed848f3
DM
399482012-04-07 David S. Miller <davem@davemloft.net>
39949
39950 * elf/elf.h (R_SPARC_WDISP10): Define.
39951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39952 R_SPARC_SIZE32.
39953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39954 R_SPARC_SIZE64 and R_SPARC_H34.
39955
96154cd8
CD
399562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39957
39958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39959 conditions and remove no longer applicable assertion.
39960
9904dc47
L
399612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39962
39963 * bits/byteswap.h: Include <features.h>.
39964 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39965 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39966
f8887d0a
L
399672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39968
39969 * bits/byteswap.h (__bswap_16): Removed.
39970 Include <bits/byteswap-16.h> to get __bswap_16.
39971 * sysdeps/i386/bits/byteswap.h: Likewise.
39972 * sysdeps/s390/bits/byteswap.h: Likewise.
39973 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39974 * bits/byteswap-16.h: New file.
39975 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39976 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39977 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39978 * string/Makefile (headers): Add bits/byteswap-16.h.
39979
62470f60
PP
399802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39981
39982 [BZ #13895]
39983 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39984 extra indirection.
39985 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39986 * nss/tst-nss-static.c: New.
39987
4dad7bab
RM
399882012-04-06 Robert Millan <rmh@gnu.org>
39989
39990 [BZ #6486]
39991 * manual/llio.texi (File Position Primitive): lseek
39992 refers to WHENCE when it really means OFFSET.
39993
e9142a17
AJ
399942012-04-06 Andreas Jaeger <aj@suse.de>
39995
2c040eff
AJ
39996 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39997 strncmp declarations.
39998
e9142a17
AJ
39999 * abilist/libc.abilist: Add __poll and __ppoll.
40000
ff9f1c5f
DM
400012012-04-05 David S. Miller <davem@davemloft.net>
40002
dcd2ae90
DM
40003 * scripts/check-local-headers.sh: Accept a host triplet in the
40004 path matched by the exclude regexp.
40005
993eb054
DM
40006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40007 definition.
40008 * sysdeps/powerpc/powerpc32/dl-machine.h
40009 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40010 * sysdeps/s390/s390-32/dl-machine.h
40011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40012 * sysdeps/sparc/sparc32/dl-machine.h
40013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40014 * sysdeps/sparc/sparc64/dl-machine.h
40015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40016
ff9f1c5f
DM
40017 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40018 lazy binding.
48e2e132 40019 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40020 undefined symbol errors.
40021
48e2e132 40022 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40023 DT_NEEDED entries.
40024
e80d6f94
MM
400252012-04-05 Michael Matz <matz@suse.de>
40026
40027 [BZ #13592]
40028 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40029
349fa79f
AJ
400302012-04-05 Andreas Jaeger <aj@suse.de>
40031
40032 [BZ #13908]
40033 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40034 comment.
40035
f402708f
KK
400362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40037
40038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40039 which ROUND is no valid rounding mode.
40040
2ecccfc9
KK
400412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40042
40043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40044 read again.
40045 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40046
8a53f50f
KK
400472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40048
40049 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40050 an exception using FPU order intentionally.
40051
400522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40053
40054 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40055 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40056 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40057 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40058
d653abb7
SJ
400592012-04-05 Simon Josefsson <simon@josefsson.org>
40060
40061 [BZ #12340]
40062 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40063 EINVAL when BUFLEN is too smal.
40064
c3b1bf7d
TS
400652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40066
40067 [BZ #13553]
40068 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40069 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40070
b1aa60f3
AJ
400712012-04-03 Andreas Jaeger <aj@suse.de>
40072
c3b1bf7d 40073 [BZ #13938]
67f60a26
AJ
40074 * manual/setjmp.texi (System V contexts): Fix sentence.
40075
b1aa60f3
AJ
40076 [BZ #13926]
40077 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40078 New macro for this case.
40079 [!__GNUC__] (__bswap_64): New inline function for this case.
40080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40081 * bits/byteswap.h: Likewise.
40082 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40083 ull, guard with __GLIBC_HAVE_LONG_LONG.
40084
40085 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40086 __GLIBC_HAVE_LONG_LONG.
40087
40088 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40089 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40090
39c59c35
TMQMF
400912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40092
40093 [BZ #13691]
40094 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40095 inptr and inend, rather than using last_ch.
40096
135ffda8
DM
400972012-04-02 David S. Miller <davem@davemloft.net>
40098
40099 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40100 * stdio-common/printf-parse.h (read_int): Change return type to
40101 'int', return -1 on INT_MAX overflow.
40102 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40103 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40104 overflows INT_MAX. Check for overflow of in-format-string precision
40105 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40106 SIZE_MAX not INT_MAX for integer overflow test.
40107 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40108 skip the construct in the format string but do not record anything.
40109 * stdio-common/bug22.c: Adjust to test both width/prevision
40110 INT_MAX overflow as well as total length INT_MAX overflow. Check
40111 explicitly for proper errno values.
40112
228c019e
TS
401132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40114
302cadd3
TS
40115 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40116 CHAR_MAX.
40117 * string/test-strcmp.c [! WIDE]: Likewise.
40118 * time/tst-mktime2.c: Likewise for INT_MAX.
40119 * string/test-string.h: #include <sys/param.h> for MIN.
40120
228c019e
TS
40121 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40122 * sysdeps/i386/init-first.c (init): Likewise.
40123 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40124 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40125 * sysdeps/sh/init-first.c (init): Likewise.
40126
cfa633f5
UD
401272012-04-01 Ulrich Drepper <drepper@gmail.com>
40128
40129 * po/ru.po: Update from translation team.
d1635ef8 40130 * po/vi.po: Likewise.
cfa633f5 40131
6cd0a5ea
SP
401322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40133
40134 * resolv/nss_dns/dns-host.c: Merge copyright years.
40135
4b43400f
LD
401362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40137
40138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40139 Optimize memcpy with prefetch if
40140 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40141 src, dst pointers have unequal 16 byte alignments.
40142
48c41d04
SP
401432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40144
40145 [BZ #13928]
40146 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40147 from a CNAME entry and return the minimum ttl for the query.
40148 (gaih_getanswer_slice): Likewise.
40149
b8dc394d
JL
401502012-03-30 Jeff Law <law@redhat.com>
40151
40152 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40153 due to long keys.
40154 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40155 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40156
2f5a5ed0
JL
40157 * resolv/nss_dns/dns-host.c: Update copyright year.
40158
1d39e359
UD
401592012-03-30 Ulrich Drepper <drepper@gmail.com>
40160
c030f70c 40161 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40162 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40163
1d39e359
UD
40164 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40165 comments for sendmmsg.
40166
401672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40168
40169 [BZ #13691]
40170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40171 with only 1 character between 0x0041 and 0x01b0.
40172 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40173 * wcsmbs/tst-mbsnrtowcs.c: New file.
40174
20fde227
DM
401752012-03-29 David S. Miller <davem@davemloft.net>
40176
40177 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40178 small copies by hand.
40179
984a4237
JL
401802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40181
40182 [BZ #13761]
57f41c40
AS
40183 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40184 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40185 group memberships.
984a4237 40186
18c9d62b
DM
401872012-03-28 David S. Miller <davem@davemloft.net>
40188
88d85d4f
DM
40189 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40190 that branches into memcpy.
40191 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40194 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40196 bits.
40197 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40198 implementation too.
40199 * sysdeps/sparc/mempcpy.S: New file.
40200
e5aa83e1
DM
40201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40202 the IFUNC routine in the libc case.
40203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40204
88570753
DM
40205 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40206 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40207 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40208 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40209 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40210 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40211 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40212 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40213
249d7567
DM
40214 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40215 loop to 256 bytes instead of 64 bytes and fix test signedness.
40216
18c9d62b
DM
40217 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40218 * sysdeps/sparc/sparc32/Makefile: rather than here...
40219 * sysdeps/sparc/sparc64/Makefile: and here.
40220
05f3d1f6
UD
402212012-03-28 Ulrich Drepper <drepper@gmail.com>
40222
40223 * malloc/mallocbug.c: Avoid warnings about unused variables.
40224
86ae07a8
JL
402252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40226
40227 [BZ #13760]
40228 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40229 in the right place. Discard and retry query if response is
40230 larger than input buffer size.
40231
41bf21a1
JM
402322012-03-28 Joseph Myers <joseph@codesourcery.com>
40233
d6270972
JM
40234 [BZ #369]
40235 [BZ #2678]
40236 [BZ #3866]
40237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40238 x for large integer exponent.
40239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40241 sign of result as needed afterwards.
40242 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40244 result for underflowing pow the same as for overflow.
40245 (__kernel_standard_l): Handle powl overflow and underflow here
40246 rather than calling __kernel_standard.
40247 * math/libm-test.inc (pow_test): Add more tests.
40248
414fca03 40249 [BZ #3868]
41bf21a1
JM
40250 [BZ #13879]
40251 [BZ #13910]
40252 [BZ #13911]
40253 [BZ #13912]
40254 [BZ #13913]
40255 [BZ #13915]
40256 [BZ #13916]
40257 [BZ #13917]
40258 [BZ #13918]
40259 [BZ #13919]
40260 [BZ #13920]
40261 [BZ #13921]
40262 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40263 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40264 (__kernel_standard_l): New function.
40265 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40266 __kernel_standard.
40267 * math/w_acosl.c (__acosl): Likewise.
40268 * math/w_asinl.c (__asinl): Likewise.
40269 * math/w_atan2l.c (__atan2l): Likewise.
40270 * math/w_atanhl.c (__atanhl): Likewise.
40271 * math/w_coshl.c (__coshl): Likewise.
40272 * math/w_exp10l.c (__exp10l): Likewise.
40273 * math/w_exp2l.c (__exp2l): Likewise.
40274 * math/w_fmodl.c (__fmodl): Likewise.
40275 * math/w_hypotl.c (__hypotl): Likewise.
40276 * math/w_j0l.c (__j0l, __y0l): Likewise.
40277 * math/w_j1l.c (__j1l, __y1l): Likewise.
40278 * math/w_jnl.c (__jnl, __ynl): Likewise.
40279 * math/w_lgammal.c (__lgammal): Likewise.
40280 * math/w_log10l.c (__log10l): Likewise.
40281 * math/w_log2l.c (__log2l): Likewise.
40282 * math/w_logl.c (__logl): Likewise.
40283 * math/w_powl.c (__powl): Likewise.
40284 * math/w_remainderl.c (__remainderl): Likewise.
40285 * math/w_scalbl.c (sysv_scalbl): Likewise.
40286 * math/w_sinhl.c (__sinhl): Likewise.
40287 * math/w_sqrtl.c (__sqrtl): Likewise.
40288 * math/w_tgammal.c (__tgammal): Likewise.
40289 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40290 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40291 * math/libm-test.inc (acos_test): Add more tests.
40292 (acosh_test): Likewise.
40293 (asin_test): Likewise.
40294 (atanh_test): Likewise.
40295 (exp_test): Likewise.
40296 (exp10_test): Likewise.
40297 (exp2_test): Likewise.
40298 (expm1_test): Likewise.
40299 (lgamma_test): Likewise.
40300 (log_test): Likewise.
40301 (log10_test): Likewise.
40302 (log1p_test): Likewise.
40303 (log2_test): Likewise.
40304 (pow_test): Do not allow some spurious overflow exceptions.
40305 (sqrt_test): Add more tests.
40306 (tgamma_test): Likewise.
40307 (y0_test): Likewise.
40308 (y1_test): Likewise.
40309 (yn_test): Likewise.
40310
dd62fda6
AB
403112012-03-27 Anton Blanchard <anton@samba.org>
40312
40313 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40314 MAP_HUGETLB.
40315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40318
1e3cdfda
AJ
403192012-03-27 David S. Miller <davem@davemloft.net>
40320
b855ab85
DM
40321 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40322
1e3cdfda
AJ
40323 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40324 have-as-vis3 check.
40325
403262012-03-27 Andreas Jaeger <aj@suse.de>
40327
40328 * sysdeps/x86_64/elf/configure.in: Moved to ...
40329 * sysdeps/x86_64/configure.in: ... here.
40330 * sysdeps/x86_64/elf/start.S: Moved to ...
40331 * sysdeps/x86_64/start.S: ... here.
40332 * sysdeps/x86_64/elf/configure: Delete.
40333
40334 * sysdeps/x86_64/configure.in: Merge contents from
40335 sysdeps/i386/configure.in (without i686 check).
40336
40337 * sysdeps/i386/elf/Versions: Merge into ...
40338 * sysdeps/i386/Versions: ... this.
40339 * sysdeps/i386/elf/Versions: Delete file.
40340 * sysdeps/i386/elf/start.S: Moved to ...
40341 * sysdeps/i386/start.S: ...here.
40342 * sysdeps/i386/elf/configure.in: Merge into...
40343 * sysdeps/i386/configure.in: ...here.
40344 * sysdeps/i386/elf/configure.in: Delete file.
40345 * sysdeps/i386/elf/configure: Delete file.
40346
40347 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40348 * debug/backtracesyms.c: ... here.
40349 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40350 * debug/backtracesymsfd.c: ... here.
40351 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40352 * sysdeps/generic/ifunc-sel.h: ... here.
40353
40354 * sysdeps/unix/i386/start.c: Delete file.
40355 * sysdeps/unix/sparc/start.c: Delete file.
40356 * sysdeps/unix/start.c: Delete file.
40357
40358 * sysdeps/sh/elf/configure.in: Moved to ...
40359 * sysdeps/sh/configure.in: ... here.
40360 * sysdeps/sh/elf/start.S: Moved to ...
40361 * sysdeps/sh/start.S: ... here.
40362 * sysdeps/sh/elf/configure: Delete file.
40363
40364 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40365 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40366 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40367 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40368 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40369 * sysdeps/powerpc/powerpc64/start.S: here.
40370 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40371 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40372 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40373 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40374 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40375
40376 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40377 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40378 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40379 * sysdeps/powerpc/powerpc32/start.S: ... here.
40380 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40381 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40382 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40383
40384 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40385 * sysdeps/powerpc/ifunc-sel.h: ... here.
40386 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40387 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40388
40389 * sysdeps/sparc/elf/configure.in: Moved to ...
40390 * sysdeps/sparc/configure.in: ... here.
40391 * sysdeps/sparc/elf/configure: Delete file.
40392 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40393 * sysdeps/sparc/sparc32/start.S: ... here.
40394 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40395 * sysdeps/sparc/sparc64/start.S: ... here.
40396 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40397 * sysdeps/sparc/sparc32/Makefile: ... this.
40398 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40399 * sysdeps/sparc/sparc64/Makefile: ... this.
40400
40401 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40402 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40403 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40404 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40405 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40406 * sysdeps/s390/s390-32/setjmp.S: ... here.
40407 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40408 * sysdeps/s390/s390-32/configure.in: ... here.
40409 * sysdeps/s390/s390-32/elf/configure: Delete file.
40410 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40411 * sysdeps/s390/s390-32/start.S: ... here.
40412
40413 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40414 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40415 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40416 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40417 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40418 * sysdeps/s390/s390-64/setjmp.S: ... here.
40419 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40420 * sysdeps/s390/s390-64/configure.in: ... here
40421 * sysdeps/s390/s390-64/elf/configure: Delete file.
40422 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40423 * sysdeps/s390/s390-64/start.S: ... here.
40424 * sysdeps/s390/s390-64/elf/configure: Delete.
40425
40426 * configure.in: Remove support for elf directories in sysdeps.
40427
40428 * configure: Regenerated.
40429 * sysdeps/i386/configure: Regenerated.
40430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40432 * sysdeps/s390/s390-32/configure: Regenerated.
40433 * sysdeps/s390/s390-64/configure: Regenerated.
40434 * sysdeps/sh/configure: Regenerated.
40435 * sysdeps/sparc/configure: Regenerated.
40436 * sysdeps/x86_64/configure: Regenerated.
40437
a3f61311
AS
404382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40439
c876e002
AS
40440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40441
a3f61311
AS
40442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40443 denormal result into account.
40444
ac4c54f0
RM
404452012-03-25 Roland McGrath <roland@hack.frob.com>
40446
40447 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40448 Reported by Allan McRae <allan@archlinux.org>.
40449
6a9b9c02
JL
404502012-03-23 Jeff Law <law@redhat.com>
40451
40452 * nss/getnssent.c (__nss_getent): Fix typo.
40453
4c42a0c1
DM
404542012-03-23 David S. Miller <davem@davemloft.net>
40455
40456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40457
1532c7ac
L
404582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40461 to pad to uint64_t for each field.
40462 (dl_tls_index): Replace unsigned long with uint64_t.
40463
3ff42526
PP
404642012-03-23 Daniel Jacobowitz <dmj@google.com>
40465 Paul Pluzhnikov <ppluzhnikov@google.com>
40466
40467 [BZ #6528]
40468 * grp/Makefile (otherlibs): Don't set it.
40469 * inet/Makefile (otherlibs): Likewise.
40470 * login/Makefile (otherlibs): Likewise.
40471 * nscd/Makefile (otherlibs): Likewise.
40472 * posix/Makefile (otherlibs): Likewise.
40473 * pwd/Makefile (otherlibs): Likewise.
40474 * rt/Makefile (otherlibs): Likewise.
40475 * sunrpc/Makefile (otherlibs): Likewise.
40476 * nss/Makefile (otherlibs): Likewise.
40477 Add libnss_files to routines and static-only-routines.
40478 ($(objpfx)getent): Remove rule.
40479 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40480 static-only-routines.
40481
7c69cd14
JM
404822012-03-22 Joseph Myers <joseph@codesourcery.com>
40483
40484 [BZ #13892]
40485 * math/s_cexp.c: Include <float.h>.
40486 (__cexp): Handle exp result overflowing not necessarily
40487 overflowing both real and imaginary parts of result.
40488 * math/s_cexpf.c: Likewise.
40489 * math/s_cexpl.c: Likewise.
40490 * math/libm-test.inc (cexp_test): Add more tests.
40491 * sysdeps/i386/fpu/libm-test-ulps: Update.
40492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40493
81b035fe
L
404942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40495
40496 * include/link.h (ELFW): New macro.
40497 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40498 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40499
1da7940c
L
405002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40501
40502 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40503 with uint64_t.
40504
b749dbb9
L
405052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40506
40507 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40508 declaration.
40509 (struct La_x32_retval): Likewise.
40510
2ff87f3f
L
405112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40512
40513 * sysdeps/x86_64/preconfigure.in: New file.
40514 * sysdeps/x86_64/preconfigure: New generated file.
40515
c0df8e69
JM
405162012-03-22 Joseph Myers <joseph@codesourcery.com>
40517
48e44791
JM
40518 [BZ #13824]
40519 * math/e_exp2l.c: Include <float.h>.
40520 (__ieee754_exp2l): Handle overflow and underflow cases
40521 separately. Only pass fractional part of argument to
40522 __ieee754_expl.
40523 * math/libm-test.inc (exp2_test): Add more tests.
40524
c0df8e69
JM
40525 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40526 negating x to take absolute value.
40527 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40528 Likewise.
40529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40531 Likewise.
40532 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40533 computing low part if x was negated.
40534 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40535
c8e43ba7
L
405362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40537
40538 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40539 la_x32_gnu_pltexit.
40540 (pltexit): Cast int_retval to ptrdiff_t.
40541 * elf/tst-auditmod3b.c: Likewise.
40542 * elf/tst-auditmod4b.c: Likewise.
40543 * elf/tst-auditmod5b.c: Likewise.
40544 * elf/tst-auditmod6b.c: Likewise.
40545 * elf/tst-auditmod6c.c: Likewise.
40546 * elf/tst-auditmod7b.c: Likewise.
40547
40548 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40549 and x32_gnu_pltexit.
40550
40551 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40552 __ELF_NATIVE_CLASS.
40553 (La_x32_regs): New macro.
40554 (La_x32_retval): Likewise.
40555 (la_x32_gnu_pltenter): New function prototype.
40556 (la_x32_gnu_pltexit): Likewise.
40557
7998fa78
AS
405582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40559
dcb33988
AS
40560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40561 exponent.
40562
233fc563
AS
40563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40564
7998fa78
AS
40565 * configure.in (libc_cv_cc_nofma): Check for option to disable
40566 generation of FMA instructions.
40567 * configure: Regenerate.
40568 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40569 * sysdeps/ieee754/dbl-64/Makefile: New file.
40570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40571 Remove brandred-fma4.
40572 (CFLAGS-brandred-fma4.c): Remove.
40573 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40575 define.
40576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40577 define.
40578
8e95c99a
L
405792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40580
40581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40582 LLONG_MAX != LONG_MAX.
40583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40584 (_fitoa_word): Likewise.
40585 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40586 LLONG_MAX != LONG_MAX.
40587 * stdio-common/_itowa.h: Include <_itoa.h>.
40588 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40589 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40590 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40591 only if not defined.
40592 (_ITOA_WORD_TYPE): Likewise.
40593 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40594 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40595
6f4db457
DM
405962012-03-21 David S. Miller <davem@davemloft.net>
40597
40598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40599
7785fe5a
L
406002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40601
40602 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40603 of x86_64 when setting libc_cv_slibdir, libdir and
40604 libc_cv_localedir.
40605 * sysdeps/unix/sysv/linux/configure: Regenerated.
40606
4535cd55
JM
406072012-03-21 Joseph Myers <joseph@codesourcery.com>
40608
40609 * manual/lang.texi (Old Varargs): Remove section.
40610 (How Variadic): Update menu.
40611 (va_start): Do not mention varargs.h.
40612
17228132
TS
406132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40614 Joseph Myers <joseph@codesourcery.com>
40615
40616 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40617 link test.
40618 * configure: Regenerated.
40619
8149f976
TS
406202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40621
05f3d1f6
UD
40622 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40623 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40624 conformtest.pl
8149f976 40625
1a4ac776
JM
406262012-03-21 Joseph Myers <joseph@codesourcery.com>
40627
be22ce65
JM
40628 * NOTES: Remove.
40629 * Makefile (files-for-dist): Remove NOTES.
40630 (NOTES): Remove rule.
40631 * README: Don't refer to NOTES.
40632 * manual/creature.texi: Don't include macros.texi.
40633 * manual/intro.texi (creature.texi): Remove comment referring to
40634 NOTES.
40635
40b601fb
JM
40636 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40637 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40638 * configure: Regenerated.
40639 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40640 LIBC_TRY_CC_OPTION.
40641 (libc_cv_as_i686): Likewise.
40642 (libc_cv_cc_avx): Likewise.
40643 (libc_cv_cc_sse2avx): Likewise.
40644 (libc_cv_cc_fma4): Likewise.
40645 (libc_cv_cc_novzeroupper): Likewise.
40646 * sysdeps/i386/configure: Regenerated.
40647
1a4ac776
JM
40648 [BZ #13883]
40649 * sysdeps/i386/fpu/s_cexp.S: Remove.
40650 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40651 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40652 * math/libm-test.inc (cexp_test): Add more tests.
40653 * sysdeps/i386/fpu/libm-test-ulps: Update.
40654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40655
a458e7fe
AM
406562012-03-21 Allan McRae <allan@archlinux.org>
40657
40658 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40659
0cb7efc5
JM
406602012-03-21 Joseph Myers <joseph@codesourcery.com>
40661
40662 [BZ #13871]
40663 * math/w_exp2.c: Do not include <float.h>.
40664 (o_threshold, u_threshold): Remove.
40665 (__exp2): Calculate result before checking finiteness and calling
40666 __kernel_standard.
40667 * math/w_exp2f.c: Likewise.
40668 * math/w_exp2l.c: Likewise.
40669 * math/libm-test.inc (exp2_test): Require overflow exception for
40670 1e6 input.
2460d3aa
JM
40671
40672 [BZ #3866]
40673 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40674 range of signed 64-bit integers before using fistpll. Remove
40675 checks for whether integers fit in mantissa bits.
40676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40677 the range of signed 32-bit integers before using fistpl. Remove
40678 checks for whether integers fit in mantissa bits.
40679 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40680 (__ieee754_powl): Test for y outside the range of signed 64-bit
40681 integers before using fistpll. Reduce 64-bit values to 63-bit
40682 ones as needed.
40683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40684 divide-by-zero is raised for zero to large negative powers.
40685 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40686 (__ieee754_powl): Test for y outside the range of signed 64-bit
40687 integers before using fistpll. Reduce 64-bit values to 63-bit
40688 ones as needed.
40689 * math/libm-test.inc (pow_test): Add more tests.
40690
eb96ffb0
L
406912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40692
40693 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40694 <stdio-common/_itoa.h>.
40695 * debug/segfault.c: Likewise.
40696 * elf/dl-cache.c: Likewise.
40697 * elf/dl-minimal.c: Likewise.
40698 * elf/dl-misc.c: Likewise.
40699 * elf/dl-sysdep.c: Likewise.
40700 * elf/dl-version.c: Likewise.
40701 * elf/rtld.c: Likewise.
40702 * hurd/hurdsock.c: Likewise.
40703 * hurd/lookup-retry.c: Likewise.
40704 * malloc/malloc.c: Likewise.
40705 * malloc/mtrace.c: Likewise.
40706 * nscd/nscd_getgr_r.c: Likewise.
40707 * nscd/nscd_getpw_r.c: Likewise.
40708 * nscd/nscd_getserv_r.c: Likewise.
40709 * posix/getopt_init.c: Likewise.
40710 * posix/wordexp.c: Likewise.
40711 * stdio-common/_itoa.c: Likewise.
40712 * stdio-common/printf_fphex.c: Likewise.
40713 * stdio-common/vfprintf.c: Likewise.
40714 * string/_strerror.c: Likewise.
40715 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40716 * sysdeps/i386/i686/hp-timing.h: Likewise.
40717 * sysdeps/mach/_strerror.c: Likewise.
40718 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40719 * sysdeps/mach/hurd/sethostid.c: Likewise.
40720 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40721 * sysdeps/mach/xpg-strerror.c: Likewise.
40722 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40724 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40725 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40726 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40727 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40729 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40730 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40731 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40732 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40733 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40734 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40735 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40736 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40737 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40738 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40739 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40740 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40741 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40742 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40743
40744 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40745
40746 * stdio-common/_itoa.h: Moved to ...
40747 * sysdeps/generic/_itoa.h: Here.
40748
40749 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40750
40751 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40752 instead of "_itoa.h" and "_itowa.h".
40753 * stdio-common/vfprintf.: Likewise.
40754
d1af992d
L
407552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40756
40757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40758 <bits/wordsize.h>.
40759 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40760 (__signbit): Likwise.
40761 (llrintf): Likwise.
40762 (llrint): Likwise.
40763
114883e0
L
407642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40765
40766 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40767 __WORDSIZE != 64.
40768
c135cc1b
JM
407692012-03-20 Joseph Myers <joseph@codesourcery.com>
40770
40771 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40772 OVERFLOW_EXCEPTION_OK.
40773 * math/libm-test.inc ("Philosophy"): Update comment about
40774 exception testing.
40775 (OVERFLOW_EXCEPTION): Define.
40776 (OVERFLOW_EXCEPTION_OK): Likewise.
40777 (INVALID_EXCEPTION_OK): Renumber.
40778 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40779 (IGNORE_ZERO_INF_SIGN): Likewise.
40780 (test_exceptions): Handle FE_OVERFLOW.
40781 (exp10_test): Expect overflow exceptions.
40782 (exp2_test): Likewise.
40783 (expm1_test): Likewise.
40784 (nextafter_test): Likewise.
40785 (pow_test): Likewise.
40786 (scalbn_test): Likewise.
40787 (scalbln_test): Likewise.
40788
95443d88
L
407892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40790
40791 * sysdeps/x86_64/bits/atomic.h
40792 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40793 64bit integer.
40794 (atomic_exchange_acq): Likewise.
40795 (__arch_exchange_and_add_body): Likewise.
40796 (__arch_add_body): Likewise.
40797 (atomic_add_negative): Likewise.
40798 (atomic_add_zero): Likewise.
40799
490df6c4
L
408002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40801
c2722551 40802 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40803 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40804
5e52b189
L
408052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40806
40807 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40808 Check __x86_64__ instead of __WORDSIZE.
40809
a9879d4c
L
408102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40811
40812 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40813
5df98260
DM
408142012-03-19 David S. Miller <davem@davemloft.net>
40815
e1497744
DM
40816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40817
5df98260
DM
40818 * sysdeps/sparc/fpu/fenv_private.h: New file.
40819 * sysdeps/sparc/fpu/math_private.h: Use it.
40820 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40821 Remove.
57f41c40 40822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40823 (libc_feholdexcept_setroundl): Remove.
40824 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40825 Remove.
40826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40828
b4c35121
L
408292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40830
40831 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40832 int64_t instead of long int.
40833 (INSERT_WORDS64): Likwise.
40834
56965fd7
L
408352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40836
40837 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40838 _Unwind_GetCFA return to _Unwind_Ptr first.
40839
83d1aec8
JM
408402012-03-19 Joseph Myers <joseph@codesourcery.com>
40841
1897ad44
JM
40842 [BZ #13629]
40843 * math/s_clog.c: Include <float.h>.
40844 (__clog): Scale large or subnormal inputs.
40845 * math/s_clogf.c: Likewise.
40846 * math/s_clogl.c: Likewise.
40847 * math/s_clog10.c: Include <float.h>.
40848 (M_LOG10_2): Define.
40849 (__clog10): Scale large or subnormal inputs.
40850 * math/s_clog10f.c: Likewise.
40851 * math/s_clog10l.c: Likewise.
40852 * math/libm-test.inc (clog_test): Add more tests.
40853 (clog10_test): Likewise.
40854 * sysdeps/i386/fpu/libm-test-ulps: Update.
40855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40856
7726d6a9
JM
40857 [BZ #11451]
40858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40859 x and y.
40860 * math/libm-test.inc (atan2_test): Add another test.
40861
83d1aec8
JM
40862 * Makerules (common-objdir-compile): Remove.
40863 * sysdeps/unix/Makefile (config-generated): Do not add
40864 $(unix-generated) to variable.
40865 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40866 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40867 Remove rule.
40868 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40869 Likewise.
40870 [generic bits/local_lim.h] (before-compile): Do not append to
40871 variable.
40872 [generic bits/local_lim.h] (common-generated): Likewise.
40873 [generic sys/param.h] (before-compile): Do not append to variable.
40874 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40875 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40876 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40877 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40878 include.
40879 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40880 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40881 [generic sys/param.h] ($(addprefix
40882 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40883 [generic sys/param.h] (common-generated): Do not append to
40884 variable.
40885 [generic sys/param.h] (sysdep_headers): Likewise.
40886 [generic bits/errno.h] (before-compile): Do not append to
40887 variable.
40888 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40889 rule.
40890 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40891 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40892 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40893 [generic bits/errno.h] (common-generated): Do not append to
40894 variable.
40895 [generic bits/ioctls.h] (before-compile): Do not append to
40896 variable.
40897 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40898 rule.
40899 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40900 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40901 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40902 rule.
40903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40904 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40905 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40906 [generic bits/ioctls.h] (common-generated): Do not append to
40907 variable.
40908 [generic sys/syscall.h] (syscall.h): Remove variable.
40909 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40910 rule.
40911 [generic sys/syscall.h] (before-compile): Do not append to
40912 variable.
40913 [generic sys/syscall.h] (common-generated): Likewise.
40914 * sysdeps/unix/errnos-tmpl.c: Remove file.
40915 * sysdeps/unix/errnos.awk: Likewise.
40916 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40917 * sysdeps/unix/ioctls.awk: Likewise.
40918 * sysdeps/unix/mk-local_lim.c: Likewise.
40919 * sysdeps/unix/snarf-ioctls: Likewise.
40920
4851a949
RH
409212012-03-19 Richard Henderson <rth@twiddle.net>
40922
bd37f2ee
RH
40923 * sysdeps/i386/fpu/fenv_private.h: New file.
40924 * sysdeps/i386/fpu/math_private.h: Use it.
40925 (math_opt_barrier, math_force_eval): Remove.
40926 (libc_feholdexcept_setround_53bit): Remove.
40927 (libc_feupdateenv_53bit): Remove.
40928 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40929 (math_opt_barrier, math_force_eval): Remove.
40930 (libc_feholdexcept): Remove.
40931 (libc_feholdexcept_setround): Remove.
40932 (libc_fetestexcept, libc_fesetenv): Remove.
40933 (libc_feupdateenv_test): Remove.
40934 (libc_feupdateenv, libc_feholdsetround): Remove.
40935 (libc_feresetround): Remove.
40936
d0adc922
RH
40937 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40938 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40939
0fe0f1f8
RH
40940 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40941 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40942 (libc_feupdateenv_testl): New.
40943 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40944 (libc_feupdateenv_testf): New.
40945 (libc_feupdateenv): Use libc_feupdateenv_test.
40946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40948
eb92c487
RH
40949 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40950 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40951 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40952 (libc_feresetround_noex): New.
40953 (libc_feresetround_noexf): New.
40954 (libc_feresetround_noexl): New.
40955 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40956 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40957 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40959 SET_RESTORE_ROUND.
40960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40962 (__cos): Likewise.
40963 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40964 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40965 SET_RESTORE_ROUND_NOEX.
40966 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40967 SET_RESTORE_ROUND_NOEXF.
40968 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40969 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40970 (libc_feholdsetroundf): New.
40971 (libc_feresetround, libc_feresetroundf): New.
40972
7d2e8012
RH
40973 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40974 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40975 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40976
b4dabbb4
RH
40977 * sysdeps/generic/math_private.h: Include <fenv.h>.
40978 (default_libc_feholdexcept): New.
40979 (default_libc_feholdexcept_setround): New.
40980 (default_libc_fesetenv, default_libc_feupdateenv): New.
40981 (libc_feholdexcept): Only define if undefined.
40982 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40983 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40984 (libc_feholdexcept_setroundl): Likewise.
40985 (libc_feholdexcept_setround_53bit): Likewise.
40986 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40987 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40988 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40989 (libc_feupdateenv_53bit): Likewise.
40990 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40991 (libc_feholdexcept): Convert from macro to inline function.
40992 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40993 (libc_fesetenv, libc_feupdateenv): Likewise.
40994
4851a949
RH
40995 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40996 not previously defined.
40997 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40998 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40999 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41000 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41001 * sysdeps/ieee754/flt-32/math_private.h: New file.
41002 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41003 math_private.h below SET_FLOAT_WORD.
41004 (__isnan, __isinf_ns, __finite): Remove.
41005 (__isnanf, __isinf_nsf, __finitef): Remove.
41006
e79d442e
AS
410072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41008
41009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41010
90b80344
DM
410112012-03-17 David S. Miller <davem@davemloft.net>
41012
41013 [BZ #6471]
41014 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41015 for 2.16.
41016
edc21804
DM
410172012-03-16 David S. Miller <davem@davemloft.net>
41018
77e927af
DM
41019 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41020 warnings.
41021
374976dd
DM
41022 [BZ #6471]
41023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41024 properly.
41025 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41026 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41027 sysdep_routines when subdir is sysvipc.
41028 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41029 __getshmlba helper.
41030
edc21804
DM
41031 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41032
473c3ef3
L
410332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41034
41035 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41036 [__LP64__].
41037
eb0f39b6
L
410382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41039
41040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41041 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41042 (__lround): Renamed to ...
41043 (__llround): This. Replace long int with long long int.
41044 Define lround functions as aliases of llround functions.
41045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41046
6b6cd74b
L
410472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41048
41049 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41050 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41051 adresses to uintptr_t. Replace "long int" and "unsigned long
41052 int" with "greg_t" on va_arg.
41053
f1a77b01
L
410542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41055
41056 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41057 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41058
41059 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41060 Move e_machine check before EI_CLASS check. Handle x32
41061 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41062 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41063 SKIP_EM_IA_64 and include
41064 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41065
41066 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41067 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41068 (add_system_dir): New macro.
41069
41070 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41071 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41072
11b90b9f
JM
410732012-03-16 Joseph Myers <joseph@codesourcery.com>
41074
c36e1d23
JM
41075 [BZ #2551]
41076 [BZ #2552]
41077 [BZ #2553]
41078 [BZ #2554]
41079 [BZ #2562]
41080 [BZ #2563]
41081 [BZ #2565]
41082 [BZ #2566]
41083 [BZ #2576]
41084 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41085 (y0): Likewise.
41086 * math/w_j0f.c (j0f): Likewise.
41087 (y0f): Likewise.
41088 * math/w_j0l.c (__j0l): Likewise.
41089 (__y0l): Likewise.
41090 * math/w_j1.c (j1): Likewise.
41091 (y1): Likewise.
41092 * math/w_j1f.c (j1f): Likewise.
41093 (y1f): Likewise.
41094 * math/w_j1l.c (__j1l): Likewise.
41095 (__y1l): Likewise.
41096 * math/w_jn.c (jn): Likewise.
41097 (yn): Likewise.
41098 * math/w_jnf.c (jnf): Likewise.
41099 (ynf): Likewise.
41100 * math/w_jnl.c (__jnl): Likewise.
41101 (__ynl): Likewise.
41102 * math/libm-test.inc (j0_test): Add more tests.
41103 (j1_test): Likewise.
41104 (jn_test): Likewise. Add trailing semicolon to existing test.
41105 (y0_test): Likewise.
41106 (y1_test): Likewise.
41107 * sysdeps/i386/fpu/libm-test-ulps: Update.
41108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41109
11b90b9f
JM
41110 [BZ #13851]
41111 [BZ #13854]
41112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41113 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41114 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41115 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41116 (__tanl): Set errno for infinite argument.
41117 * sysdeps/i386/fpu/mptan.c: Remove.
41118 * sysdeps/i386/fpu/s_tan.S: Likewise.
41119 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41120 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41121 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41122 * math/libm-test.inc (tan_test): Add more tests and enable more
41123 tests for double and long double.
41124 * sysdeps/i386/fpu/libm-test-ulps: Update.
41125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41126
6a1bd2a1
JK
411272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41128
41129 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41130 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41131
10a803e0
RM
411322012-03-16 Roland McGrath <roland@hack.frob.com>
41133
41134 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41135 * configure.in: Use it for both main tree and add-ons.
41136 * configure: Regenerated.
41137
f196c7f7
L
411382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41139
41140 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41141
8848d99d
JM
411422012-03-16 Joseph Myers <joseph@codesourcery.com>
41143
96cbe7f4
JM
41144 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41145 in comment.
41146
8848d99d
JM
41147 [BZ #13851]
41148 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41149 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41151 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41153 infinite argument.
41154 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41156 != 0 for prec == 2.
41157 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41158 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41159 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41160 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41161 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41162 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41163 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41164 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41165 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41166 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41167 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41168 * math/libm-test.inc (cos_test): Add more tests and enable more
41169 tests for long double.
41170 (sin_test): Likewise.
41171 (sincos_test): Likewise.
41172 * sysdeps/i386/fpu/libm-test-ulps: Update.
41173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41174
dd7f4703
DM
411752012-03-16 David S. Miller <davem@davemloft.net>
41176
41177 * sysdeps/sparc/fpu/math_private.h: New file.
41178
006f1daa
DM
411792012-03-15 David S. Miller <davem@davemloft.net>
41180
c0c83bc8
DM
41181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41182 file.
e6a62e18 41183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41185 file.
e6a62e18
DM
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41192 sysdep routines.
41193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41194
88cb87d9
DM
41195 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41196 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41197
006f1daa 41198 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41200 sparc-ifunc.h
006f1daa 41201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41203 Likewise.
41204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41205 Likewise.
006f1daa
DM
41206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41210 Likewise.
006f1daa
DM
41211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41216 Likewise.
41217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41218 Likewise.
006f1daa
DM
41219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41243
11e0098e
AS
412442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41245
41246 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41247 scaling.
41248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41249
e85b09d0
AJ
412502012-03-15 Andreas Jaeger <aj@suse.de>
41251
41252 [BZ #13852]
41253 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41254 ieee754/flt-32 implementation for sin, cos and sincos.
41255 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41256 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41257 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41258 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41259 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41260 ieee754/flt-32 implementation for tan.
41261
41262 * math/libm-test.inc (cos_test): Enable some large input tests for
41263 float as well
41264 (sin_test): Likewise.
41265 (sincos_test): Likewise.
41266 (tan_test): Add tests for large input.
41267
41268 * sysdeps/i386/fpu/libm-test-ulps: Update.
41269
81c64153
AJ
412702012-03-15 Andreas Jaeger <aj@suse.de>
41271
41272 [BZ #13658]
41273 * math/libm-test.inc (cos_test): Add more test cases.
41274 (sin_test): Likewise.
41275 (sincos_test): Likewise.
41276
7bbfa5c6
AJ
412772012-03-15 Andreas Jaeger <aj@suse.de>
41278
41279 [BZ #13837]
41280 * math/libm-test.inc (cos_test): Add a test case for large input
41281 value.
41282 (sin_test): Likewise.
41283 (sincos_test): Likewise.
41284
57f41c40
AS
412852012-03-15 Andreas Jaeger <aj@suse.de>
41286 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41287
41288 [BZ #13658]
0671f479 41289 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41290 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41291 * sysdeps/i386/fpu/branred.c: Likewise.
41292 * sysdeps/i386/fpu/dosincos.c: Likewise.
41293 * sysdeps/i386/fpu/mpa.c: Likewise.
41294 * sysdeps/i386/fpu/s_cos.S: Likewise.
41295 * sysdeps/i386/fpu/s_sin.S: Likewise.
41296 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41297 * sysdeps/i386/fpu/sincos32.c: Likewise.
41298
41299 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41300 Define.
41301 (libc_feupdateenv_53bit): Define.
41302 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41303 Define.
41304 (libc_feupdateenv_53bit): Define.
41305
41306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41307 53 bit (without extend i386 double precision).
41308
41309 * math/libm-test.inc (sincos_test): Add tests for large input.
41310 (sin): Likewise.
41311 (cos): Likewise.
41312
41313 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41314
9cad04ea
AS
413152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41316
41317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41318
f7062b9a
DM
413192012-03-15 David S. Miller <davem@davemloft.net>
41320
41321 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41322 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41323 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41324 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41337 file.
f7062b9a 41338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41340 file.
f7062b9a 41341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41343 file.
f7062b9a 41344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41346 file.
f7062b9a
DM
41347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41349 fmin/fmax sysdep routines.
41350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41351
7bd951ff
DM
413522012-03-14 David S. Miller <davem@davemloft.net>
41353
559398ab
DM
41354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41383 routines.
41384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41385 file.
559398ab 41386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41388 file.
559398ab 41389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41391 file.
559398ab 41392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41394 file.
559398ab 41395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41397 file.
559398ab 41398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41400 file.
41401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41402 file.
41403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41404 file.
41405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41406 file.
41407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41408 New file.
41409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41410 file.
41411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41412 file.
559398ab 41413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41415 file.
559398ab 41416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41418 file.
559398ab 41419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41421 file.
559398ab 41422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41424 VIS3 routines.
559398ab
DM
41425
41426 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41427 New file.
41428
5a1c1e32
DM
41429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41430
eae47a36
DM
41431 * sysdeps/sparc/configure.in: New file.
41432 * sysdeps/sparc/configure: Generate.
41433 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41434 * configure: Regenerate.
41435 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41436 * config.make.in (have-as-vis3): New.
41437 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41438 available use -Av9d instead of -Av9a.
41439 * sysdeps/sparc/sparc64/Makefile: Likewise.
41440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41442 New file.
41443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41444 file.
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41446 New file.
41447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41448 file.
eae47a36
DM
41449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41454
c0c83bc8
DM
41455 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41456 fzeros/fnegs to load 0x80000000 into a float register instead of
41457 using the stack.
7bd951ff
DM
41458 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41459
bd951ccb
JM
414602012-03-14 Joseph Myers <joseph@codesourcery.com>
41461
41462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41463 bits/syscall.h.
41464 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41465 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41466 ($(inst_includedir)/bits/syscall.h): Remove rule.
41467 ($(objpfx)bits/syscall.d): Include instead of
41468 $(objpfx)syscall-list.d.
41469 (generated): Change syscall-list.h and syscall-list.d to
41470 bits/syscall.h and bits/syscall.d.
41471
bb4e6db2
RM
414722012-03-14 Roland McGrath <roland@hack.frob.com>
41473
41474 [BZ #13846]
41475 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41476
aa4a2ae1
JM
414772012-03-14 Joseph Myers <joseph@codesourcery.com>
41478
e456826d
JM
41479 [BZ #13841]
41480 * math/s_csqrt.c: Include <float.h>.
41481 (__csqrt): Scale large or subnormal inputs.
41482 * math/s_csqrtf.c: Likewise.
41483 * math/s_csqrtl.c: Likewise.
41484 * math/libm-test.inc (csqrt_test): Add more tests.
41485 * sysdeps/i386/fpu/libm-test-ulps: Update.
41486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41487
aa4a2ae1
JM
41488 [BZ #13840]
41489 * math/libm-test.inc (hypot_test): Add more tests.
41490
7c10fd35
DM
414912012-03-13 David S. Miller <davem@davemloft.net>
41492
41493 [BZ #13840]
41494 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41495 double-precision for the calculation instead of scaling.
41496
f453b98b
JM
414972012-03-13 Joseph Myers <joseph@codesourcery.com>
41498
41499 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41500 manipulate bits before adding and subtracting TWO52[sx].
41501 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41503 Likewise.
41504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41505
09a3453f
DM
415062012-03-13 David S. Miller <davem@davemloft.net>
41507
8e59da90
DM
41508 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41509 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41511 rtld-global-offsets.h
41512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41513
2a8ab7f2
DM
41514 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41515 large parameters.
41516
10f62770
DM
41517 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41518
5f0bdb18
DM
41519 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41520 'err' in the ifdef scope in which it is actually used.
41521
09a3453f
DM
41522 * nss/nss_db/db-init.c: Include string.h
41523
b4b2eb5e
DM
415242012-03-12 David S. Miller <davem@davemloft.net>
41525
98bb2f1c
DM
41526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41527 masking out of the most significant byte of random value used.
41528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41529 Fix coding style in previous change.
41530
b4b2eb5e
DM
41531 * sysdeps/unix/sysv/linux/kernel-features.h
41532 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41533 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41534 expression.
41535 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41536 later.
41537
6e226b09
DM
415382012-03-11 David S. Miller <davem@davemloft.net>
41539
a1bcbd40
DM
41540 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41541 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41543 for 'resultvar' otherwise things get truncated on 64-bit.
41544
cb9d6174
DM
41545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41546 Fix masking out of the most significant byte of random value used.
41547
6e226b09
DM
41548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41549
058c132d
AS
415502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41551
41552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41553
2d2cd515
DM
415542012-03-09 David S. Miller <davem@davemloft.net>
41555
41556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41557 variables with appropriate CPP guards.
57f41c40
AS
41558 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41559 from the frame pointer, not the stack pointer. Correct layout
41560 comments. Fix test on resulting framesize and the management of
41561 the outregs buffer for pltexit. Preserve floating point return
41562 values across _dl_call_pltexit call.
2d2cd515
DM
41563 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41564 framesize and the management of the outregs buffer for pltexit.
41565 Preserve floating point return values across _dl_call_pltexit
41566 call.
57f41c40
AS
41567 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41568 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41569 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41570 (print_exit): Fix format string for return register value.
41571
9a07f9d0
JM
415722012-03-10 Joseph Myers <joseph@codesourcery.com>
41573
41574 * sunrpc/Makefile (others): Add rpcgen.
41575 ($(objpfx)rpcgen): Remove special build rule and dependency on
41576 libc.
41577 * sunrpc/rpcgen.c: New file.
41578
547b5e30
PE
415792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41580
c524201a
PE
41581 [BZ #13673]
41582 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41583 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41584 * sysdeps/i386/crti.S: Likewise.
41585 * sysdeps/i386/crtn.S: Likewise.
41586 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41587 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41588 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41589 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41590 * sysdeps/sh/crti.S: Likewise.
41591 * sysdeps/sh/crtn.S: Likewise.
41592 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41593
7b6235f2
PE
41594 [BZ #13673]
41595 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41596 with URL.
41597 * locale/programs/locfile-kw.gperf: Likewise.
41598 * locale/programs/charmap-kw.h: Regenerated.
41599 * locale/programs/locfile-kw.h: Likewise.
41600
547b5e30
PE
41601 [BZ #13673]
41602 * intl/plural.y: Replace FSF snail mail address with URL.
41603 * intl/plural.c: Regenerated.
41604
5f0a5dae
RH
416052012-03-09 Richard Henderson <rth@twiddle.net>
41606
41607 * include/math_private.h: Remove file.
41608 * math/math_private.h: Move file ...
41609 * sysdeps/generic/math_private.h: ... here.
41610
b8c03620
RH
41611 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41612 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41613 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41614
4e234f5d 41615 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41616 and <math_private.h>.
41617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41622 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41653 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41731 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41733 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41734 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41744 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41746 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41747 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41750 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41751 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41755 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41760 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41761 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41765 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41766 * sysdeps/ieee754/k_standard.c: Likewise.
41767 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41771 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41784 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41785 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41786 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41788 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41792 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41793 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41794 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41798 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41799 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41801 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41804 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41820 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41823 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41828 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41894 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41895 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41903 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41904 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41907 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41909 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41910 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41916 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41921 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41926 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41927 * sysdeps/ieee754/s_lib_version.c: Likewise.
41928 * sysdeps/ieee754/s_matherr.c: Likewise.
41929 * sysdeps/ieee754/s_signgam.c: Likewise.
41930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41933 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41936 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41937 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41938 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41939 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41941 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41942 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41944 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41951
1991fa03
JM
419522012-03-09 Joseph Myers <joseph@codesourcery.com>
41953
41954 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41955 * sunrpc/rpc_main.c: Likewise.
41956 * sunrpc/rpc_svcout.c: Likewise.
41957
60d6f5a6
DM
419582012-03-09 David S. Miller <davem@davemloft.net>
41959
41960 * include/math_private.h: New file.
41961
4962050e
JM
419622012-03-09 Joseph Myers <joseph@codesourcery.com>
41963
02a6f887
JM
41964 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41965 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41966 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41967 from <bits/socket_type.h>.
41968 (enum __socket_type): Don't define here.
41969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41971 bits/socket_type.h.
41972
c6e013c1
JM
41973 [BZ #13566]
41974 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41975 checking __USE_GNU.
41976
4962050e
JM
41977 * Makerules ($(inst_includedir)/%.h): New rule.
41978 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41979 (install-others): Remove variable setting.
41980 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41981
38842f45
RH
419822012-03-08 Richard Henderson <rth@twiddle.net>
41983
67bb6da6
RH
41984 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41985 from macro to inline function; merge with the
41986 !__LIBC_INTERNAL_MATH_INLINES version.
41987 (__ieee754_sqrtf): Likewise.
41988
15194b4b
RH
41989 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41990 to inline function.
41991 (__rintf, __floor, __floorf): Likewise.
41992
64e21ede
RH
41993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41994 macro to inline function.
41995 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41996
38842f45
RH
41997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41998 not <math/math_private.h>.
41999
c64bf5fe
DM
420002012-03-08 David S. Miller <davem@davemloft.net>
42001
42002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42003 copyright year.
42004 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42005
82d86f28
TS
420062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42007
42008 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42009 normalization.
42010 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42011 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42012
aea5d727
UD
420132012-03-08 Ulrich Drepper <drepper@gmail.com>
42014
42015 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42016 be defined individually, they must be defined as a block. Define
42017 S for printing a string instead of hidint the different by using a
42018 macro for adding the 'l'.
42019 * stdio-common/tst-fphex-wide.c: Adjust.
42020
70bca0a3
MP
420212012-03-07 Marek Polacek <polacek@redhat.com>
42022
42023 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42024
65b81130
MP
420252012-03-08 Marek Polacek <polacek@redhat.com>
42026
42027 [BZ #13806]
42028 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42029 * stdio-common/tst-fphex.c: Define a few macros to make the
42030 test reusable. Use them.
42031 * stdio-common/tst-fphex-wide.c: New file.
42032
07037eeb
JM
420332012-03-08 Joseph Myers <joseph@codesourcery.com>
42034
a7a93d50
JM
42035 [BZ #6911]
42036 * manual/macros.texi (gnusystems): New macro.
42037 (nongnusystems): Likewise.
42038 (gnulinuxhurdsystems): Likewise.
42039 (gnuhurdsystems): Likewise..
42040 (gnulinuxsystems): Likewise.
42041 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42042 variants of the GNU system, not "GNU system".
42043 * manual/conf.texi: Likewise.
42044 * manual/errno.texi: Likewise. Update example of errno macro
42045 expansion.
42046 * manual/filesys.texi: Likewise.
42047 (getumask): Document as specific to GNU/Hurd.
42048 * manual/install.texi: Likewise. Reword some references to
42049 GNU/Linux.
42050 * manual/intro.texi: Likewise.
42051 * manual/io.texi: Likewise.
42052 (File Name Portability): Detail which constraints are inapplicable
42053 to all GNU systems and which are only inapplicable to GNU/Hurd.
42054 * manual/job.texi: Likewise.
42055 * manual/llio.texi: Likewise.
42056 (O_NOCTTY): Document as present on GNU/Linux.
42057 * manual/maint.texi: Likewise.
42058 * manual/memory.texi: Likewise.
42059 * manual/pattern.texi: Likewise.
42060 * manual/pipe.texi: Likewise.
42061 * manual/process.texi: Likewise.
42062 * manual/resource.texi: Likewise.
42063 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42064 child on GNU/Hurd.
42065 * manual/setjmp.texi: Likewise.
42066 * manual/signal.texi: Likewise.
42067 * manual/startup.texi: Likewise.
42068 * manual/stdio.texi: Likewise.
42069 * manual/terminal.texi: Likewise.
42070 (ONLCR): Document as POSIX.
42071 (OXTABS): Document availability on GNU/Linux as XTABS.
42072 (ONOEOT): Document availability separately from other bits.
42073 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42074 * manual/time.texi: Likewise.
42075 * manual/users.texi: Likewise.
42076 * INSTALL: Regenerated.
42077 * sysdeps/gnu/errlist.c: Regenerated.
42078
07037eeb
JM
42079 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42080 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42081 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42082 puts.
42083 * configure: Regenerated.
42084
d1d3431a
JM
420852012-03-07 Joseph Myers <joseph@codesourcery.com>
42086
af6a1e37
JM
42087 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42088 default includes instead of AC_HEADER_CHECK.
42089 * sysdeps/i386/configure: Regenerated.
42090
d1d3431a
JM
42091 [BZ #10716]
42092 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42093 * math/s_cacoshf.c (__cacoshf): Likewise.
42094 * math/s_cacoshl.c (__cacoshl): Likewise.
42095 * math/s_casinh.c (__casinh): Set signs of result from argument.
42096 * math/s_casinhf.c (__casinhf): Likewise.
42097 * math/s_casinhl.c (__casinhl): Likewise.
42098 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42099 (casinh_test): Add more tests.
42100 * sysdeps/i386/fpu/libm-test-ulps: Update.
42101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42102
482ff4da
UD
421032012-03-07 Ulrich Drepper <drepper@gmail.com>
42104
872fda05
UD
42105 * po/zh_TW.po: Update from translation team.
42106
a4300c7a
UD
42107 * login/Makefile (distribute): Remove variable.
42108 * catgets/Makefile: Likewise.
42109 * mach/Makefile: Likewise.
42110 * malloc/Makefile: Likewise.
42111 * misc/Makefile: Likewise.
42112 * iconv/Makefile: Likewise.
42113 * nscd/Makefile: Likewise.
42114 * hurd/Makefile: Likewise.
42115 * manual/Makefile: Likewise.
42116 * locale/Makefile: Likewise.
42117 * intl/Makefile: Likewise.
42118 * conform/Makefile: Likewise.
42119 * nss/Makefile: Likewise.
42120 * time/Makefile: Likewise.
42121 * soft-fp/Makefile: Likewise.
42122 * dirent/Makefile: Likewise.
42123 * gmon/Makefile: Likewise.
42124 * po/Makefile: Likewise.
42125 * rt/Makefile: Likewise.
42126 * socket/Makefile: Likewise.
42127 * math/Makefile: Likewise.
42128 * signal/Makefile: Likewise.
42129 * debug/Makefile: Likewise.
42130 * elf/Makefile: Likewise.
42131 * timezone/Makefile: Likewise.
42132 * stdlib/Makefile: Likewise.
42133 * iconvdata/Makefile: Likewise.
42134 * sunrpc/Makefile: Likewise.
42135 * io/Makefile: Likewise.
42136 * argp/Makefile: Likewise.
42137 * inet/Makefile: Likewise.
42138 * hesiod/Makefile: Likewise.
42139 * grp/Makefile: Likewise.
42140 * csu/Makefile: Likewise.
42141 * wctype/Makefile: Likewise.
42142 * crypt/Makefile: Likewise.
42143 * libio/Makefile: Likewise.
42144 * string/Makefile: Likewise.
42145 * nis/Makefile: Likewise.
42146 * resolv/Makefile: Likewise.
42147 * stdio-common/Makefile: Likewise.
42148 * wcsmbs/Makefile: Likewise.
42149 * dlfcn/Makefile: Likewise.
42150 * posix/Makefile: Likewise.
42151
3b7c4e74 42152 [BZ #6959]
482ff4da
UD
42153 * timezone/Makefile: Don't install timezone files, just the programs
42154 and scripts.
42155
f72ed77d
UD
421562012-03-06 Ulrich Drepper <drepper@gmail.com>
42157
a000466f
UD
42158 * nss/databases.def: Add missing gshadow entry.
42159
f72ed77d
UD
42160 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42161
a53b7a4e
MP
421622012-03-06 Marek Polacek <polacek@redhat.com>
42163
42164 [BZ #13726]
42165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42167 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42168 * stdio-common/tst-long-dbl-fphex.c: New file.
42169
e9258400
DM
421702012-03-06 David S. Miller <davem@davemloft.net>
42171
42172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42173 (set_obp_int): New function.
42174 (get_obp_int): New function.
42175 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42177 Avoid unused variable warnings on 'val' and use builtin_expect.
42178 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42179 __builtin_expect.
e9258400
DM
42180 (INLINE_CLONE_SYSCALL): Likewise.
42181
3bd2c723
DM
421822012-03-05 David S. Miller <davem@davemloft.net>
42183
42184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42185
bbb78d03
AS
421862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42187
884c5db4
AS
42188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42189
bbb78d03
AS
42190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42191 only for |x| >= 40.
42192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42193
1c9f702a 421942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42195
42196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42197 Replace gettimeofday with __vdso_gettimeofday.
42198
7be16f82
RM
42199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42200 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42201 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42202
42203 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42204 time with __vdso_time.
42205
ed58a00f
JM
422062012-03-05 Joseph Myers <joseph@codesourcery.com>
42207
42208 * manual/lang.texi (size_t): Note types to which size_t may be
42209 equivalent with the GNU C Library, but do not describe when
42210 differences between them are significant.
42211
30ee4ced
AJ
422122012-03-05 Andreas Jaeger <aj@suse.de>
42213
42214 * sysdeps/i386/fpu/libm-test-ulps: Update.
42215
b7cd39e8
JM
422162012-03-05 Joseph Myers <joseph@codesourcery.com>
42217
42218 [BZ #3976]
42219 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42220 (__ieee754_pow): Save and restore rounding mode and use
42221 round-to-nearest for main computations.
42222 * math/libm-test.inc (pow_test_tonearest): New function.
42223 (pow_test_towardzero): Likewise.
42224 (pow_test_downward): Likewise.
42225 (pow_test_upward): Likewise.
42226 (main): Call the new functions.
42227 * sysdeps/i386/fpu/libm-test-ulps: Update.
42228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42229
42230 [BZ #3976]
42231 * math/libm-test.inc (cosh_test_tonearest): New function.
42232 (cosh_test_towardzero): Likewise.
42233 (cosh_test_downward): Likewise.
42234 (cosh_test_upward): Likewise.
42235 (sinh_test_tonearest): Likewise.
42236 (sinh_test_towardzero): Likewise.
42237 (sinh_test_downward): Likewise.
42238 (sinh_test_upward): Likewise.
42239 (main): Call the new functions.
42240 * sysdeps/i386/fpu/libm-test-ulps: Update.
42241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42242
6c6a98c9
TV
422432012-03-05 Tom de Vries <tom@codesourcery.com>
42244
42245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42246 default stack guard is set in last bytes.
42247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42248
21bb2d2e 422492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42250
21bb2d2e 42251 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42252
21bb2d2e
AJ
42253 [BZ #13656]
42254 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42255 possibly allocate from heap instead of stack.
42256 * stdio-common/bug-vfprintf-nargs.c: New file.
42257 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42258
c6922934
AS
422592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42260
42261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42262
bc957d53
MP
422632012-03-03 Marek Polacek <polacek@redhat.com>
42264
42265 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42266 * math/math_private.h: Likewise.
42267 * stdlib/tst-strtod.c: Likewise.
42268 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42269 * sysdeps/x86_64/bits/atomic.h: Likewise.
42270
6358490d
DM
422712012-03-02 David S. Miller <davem@davemloft.net>
42272
42273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42277 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42278 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42281
01ae168d
RM
422822012-03-02 Roland McGrath <roland@hack.frob.com>
42283
d9a17c07
RM
42284 [BZ #13792]
42285 * manual/examples/README: New file, says the example source files
42286 can be used under GPL>=2.
42287 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42288 line containing just "*/".
42289 * manual/examples/add.c: Add copyright header (GPL>=2).
42290 * manual/examples/argp-ex1.c: Likewise.
42291 * manual/examples/argp-ex2.c: Likewise.
42292 * manual/examples/argp-ex3.c: Likewise.
42293 * manual/examples/argp-ex4.c: Likewise.
42294 * manual/examples/atexit.c: Likewise.
42295 * manual/examples/db.c: Likewise.
42296 * manual/examples/dir.c: Likewise.
42297 * manual/examples/dir2.c: Likewise.
42298 * manual/examples/execinfo.c: Likewise.
42299 * manual/examples/filecli.c: Likewise.
42300 * manual/examples/filesrv.c: Likewise.
42301 * manual/examples/fmtmsgexpl.c: Likewise.
42302 * manual/examples/genpass.c: Likewise.
42303 * manual/examples/inetcli.c: Likewise.
42304 * manual/examples/inetsrv.c: Likewise.
42305 * manual/examples/isockad.c: Likewise.
42306 * manual/examples/longopt.c: Likewise.
42307 * manual/examples/memopen.c: Likewise.
42308 * manual/examples/memstrm.c: Likewise.
42309 * manual/examples/mkfsock.c: Likewise.
42310 * manual/examples/mkisock.c: Likewise.
42311 * manual/examples/mygetpass.c: Likewise.
42312 * manual/examples/pipe.c: Likewise.
42313 * manual/examples/popen.c: Likewise.
42314 * manual/examples/rprintf.c: Likewise.
42315 * manual/examples/search.c: Likewise.
42316 * manual/examples/select.c: Likewise.
42317 * manual/examples/setjmp.c: Likewise.
42318 * manual/examples/sigh1.c: Likewise.
42319 * manual/examples/sigusr.c: Likewise.
42320 * manual/examples/stpcpy.c: Likewise.
42321 * manual/examples/strdupa.c: Likewise.
42322 * manual/examples/strftim.c: Likewise.
42323 * manual/examples/strncat.c: Likewise.
42324 * manual/examples/subopt.c: Likewise.
42325 * manual/examples/swapcontext.c: Likewise.
42326 * manual/examples/termios.c: Likewise.
42327 * manual/examples/testopt.c: Likewise.
42328 * manual/examples/testpass.c: Likewise.
42329 * manual/examples/timeval_subtract.c: Likewise.
42330
01ae168d
RM
42331 [BZ #13792]
42332 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42333 function to ...
42334 * manual/timeval_subtract.c.texi: ... here, new file.
42335
49efa33d
DM
423362012-03-02 David S. Miller <davem@davemloft.net>
42337
42338 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42339
28afd92d
JM
423402012-03-02 Joseph Myers <joseph@codesourcery.com>
42341
804360ed
JM
42342 [BZ #3976]
42343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42344 (__sin): Save and restore rounding mode and use round-to-nearest
42345 for all computations.
42346 (__cos): Save and restore rounding mode and use round-to-nearest
42347 for all computations.
42348 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42349 <fenv.h>.
42350 (tan): Save and restore rounding mode and use round-to-nearest for
42351 all computations.
42352 * math/libm-test.inc (cos_test_tonearest): New function.
42353 (cos_test_towardzero): Likewise.
42354 (cos_test_downward): Likewise.
42355 (cos_test_upward): Likewise.
42356 (sin_test_tonearest): Likewise.
42357 (sin_test_towardzero): Likewise.
42358 (sin_test_downward): Likewise.
42359 (sin_test_upward): Likewise.
42360 (tan_test_tonearest): Likewise.
42361 (tan_test_towardzero): Likewise.
42362 (tan_test_downward): Likewise.
42363 (tan_test_upward): Likewise.
42364 (main): Call the new functions.
42365 * sysdeps/i386/fpu/libm-test-ulps: Update.
42366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42367
a6d06d7b
JM
42368 [BZ #10135]
42369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42370 small n, then large n, before computing and testing k+n.
42371 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42373 Likewise.
42374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42375 Likewise.
42376 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42377 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42384 * math/libm-test.inc (scalbn_test): Add more tests.
42385 (scalbln_test): Likewise.
42386
07e12bb3
JM
42387 * manual/filesys.texi (mode_t): Describe constraints on size and
42388 signedness, not exact equivalence to a particular type.
42389 (ino_t): Likewise.
42390 (ino64_t): Likewise.
42391 (dev_t): Likewise.
42392 (nlink_t): Likewise.
42393 (blkcnt_t): Likewise.
42394 (blkcnt64_t): Likewise.
42395 * manual/llio.texi (off_t): Likewise.
42396
28afd92d
JM
42397 [BZ #3976]
42398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42399 (__ieee754_exp): Save and restore rounding mode and use
42400 round-to-nearest for all computations.
42401 * math/libm-test.inc (exp_test_tonearest): New function.
42402 (exp_test_towardzero): Likewise.
42403 (exp_test_downward): Likewise.
42404 (exp_test_upward): Likewise.
42405 (main): Call the new functions.
42406 * sysdeps/i386/fpu/libm-test-ulps: Update.
42407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42408
b1eeb65d
CD
424092012-03-01 Chris Demetriou <cgd@google.com>
42410
42411 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42412 have predictable order.
42413
53362a4b
DM
424142012-03-01 David S. Miller <davem@davemloft.net>
42415
3c969083
DM
42416 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42417
759707de
DM
42418 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42419 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42420 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42421 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42422
dfdb8ff2
DM
42423 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42424 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42425 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42427 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42428 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42429 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42431 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42432
ead89f96
DM
42433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42434
7f66bd07
DM
42435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42436 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42438
53362a4b
DM
42439 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42452 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42453 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42455 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42456 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42457 * sysdeps/sparc/elf/configure: Regenerated.
42458
7b1902cb
JM
424592012-03-01 Joseph Myers <joseph@codesourcery.com>
42460
bec039bc
JM
42461 * configure.in (AS, LD): Require binutils 2.20 or later.
42462 * configure: Regenerated.
42463 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42464 as required minimum version.
42465 * INSTALL: Regenerated.
42466
7b1902cb
JM
42467 [BZ #2541]
42468 [BZ #4108]
42469 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42470 before squaring exponent.
42471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42472 bottom long double and 27 bits of top long double before squaring
42473 exponent.
42474 * math/libm-test.inc (erfc_test): Add more tests.
42475 * sysdeps/i386/fpu/libm-test-ulps: Update.
42476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42478
f775c276
KT
424792012-03-01 Kai Tietz <ktietz@redhat.com>
42480
42481 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42482 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42483 containing bit-fields.
42484 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42485 * soft-fp/single.h (_FP_UNION_S): Likewise.
42486 * soft-fp/double.h (_FP_UNION_D): Likewise.
42487
5b8a4d4a
JM
424882012-02-29 Joseph Myers <joseph@codesourcery.com>
42489
0bab47b6
JM
42490 [BZ #13786]
42491 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42492 not include ../strcmp.S.
42493 [USE_AS_STRNCASECMP_L]: Likewise.
42494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42495 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42496 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42497 (__strncasecmp_l_ia32): Define as alias to
42498 __strncasecmp_l_nonascii.
42499
0fcad3e2
JM
42500 [BZ #5794]
42501 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42502 * sysdeps/i386/fpu/libm-test-ulps: Update.
42503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42504
5b8a4d4a
JM
42505 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42507
8fdceb2e
JL
425082012-02-29 Jeff Law <law@redhat.com>
42509
42510 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42511 out of bounds read.
42512
1f393a11
MP
425132012-02-29 Marek Polacek <polacek@redhat.com>
42514
42515 [BZ #13706]
42516 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42517 * elf/Makefile: Add rules to run tst-unused-dep.out.
42518
8847f037
DM
425192012-02-28 David S. Miller <davem@davemloft.net>
42520
42521 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42522 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42527
169d7f11
JM
425282012-02-29 Joseph Myers <joseph@codesourcery.com>
42529
42530 * math/libm-test.inc (llround_test): Move one test from
42531 lround_test. Use TEST_f_L in moved test.
42532 (lround_test): Move misplaced test to llround_test. Add testcase
42533 from bug 2561.
42534
39adf059
UD
425352012-02-28 Ulrich Drepper <drepper@gmail.com>
42536
42537 * sysdeps/x86_64/fpu/e_expf.S: New file.
42538 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42539
71b5d1c5
SB
425402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42541
42542 [BZ #13637]
42543 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42544 of remain_len that may cause incomplete multi-byte character and
42545 false match.
42546 * posix/bug-regex33.c: New file.
42547 * posix/Makefile (tests): Add bug-regex33.
42548
1f77f049
JM
425492012-02-28 Joseph Myers <joseph@codesourcery.com>
42550
42551 * manual/macros.texi: New file.
42552 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42553 * manual/libc.texinfo: Include macros.texi.
42554 * manual/creatute.texi: Likewise.
42555 * manual/install.texi: Likewise.
42556 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42557 @glibcadj{} in references to the GNU C Library.
42558 * manual/charset.texi: Likewise.
42559 * manual/conf.texi: Likewise.
42560 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42561 when not using those macros.
42562 * manual/creature.texi: Likewise.
42563 * manual/crypt.texi: Likewise.
42564 * manual/errno.texi: Likewise.
42565 * manual/filesys.texi: Likewise.
42566 * manual/header.texi: Likewise.
42567 * manual/install.texi: Likewise.
42568 * manual/intro.texi: Likewise.
42569 * manual/io.texi: Likewise.
42570 * manual/job.texi: Likewise.
42571 * manual/lang.texi: Likewise.
42572 * manual/libc.texiinfo: Likewise.
42573 * manual/llio.texi: Likewise.
42574 * manual/locale.texi: Likewise.
42575 * manual/maint.texi: Likewise.
42576 * manual/math.texi: Likewise.
42577 * manual/memory.texi: Likewise.
42578 * manual/message.texi: Likewise.
42579 * manual/nss.texi: Likewise.
42580 * manual/pattern.texi: Likewise.
42581 * manual/process.texi: Likewise.
42582 * manual/resource.texi: Likewise.
42583 * manual/search.texi: Likewise.
42584 * manual/setjmp.texi: Likewise.
42585 * manual/signal.texi: Likewise.
42586 * manual/socket.texi: Likewise.
42587 * manual/startup.texi: Likewise.
42588 * manual/stdio.texi: Likewise.
42589 * manual/string.texi: Likewise.
42590 * manual/sysinfo.texi: Likewise.
42591 * manual/syslog.texi: Likewise.
42592 * manual/terminal.texi: Likewise.
42593 * manual/time.texi: Likewise.
42594 * manual/users.texi: Likewise.
42595 * INSTALL: Regenerated.
42596 * NOTES: Regenerated.
d40c5d54 42597 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42598
450bf206
AS
425992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42600
42601 * include/dirent.h: Include <dirstream.h> before
42602 <dirent/dirent.h>.
42603
741a235b
DM
426042012-02-28 David S. Miller <davem@davemloft.net>
42605
42606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42610
d6b5aa58
DM
426112012-02-27 David S. Miller <davem@davemloft.net>
42612
1aff59a3
DM
42613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42615 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42617
d6b5aa58
DM
42618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42619 frame pointer instead of stack pointer relative arg slot.
42620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42623
433f48bf
CD
426242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42625
42626 [BZ #3992]
42627 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42628
d674b76d
DM
426292012-02-27 David S. Miller <davem@davemloft.net>
42630
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42639
0e7727f7
JM
426402012-02-27 Joseph Myers <joseph@codesourcery.com>
42641
42642 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42643 later. Allow versions 5-9.
43be4ca2 42644 * configure: Regenerated.
0e7727f7
JM
42645 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42646 required minimum version and 4.6 as recommended version. Do not
42647 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42648 * INSTALL: Regenerated.
0e7727f7 42649
a78bc654
DM
426502012-02-27 David S. Miller <davem@davemloft.net>
42651
428d5830
DM
42652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42658 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42660
a78bc654
DM
42661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42662 manipulate bits before adding and subtracting TWO112[sx].
42663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42664
4579f81c
RM
426652012-02-27 Roland McGrath <roland@hack.frob.com>
42666
36c8acb4
RM
42667 [BZ #13775]
42668 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42669 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42670 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42671 being in POSIX, because they are in 1003.1-2008.
42672
84ad622b
RM
42673 * rt/tst-aio.c: Include <fcntl.h>.
42674 * rt/tst-aio7.c: Likewise.
42675 * rt/tst-aio64.c: Likewise.
42676
4579f81c
RM
42677 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42678
abd923db
JM
426792012-02-27 Joseph Myers <joseph@codesourcery.com>
42680
42681 * manual/install.texi (--with-headers): Describe headers as
42682 interface headers, not private headers.
42683 (Specific advice for GNU/Linux systems): Describe use of headers
42684 from "make headers_install", not private headers from older
42685 kernels.
43be4ca2 42686 * INSTALL: Regenerated.
abd923db
JM
42687 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42688 Change to 2.6.19.
42689 * sysdeps/unix/sysv/linux/configure: Regenerated.
42690
6664049b
JM
42691 * manual/llio.texi (fclean): Remove documentation.
42692
bb8b6697
JM
42693 * manual/Makefile (libc-texi-generated): New variable. Include
42694 version.texi.
42695 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42696 $(libc-texi-generated), not duplicated list of files.
42697 (version.texi, stamp-version): New rules.
42698 (realclean): Remove $(libc-texi-generated), not individual files
42699 from that list. Do not remove dir-add.texinfo.
42700 * manual/libc.texinfo: Comment out uses of edition numbers and
42701 references to printed manual. Remove last-updated dates.
42702 (EDITION): Comment out.
42703 (ISBN): Likewise.
42704 (VERSION, UPDATED): Remove.
42705 (version.texi): Include.
42706
12e5c3b9
AS
427072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42708
42709 * sysdeps/posix/spawni.c: Include <signal.h>.
42710 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42711 * sysdeps/pthread/aio_fsync.c: Likewise.
42712
4efeffc1 427132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42714
ba63ba08
UD
42715 * conform/Makefile (tests): Run only when not cross-compiling and
42716 when fast-check is not defined.
42717
d94a4670
UD
42718 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42719 * conform/data/limits.h-data: Fixes for POSIX2008.
42720 * conform/run-conformtest.sh: Run all tests.
42721 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42722 headers.
42723 * include/bits/dlfcn.h: Likewise.
42724 * include/langinfo.h: Likewise.
42725 * include/monetary.h: Likewise.
42726 * include/sys/poll.h: Likewise.
42727
42728 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42729 for __USE_GNU.
42730 * posix/spawn.h: Define __need_sigset_t.
42731 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42732 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42733 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42734 to get sigevent_t only.
42735 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42736 only for __USE_GNU.
42737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42739 process_vm_writev only for __USE_GNU.
42740 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42741
42742 * conform/Makefile: For now ignore errors from run-conformtest.
42743 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42744 POSIX to avoid namespace pollution. Don't prepend headers.
42745 * conform/data/aio.h-data: Fixes for POSIX testing.
42746 * conform/data/fcntl.h-data: Likewise.
42747 * conform/data/glob.h-data: Likewise.
42748 * conform/data/grp.h-data: Likewise.
42749 * conform/data/pthread.h-data: Likewise.
42750 * conform/data/pwd.h-data: Likewise.
42751 * conform/data/signal.h-data: Likewise.
42752 * conform/data/spawn.h-data: Likewise.
42753 * conform/data/stdio.h-data: Likewise.
42754 * conform/data/stdlib.h-data: Likewise.
42755 * conform/data/stropts.h-data: Likewise.
42756 * conform/data/sys/mman.h-data: Likewise.
42757 * conform/data/sys/stat.h-data: Likewise.
42758 * conform/data/sys/types.h-data: Likewise.
42759 * conform/data/sys/wait.h-data: Likewise.
42760 * conform/data/time.h-data: Likewise.
42761 * conform/data/unistd.h-data: Likewise.
42762 * conform/data/utime.h-data: Likewise.
42763
42764 * io/sys/stat.h: fchmod was always in POSIX.
42765 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42766 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42767 * rt/aio.h: Define __need_timespec before including <time.h>.
42768 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42769 struct. Add forward declaration of pthread_attr_t and use it in
42770 sigevent.
42771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42773 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42774 always remove CLK_TCK definition.
42775
c20105c3
AS
427762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42777
42778 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42779
7a270350
UD
427802012-02-25 Ulrich Drepper <drepper@gmail.com>
42781
31341567
UD
42782 * conform/run-conformtest.sh: New file.
42783 * conform/Makefile: Run run-conformtest for tests.
42784 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42785 support.
42786
42787 * conform/data/uchar.h-data: New file.
42788 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42789 * conform/data/arpa/inet.h-data: Likewise.
42790 * conform/data/assert.h-data: Likewise.
42791 * conform/data/complex.h-data: Likewise.
42792 * conform/data/cpio.h-data: Likewise.
42793 * conform/data/ctype.h-data: Likewise.
42794 * conform/data/dirent.h-data: Likewise.
42795 * conform/data/dlfcn.h-data: Likewise.
42796 * conform/data/errno.h-data: Likewise.
42797 * conform/data/fcntl.h-data: Likewise.
42798 * conform/data/float.h-data: Likewise.
42799 * conform/data/fmtmsg.h-data: Likewise.
42800 * conform/data/fnmatch.h-data: Likewise.
42801 * conform/data/ftw.h-data: Likewise.
42802 * conform/data/glob.h-data: Likewise.
42803 * conform/data/grp.h-data: Likewise.
42804 * conform/data/iconv.h-data: Likewise.
42805 * conform/data/inttypes.h-data: Likewise.
42806 * conform/data/langinfo.h-data: Likewise.
42807 * conform/data/libgen.h-data: Likewise.
42808 * conform/data/limits.h-data: Likewise.
42809 * conform/data/locale.h-data: Likewise.
42810 * conform/data/math.h-data: Likewise.
42811 * conform/data/monetary.h-data: Likewise.
42812 * conform/data/mqueue.h-data: Likewise.
42813 * conform/data/ndbm.h-data: Likewise.
42814 * conform/data/net/if.h-data: Likewise.
42815 * conform/data/netdb.h-data: Likewise.
42816 * conform/data/netinet/in.h-data: Likewise.
42817 * conform/data/nl_types.h-data: Likewise.
42818 * conform/data/poll.h-data: Likewise.
42819 * conform/data/pthread.h-data: Likewise.
42820 * conform/data/pwd.h-data: Likewise.
42821 * conform/data/regex.h-data: Likewise.
42822 * conform/data/sched.h-data: Likewise.
42823 * conform/data/search.h-data: Likewise.
42824 * conform/data/semaphore.h-data: Likewise.
42825 * conform/data/setjmp.h-data: Likewise.
42826 * conform/data/signal.h-data: Likewise.
42827 * conform/data/spawn.h-data: Likewise.
42828 * conform/data/stdarg.h-data: Likewise.
42829 * conform/data/stdio.h-data: Likewise.
42830 * conform/data/stdlib.h-data: Likewise.
42831 * conform/data/string.h-data: Likewise.
42832 * conform/data/strings.h-data: Likewise.
42833 * conform/data/stropts.h-data: Likewise.
42834 * conform/data/sys/ipc.h-data: Likewise.
42835 * conform/data/sys/mman.h-data: Likewise.
42836 * conform/data/sys/msg.h-data: Likewise.
42837 * conform/data/sys/resource.h-data: Likewise.
42838 * conform/data/sys/select.h-data: Likewise.
42839 * conform/data/sys/sem.h-data: Likewise.
42840 * conform/data/sys/shm.h-data: Likewise.
42841 * conform/data/sys/socket.h-data: Likewise.
42842 * conform/data/sys/stat.h-data: Likewise.
42843 * conform/data/sys/statvfs.h-data: Likewise.
42844 * conform/data/sys/time.h-data: Likewise.
42845 * conform/data/sys/timeb.h-data: Likewise.
42846 * conform/data/sys/times.h-data: Likewise.
42847 * conform/data/sys/types.h-data: Likewise.
42848 * conform/data/sys/uio.h-data: Likewise.
42849 * conform/data/sys/un.h-data: Likewise.
42850 * conform/data/sys/utsname.h-data: Likewise.
42851 * conform/data/sys/wait.h-data: Likewise.
42852 * conform/data/syslog.h-data: Likewise.
42853 * conform/data/tar.h-data: Likewise.
42854 * conform/data/termios.h-data: Likewise.
42855 * conform/data/utime.h-data: Likewise.
42856 * conform/data/utmpx.h-data: Likewise.
42857 * conform/data/varargs.h-data: Likewise.
42858 * conform/data/wchar.h-data: Likewise.
42859 * conform/data/wctype.h-data: Likewise.
42860 * conform/data/wordexp.h-data: Likewise.
42861
42862 * include/stropts.h: New file.
42863 * include/uchar.h: New file.
42864 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42865 * include/assert.h: Likewise.
42866 * include/ctype.h: Likewise.
42867 * include/dirent.h: Likewise.
42868 * include/dlfcn.h: Likewise.
42869 * include/fcntl.h: Likewise.
42870 * include/fnmatch.h: Likewise.
42871 * include/glob.h: Likewise.
42872 * include/grp.h: Likewise.
42873 * include/libio.h: Likewise.
42874 * include/locale.h: Likewise.
42875 * include/math.h: Likewise.
42876 * include/net/if.h: Likewise.
42877 * include/netdb.h: Likewise.
42878 * include/netinet/in.h: Likewise.
42879 * include/pthread.h: Likewise.
42880 * include/pwd.h: Likewise.
42881 * include/regex.h: Likewise.
42882 * include/sched.h: Likewise.
42883 * include/search.h: Likewise.
42884 * include/setjmp.h: Likewise.
42885 * include/signal.h: Likewise.
42886 * include/stdio.h: Likewise.
42887 * include/stdlib.h: Likewise.
42888 * include/string.h: Likewise.
42889 * include/sys/cdefs.h: Likewise.
42890 * include/sys/mman.h: Likewise.
42891 * include/sys/msg.h: Likewise.
42892 * include/sys/resource.h: Likewise.
42893 * include/sys/select.h: Likewise.
42894 * include/sys/socket.h: Likewise.
42895 * include/sys/stat.h: Likewise.
42896 * include/sys/statvfs.h: Likewise.
42897 * include/sys/time.h: Likewise.
42898 * include/sys/times.h: Likewise.
42899 * include/sys/uio.h: Likewise.
42900 * include/sys/utsname.h: Likewise.
42901 * include/sys/wait.h: Likewise.
42902 * include/termios.h: Likewise.
42903 * include/time.h: Likewise.
42904 * include/ulimit.h: Likewise.
42905 * include/unistd.h: Likewise.
42906 * include/utime.h: Likewise.
42907 * include/wchar.h: Likewise.
42908 * include/wctype.h: Likewise.
42909 * include/wordexp.h: Likewise.
42910
42911 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42912
7a270350
UD
42913 * time/time.h: TIME_UTC must be a macro.
42914 Make timespec_get available for ISO C11 only as well.
42915
7724defc
UD
429162012-02-24 Ulrich Drepper <drepper@gmail.com>
42917
42918 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42919 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42920
6b1d1d46
JM
429212012-02-24 Joseph Myers <joseph@codesourcery.com>
42922
42923 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42924
0f8bbd69
JM
429252012-02-24 Joseph Myers <joseph@codesourcery.com>
42926
42927 * manual/texinfo.tex: Update to version 2012-01-19.16.
42928
66ab80bc
JM
429292012-02-24 Joseph Myers <joseph@codesourcery.com>
42930
42931 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42932
74981cc5
RM
429332012-02-24 Roland McGrath <roland@hack.frob.com>
42934
ee968201
RM
42935 [BZ #13738]
42936 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42937 * manual/fdl-1.3.texi: New file.
42938 * manual/fdl-1.1.texi: File removed.
42939
74981cc5
RM
42940 [BZ #13738]
42941 * manual/libc.texinfo (FDL_VERSION): New @set.
42942 Use it for mention of FDL in cover text.
42943 (Documentation License): Use it in @include file name.
42944
7bb764bc
JM
429452012-02-22 Joseph Myers <joseph@codesourcery.com>
42946 Roland McGrath <roland@hack.frob.com>
42947
42948 [BZ #5461]
57f41c40
AS
42949 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42950 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42951 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42952 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42953 name.
42954 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42955
6cbeae47
JM
429562012-02-22 Joseph Myers <joseph@codesourcery.com>
42957
42958 [BZ #2547]
42959 [BZ #11365]
42960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42961 manipulate bits before adding and subtracting TWO23[sx].
42962 * math/libm-test.inc (nearbyint_test): Add more tests.
42963
fe45ce09
JM
429642012-02-22 Joseph Myers <joseph@codesourcery.com>
42965
42966 [BZ #2548]
42967 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42968 bits before adding and subtracting TWO23[sx].
42969 * math/libm-test.inc (rint_test): Add more tests.
42970 (rint_test_tonearest): Likewise.
42971 (rint_test_towardzero): Likewise.
42972 (rint_test_downward): Likewise.
42973 (rint_test_upward: Likewise.
42974
ff3b3d82
JM
429752012-02-22 Joseph Myers <joseph@codesourcery.com>
42976
42977 [BZ #10110]
42978 * include/stdc-predef.h: New file. Extracted from features.h.
42979 * include/features.h: Include stdc-predef.h.
42980 * Makefile (headers): Add stdc-predef.h.
42981 * CONFORMANCE (Compiler limitations): Update.
42982
ef0aab35
JM
429832012-02-22 Joseph Myers <joseph@codesourcery.com>
42984
42985 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42986
58639409
DM
429872012-02-21 David S. Miller <davem@davemloft.net>
42988
42989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42991
c0e70b25
DM
429922012-02-20 David S. Miller <davem@davemloft.net>
42993
42994 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42995 using a normal save/restore sequence, rather than allocating a
42996 dummy stack frame just to store a frame pointer and restore.
42997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42998
fb06851d
JM
429992012-02-21 Joseph Myers <joseph@codesourcery.com>
43000
43001 * manual/install.texi: Fix stray word in line-wrapped comment.
43002
7a8b71c3
DM
430032012-02-20 David S. Miller <davem@davemloft.net>
43004
d510c123
DM
43005 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43006 both binutils and gcc support GOTDATA.
43007
0722d7c2
DM
43008 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43009 "rd %pc" in the PIC register setup sequences.
43010
3d2b3019
DM
43011 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43013 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43014 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43020 (SYSCALL_ERROR_HANDLER): Likewise.
43021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43024 (SYSCALL_ERROR_HANDLER): Likewise.
43025
c80098a9
DM
43026 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43027 (HAVE_GCC_GOTDATA): New.
43028 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43029 relocation support in both binutils and gcc.
43030 * sysdeps/sparc/elf/configure: Regenerate.
43031
3a2545a0
DM
43032 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43033 * sysdeps/sparc/sparc32/elf/configure: Delete.
43034 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43035 * sysdeps/sparc/sparc64/elf/configure: Delete.
43036 * sysdeps/sparc/elf/configure.in: New file.
43037 * sysdeps/sparc/elf/configure: Generate.
43038
7a8b71c3
DM
43039 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43040 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43042 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43043 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43044
f1e86fca
JM
430452012-02-21 Joseph Myers <joseph@codesourcery.com>
43046
43047 * manual/install.texi: Do not mention specific glibc version
43048 numbers.
43049 * manual/libc.texinfo (VERSION, UPDATED): Update.
43050 (@copying): Use @copyright{} and range of years.
43051
0e7dfaef
JM
430522012-02-21 Joseph Myers <joseph@codesourcery.com>
43053
43054 [BZ #13695]
43055 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43056 [crti.S not in sysdirs] (generated): Do not append.
43057 [crti.S not in sysdirs] (omit-deps): Likewise.
43058 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43059 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43060 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43061 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43062 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43063 Likewise.
43064 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43065 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43066 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43067 * csu/defs.awk: Remove file.
43068 * sysdeps/generic/initfini.c: Likewise.
43069 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43070 variable.
43071 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43072 Likewise.
43073
599af3ca
JM
430742012-02-20 Joseph Myers <joseph@codesourcery.com>
43075
43076 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43077 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43078 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43081 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43082 <bits/epoll.h>.
43083 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43084 (__EPOLL_PACKED): Define to empty if not defined by
43085 <bits/epoll.h>.
43086 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43088 bits/epoll.h.
43089
0e499750
JM
430902012-02-20 Joseph Myers <joseph@codesourcery.com>
43091
43092 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43093 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43096 <bits/timerfd.h>.
43097 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43099 bits/timerfd.h.
43100
5ad91f6e
JM
431012012-02-20 Joseph Myers <joseph@codesourcery.com>
43102
43103 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43104 in C locale.
43105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43109
06b99b02
AJ
431102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43111
43112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43114
7638c0fd
AS
431152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43116
43117 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43118 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43119 defined.
43120 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43121 Likewise.
43122 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43123 entry for 2.16.
43124
92221550
AJ
431252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43126
43127 * math/w_acos.c: Use non-signaling floating-point comparisons.
43128 * math/w_acosf.c: Likewise.
43129 * math/w_acosh.c: Likewise.
43130 * math/w_acoshf.c: Likewise.
43131 * math/w_acoshl.c: Likewise.
43132 * math/w_acosl.c: Likewise.
43133 * math/w_asin.c: Likewise.
43134 * math/w_asinf.c: Likewise.
43135 * math/w_asinl.c: Likewise.
43136 * math/w_atanh.c: Likewise.
43137 * math/w_atanhf.c: Likewise.
43138 * math/w_atanhl.c: Likewise.
43139 * math/w_exp2.c: Likewise.
43140 * math/w_exp2f.c: Likewise.
43141 * math/w_exp2l.c: Likewise.
43142 * math/w_j0.c: Likewise.
43143 * math/w_j0f.c: Likewise.
43144 * math/w_j0l.c: Likewise.
43145 * math/w_j1.c: Likewise.
43146 * math/w_j1f.c: Likewise.
43147 * math/w_j1l.c: Likewise.
43148 * math/w_jn.c: Likewise.
43149 * math/w_jnf.c: Likewise.
43150 * math/w_log.c: Likewise.
43151 * math/w_log10.c: Likewise.
43152 * math/w_log10f.c: Likewise.
43153 * math/w_log10l.c: Likewise.
43154 * math/w_log2.c: Likewise.
43155 * math/w_log2f.c: Likewise.
43156 * math/w_log2l.c: Likewise.
43157 * math/w_logf.c: Likewise.
43158 * math/w_logl.c: Likewise.
43159 * math/w_sqrt.c: Likewise.
43160 * math/w_sqrtf.c: Likewise.
43161 * math/w_sqrtl.c: Likewise.
43162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43163 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43165 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43167
ebaf36eb
JM
431682012-02-19 Joseph Myers <joseph@codesourcery.com>
43169
43170 [BZ #9739]
43171 * manual/string.texi (strnlen): Use correct parameter name in
43172 equivalent expression.
43173
71c254a6
JM
431742012-02-19 Joseph Myers <joseph@codesourcery.com>
43175
43176 [BZ #11174]
43177 * manual/users.texi (seteuid): Consistently use neweuid for
43178 argument name.
43179
16d2c631
JM
431802012-02-19 Joseph Myers <joseph@codesourcery.com>
43181
43182 [BZ #13704]
43183 * manual/nss.texi (Services in the NSS configuration): Correct
43184 list of services in example configuration file.
43185
cd837b09
NB
431862012-02-19 Nick Bowler <nbowler@draconx.ca>
43187
43188 [BZ #11322]
43189 * manual/arith.texi: Remove statements about negative zero
43190 behaving identically to zero.
43191
02c4bbad
JM
431922012-02-18 Joseph Myers <joseph@codesourcery.com>
43193
43194 [BZ #5993]
43195 * manual/install.texi: Do not document upgrading from libc5.
43196
366842e7
JM
431972012-02-18 Joseph Myers <joseph@codesourcery.com>
43198
43199 [BZ #4596]
43200 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43201
dd54084d
DM
432022012-02-18 David S. Miller <davem@davemloft.net>
43203
43204 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43205 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43206 %o7 across the call.
43207 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43208 instead.
43209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43210 SETUP_PIC_REG_LEAF.
43211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43212 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43213 * sysdeps/sparc/crtn.S: Likewise.
43214
2bcc53a3
UD
432152012-02-17 Ulrich Drepper <drepper@gmail.com>
43216
43217 * aout/Makefile: Remove.
43218
09c093b5
RK
432192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43220
43221 [BZ #13058]
43222 * manual/examples/argp-ex1.c (main): Format definition in GNU
43223 style.
43224 * manual/examples/argp-ex2.c (main): Likewise.
43225 * manual/examples/argp-ex3.c (main): Likewise.
43226 * manual/examples/argp-ex4.c (main): Likewise.
43227 * manual/examples/longopt.c (main): Use new-style prototype
43228 definition.
43229 * manual/examples/strncat.c (main): Specify return type and use
43230 (void) for arguments.
43231 * manual/examples/subopt.c (main): Use char **argv argument.
43232
2ee633a2
JM
432332012-02-17 Joseph Myers <joseph@codesourcery.com>
43234
43235 [BZ #5077]
43236 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43237 rounding modes.
43238
0520adde
FB
432392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43240
43241 [BZ #6907]
43242 * manual/string.texi (strchr): Change when strchrnul is
43243 recommended.
43244
3f4081cd
DGM
432452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43246
43247 [BZ #174]
43248 * manual/locale.texi (setlocale): Document LOCPATH.
43249
d1b10e78
JM
432502012-02-17 Joseph Myers <joseph@codesourcery.com>
43251
43252 [BZ #10210]
43253 * manual/process.texi (execle): Move @dots{} before last argument.
43254
79c6869c
PB
432552012-02-17 Paul Bolle <pebolle@tiscali.nl>
43256
43257 [BZ #12047]
43258 * manual/charset.texi (Generic Charset Conversion): Fix typo
43259 (LC_TYPE -> LC_CTYPE).
43260
cc6e48bc
NB
432612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43262
43263 [BZ #5805]
43264 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43265 (scalbnf): Likewise.
43266 (scalbnl): Likewise.
43267 (scalbln): Likewise.
43268 (scalblnf): Likewise.
43269 (scalblnl): Likewise.
43270 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43271 (vwarnx): Likewise.
43272 (verr): Likewise.
43273 (verrx): Likewise.
43274 * manual/filesys.texi (telldir): Use braces around return type.
43275 * manual/llio.texi (mmap): Add space after comma.
43276 (mmap64): Likewise.
43277 * manual/math.texi (jn): Use @var{} on parameter names.
43278 (jnf): Likewise.
43279 (jnl): Likewise.
43280 (yn): Likewise.
43281 (ynf): Likewise.
43282 (ynl): Likewise.
43283 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43284 line.
43285 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43286 "...".
43287 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43288 (sched_get_priority_max): Likewise.
43289 * manual/signal.texi (sigvec): Add space after comma.
43290 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43291 names.
43292 (if_indextoname): Likewise.
43293 (if_freenameindex): Likewise.
43294 (sendto): Use ',' instead of '.' in prototype.
43295 * manual/startup.texi (syscall): Use @dots{} instead of literal
43296 "...".
43297 * manual/stdio.texi (__fpending): Separate initial words of
43298 paragraph from @deftypefun line.
43299 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43300 "...".
43301 (vsyslog): Use @var{} on parameter names.
43302 * manual/terminal.texi (stty): Use @var{} on parameter names.
43303 * manual/users.texi (getutmp): Use @var{} on parameter names.
43304 (getutmpx): Likewise.
43305
5b23062f
JM
433062012-02-17 Joseph Myers <joseph@codesourcery.com>
43307
43308 [BZ #6884]
43309 * manual/stdio.texi (fopen): Fix typos in description of
43310 ",ccs=STRING".
43311
8dee4833
AJ
433122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43313
43314 [BZ #4026]
43315 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43316 get clock_id definition.
43317
9078ce93
TS
433182012-02-17 Thomas Schwinge <thomas@schwinge.name>
43319
43320 [BZ #4822]
43321 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43322 (madvise): Cast every argument to void on its own.
43323
3835c55f
JM
433242012-02-17 Joseph Myers <joseph@codesourcery.com>
43325
43326 [BZ #9902]
43327 * manual/startup.texi (Exit Status): Fix typo.
43328
35c47e37
JM
433292012-02-17 Joseph Myers <joseph@codesourcery.com>
43330
43331 [BZ #10140]
43332 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43333 * manual/examples/argp-ex2.c: Likewise.
43334 * manual/examples/argp-ex3.c: Likewise.
43335
e3b69ca7
RH
433362012-02-16 Richard Henderson <rth@redhat.com>
43337
43338 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43339 * sysdeps/s390/s390-32/initfini.c: Remove.
43340 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43341 * sysdeps/s390/s390-64/initfini.c: Remove.
43342
df83af67
KK
433432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43344
43345 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43346 compiler output for sysdeps/generic/initfini.c.
43347 * sysdeps/sh/elf/initfini.c: Remove file.
43348
f63f3380
DM
433492012-02-16 David S. Miller <davem@davemloft.net>
43350
fb59b3a4
DM
43351 [BZ #11494]
43352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43353
f63f3380
DM
43354 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43355 * sysdeps/sparc/crti.S: New file.
43356 * sysdeps/sparc/crtn.S: New file.
43357 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43358 * sysdeps/sparc/sparc64/Makefile: Likewise.
43359
df6a4a4a
MF
433602012-02-15 Mike Frysinger <vapier@gentoo.org>
43361
6dd8f3dc 43362 [BZ #3335]
df6a4a4a
MF
43363 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43364
1cac7236
RM
433652012-02-15 Roland McGrath <roland@hack.frob.com>
43366
d2c736f8
RM
43367 [BZ #4822]
43368 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43369
1cac7236
RM
43370 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43371 (write, read, close): Likewise.
43372 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43373
8e475601
JM
433742012-02-15 Joseph Myers <joseph@codesourcery.com>
43375
43376 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43377 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43378 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43379 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43380 <bits/signalfd.h>.
43381 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43383 bits/signalfd.h.
43384
ed656b40
MP
433852012-02-14 Marek Polacek <polacek@redhat.com>
43386
43387 * sysdeps/x86_64/crti.S: New file.
43388 * sysdeps/x86_64/crtn.S: New file.
43389 * sysdeps/x86_64/elf/initfini.c: Remove file.
43390
2a979d3a
JM
433912012-02-13 Joseph Myers <joseph@codesourcery.com>
43392
43393 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43394 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43395 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43396 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43397 <bits/inotify.h>.
43398 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43400 bits/inotify.h.
43401
2a418ac3
JM
434022012-02-13 Joseph Myers <joseph@codesourcery.com>
43403
43404 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43406 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43408 <bits/eventfd.h>.
43409 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43411 bits/eventfd.h.
43412
fb779be7
TS
434132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43414
e19e83c5
RM
43415 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43416 __feraiseexcept instead of feraiseexcept.
7c35ffed 43417
fb779be7
TS
43418 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43419 nanosleep invocations.
43420 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43421 strings, and add error checking for a nanosleep invocations.
43422
59ba27a6
PE
434232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43424
43425 Replace FSF snail mail address with URLs, as per GNU coding standards.
43426 Most of the snail mail addresses were wrong anyway, and omitting
43427 them makes the source code easier to maintain. Almost all of the
43428 changes are to license notices and to locale LC_IDENTIFICATION
43429 addresses, except for this one:
43430 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43431 not its snail mail address.
43432
57b957eb
RH
434332012-02-09 Richard Henderson <rth@twiddle.net>
43434
af850b1c
RH
43435 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43436 of kernel-features.h.
43437
57b957eb
RH
43438 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43439
6b73181a
MP
434402012-02-08 Marek Polacek <polacek@redhat.com>
43441
43442 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43443 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43444 * sysdeps/gnu/_G_config.h: Likewise.
43445 * sysdeps/generic/_G_config.h: Likewise.
43446
26ecc33a
AS
434472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43448
6c6dbc63
AS
43449 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43450 tests.
43451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43452
e216c012
AS
43453 * sysdeps/powerpc/powerpc32/crti.S: New file.
43454 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43455 * sysdeps/powerpc/powerpc64/crti.S: New file.
43456 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43457
26ecc33a
AS
43458 * Makeconfig (have-initfini): Don't set.
43459 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43460 * configure.in (nopic_initfini): Don't substitute.
43461 * config.h.in (HAVE_INITFINI): Don't #undef.
43462 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43463 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43464
3add8e13
JM
434652012-02-08 Joseph Myers <joseph@codesourcery.com>
43466
43467 Support crti.S and crtn.S provided directly by architectures.
43468 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43469 [crti.S in sysdirs] (omit-deps): Likewise.
43470 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43471 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43472 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43473 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43474 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43475 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43476 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43477 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43478 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43479 compiler output for sysdeps/generic/initfini.c.
43480 * sysdeps/i386/elf/Makefile: Remove file.
43481 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43482
a22f12b4
MP
434832012-02-07 Marek Polacek <polacek@redhat.com>
43484
43485 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43486 * sysdeps/gnu/_G_config.h: Likewise.
43487 * sysdeps/mach/hurd/_G_config.h: Likewise.
43488
148cf100
MP
434892012-02-07 Marek Polacek <polacek@redhat.com>
43490
43491 * math/Makefile (tests): Add tst-CMPLX2.
43492 * math/tst-CMPLX2.c: New file.
43493
cfdc0dd7
AS
434942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43495
84ba42c4
AS
43496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43497
cfdc0dd7
AS
43498 * math/libm-test.inc (jn_test): Add missing L suffix.
43499
622c86f4
MP
435002012-02-06 Marek Polacek <polacek@redhat.com>
43501
43502 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43503 * sysdeps/i386/fpu/e_powf.S: Likewise.
43504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43507 * sysdeps/i386/fpu/e_pow.S: Likewise.
43508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43512 * sysdeps/i386/fpu/e_log2.S: Likewise.
43513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43515 * sysdeps/i386/fpu/e_powl.S: Likewise.
43516 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43519 * sysdeps/i386/fpu/e_logl.S: Likewise.
43520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43521 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43522 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43523 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43524 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43526 * sysdeps/i386/fpu/e_log.S: Likewise.
43527 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43529 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43530 * sysdeps/i386/fpu/e_logf.S: Likewise.
43531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43533 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43534 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43536 * sysdeps/i386/fpu/e_log10.S: Likewise.
43537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43542 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43543 * sysdeps/i386/asm-syntax.h: Likewise.
43544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43547 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43548 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43553 * sysdeps/powerpc/sysdep.h: Likewise.
43554 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43556
d4a54ac6
JM
435572012-02-06 Joseph Myers <joseph@codesourcery.com>
43558
43559 [BZ #411]
43560 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43561
314054ea
JM
435622012-02-06 Joseph Myers <joseph@codesourcery.com>
43563
43564 * sysdeps/i386/sysdep.h: Include <features.h>.
43565 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43566 version.
43567
d8e0ca50
JM
435682012-02-05 Joseph Myers <joseph@codesourcery.com>
43569
43570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43571 Define.
43572 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43573 LOAD_PIC_REG_STR.
43574
b1da7dd9
JM
435752012-02-03 Joseph Myers <joseph@codesourcery.com>
43576
43577 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43578 (SETUP_PIC_REG): Use GET_PC_THUNK.
43579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43580 macro.
43581
9a1d9254
JM
435822012-02-03 Joseph Myers <joseph@codesourcery.com>
43583
43584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43585 for non-PIC compilation.
43586 (SETUP_PIC_REG): Add .p2align directive.
43587 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43588 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43615 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43616 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43628
65dc3b75
JM
436292012-02-03 Joseph Myers <joseph@codesourcery.com>
43630
43631 * math/tst-CMPLX.c: Include <stdio.h>.
43632
d55bf177
JM
436332012-01-31 Joseph Myers <joseph@codesourcery.com>
43634
43635 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43636 float.
43637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43638 * sysdeps/sparc/bits/mathdef.h: Likewise.
43639
69db4f8f
MP
436402012-01-31 Marek Polacek <polacek@redhat.com>
43641
43642 * libio/libio.h: Don't define _PARAMS.
43643 * locale/programs/config.h: Don't define PARAMS.
43644 * stdlib/strtol_l.c: Likewise.
43645 (__strtol_l): Remove PARAMS from the prototype.
43646
41b81892
UD
436472012-01-31 Ulrich Drepper <drepper@gmail.com>
43648
3b49edc0
UD
43649 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43650 names. Just use the correct names. Remove unnecessary wrapper
43651 functions.
43652 * malloc/arena.c: Likewise.
43653 * malloc/hooks.c: Likewise.
43654
41b81892
UD
43655 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43656 ARENA_TEST says not to. Simplify test for creation of a new arena.
43657 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43658
27a25b6e
UD
436592012-01-30 Ulrich Drepper <drepper@gmail.com>
43660
43661 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43662 into tail calls.
43663 (update_get_addr): New function.
43664 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43665 GET_ADDR_MODULE parameter.
43666
c8a89e7d
JM
436672012-01-30 Joseph Myers <joseph@codesourcery.com>
43668
43669 * crypt/cert.c: Remove __STDC__ conditionals.
43670 * crypt/crypt-entry.c: Likewise.
43671 * crypt/crypt_util.c: Likewise.
43672 * libio/filedoalloc.c: Likewise.
43673 * libio/fileops.c: Likewise.
43674 * libio/genops.c: Likewise.
43675 * libio/iofclose.c: Likewise.
43676 * libio/iofdopen.c: Likewise.
43677 * libio/iofopen.c: Likewise.
43678 * libio/iofopen64.c: Likewise.
43679 * libio/iogetdelim.c: Likewise.
43680 * libio/iopopen.c: Likewise.
43681 * libio/obprintf.c: Likewise.
43682 * libio/oldfileops.c: Likewise.
43683 * libio/oldiofclose.c: Likewise.
43684 * libio/oldiofdopen.c: Likewise.
43685 * libio/oldiofopen.c: Likewise.
43686 * libio/oldiopopen.c: Likewise.
43687 * libio/wfiledoalloc.c: Likewise.
43688 * libio/wgenops.c: Likewise.
43689 * locale/programs/xmalloc.c: Likewise.
43690 * misc/syslog.c: Likewise.
43691 * stdio-common/xbug.c: Likewise.
43692 * string/memchr.c: Likewise.
43693 * string/memcmp.c: Likewise.
43694 * string/memrchr.c: Likewise.
43695 * string/rawmemchr.c: Likewise.
43696 * sysdeps/posix/getcwd.c: Likewise.
43697 * time/strftime_l.c: Likewise.
43698
3b100462
JM
436992012-01-30 Joseph Myers <joseph@codesourcery.com>
43700
43701 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43702 * config.make.in (config-cflags-sse2avx): Define.
43703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43704 Fix typo.
43705
607998af
CM
437062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43707
43708 * scripts/config.guess: Update from upstream config git repository.
43709 * scripts/config.sub: Likewise.
43710
3601428f
CM
437112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43712
3ac8b282
CM
43713 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43714 (EM_NUM): Update.
43715 (R_TILEPRO_*, R_TILEGX_*): New macros.
43716
e034841e
CM
43717 * scripts/firstversions.awk: Fix bug in version range handling.
43718
540d7568
CM
43719 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43720
3601428f
CM
43721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43722
463de862
CM
43723 * include/sys/epoll.h: New file.
43724 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43725 libc_hidden_def.
43726
73139a76
UD
437272012-01-28 Ulrich Drepper <drepper@gmail.com>
43728
96bc5b45
UD
43729 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43730 Avoid unnecessary __WORDSIZE == 64 test.
43731 (fmaxf): Use VEX format if possible.
43732 (fmax): Likewise.
43733 (fminf): Likewise.
43734 (fmin): Likewise.
43735
56f6f6a2
UD
43736 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43737 * math/math_private.h: Remove libc_fegetround* and
43738 libc_fesetround*.
43739 * sysdeps/i386/configure.in: Check for -msse2avx.
43740 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43741 also if SSE2AVX is defined.
43742 Remove libc_fegetround* and libc_fesetround*.
43743 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43744 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43746 of HAS_YMM_USABLE.
43747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43752
73139a76
UD
43753 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43754
d73f93a4
AZ
437552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43756
43757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43758 size is not set.
43759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43760
6ee65ed6
UD
437612012-01-27 Ulrich Drepper <drepper@gmail.com>
43762
43763 [BZ #13618]
43764 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43765 relocation.
43766 * Makeconfig (libm): Define.
43767 * elf/Makefile: Add rules to build and run tst-relsort1.
43768 * elf/tst-relsort1.c: New file.
43769 * elf/tst-relsort1mod1.c: New file.
43770 * elf/tst-relsort1mod2.c: New file.
43771
8db21882
JM
437722012-01-27 Joseph Myers <joseph@codesourcery.com>
43773
43774 * math/s_ldexp.c: Remove __STDC__ conditionals.
43775 * math/s_ldexpf.c: Likewise.
43776 * math/s_ldexpl.c: Likewise.
43777 * math/s_nextafter.c: Likewise.
43778 * math/s_nexttowardf.c: Likewise.
43779 * math/s_significand.c: Likewise.
43780 * math/s_significandf.c: Likewise.
43781 * math/s_significandl.c: Likewise.
43782 * math/w_jnl.c: Likewise.
43783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43789 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43795 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43811 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43812 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43820 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43821 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43822 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43823 * sysdeps/ieee754/k_standard.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43826 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43860 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43880 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43903 * sysdeps/ieee754/s_matherr.c: Likewise.
43904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43908
965a54a4
JM
439092012-01-26 Joseph Myers <joseph@codesourcery.com>
43910
43911 * crypt/md5.h: Remove __STDC__ conditionals.
43912 * libio/libioP.h: Likewise.
43913 * locale/programs/config.h: Likewise.
43914 * sysdeps/generic/sysdep.h: Likewise.
43915 * sysdeps/i386/asm-syntax.h: Likewise.
43916 * sysdeps/s390/asm-syntax.h: Likewise.
43917 * sysdeps/unix/sysdep.h: Likewise.
43918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43920
7071ad79
JM
439212012-01-26 Joseph Myers <joseph@codesourcery.com>
43922
43923 * libio/libio.h: Remove __STDC__ conditionals.
43924 * malloc/obstack.h: Likewise.
43925 * math/complex.h: Likewise.
43926 * math/math.h: Likewise.
43927 * sysdeps/generic/_G_config.h: Likewise.
43928 * sysdeps/gnu/_G_config.h: Likewise.
43929 * sysdeps/mach/hurd/_G_config.h: Likewise.
43930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43932 * sysdeps/sparc/bits/mathdef.h: Likewise.
43933
afc5ed09
UD
439342012-01-26 Ulrich Drepper <drepper@gmail.com>
43935
43936 [BZ #13583]
43937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43938 Clean up HAS_* macros.
afc5ed09 43939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43940 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43941 possible.
43942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43943 HAS_AVX.
43944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43949
bdb6de1d
JM
439502012-01-25 Joseph Myers <joseph@codesourcery.com>
43951
43952 * elf/tst-unique3.cc (gets): Remove declaration.
43953 * elf/tst-unique3lib.cc (gets): Likewise.
43954 * elf/tst-unique3lib2.cc (gets): Likewise.
43955 * elf/tst-unique4.cc (gets): Likewise.
43956
b15549e6
UD
439572012-01-24 Ulrich Drepper <drepper@gmail.com>
43958
43959 * include/stdio.h: Add C++ protection. Add gets declarations and
43960 definitions.
43961 * debug/tst-chk1.c: Don't declare gets here.
43962 * stdio-common/tst-gets.c: Likewise.
43963
a037381f
JM
439642012-01-24 Joseph Myers <joseph@codesourcery.com>
43965
43966 * posix/glob: Remove directory.
43967
f1d4aa75
JM
439682012-01-24 Joseph Myers <joseph@codesourcery.com>
43969
43970 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43971
81c0c964
PT
439722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43973
43974 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43975 of the non-standard EPFNOSUPPORT.
43976
0ea698ae
ST
439772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43978
43979 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43980 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43981 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43982
d220b117
UD
439832012-01-21 Ulrich Drepper <drepper@gmail.com>
43984
43985 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43986
3e1aa84e
UD
439872012-01-20 Ulrich Drepper <drepper@gmail.com>
43988
43989 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43990 transient errors.
43991 * nscd/grpcache.c (cache_addgr): Likewise.
43992 * nscd/hstcache.c (cache_addhst): Likewise.
43993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43994 * nscd/pwdcache.c (cache_addpw): Likewise.
43995 * nscd/servicescache.c (cache_addserv): Likewise.
43996
400aa020
UD
439972012-01-16 Ulrich Drepper <drepper@gmail.com>
43998
d77e7869
UD
43999 * malloc/malloc.c: Various cleanups.
44000 * malloc/hooks.c: Likewise.
44001
400aa020
UD
44002 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44003 * stdlib/bug-fmtmsg1.c: New file.
44004
44005 * stdlib/fmtmsg.c (init): Add missing unlock.
44006 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44007
e0a309cf
MP
440082012-01-12 Marek Polacek <polacek@redhat.com>
44009
44010 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44011 and _GNU_SOURCE.
44012
929d11c7
WS
440132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44014
44015 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44017 macro to ensure uniqueness of label name.
44018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44020
41d0e869
UD
440212012-01-11 Ulrich Drepper <drepper@gmail.com>
44022
0cc5ed3b
UD
44023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44024
41d0e869
UD
44025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44029
a47a831a
UD
440302012-01-10 Ulrich Drepper <drepper@gmail.com>
44031
daa891c0
UD
44032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44033
44034 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44036 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44037
e58ef0f2
UD
44038 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44039
a47a831a 44040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44044
44045 * math/bits/math-finite.h: Add ldexp support.
44046
a0bfc9c7
MP
440472012-01-10 Marek Polacek <polacek@redhat.com>
44048
44049 * locale/programs/localedef.h (show_archive_content): Add noreturn
44050 attribute.
44051
d6e97a1d
UD
440522012-01-09 Ulrich Drepper <drepper@gmail.com>
44053
44054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44055
d5835c26
UD
440562012-01-08 Ulrich Drepper <drepper@gmail.com>
44057
e5f484c6
UD
44058 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44059
d5835c26
UD
44060 * io/Makefile (headers): Add bits/poll2.h.
44061
d1f741e9
WS
440622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44063
44064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44065 typo #include statement.
44066
ec09c1c4
UD
440672012-01-08 Ulrich Drepper <drepper@gmail.com>
44068
44069 * include/sys/cdefs.h: Define __attribute_alloc_size.
44070 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44071 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44072 * elf/pldd.c: Likewise.
44073 * iconv/iconv_charmap.c: Likewise.
44074 * iconv/iconvconfig.c: Likewise.
44075 * iconv/strtab.c: Likewise.
44076 * locale/programs/locale.c: Likewise.
44077 * locale/programs/localedef.h: Likewise.
44078 * locale/programs/simple-hash.c: Likewise.
44079 * nscd/nscd.h: Likewise.
44080 * nss/makedb.c: Likewise.
44081 * sysdeps/generic/ldconfig.h: Likewise.
44082 * locale/programs/localedef.c: Remove xmalloc prototype.
44083 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44084
20b38e03
PP
440852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44086
44087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44088 appropriate.
44089
a0da5fe1
UD
440902012-01-08 Ulrich Drepper <drepper@gmail.com>
44091
1d5a644a 44092 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44093 * math/tst-CMPLX.c: New file.
1d5a644a 44094
8784a6db
UD
44095 * math/complex.h (CMPLXL): Fix typo.
44096
d9a216c0
UD
44097 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44098 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44099 GLIBC_2.16.
44100 * debug/tst-chk1.c: Add poll and ppoll tests.
44101 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44102 * include/sys/poll.h: Add hidden proto for ppoll.
44103 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44104 * sysdeps/mach/hurd/ppoll.c: Likewise.
44105 * io/ppoll.c: Likewise.
44106 * debug/poll_chk.c: New file.
44107 * debug/ppoll_chk.c: New file.
44108 * include/bits/poll2.h: New file.
44109 * io/bits/poll2.h: New file.
44110
ac097f5c
UD
44111 [BZ #1350]
44112 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44113
2119dcfa
UD
44114 * configure.in: static is always set to yes. Remove.
44115 * config.make.in: Don't set build-static.
44116 * Makeconfig: Remove use of build-static.
44117 * dlfcn/Makefile: Likewise.
44118 * elf/Makefile: Likewise.
44119 * math/Makefile: Likewise.
44120 * misc/Makefile: Likewise.
44121 * nptl/Makefile: Likewise.
44122 * sysdeps/mach/hurd/Makefile: Likewise.
44123
121766a9
UD
44124 * configure.in: PWD_P is not used anymore.
44125 * config.make.in: Remove PWD_P entry.
44126
51a1d39c 44127 * configure.in: Remove last remnants of RANLIB.
8720d066 44128 No need to check for signed size_t anymore.
215f4bdc
UD
44129 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44130 and IA-64.
3857022a 44131 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44132 * aclocal.m4: Likewise.
44133
d3ed7225
UD
44134 * wcsmbs/mbrtoc16.c: Implement using towc function.
44135 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44136 * wcsmbs/wcsmbsload.c: Likewise.
44137 * iconv/gconv_simple.c: Likewise.
44138 * iconv/gconv_int.h: Likewise.
44139 * iconv/gconv_builtin.h: Likewise.
44140 * iconv/iconv_prog.c: Remove CHAR16 handling.
44141
44142 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44143
44144 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44145
a0da5fe1
UD
44146 * configure.in: Remove --with-elf and --enable-bounded options.
44147 Dont set base_machine for ia64. More non-ELF conditions removed.
44148 Remove testing and setting of leading underscore information.
44149 * config.make.in (build-bounded): Set to no.
44150 * config.h.in: Remove NO_UNDERSCORES entry.
44151 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44152 them.
44153 * csu/start.c: Remove !NO_UNDERSCORE code.
44154 * locale/localeinfo.h: Likewise.
44155 * sysdeps/generic/machine-gmon.h: Likewise.
44156 * sysdeps/generic/sysdep.h: Likewise.
44157 * sysdeps/i386/sysdep.h: Likewise.
44158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44159 * sysdeps/mach/sysdep.h: Likewise.
44160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44162 * sysdeps/sh/sysdep.h: Likewise.
44163 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44164 * sysdeps/unix/i386/sysdep.S: Likewise.
44165 * sysdeps/unix/sparc/start.c: Likewise.
44166 * sysdeps/unix/sparc/sysdep.S: Likewise.
44167 * sysdeps/unix/sparc/sysdep.h: Likewise.
44168 * sysdeps/unix/start.c: Likewise.
44169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44170 * sysdeps/x86_64/sysdep.h: Likewise.
44171
df78418a
UD
441722012-01-07 Ulrich Drepper <drepper@gmail.com>
44173
a784e502
UD
44174 [BZ #13553]
44175 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44176 for non-gcc.
44177 * argp/argp-fmtstream.h: Use const instead __const.
44178 * argp/argp.h: Likewise.
44179 * assert/assert.h: Likewise.
44180 * bits/fenv.h: Likewise.
44181 * bits/sched.h: Likewise.
44182 * bits/sigset.h: Likewise.
44183 * bits/sigthread.h: Likewise.
44184 * catgets/nl_types.h: Likewise.
44185 * conform/data/pthread.h-data: Likewise.
44186 * crypt/crypt-private.h: Likewise.
44187 * crypt/crypt.h: Likewise.
44188 * crypt/crypt_util.c: Likewise.
44189 * ctype/ctype.h: Likewise.
44190 * debug/execinfo.h: Likewise.
44191 * debug/mbsnrtowcs_chk.c: Likewise.
44192 * debug/mbsrtowcs_chk.c: Likewise.
44193 * debug/wcsnrtombs_chk.c: Likewise.
44194 * debug/wcsrtombs_chk.c: Likewise.
44195 * debug/wcstombs_chk.c: Likewise.
44196 * dirent/dirent.h: Likewise.
44197 * dlfcn/dlfcn.h: Likewise.
44198 * elf/neededtest4.c: Likewise.
44199 * grp/grp.h: Likewise.
44200 * gshadow/gshadow.h: Likewise.
44201 * iconv/gconv.h: Likewise.
44202 * iconv/gconv_int.h: Likewise.
44203 * iconv/gconv_simple.c: Likewise.
44204 * iconv/iconv.h: Likewise.
44205 * iconv/loop.c: Likewise.
44206 * iconv/skeleton.c: Likewise.
44207 * include/aio.h: Likewise.
44208 * include/aliases.h: Likewise.
44209 * include/argz.h: Likewise.
44210 * include/arpa/inet.h: Likewise.
44211 * include/assert.h: Likewise.
44212 * include/dirent.h: Likewise.
44213 * include/dlfcn.h: Likewise.
44214 * include/execinfo.h: Likewise.
44215 * include/fcntl.h: Likewise.
44216 * include/fenv.h: Likewise.
44217 * include/glob.h: Likewise.
44218 * include/grp.h: Likewise.
44219 * include/libintl.h: Likewise.
44220 * include/mntent.h: Likewise.
44221 * include/netdb.h: Likewise.
44222 * include/pwd.h: Likewise.
44223 * include/rpc/netdb.h: Likewise.
44224 * include/sched.h: Likewise.
44225 * include/search.h: Likewise.
44226 * include/shadow.h: Likewise.
44227 * include/signal.h: Likewise.
44228 * include/stdio.h: Likewise.
44229 * include/stdlib.h: Likewise.
44230 * include/string.h: Likewise.
44231 * include/sys/socket.h: Likewise.
44232 * include/sys/stat.h: Likewise.
44233 * include/sys/statfs.h: Likewise.
44234 * include/sys/statvfs.h: Likewise.
44235 * include/sys/syslog.h: Likewise.
44236 * include/sys/time.h: Likewise.
44237 * include/sys/uio.h: Likewise.
44238 * include/time.h: Likewise.
44239 * include/unistd.h: Likewise.
44240 * include/utmp.h: Likewise.
44241 * include/wchar.h: Likewise.
44242 * include/wctype.h: Likewise.
44243 * inet/aliases.h: Likewise.
44244 * inet/arpa/inet.h: Likewise.
44245 * inet/netinet/ether.h: Likewise.
44246 * inet/netinet/in.h: Likewise.
44247 * intl/libintl.h: Likewise.
44248 * io/bits/fcntl2.h: Likewise.
44249 * io/fcntl.h: Likewise.
44250 * io/ftw.h: Likewise.
44251 * io/sys/poll.h: Likewise.
44252 * io/sys/stat.h: Likewise.
44253 * io/sys/statfs.h: Likewise.
44254 * io/sys/statvfs.h: Likewise.
44255 * io/utime.h: Likewise.
44256 * libio/bits/stdio.h: Likewise.
44257 * libio/bits/stdio2.h: Likewise.
44258 * libio/libio.h: Likewise.
44259 * libio/libioP.h: Likewise.
44260 * libio/stdio.h: Likewise.
44261 * locale/lc-ctype.c: Likewise.
44262 * locale/locale.h: Likewise.
44263 * login/utmp.h: Likewise.
44264 * malloc/arena.c: Likewise.
44265 * malloc/malloc.c: Likewise.
44266 * malloc/malloc.h: Likewise.
44267 * malloc/mcheck.c: Likewise.
44268 * malloc/mtrace.c: Likewise.
44269 * math/bits/mathcalls.h: Likewise.
44270 * math/fenv.h: Likewise.
44271 * math/math_private.h: Likewise.
44272 * misc/bits/error.h: Likewise.
44273 * misc/bits/syslog.h: Likewise.
44274 * misc/err.h: Likewise.
44275 * misc/error.h: Likewise.
44276 * misc/fstab.h: Likewise.
44277 * misc/mntent.h: Likewise.
44278 * misc/regexp.h: Likewise.
44279 * misc/search.h: Likewise.
44280 * misc/sgtty.h: Likewise.
44281 * misc/sys/mman.h: Likewise.
44282 * misc/sys/syslog.h: Likewise.
44283 * misc/sys/uio.h: Likewise.
44284 * misc/sys/xattr.h: Likewise.
44285 * misc/ttyent.h: Likewise.
44286 * nis/rpcsvc/ypclnt.h: Likewise.
44287 * nss/nss.h: Likewise.
44288 * posix/bits/unistd.h: Likewise.
44289 * posix/fnmatch.h: Likewise.
44290 * posix/glob.h: Likewise.
44291 * posix/sched.h: Likewise.
44292 * posix/spawn.h: Likewise.
44293 * posix/sys/wait.h: Likewise.
44294 * posix/unistd.h: Likewise.
44295 * posix/wordexp.h: Likewise.
44296 * pwd/pwd.h: Likewise.
44297 * resolv/netdb.h: Likewise.
44298 * resource/sys/resource.h: Likewise.
44299 * rt/aio.h: Likewise.
44300 * rt/bits/mqueue2.h: Likewise.
44301 * rt/mqueue.h: Likewise.
44302 * shadow/shadow.h: Likewise.
44303 * signal/signal.h: Likewise.
44304 * socket/send.c: Likewise.
44305 * socket/sendto.c: Likewise.
44306 * socket/sys/socket.h: Likewise.
44307 * stdio-common/printf.h: Likewise.
44308 * stdlib/bits/stdlib.h: Likewise.
44309 * stdlib/fmtmsg.h: Likewise.
44310 * stdlib/monetary.h: Likewise.
44311 * stdlib/stdlib.h: Likewise.
44312 * stdlib/ucontext.h: Likewise.
44313 * streams/stropts.h: Likewise.
44314 * string/argz.h: Likewise.
44315 * string/bits/string2.h: Likewise.
44316 * string/string.h: Likewise.
44317 * string/strings.h: Likewise.
44318 * sunrpc/rpc/auth.h: Likewise.
44319 * sunrpc/rpc/auth_des.h: Likewise.
44320 * sunrpc/rpc/clnt.h: Likewise.
44321 * sunrpc/rpc/netdb.h: Likewise.
44322 * sunrpc/rpc/pmap_clnt.h: Likewise.
44323 * sunrpc/rpc/xdr.h: Likewise.
44324 * sysdeps/generic/inttypes.h: Likewise.
44325 * sysdeps/generic/net/if.h: Likewise.
44326 * sysdeps/generic/sys/swap.h: Likewise.
44327 * sysdeps/gnu/net/if.h: Likewise.
44328 * sysdeps/gnu/utmpx.h: Likewise.
44329 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44330 * sysdeps/i386/i486/bits/string.h: Likewise.
44331 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44332 * sysdeps/s390/bits/string.h: Likewise.
44333 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44334 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44335 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44336 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44337 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44338 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44339 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44340 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44341 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44342 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44343 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44344 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44345 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44347 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44355 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44356 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44357 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44358 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44361 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44363 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44364 * sysvipc/sys/ipc.h: Likewise.
44365 * sysvipc/sys/msg.h: Likewise.
44366 * sysvipc/sys/sem.h: Likewise.
44367 * sysvipc/sys/shm.h: Likewise.
44368 * termios/termios.h: Likewise.
44369 * time/sys/time.h: Likewise.
44370 * time/time.h: Likewise.
44371 * wcsmbs/bits/wchar2.h: Likewise.
44372 * wcsmbs/uchar.h: Likewise.
44373 * wcsmbs/wchar.h: Likewise.
44374 * wctype/wctype.h: Likewise.
44375
0269750c
UD
44376 [BZ #13551]
44377 * Makeconfig: Remove all but ELF support including AIX support.
44378 * Makerules: Likewise.
44379 * config.h.in: Likewise.
44380 * config.make.in: Likewise.
44381 * configure: Likewise.
44382 * configure.in: Likewise.
44383 * csu/Makefile: Likewise.
44384 * csu/version.c: Likewise.
44385 * debug/Makefile: Likewise.
44386 * dlfcn/Makefile: Likewise.
44387 * elf/Makefile: Likewise.
44388 * extra-lib.mk: Likewise.
44389 * iconv/Makefile: Likewise.
44390 * include/libc-symbols.h: Likewise.
44391 * include/shlib-compat.h: Likewise.
44392 * resolv/Makefile: Likewise.
44393 * resolv/res_libc.c: Likewise.
44394 * rt/Makefile: Likewise.
44395 * sysdeps/i386/asm-syntax.h: Likewise.
44396 * sysdeps/i386/sysdep.h: Likewise.
44397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44398 * sysdeps/mach/sysdep.h: Likewise.
44399 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44400 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44401 * sysdeps/s390/asm-syntax.h: Likewise.
44402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44404 * sysdeps/sh/sysdep.h: Likewise.
44405 * sysdeps/unix/sparc/sysdep.h: Likewise.
44406 * sysdeps/wordsize-32/divdi3.c: Likewise.
44407 * sysdeps/x86_64/sysdep.h: Likewise.
44408
00bbd29b
UD
44409 * argp/Versions: Remove _argp_unlock_xxx.
44410
44411 [BZ #13559]
44412 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44413 * abilist/libBrokenLocale.abilist: Likewise.
44414 * abilist/libanl.abilist: Likewise.
44415 * abilist/libc.abilist: Likewise.
44416 * abilist/libcrypt.abilist: Likewise.
44417 * abilist/libdl.abilist: Likewise.
44418 * abilist/libm.abilist: Likewise.
44419 * abilist/libnsl.abilist: Likewise.
44420 * abilist/libpthread.abilist: Likewise.
44421 * abilist/libresolv.abilist: Likewise.
44422 * abilist/librt.abilist: Likewise.
44423 * abilist/libthread_db.abilist: Likewise.
44424 * abilist/libutil.abilist: Likewise.
44425 * abilist/libnss_db.abilist: New file.
44426
44427 * scripts/abilist.awk: Add support for indirect functions.
44428
a2693a0e
UD
44429 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44430
3f05895f
UD
44431 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44432
ecb6fb48
UD
44433 * shlib-versions: Remove entries for ports architectures.
44434
664f8cb9
UD
44435 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44436 files in ports.
44437 * elf/stackguard-macros.h: Remove support for IA-64.
44438 * elf/tst-auditmod1.c: Likewise.
44439 * sysdeps/generic/ldsodefs.h: Likewise.
44440
7ae81d88
UD
44441 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44442 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44443 configure files.
44444
bdeba135
UD
44445 [BZ #13552]
44446 * configure.in: Remove --enable-omitfp support.
44447 * FAQ.in: Adjust.
44448 * config.make.in: Likewise.
44449 * Makeconfig: Likewise.
44450 * manual/install.texi: Likewise.
44451
d75a0a62
UD
44452 In case anyone cares, the IA-64 architecture could move to ports.
44453 * sysdeps/ia64/*: Removed.
44454 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44455 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44456
dcc9756b
UD
44457 [BZ #13555]
44458 * configure.in: Remove entries for unsupported architectures.
44459
d3761ebc 44460 [BZ #13533]
9954432e
UD
44461 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44462 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44463 routines.
44464 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44465 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44466 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44467 fall back to using wcrtomb.
44468 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44469 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44470 renaming.
44471 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44472 * wcsmbs/tst-c16c32-1.c: New file.
44473
44474 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44475 local variable.
44476
c3a87236
UD
44477 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44478
28926a1b
UD
44479 * elf/tst-unique3.cc: Add explicit declaration of gets.
44480 * elf/tst-unique3lib.cc: Likewise.
44481 * elf/tst-unique3lib2.cc: Likewise.
44482 * elf/tst-unique4.cc: Likewise.
44483
df78418a
UD
44484 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44485
8ecd6b2a
JM
444862012-01-06 Joseph Myers <joseph@codesourcery.com>
44487
44488 [BZ #13566]
44489 * assert/assert.h (static_assert): Don't define for C++.
44490 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44491 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44492
9f115170
UD
444932012-01-03 Ulrich Drepper <drepper@gmail.com>
44494
5e0d0300
UD
44495 * iconv/loop.c (single loop): Fix assertion in storing of
44496 remaining bytes.
44497
9f115170
UD
44498 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44499
81fb02b0
UD
445002012-01-01 Ulrich Drepper <drepper@gmail.com>
44501
44502 * posix/getconf.c: Update copyright year.
44503 * nss/getent.c: Likewise.
a316c1f6 44504 * nss/makedb.c: Likewise.
81fb02b0
UD
44505 * iconv/iconvconfig.c: Likewise.
44506 * iconv/iconv_prog.c: Likewise.
44507 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44508 * elf/pldd.c: Likewise.
44509 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44510 * catgets/gencat.c: Likewise.
44511 * csu/version.c: Likewise.
44512 * elf/ldd.bash.in: Likewise.
44513 * elf/sprof.c (print_version): Likewise.
44514 * locale/programs/locale.c: Likewise.
44515 * locale/programs/localedef.c: Likewise.
a316c1f6 44516 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44517 * nscd/nscd.c (print_version): Likewise.
44518 * debug/xtrace.sh: Likewise.
44519 * malloc/memusage.sh: Likewise.
44520 * malloc/mtrace.pl: Likewise.
44521 * debug/catchsegv.sh: Likewise.
44522
2ba92745
JJ
445232011-12-30 Jakub Jelinek <jakub@redhat.com>
44524
44525 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44526 pure attribute.
44527
dadebdae
UD
445282011-12-24 Ulrich Drepper <drepper@gmail.com>
44529
d3761ebc 44530 [BZ #13533]
db6af3eb
UD
44531 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44532 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44533 transformations.
44534 * iconv/gconv_int.h: Likewise.
44535 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44536 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44537 from libc for GLIBC_2.16.
44538 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44539 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44540 * wcsmbs/uchar.h: Really define mbstate_t.
44541 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44542 * wcsmbs/c16rtomb.c: New file.
44543 * wcsmbs/mbrtoc16.c: New file.
44544 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44545 for C/POSIX locale.
44546 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44547 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44548
dadebdae
UD
44549 * wcsmbs/wchar.h: Add missing __restrict.
44550
67371b56
UD
445512011-12-23 Ulrich Drepper <drepper@gmail.com>
44552
74033a25
UD
44553 [BZ #13532]
44554 * time/Makefile (routines): Add timespec_get.
44555 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44556 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44557 timespec for ISO C11.
44558 * time/timespec_get.c: New file.
44559 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44561
380d7e87
UD
44562 [BZ #13531]
44563 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44564 * stdlib/stdlib.h: Declare aligned_alloc.
44565 * Versions.def: Add GLIBC_2.16 for libc.
44566 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44567
4e9e7a35
UD
44568 [BZ 13527]
44569 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44570 ISO C11.
44571
380d7e87 44572 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44573 code.
44574
03a71829
UD
44575 [BZ #13528]
44576 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44577
839e283e
UD
44578 [BZ #13529]
44579 * assert/assert.h (static_assert): Define.
44580
ce5294e2 44581 * version.h: Update for 2.16 development version.
90fa7312 44582
8d44e150 44583 [BZ #13526]
d7809905
UD
44584 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44585 _ISOC11_SOURCE.
44586
c0da14cd
UD
44587 * version.h (RELEASE): Bump for 2.15 release.
44588 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44589
530a3249
MP
44590 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44591 Patch by Marek Polacek <mpolacek@redhat.com>.
44592
67371b56
UD
44593 * bits/byteswap.h: Protect long long constants with __extension__.
44594 * sysdeps/i386/bits/byteswap.h: Likewise.
44595 * sysdeps/ia64/bits/byteswap.h: Likewise.
44596 * sysdeps/s390/bits/byteswap.h: Likewise.
44597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44598
15db4de1
LD
445992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44600
44601 [BZ #13540]
bbe315ea
LD
44602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44603 destination buffer.
15db4de1
LD
44604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44605
2b2596b1
MP
446062011-12-23 Marek Polacek <polacek@redhat.com>
44607
44608 * elf/dl-addr.c (determine_info): Add inline keyword.
44609 * elf/tst-auditmod4b.c (check_avx): Likewise.
44610 * elf/tst-auditmod6b.c (check_avx): Likewise.
44611 * elf/tst-auditmod6c.c (check_avx): Likewise.
44612 * elf/tst-auditmod7b.c (check_avx): Likewise.
44613
70c6c246
UD
446142011-12-23 Ulrich Drepper <drepper@gmail.com>
44615
44616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44617 !__SSE_MATH__.
44618
c044cf14
LD
446192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44620
15db4de1 44621 [BZ #13540]
c044cf14
LD
44622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44623 processing for last bytes.
44624
6b13d9d9
BH
446252011-08-06 Bruno Haible <bruno@clisp.org>
44626
d455f537
BH
44627 [BZ #13061]
44628 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44629 U+0385, not to U+1FEE.
44630
6b13d9d9
BH
44631 [BZ #13062]
44632 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44633 entry for U+00A5 U+0301.
44634
db910efd
UD
446352011-12-22 Ulrich Drepper <drepper@gmail.com>
44636
27deeafc
UD
44637 [BZ #13166]
44638 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44639 buffer for the output is too small.
44640
aed9d171
UD
44641 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44642 optimization.
44643
db910efd
UD
44644 [BZ #13185]
44645 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44646 SSE flags if possible.
44647
2bd779ae
LD
446482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44649
e7f9dac3 44650 [BZ #13540]
2bd779ae
LD
44651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44652 processing for last bytes.
44653
154bfc16
JM
446542011-12-22 Joseph Myers <joseph@codesourcery.com>
44655
44656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44657 (syscall-list-default-options, syscall-list-default-condition)
44658 (syscall-list-includes): Define.
44659 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44660 list of ABIs and options and #if conditions for each ABI. Do not
44661 handle common syscalls between ABIs specially.
44662 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44663 Remove.
44664 (syscall-list-variants, syscall-list-32bit-options)
44665 (syscall-list-32bit-condition, syscall-list-64bit-options)
44666 (syscall-list-64bit-condition): Define.
44667 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44668 (syscall-list-variants, syscall-list-32bit-options)
44669 (syscall-list-32bit-condition, syscall-list-64bit-options)
44670 (syscall-list-64bit-condition): Define.
44671 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44672 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/x86_64/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
21eaf3a5
UD
446822011-12-22 Ulrich Drepper <drepper@gmail.com>
44683
16c6f992
UD
44684 * locale/iso-639.def: Add brx entry.
44685
41043168
UD
44686 [BZ #13328]
44687 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44688 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44689
21eaf3a5
UD
44690 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44691 __feraiseexcept_renamed.
44692
e3a851a2
UD
446932011-12-21 Ulrich Drepper <drepper@gmail.com>
44694
4920765e
UD
44695 [BZ #13538]
44696 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44697 EPOLLET with unsigned values.
44698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44700
e3a851a2
UD
44701 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44702 to large cancellation.
44703 * math/s_cacoshf.c: Likewise.
44704 * math/s_cacoshl.c: Likewise.
44705
b27e24b8
RK
447062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44707
44708 [BZ #13305]
aebefeee 44709 [BZ #12786]
b27e24b8
RK
44710 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44711 * math/s_cacoshf.c: Likewise.
44712 * math/s_cacoshl.c: Likewise.
44713
ee190f67
UD
447142011-12-21 Ulrich Drepper <drepper@gmail.com>
44715
44716 [BZ #13439]
44717 * iconv/gconv.h: Define __GCONV_SWAP.
44718 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44719 * iconvdata/utf-16.c: Likewise.
44720 * iconvdata/utf-32.c: Likewise.
44721
707f25df
AS
447222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44723
44724 [BZ #13524]
44725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44726 numerator after shifting it by one limb.
44727
d2daaa1e
RÁE
447282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44729
44730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44731 under [__USE_EXTERN_INLINES].
44732
a4647e72
UD
447332011-12-17 Ulrich Drepper <drepper@gmail.com>
44734
44735 [BZ #13446]
44736 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44737
f0b264f1
AZ
447382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44739
44740 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44741 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44742 optimized code.
44743 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44745 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44746 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44747 for strncasecmp/strncasecmp_l compilation.
44748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44749 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44750
8ef4f244
MP
447512011-12-08 Marek Polacek <mpolacek@redhat.com>
44752
44753 [BZ #13484]
44754 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44755 of __asm__.
44756
97ac2654
UD
447572011-12-17 Ulrich Drepper <drepper@gmail.com>
44758
44759 [BZ #13506]
44760 * time/tzfile.c (__tzfile_read): Check values from file header.
44761
91d2a845
WS
447622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44763
44764 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44765 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44766 * powerpc/powerpc32/dl-start.S: Likewise.
44767 * powerpc/powerpc32/elf/start.S: Likewise.
44768 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44769 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44770 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44771 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44772 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44773 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44774 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44775 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44776 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44777 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44778 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44779 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44780 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44781 * powerpc/powerpc32/memset.S: Likewise.
44782 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44783 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44784 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44785 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44786 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44787 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44788 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44789 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44790 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44791 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44795
a1267ba1
AZ
447962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44797
44798 * math/libm-test.inc: Added more nearbyint tests.
44799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44803
ad8ac1bd
RL
448042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44805
44806 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44807 FD_CLOEXEC.
44808
1d3e4b61
UD
448092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44810
44811 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44812 Add wcscpy-ssse3 wcscpy-c.
44813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44814 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44815 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44816 * sysdeps/x86_64/wcschr.S: New file.
44817 * sysdeps/x86_64/wcsrchr.S: New file.
44818 * string/test-strcmp.c: Remove checking of wcscmp function for
44819 wrong alignments.
44820 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44821 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44822 wcsrchr-sse2 wcsrchr-c.
44823 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44824 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44825 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44826 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44827 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44828 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44829 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44830 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44832 * wcsmbc/wcschr.c (WCSCHR): New macro.
44833
5b330a2d
UD
448342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44835
44836 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44837 * wcsmbs/test-wcsrchr.c: New file.
44838 * string/test-strrchr.c: Add wcsrchr support.
44839 (WIDE): New macro.
44840 * wcsmbs/test-wcscpy.c: New file.
44841 * string/test-strcpy.c: Add wcscpy support.
44842 (WIDE): New macro.
26428b7c 44843
f039c043
UD
448442011-12-10 Ulrich Drepper <drepper@gmail.com>
44845
44846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44847 the inner loop.
44848
850fb039
AS
448492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44850
44851 [BZ #13472]
44852 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44853
4efbd5cb
UD
448542011-12-04 Ulrich Drepper <drepper@gmail.com>
44855
52ff5dd0 44856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44857 Minor optimizations.
52ff5dd0 44858
4efbd5cb
UD
44859 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44860 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44861 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44862
8a426e12
UD
448632011-12-03 Ulrich Drepper <drepper@gmail.com>
44864
aff2453d
UD
44865 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44866 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44867 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44868 for gcc to avoid warnings.
44869 * inet/Makefile (tests): Add tst-checks.
44870 * inet/tst-checks.c: New file.
44871
44872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44873 warning.
44874
44875 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44876 __wmemcmp_sse2.
44877
44878 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44879 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44880
8a426e12
UD
44881 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44882
9bea3473
UD
448832011-12-02 Ulrich Drepper <drepper@gmail.com>
44884
3a965496
UD
44885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44886 problem.
44887
9bea3473
UD
44888 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44889
f101631b
UD
448902011-11-29 Joseph Myers <joseph@codesourcery.com>
44891
44892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44893 conditional on GCC version.
44894 (__arch_compare_and_exchange_val_8_acq)
44895 (__arch_compare_and_exchange_val_16_acq)
44896 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44897 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44898 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44899
a98275aa
UD
449002011-12-02 Joseph Myers <joseph@codesourcery.com>
44901
44902 * sysdeps/sh/backtrace.c: New file.
44903
d4cc29a2
AS
449042011-12-02 Andreas Schwab <schwab@redhat.com>
44905
44906 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44907 parenthesis.
44908
6257af2d
AS
449092011-12-01 Andreas Schwab <schwab@redhat.com>
44910
44911 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44912 falling back to utime.
44913
b5f44c1a
AS
449142011-11-30 Andreas Schwab <schwab@redhat.com>
44915
44916 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44917 expectations for float.
44918
f3a6cc0a
AS
449192011-11-29 Andreas Schwab <schwab@redhat.com>
44920
44921 * locale/weight.h (findidx): Add parameter len.
44922 * locale/weightwc.h (findidx): Likewise.
44923 * posix/fnmatch_loop.c (FCT): Adjust caller.
44924 * posix/regcomp.c (build_equiv_class): Likewise.
44925 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44926 * posix/regexec.c (check_node_accept_bytes): Likewise.
44927 * string/strcoll_l.c (STRCOLL): Likewise.
44928 * string/strxfrm_l.c (STRXFRM): Likewise.
44929
9d65ea3a
UD
449302011-11-17 Ulrich Drepper <drepper@gmail.com>
44931
44932 * Makefile.in: Remove CVSOPT handling.
44933 * configure.in: Remove use of AC_REVISION.
44934 * iconvdata/Makefile (distribute): No need to filter out CVS.
44935 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44936 handling.
44937
5583a086
AS
449382011-11-16 Andreas Schwab <schwab@redhat.com>
44939
44940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44941 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44942 [USE_AS_STRNCASECMP_L]: Likewise.
44943 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44944 NO_TLS_DIRECT_SEG_REFS.
44945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44946 Fix argument offsets for non-PIC.
44947 [USE_AS_STRNCASECMP_L]: Likewise.
44948 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44949 NO_TLS_DIRECT_SEG_REFS.
44950
d62a8200
UD
449512011-11-15 Ulrich Drepper <drepper@gmail.com>
44952
9d65ea3a 44953 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44954 O_CLOEXEC.
44955 * locale/loadlocale.c (_nl_load_locale): Likewise.
44956
09f93bd3
AS
449572011-11-15 Andreas Schwab <schwab@redhat.com>
44958
446514f9
AS
44959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44960 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44962 (SYSCALL_GETTIME): Set errno on error.
44963
09f93bd3
AS
44964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44965 count references to noai6ai_cached.
44966
312be3f9
UD
449672011-11-15 Ulrich Drepper <drepper@gmail.com>
44968
44969 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44970
44971 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44972 FD_CLOEXEC for /proc/self/maps.
44973
44974 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44975 FD_CLOEXEC for /proc/meminfo.
44976
44977 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44978 gai.conf.
44979
44980 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44981 FD_CLOEXEC for given file.
44982
44983 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44984
44985 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44986 FD_CLOEXEC for /etc/hosts.
44987 (_gethtent): Likewise.
44988
44989 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44990
44991 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44992 cancellation and set FD_CLOEXEC for /etc/netgroup.
44993
44994 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44995 reading /etc/publickey.
44996
44997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44998 allow cancellation when reading /etc/group.
44999
45000 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45001 cancellation.
45002 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45003
45004 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45005 when using data file.
45006
45007 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45008
45009 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45010 (write_nis_obj): Use "c" and "e" in fopen.
45011
45012 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45013
45014 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45015
45016 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45017
45018 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45019
45020 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45021 locale.alias.
45022
45023 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45024
45025 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45026
45027 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45028
45029 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45030 file parsing and set FD_CLOEXEC.
45031
82af0fa8
UD
450322011-11-14 Ulrich Drepper <drepper@gmail.com>
45033
45034 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45035
a5fb313c
AS
450362011-11-14 Andreas Schwab <schwab@redhat.com>
45037
45038 * malloc/arena.c (arena_get2): Don't call reused_arena when
45039 _int_new_arena failed.
45040
6abf3465
UD
450412011-11-14 Ulrich Drepper <drepper@gmail.com>
45042
45043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45044 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45049 to compile strcasecmp and strncasecmp.
45050 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45051 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45052
45053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45054
76e3966e
UD
450552011-11-13 Ulrich Drepper <drepper@gmail.com>
45056
45057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45058 locale-defines.sym to gen-as-const-headers.
45059 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45060 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45062 to compile strcasecmp and strncasecmp.
45063 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45064 strcasecmp_l and strncasecmp_l.
45065 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45066 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45067 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45069 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45071 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45072 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45073 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45074 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45075 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45076
ab26144e
UD
450772011-11-12 Ulrich Drepper <drepper@gmail.com>
45078
7edb22ef
UD
45079 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45080 result of SYSDEP_GETTIME_CPU to retval.
45081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45082 parameter list to macro. Remove trailing semicolon. Adjust users.
45083
9694fc44
UD
45084 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45085 variable.
45086
8ad89ef8
UD
45087 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45088 mantissa words.
45089 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45090
0c822ef9
UD
45091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45092 from unused variable.
45093
874e0564
UD
45094 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45095 DWARF definitions.
45096 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45097 for assembling.
45098
3a2edc79
UD
45099 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45100 over namespaces.
45101
f3c2577f
UD
45102 * sunrpc/rpc_prot.c (rejected): Fix case value.
45103
294ce126
UD
45104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45105 unsigned long long int to avoid warnings in shift.
45106
5e2b63c6
UD
45107 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45108 of use of trans.
45109 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45110 variable tmp.
45111
e7f4b08e
UD
45112 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45115
ab26144e
UD
45116 * nis/nis_table.c (nis_list): Use variable of correct type for
45117 result of __follow_path call.
45118
8a6d5255
AZ
451192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45120
45121 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45122 of math functions ceil, trunc, floor, round, and sqrt, when
45123 avaliable on the platform.
45124 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45125 name clash.
45126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45129
aaddc98c
MP
451302011-10-30 Marek Polacek <mpolacek@redhat.com>
45131
45132 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45134
95b7042b
RM
451352011-11-11 Roland McGrath <roland@hack.frob.com>
45136
45137 * include/unistd.h: Fix __readlink return type.
45138 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45139
57769839
UD
451402011-11-11 Ulrich Drepper <drepper@gmail.com>
45141
45142 * stdlib/ucontext.h: Undo last change for makecontext.
45143
edc5984d
AS
451442011-11-11 Andreas Schwab <schwab@redhat.com>
45145
98591e58
AS
45146 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45147
edc5984d
AS
45148 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45149 * setjmp/setjmp.h: Mark functions as non-leaf.
45150 * setjmp/bits/setjmp2.h: Likewise.
45151 * stdlib/ucontext.h: Likewise.
45152
77cdc054
AS
451532011-11-10 Andreas Schwab <schwab@redhat.com>
45154
45155 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45156 (reused_arena): Don't check arena limit.
45157 (arena_get2): Atomically check arena limit.
45158
fe72eebd
UD
451592011-11-08 Ulrich Drepper <drepper@gmail.com>
45160
5f078c32
UD
45161 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45162 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45163
fe72eebd
UD
45164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45165 instructions.
45166
ae1bc2fa
AS
451672011-11-07 Andreas Schwab <schwab@redhat.com>
45168
7583a88d
AS
45169 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45170 handler when locking.
45171
ae1bc2fa
AS
45172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45173 Fix size of allocated buffer.
45174
10fb0bfa
AS
451752011-11-04 Andreas Schwab <schwab@redhat.com>
45176
998832a4
AS
45177 [BZ #10103]
45178 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45179 declarations for long double functions.
45180 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45181
10fb0bfa
AS
45182 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45183
3d7ba52b
AS
451842011-11-03 Andreas Schwab <schwab@redhat.com>
45185
a9ae54a1
AS
45186 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45187 installed.
45188
3d7ba52b
AS
45189 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45190 is disabled.
45191
bc8db248
ST
451922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45193
45194 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45195
45b96dd6
AS
451962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45197
647776f6
AS
45198 * include/alloca.h (stackinfo_alloca_round): Define.
45199 (extend_alloca): Use it.
45200 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45201 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45202 here.
45203
d91a8b93
AS
45204 * scripts/check-local-headers.sh: Ignore libaudit.h.
45205
45b96dd6
AS
45206 * nscd/Makefile (extra-objs): Make recursively expanded.
45207
432d41ce
UD
452082011-11-01 Ulrich Drepper <drepper@gmail.com>
45209
34372fc6
UD
45210 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45212
fadb59f8
UD
45213 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45214 * posix/tst-rfc3484-2.c: Likewise.
45215 * posix/tst-rfc3484-3.c: Likewise.
45216
78239589
UD
45217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45218 process_vm_writev.
45219 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45220 process_vm_writev.
45221 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45222 process_vm_writev from libc using GLIBC_2.15 version.
45223
432d41ce
UD
45224 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45225
02f9c6cf
PP
452262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45227
45228 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45229 stack usage.
45230
3a2c0242
UD
452312011-10-31 Ulrich Drepper <drepper@gmail.com>
45232
f4ec4833
UD
45233 [BZ #13367]
45234 * nss/getent.c (initgroups_keys): Show error message in case no group
45235 names are given.
45236
3a2c0242
UD
45237 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45238 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45239 __bump_nl_timestamp.
45240 * nscd/connections (nscd_init): When host database is served open
45241 netlink socket and request notification about configuration changes.
45242 (main_loop_poll): Track netlink file descriptor and bump timestamp
45243 in case data becomes available.
45244 (main_loop_epoll): Likewise.
45245 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45246 (database_pers_head): Add extra_data fileds.
45247 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45249 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45250 Adjust caller.
45251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45252 in6ai data, call __free_in6ai.
45253 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45254 Add -DHAVE_NETLINK.
45255 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45256 interface information. Reuse previous data if netlink timestamp
45257 is not changed.
45258 (__bump_nl_timestamp): New function.
45259 (__free_in6ai): New function.
45260
636064eb
UD
452612011-10-30 Ulrich Drepper <drepper@gmail.com>
45262
45263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45264 close_not_cancel_no_status here.
45265 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45266
9beb2334
UD
452672011-10-29 Ulrich Drepper <drepper@gmail.com>
45268
6ef76f3b
UD
45269 [BZ #13276]
45270 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45271 return value.
45272
0ffc4f3e 45273 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45274 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45275 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45276
cb95113e
UD
452772011-07-03 Andreas Jaeger <aj@suse.de>
45278
45279 [BZ #10709]
45280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45281 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45282 * math/libm-test.inc (sin_test): Add test case.
45283
a1b560ff
UD
452842011-10-29 Ulrich Drepper <drepper@gmail.com>
45285
c9aaface
UD
45286 [BZ #13337]
45287 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45289
d272e7f1
UD
45290 * elf/chroot_canon.c (chroot_canon): Cleanups.
45291
1bc33071
UD
45292 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45293
1760874d
TJ
45294 [BZ #13335]
45295 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45297
51d91b18
UD
45298 * string/test-strchr.c: Make usable for strchrnul testing.
45299 * string/test-strchrnul.c: New file.
45300 * string/Makefile (strop-tests): Add strchrnul.
45301
a1b560ff 45302 * po/it.po: Update from translation team.
b611fb81 45303 * po/es.po: Likewise.
a1b560ff 45304
a5b81e1f
UD
453052011-10-28 Ulrich Drepper <drepper@gmail.com>
45306
fd52bc6d
UD
45307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45308 the three constants needed as parameters. Drop the others.
45309 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45310 __m128i_strloadu_tolower.
52e4b9eb
UD
45311 Create and initialize variable zero and use it in all the places
45312 where _mm_setzero_si128 was used.
fd52bc6d 45313
a5b81e1f
UD
45314 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45315 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45316 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45318 anymore.
45319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45322 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45324 __mpranred, __mptan.
45325 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45326 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45327 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45328 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45333 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45334
b4343346
AS
453352011-10-28 Andreas Schwab <schwab@redhat.com>
45336
0c92d8a8
AS
45337 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45338 redefine if SHARED.
45339 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45340
b4343346
AS
45341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45342 wide char related routines to wcsmbs subdir.
45343
3871f58f
AS
453442011-10-27 Andreas Schwab <schwab@redhat.com>
45345
45346 [BZ #13344]
45347 * misc/sys/cdefs.h (__THROWNL): Define.
45348 * posix/unistd.h: Use __THREADNL instead of __THREAD
45349 for memory synchronization functions.
45350
94d44d9f
RM
453512011-10-26 Roland McGrath <roland@hack.frob.com>
45352
21b64b15 45353 [BZ #13349]
94d44d9f
RM
45354 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45355 doesn't exist.
45356 * manual/stdio.texi (Obstack Streams): Node removed.
45357
f6ce9294
AS
453582011-10-26 Andreas Schwab <schwab@redhat.com>
45359
80479147
AS
45360 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45363
f6ce9294
AS
45364 * math/math_private.h (math_force_eval): Allow non-addressable
45365 arguments.
45366 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45367
618280a1
UD
453682011-10-25 Ulrich Drepper <drepper@gmail.com>
45369
e0016b11
UD
45370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45371 file is not needed.
45372
45373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45380 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45381 Add AVX variants.
45382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45388 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45392 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45393 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45399 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45401
45402 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45403 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45404
618280a1
UD
45405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45406 place. Use VEX encoding when compiling for AVX.
45407
37822576
AS
454082011-10-25 Andreas Schwab <schwab@redhat.com>
45409
1f1e1947
AS
45410 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45411 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45412
37822576
AS
45413 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45414
31ea014d
UD
454152011-10-25 Ulrich Drepper <drepper@gmail.com>
45416
d7826aa1 45417 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45418 useless if() expression.
d7826aa1
UD
45419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45438
31ea014d
UD
45439 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45440
16437fec
AS
454412011-10-25 Andreas Schwab <schwab@redhat.com>
45442
45443 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45444 condition.
45445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45446
31d3cc00
UD
454472011-10-25 Ulrich Drepper <drepper@gmail.com>
45448
45449 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45450 .text section. Avoid duplicate constants.
45451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45459 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45460 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45461 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45496
58985aa9
UD
454972011-10-24 Ulrich Drepper <drepper@gmail.com>
45498
202c9deb
UD
45499 * sysdeps/x86_64/dla.h: Move to ...
45500 * sysdeps/x86_64/fpu/dla.h: ...here.
45501 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45502 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45503
af968f62
UD
45504 * config.make.in: Add have-mfma4 entry.
45505 * configure.in: Substitute libc_cv_cc_fma4.
45506 * math/Makefile (dbl-only-routines): Add sincostab.
45507 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45508 Use __sincostab not sincos.
45509 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45510 name is a macro.
45511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45515 using __copysign.
45516 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45517 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45518 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45519 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45520 and __inv.
45521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45522 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45523 __copysign.
45524 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45525 define aliases when function name is a macro.
45526 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45527 sysdeps/ieee754/dbl-64/sincos.tbl.
45528 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45529 fma4-enabled routines.
45530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45539 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45540 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45542 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45560
58985aa9
UD
45561 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45562 rename.
45563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45571
a201fbcf
AS
455722011-10-24 Andreas Schwab <schwab@redhat.com>
45573
45574 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45575
fc2ee42a
LD
455762011-10-23 Ulrich Drepper <drepper@gmail.com>
45577
bb3129bd
UD
45578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45579
0275fff8
UD
45580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45581 prediction.
45582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45583
2fa2ae85
UD
45584 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45585 Remove unused variable magic_bits.
45586 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45587
fc2ee42a
LD
45588 * string/strnlen.c: Define and use STRNLEN macro.
45589 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45590 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45592 * wcsmbs/wcslen.c: Define and use WCSLEN.
45593 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45594 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45595 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45596 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45598 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45600
ce7dd29f
LD
456012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45602
45603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45604 strnlen-sse2-no-bsf.
45605 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45608 Add strnlen support.
45609 (USE_AS_STRNLEN): New macro.
45610 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45612 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45613 * sysdeps/x86_64/wcslen.S: New file.
45614
979c70a3
MZ
456152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45616
45617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45618 XMM-moves are used for copying on small sizes.
45619
2d09f82f
LD
456202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45621
45622 * wcsmbs/Makefile (strop-tests): Add wcschr.
45623 * wcsmbs/test-wcschr.c: New file.
45624 * string/test-strchr.c: Update.
45625 Add wcschr support.
45626 (WIDE): New macro.
45627
619fccca
LD
456282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45629
2d09f82f 45630 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45631 * wcsmbs/test-wcslen.c: New file.
45632 * string/test-strlen.c: Update.
45633 Add wcslen support.
45634 (WIDE): New macro.
45635
09f699ea
UD
456362011-10-23 Ulrich Drepper <drepper@gmail.com>
45637
45638 * po/it.po: Update from translation team.
45639
95584d3b
LD
456402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45641
45642 * sysdeps/x86_64/wcscmp.S: Update.
45643 Fix wrong comparison semantics.
45644 wcscmp shall use signed comparison not unsigned.
45645 Don't use substraction to avoid overflow bug.
45646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45647 * wcsmbc/wcscmp.c: Likewise.
45648 * string/test-strcmp.c: Likewise.
45649 Add new tests to check cases with negative values.
45650
c8b3296b
UD
456512011-10-23 Ulrich Drepper <drepper@gmail.com>
45652
45653 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45654 * sysdeps/x86_64/dla.h: ...here. New file.
45655 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45664
246ad57a
AS
456652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45666
45667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45668 __ynl_finite aliases.
45669
a1a87169
UD
456702011-10-22 Ulrich Drepper <drepper@gmail.com>
45671
0d355eb7
UD
45672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45673
a1a87169
UD
45674 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45675 define DLA_FMA.
45676 [DLA_FMA] (EMULV): Use DLA_FMA.
45677 [DLA_FMA] (MUL12): Use EMULV.
45678 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45679 that are not needed.
45680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45687
ee2aafe0
AS
456882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45689
45690 * math/s_nan.c: Undef __nan.
45691 * math/s_nanf.c: Undef __nanf.
45692 * math/s_nanl.c: Undef __nanl.
45693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45694 "math_private.h".
45695
bc62c2fb
UD
456962011-10-22 Ulrich Drepper <drepper@gmail.com>
45697
77425c63
UD
45698 * math/s_catan.c: Add branch predictions.
45699 * math/s_catanf.c: Likewise.
45700 * math/s_catanh.c: Likewise.
45701 * math/s_catanhf.c: Likewise.
45702 * math/s_catanhl.c: Likewise.
45703 * math/s_catanl.c: Likewise.
45704 * math/s_cexp.c: Likewise.
45705 * math/s_cexpf.c: Likewise.
45706 * math/s_cexpl.c: Likewise.
45707 * math/s_clog.c: Likewise.
45708 * math/s_clog10.c: Likewise.
45709 * math/s_clog10f.c: Likewise.
45710 * math/s_clog10l.c: Likewise.
45711 * math/s_clogf.c: Likewise.
45712 * math/s_clogl.c: Likewise.
45713 * math/s_csqrt.c: Likewise.
45714 * math/s_csqrtf.c: Likewise.
45715 * math/s_csqrtl.c: Likewise.
45716 * math/s_ctanf.c: Likewise.
45717 * math/s_ctanh.c: Likewise.
45718 * math/s_ctanhf.c: Likewise.
45719 * math/s_ctanhl.c: Likewise.
45720 * math/s_ctanl.c: Likewise.
45721
bc62c2fb
UD
45722 * math/math_private.h: Define __nan, __nanf, __nanl.
45723 * math/s_cacosh.c: Include <math_private.h>.
45724 * math/s_cacoshl.c: Likewise.
45725 * math/s_casinh.c: Likewise.
45726 * math/s_casinhf.c: Likewise.
45727 * math/s_casinhl.c: Likewise.
45728 * math/s_ccos.c: Rely entire on ccosh.
45729 * math/s_ccosf.c: Rely entire on ccoshf.
45730 * math/s_ccosl.c: Rely entirely on ccoshl.
45731 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45732 Remove tests for FE_INVALID.
45733 * math/s_ccoshf.c: Likewise.
45734 * math/s_ccoshl.c: Likewise.
45735 * math/s_csin.c: Likewise.
45736 * math/s_csinf.c: Likewise.
45737 * math/s_csinh.c Likewise.
45738 * math/s_csinhf.c: Likewise.
45739 * math/s_csinhl.c: Likewise.
45740 * math/s_csinl.c: Likewise.
45741 * math/s_ctan.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45743 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45745
8ec250a4
UD
457462011-10-21 Ulrich Drepper <drepper@gmail.com>
45747
c196fed8
UD
45748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45749 compilation problems.
45750
8ec250a4
UD
45751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45752 __builtin_expect.
45753
8d4f46c6
UD
457542011-10-20 Ulrich Drepper <drepper@gmail.com>
45755
ed72b654
UD
45756 * sysdeps/i386/configure.in: Test for -mfma4 option.
45757 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45758 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45759 COMMON_CPUID_INDEX_80000001.
45760 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45761 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45762 use it if FMA3 is not supported.
45763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45764
8d4f46c6
UD
45765 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45767
d45c60c2
AS
457682011-10-20 Andreas Schwab <schwab@redhat.com>
45769
45770 [BZ #12892]
45771 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45772 it would create a cycle with a link time dependency.
45773
d9a4d2ab
UD
457742011-10-19 Ulrich Drepper <drepper@gmail.com>
45775
855d1560
UD
45776 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45777 instruction.
45778 * string/Makefile (strop-tests): Add rawmemchr.
45779 * string/test-rawmemchr.c: New file.
45780
d9a4d2ab
UD
45781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45783 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45784 when compiling str{,n}casecmp and when AVX is available. Hook up
45785 new optimized code in initializers.
45786
8f3b1ffe
AS
457872011-10-19 Andreas Schwab <schwab@redhat.com>
45788
45789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45790 __feraiseexcept instead of feraiseexcept.
45791
d38f1dba
UD
457922011-10-18 Ulrich Drepper <drepper@gmail.com>
45793
d9a8d0ab
UD
45794 * math/math_private.h: Define defaults for libc_fetestexcept and
45795 libc_feupdateenv.
45796 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45802 libc_fetestexcept and libc_feupdateenv.
45803
4855e3dd
UD
45804 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45805 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45806 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45807 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45808 libc_feholdexcept_setround.
45809
581d30e3
UD
45810 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45811 Add s_nearbyint-c and s_nearbyintf-c.
45812 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45813 nearbyintf inlines.
45814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45818
d38f1dba
UD
45819 * math/math_private.h: Define defaults for libc_fegetround,
45820 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45821 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45822 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45824 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45825 standard functions.
45826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45827 Remove comments and hacks for old compiler versions.
45828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45829 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45830 libc_feholdexceptl.
45831
caa6c9d8
AS
458322011-10-18 Andreas Schwab <schwab@redhat.com>
45833
45834 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45835 (__feraiseexcept_renamed): Add __NTH.
45836 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45837 namespace violations.
45838
97c066e6
UD
458392011-10-17 Ulrich Drepper <drepper@gmail.com>
45840
99ce7b04
UD
45841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45842
1004d182
UD
45843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45844
228a984d
UD
45845 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45846 recently added interfaces.
45847 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45848
c8553a6a
UD
45849 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45850 about macro parameter expansion.
45851
ed22dcf6
UD
45852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45853 __NO_MATH_INLINES is defined. Cleanups.
45854
45855 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45856 and __floorf is target has SSE4.1.
45857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45861
b171c137
UD
45862 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45863 name.
45864 (floorf): Likewise.
45865
97c066e6
UD
45866 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45867
629f62ef
AS
458682011-10-17 Andreas Schwab <schwab@redhat.com>
45869
49a43d80
AS
45870 * misc/sys/cdefs.h: Fix last change.
45871
629f62ef
AS
45872 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45873 database lookup.
45874
e453f6cd
UD
458752011-10-16 Ulrich Drepper <drepper@gmail.com>
45876
aa78043a
UD
45877 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45878
ad0f5cad
UD
45879 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45888 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45889 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45890 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45891 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45892 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45893 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45894 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45895 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45896 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45897 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45898 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45900 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45901
45902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45903 ceil, ceilf, floor, floorf.
45904
45905 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45906 Perform IRELATIVE relocations last.
45907
e453f6cd
UD
45908 * elf/do-rel.h: Add another parameter nrelative, replacing the
45909 local variable with the same name. Change name of the function
45910 to end in Rel or Rela (uppercase).
45911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45912 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45913 elf_dynamic_do_##reloc function.
45914
fd5bdc09
UD
459152011-10-15 Ulrich Drepper <drepper@gmail.com>
45916
79b195b5
UD
45917 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45918 is sufficient, at least on modern CPUs.
45919
d4a28569
UD
45920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45921
b61099b5
UD
45922 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45924
bcf01e6d
UD
45925 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45926 __expl_finite.
45927 * math/bits/math-finite.h: Add entries for exp.
45928 * math/e_expl.c: Add __*_finite alias.
45929 * sysdeps/i386/fpu/e_exp.S: Likewise.
45930 * sysdeps/i386/fpu/e_expf.S: Likewise.
45931 * sysdeps/i386/fpu/e_expl.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45933 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45939
ba1a0d59
UD
45940 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45941 is sufficient, at least on modern CPUs.
45942
fd5bdc09
UD
45943 * ctype/ctype-info.c (__ctype_init): Define.
45944 * include/ctype.h (__ctype_init): Declare.
45945 (__ctype_b_loc): The variable is always initialized.
45946 (__ctype_toupper_loc): Likewise.
45947 (__ctype_tolower_loc): Likewise.
45948 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45949 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45950
7872cfb0
AS
459512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45952
b468825a
AS
45953 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45954
7872cfb0
AS
45955 * configure.in: Also look in $cxxmachine/include for C++ system
45956 headers.
45957
be13f7bf
LD
459582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45959
45960 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45961 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45962 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45963 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45965 (USE_AS_WMEMCMP): New macro.
45966 Fixing indents.
45967 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45968 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45969 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45970 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45972 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45973 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45975 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45976 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45978 (USE_AS_WMEMCMP): New macro.
45979 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45980 * sysdeps/string/test-memcmp.c: Update.
45981 Fix simple_wmemcmp.
45982 Add new tests.
45983 * wcsmbs/wmemcmp.c: Update.
45984 (WMEMCMP): New macro.
45985 Fix overflow bug.
45986
556a2007
AJ
459872011-10-12 Andreas Jaeger <aj@suse.de>
45988
45989 [BZ #13268]
45990 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45991
538faaa7
UD
459922011-10-15 Ulrich Drepper <drepper@gmail.com>
45993
ab6737ff
UD
45994 * libio/iofwide.c (do_length): Avoid warning.
45995
538faaa7
UD
45996 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45997
396a21b1
UD
459982011-10-14 Ulrich Drepper <drepper@gmail.com>
45999
cdf2901f
UD
46000 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46001
38ad40ce
UD
46002 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46003 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46004 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46005 * sysdeps/i386/i686/fpu/e_log.S: New file.
46006 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46007 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46008
396a21b1
UD
46009 * ctype/ctype.h: Add support for inlined isXXX functions when
46010 compiling C++ code.
46011
6b1f68c9
AS
460122011-10-14 Andreas Schwab <schwab@redhat.com>
46013
349290c0
AS
46014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46015
6b1f68c9
AS
46016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46017
f2282d42
RM
460182011-10-13 Roland McGrath <roland@hack.frob.com>
46019
46020 [BZ #13291]
46021 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46022
5298ffa8
AS
460232011-10-13 Andreas Schwab <schwab@redhat.com>
46024
714fad23
AS
46025 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46026 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46027 feraiseexcept.
46028
81dcc7fb
AS
46029 * sysdeps/x86_64/memrchr.S: Check for zero size.
46030
5298ffa8
AS
46031 * string/stratcliff.c: Add memrchr tests.
46032
951fbcec
LD
460332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46034
46035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46036 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46037 rawmemchr-sse2 rawmemchr-sse2-bsf.
46038 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46039 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46041 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46042 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46043 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46045 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46048 * string/memrchr.c (MEMRCHR): New macro.
46049
0ac5ae23
UD
460502011-10-12 Ulrich Drepper <drepper@gmail.com>
46051
46052 Add integration with gcc's -ffinite-math-only and optimize wrapper
46053 functions in libm.
46054 * Versions.def: Define GLIBC_2.15 version for libm.
46055 * math/Makefile (headers): Add bits/math-finite.h.
46056 * math/bits/math-finite.h: New file.
46057 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46058 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46059 * math/e_acoshl.c: Add __*_finite alias.
46060 * math/e_acosl.c: Likewise.
46061 * math/e_asinl.c: Likewise.
46062 * math/e_atan2l.c: Likewise.
46063 * math/e_atanhl.c: Likewise.
46064 * math/e_coshl.c: Likewise.
46065 * math/e_exp10.c: Likewise.
46066 * math/e_exp10f.c: Likewise.
46067 * math/e_exp10l.c: Likewise.
46068 * math/e_exp2l.c: Likewise.
46069 * math/e_fmodl.c: Likewise.
46070 * math/e_gammal_r.c: Likewise.
46071 * math/e_hypotl.c: Likewise.
46072 * math/e_j0l.c: Likewise.
46073 * math/e_j1l.c: Likewise.
46074 * math/e_jnl.c: Likewise.
46075 * math/e_lgammal_r.c: Likewise.
46076 * math/e_log10l.c: Likewise.
46077 * math/e_log2l.c: Likewise.
46078 * math/e_logl.c: Likewise.
46079 * math/e_powl.c: Likewise.
46080 * math/e_sinhl.c: Likewise.
46081 * math/e_sqrtl.c: Likewise.
46082 * math/e_scalb.c: Completely rewritten and optimized.
46083 * math/e_scalbf.c: Likewise.
46084 * math/e_scalbl.c: Likewise.
46085 * math/w_acos.c: Likewise.
46086 * math/w_acosf.c: Likewise.
46087 * math/w_acosl.c: Likewise.
46088 * math/w_acosh.c: Likewise.
46089 * math/w_acoshf.c: Likewise.
46090 * math/w_acoshl.c: Likewise.
46091 * math/w_asin.c: Likewise.
46092 * math/w_asinf.c: Likewise.
46093 * math/w_asinl.c: Likewise.
46094 * math/w_atan2.c: Likewise.
46095 * math/w_atan2f.c: Likewise.
46096 * math/w_atan2l.c: Likewise.
46097 * math/w_atanh.c: Likewise.
46098 * math/w_atanhf.c: Likewise.
46099 * math/w_atanhl.c: Likewise.
46100 * math/w_exp10.c: Likewise.
46101 * math/w_exp10f.c: Likewise.
46102 * math/w_exp10l.c: Likewise.
46103 * math/w_fmod.c: Likewise.
46104 * math/w_fmodf.c: Likewise.
46105 * math/w_fmodl.c: Likewise.
46106 * math/w_j0.c: Likewise.
46107 * math/w_j0f.c: Likewise.
46108 * math/w_j0l.c: Likewise.
46109 * math/w_j1.c: Likewise.
46110 * math/w_j1f.c: Likewise.
46111 * math/w_j1l.c: Likewise.
46112 * math/w_jn.c: Likewise.
46113 * math/w_jnf.c: Likewise.
46114 * math/w_log.c: Likewise.
46115 * math/w_logf.c: Likewise.
46116 * math/w_logl.c: Likewise.
46117 * math/w_log10.c: Likewise.
46118 * math/w_log10f.c: Likewise.
46119 * math/w_log10l.c: Likewise.
46120 * math/w_log2.c: Likewise.
46121 * math/w_log2f.c: Likewise.
46122 * math/w_log2l.c: Likewise.
46123 * math/w_pow.c: Likewise.
46124 * math/w_powf.c: Likewise.
46125 * math/w_powl.c: Likewise.
46126 * math/w_remainder.c: Likewise.
46127 * math/w_remainderf.c: Likewise.
46128 * math/w_remainderl.c: Likewise.
46129 * math/w_scalb.c: Likewise.
46130 * math/w_scalbf.c: Likewise.
46131 * math/w_scalbl.c: Likewise.
46132 * math/w_sqrt.c: Likewise.
46133 * math/w_sqrtf.c: Likewise.
46134 * math/w_sqrtl.c: Likewise.
46135 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46136 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46137 used.
46138 * math/math_private.h: Declare __kernel_standard_f.
46139 * math/w_cosh.c: Remove cruft and optimize a bit.
46140 * math/w_coshf.c: Likewise.
46141 * math/w_coshl.c: Likewise.
46142 * math/w_exp2.c: Likewise.
46143 * math/w_exp2f.c: Likewise.
46144 * math/w_exp2l.c: Likewise.
46145 * math/w_hypot.c: Likewise.
46146 * math/w_hypotf.c: Likewise.
46147 * math/w_hypotl.c: Likewise.
46148 * math/w_lgamma.c: Likewise.
46149 * math/w_lgamma_r.c: Likewise.
46150 * math/w_lgammaf.c: Likewise.
46151 * math/w_lgammaf_r.c: Likewise.
46152 * math/w_lgammal.c: Likewise.
46153 * math/w_lgammal_r.c: Likewise.
46154 * math/w_sinh.c: Likewise.
46155 * math/w_sinhf.c: Likewise.
46156 * math/w_sinhl.c: Likewise.
46157 * math/w_tgamma.c: Likewise.
46158 * math/w_tgammaf.c: Likewise.
46159 * math/w_tgammal.c: Likewise.
46160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46162 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46163 Minor optimizations. Pretty printing. Remove cruft.
46164 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46168 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46169 * sysdeps/i386/fpu/e_asin.S: Likewise.
46170 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46171 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46172 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46173 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46177 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46178 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46179 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46180 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46181 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46182 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46183 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46184 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46185 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46186 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46187 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46188 * sysdeps/i386/fpu/e_log.S: Likewise.
46189 * sysdeps/i386/fpu/e_log10.S: Likewise.
46190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46192 * sysdeps/i386/fpu/e_log2.S: Likewise.
46193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46195 * sysdeps/i386/fpu/e_logf.S: Likewise.
46196 * sysdeps/i386/fpu/e_logl.S: Likewise.
46197 * sysdeps/i386/fpu/e_pow.S: Likewise.
46198 * sysdeps/i386/fpu/e_powf.S: Likewise.
46199 * sysdeps/i386/fpu/e_powl.S: Likewise.
46200 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46201 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46202 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46206 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46207 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46208 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46215 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46230 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46233 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46236 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46247 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46249 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46259 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46260 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46264 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46265 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46266 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46306 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46307 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46308 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46309 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46310 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46311 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46312 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46317 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46319 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46320 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46321 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46322 (__isnanf): Likewise.
46323 (__isinf_ns): Likewise.
46324 (__isinf_nsf): Likewise.
46325 (__finite): Likewise.
46326 (__finitef): Likewise.
46327 (__ieee754_sqrt): Define as macro.
46328 (__ieee754_sqrtf): Define as macro.
46329 (__ieee754_sqrtl): Define as macro.
46330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46331 inlined copy.
46332 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46333 __FINITE_MATH_ONLY__ consistent.
46334 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46335
12cc2fcd
AS
463362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46337
a843a204
AS
46338 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46339 of rawmemchr.
46340
12cc2fcd
AS
46341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46342
c853acd5
UD
463432011-10-09 Ulrich Drepper <drepper@gmail.com>
46344
46345 * po/ja.po: Update from translation team.
46346
c658d255
RM
463472011-10-08 Roland McGrath <roland@hack.frob.com>
46348
110946e4
RM
46349 * locale/programs/locarchive.c (prepare_address_space): New function.
46350 (create_archive, enlarge_archive, open_archive): Use it.
46351
50604220
RM
46352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46353 inside [SHARED], where it is used.
46354
c658d255
RM
46355 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46356
46357 * nss/getent.c (netgroup_keys): Remove unused variable.
46358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46359
6a621eb7
UD
463602011-10-08 Ulrich Drepper <drepper@gmail.com>
46361
7edb55ce
UD
46362 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46368 * math/Makefile (libm-calls): Add s_isinf_ns.
46369 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46370 * math/multc3.c: Likewise.
46371 * math/s_casin.c: Likewise.
46372 * math/s_casinf.c: Likewise.
46373 * math/s_casinl.c: Likewise.
46374 * math/s_ccos.c: Likewise.
46375 * math/s_ccosf.c: Likewise.
46376 * math/s_ccosl.c: Likewise.
46377 * math/s_ctan.c: Likewise.
46378 * math/s_ctanf.c: Likewise.
46379 * math/s_ctanh.c: Likewise.
46380 * math/s_ctanhf.c: Likewise.
46381 * math/s_ctanhl.c: Likewise.
46382 * math/s_ctanl.c: Likewise.
46383 * math/w_fmod.c: Likewise.
46384 * math/w_fmodf.c: Likewise.
46385 * math/w_fmodl.c: Likewise.
46386 * math/w_remainder.c: Likewise.
46387 * math/w_remainderf.c: Likewise.
46388 * math/w_remainderl.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46390 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46393 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46394 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46395 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46396 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46397
187da0ae
UD
46398 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46399 of the number.
46400 * stdio-common/printf_fphex.c: Likewise.
46401 * stdio-common/printf_size.c: Likewise.
46402
9277c064
UD
46403 * math/e_exp10.c: Include math_private.h using <...> not "...".
46404 * math/e_exp10f.c: Likewise.
46405 * math/e_exp10l.c: Likewise.
46406 * math/e_exp2l.c: Likewise.
46407 * math/e_j0l.c: Likewise.
46408 * math/e_j1l.c: Likewise.
46409 * math/e_jnl.c: Likewise.
46410 * math/e_lgammal_r.c: Likewise.
46411 * math/e_rem_pio2l.c: Likewise.
46412 * math/e_scalb.c: Likewise.
46413 * math/e_scalbf.c: Likewise.
46414 * math/e_scalbl.c: Likewise.
46415 * math/k_cosl.c: Likewise.
46416 * math/k_sinl.c: Likewise.
46417 * math/k_tanl.c: Likewise.
46418 * math/s_cacoshf.c: Likewise.
46419 * math/s_catan.c: Likewise.
46420 * math/s_catanf.c: Likewise.
46421 * math/s_catanh.c: Likewise.
46422 * math/s_catanhf.c: Likewise.
46423 * math/s_catanhl.c: Likewise.
46424 * math/s_catanl.c: Likewise.
46425 * math/s_ccosh.c: Likewise.
46426 * math/s_ccoshf.c: Likewise.
46427 * math/s_ccoshl.c: Likewise.
46428 * math/s_cexp.c: Likewise.
46429 * math/s_cexpf.c: Likewise.
46430 * math/s_cexpl.c: Likewise.
46431 * math/s_clog.c: Likewise.
46432 * math/s_clog10.c: Likewise.
46433 * math/s_clog10f.c: Likewise.
46434 * math/s_clog10l.c: Likewise.
46435 * math/s_clogf.c: Likewise.
46436 * math/s_clogl.c: Likewise.
46437 * math/s_csin.c: Likewise.
46438 * math/s_csinf.c: Likewise.
46439 * math/s_csinh.c: Likewise.
46440 * math/s_csinhf.c: Likewise.
46441 * math/s_csinhl.c: Likewise.
46442 * math/s_csinl.c: Likewise.
46443 * math/s_csqrt.c: Likewise.
46444 * math/s_csqrtf.c: Likewise.
46445 * math/s_csqrtl.c: Likewise.
46446 * math/s_ctan.c: Likewise.
46447 * math/s_ctanf.c: Likewise.
46448 * math/s_ctanh.c: Likewise.
46449 * math/s_ctanhf.c: Likewise.
46450 * math/s_ctanhl.c: Likewise.
46451 * math/s_ctanl.c: Likewise.
46452 * math/s_ldexp.c: Likewise.
46453 * math/s_ldexpf.c: Likewise.
46454 * math/s_ldexpl.c: Likewise.
46455 * math/s_significand.c: Likewise.
46456 * math/s_significandf.c: Likewise.
46457 * math/s_significandl.c: Likewise.
46458 * math/w_acos.c: Likewise.
46459 * math/w_acosf.c: Likewise.
46460 * math/w_acosh.c: Likewise.
46461 * math/w_acoshf.c: Likewise.
46462 * math/w_acoshl.c: Likewise.
46463 * math/w_acosl.c: Likewise.
46464 * math/w_asin.c: Likewise.
46465 * math/w_asinf.c: Likewise.
46466 * math/w_asinl.c: Likewise.
46467 * math/w_atan2.c: Likewise.
46468 * math/w_atan2f.c: Likewise.
46469 * math/w_atan2l.c: Likewise.
46470 * math/w_atanh.c: Likewise.
46471 * math/w_atanhf.c: Likewise.
46472 * math/w_atanhl.c: Likewise.
46473 * math/w_cosh.c: Likewise.
46474 * math/w_coshf.c: Likewise.
46475 * math/w_coshl.c: Likewise.
46476 * math/w_dremf.c: Likewise.
46477 * math/w_exp10.c: Likewise.
46478 * math/w_exp10f.c: Likewise.
46479 * math/w_exp10l.c: Likewise.
46480 * math/w_exp2.c: Likewise.
46481 * math/w_exp2f.c: Likewise.
46482 * math/w_fmod.c: Likewise.
46483 * math/w_fmodf.c: Likewise.
46484 * math/w_fmodl.c: Likewise.
46485 * math/w_hypot.c: Likewise.
46486 * math/w_hypotf.c: Likewise.
46487 * math/w_hypotl.c: Likewise.
46488 * math/w_j0.c: Likewise.
46489 * math/w_j0f.c: Likewise.
46490 * math/w_j0l.c: Likewise.
46491 * math/w_j1.c: Likewise.
46492 * math/w_j1f.c: Likewise.
46493 * math/w_j1l.c: Likewise.
46494 * math/w_jn.c: Likewise.
46495 * math/w_jnf.c: Likewise.
46496 * math/w_jnl.c: Likewise.
46497 * math/w_lgamma.c: Likewise.
46498 * math/w_lgamma_r.c: Likewise.
46499 * math/w_lgammaf.c: Likewise.
46500 * math/w_lgammaf_r.c: Likewise.
46501 * math/w_lgammal.c: Likewise.
46502 * math/w_lgammal_r.c: Likewise.
46503 * math/w_log.c: Likewise.
46504 * math/w_log10.c: Likewise.
46505 * math/w_log10f.c: Likewise.
46506 * math/w_log10l.c: Likewise.
46507 * math/w_log2.c: Likewise.
46508 * math/w_log2f.c: Likewise.
46509 * math/w_log2l.c: Likewise.
46510 * math/w_logf.c: Likewise.
46511 * math/w_logl.c: Likewise.
46512 * math/w_pow.c: Likewise.
46513 * math/w_powf.c: Likewise.
46514 * math/w_powl.c: Likewise.
46515 * math/w_remainder.c: Likewise.
46516 * math/w_remainderf.c: Likewise.
46517 * math/w_remainderl.c: Likewise.
46518 * math/w_scalb.c: Likewise.
46519 * math/w_scalbf.c: Likewise.
46520 * math/w_scalbl.c: Likewise.
46521 * math/w_sinh.c: Likewise.
46522 * math/w_sinhf.c: Likewise.
46523 * math/w_sinhl.c: Likewise.
46524 * math/w_sqrt.c: Likewise.
46525 * math/w_sqrtf.c: Likewise.
46526 * math/w_sqrtl.c: Likewise.
46527 * math/w_tgamma.c: Likewise.
46528 * math/w_tgammaf.c: Likewise.
46529 * math/w_tgammal.c: Likewise.
46530
6a621eb7
UD
46531 * po/ja.po: Update from translation team.
46532
bf582445
AJ
465332011-09-29 Andreas Jaeger <aj@suse.de>
46534
f9efbf3a
AJ
46535 [BZ #13179]
46536 * sunrpc/netname.c (netname2host): Fix logic.
46537
bf582445
AJ
46538 [BZ #6779]
46539 [BZ #6783]
46540 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46541 correctly.
46542 * math/w_remainder.c (__remainder): Likewise.
46543 * math/w_remainderf.c (__remainderf): Likewise.
46544 * math/libm-test.inc (remainder_test): Add test cases.
46545
48693bea
AK
465462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46547
46548 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46549 sdiv_qrnnd.
46550
42622229
LD
465512011-10-07 Ulrich Drepper <drepper@gmail.com>
46552
46553 * string/test-memcmp.c: Avoid unncessary #defines.
46554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46555
093ecf92
LD
465562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46557
46558 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46559 Use new sse2 version for core i3 - i7 as it's faster
46560 than sse42 version.
46561 (bit_Prefer_PMINUB_for_stringop): New.
46562 * sysdeps/x86_64/rawmemchr.S: Update.
46563 Replace with faster SSE2 version.
46564 * sysdeps/x86_64/memrchr.S: New file.
46565 * sysdeps/x86_64/memchr.S: Update.
46566 Replace with faster SSE2 version.
46567
fde56e5c
MP
465682011-09-12 Marek Polacek <mpolacek@redhat.com>
46569
46570 * elf/dl-load.c (lose): Add cast to avoid warning.
46571
21fd49a9
UD
465722011-10-07 Ulrich Drepper <drepper@gmail.com>
46573
5a06e643
UD
46574 * po/ca.po: Update from translation team.
46575
684ae515
UD
46576 * inet/getnetgrent_r.c: Hook up nscd.
46577 * nscd/Makefile (routines): Add nscd_netgroup.
46578 (nscd-modules): Add netgroupcache.
46579 (CFLAGS-netgroupcache.c): Define.
46580 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46581 (cache_search): Add const to second parameter.
46582 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46583 INNETGR.
46584 (dbs): Add netgrdb entry.
46585 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46586 (verify_persistent_db): Handle netgrdb.
46587 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46588 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46589 GETFDNETGR.
46590 (netgroup_response_header): Define.
46591 (innetgroup_response_header): Define.
46592 (datahead): Add netgroup_response_header and innetgroup_response_header
46593 elements.
46594 * nscd/nscd.conf: Add entries for netgroup cache.
46595 * nscd/nscd.h (dbtype): Add netgrdb.
46596 (_PATH_NSCD_NETGROUP_DB): Define.
46597 (netgroup_iov_disabled): Declare.
46598 (xmalloc, xcalloc, xrealloc): Move declarations here.
46599 (cache_search): Adjust prototype.
46600 Add netgroup-related prototypes.
46601 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46602 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46603 (__nscd_innetgr): Declare.
46604 * nscd/selinux.c (perms): Use access_vector_t as element type and
46605 add netgroup-related initializers.
46606 * nscd/netgroupcache.c: New file.
46607 * nscd/nscd_netgroup.c: New file.
46608 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46609 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46610 For four parameters use innetgr.
46611 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46612 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46613 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46614 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46615
21fd49a9
UD
46616 * nscd/connections.c (register_traced_file): Don't register file
46617 for disabled databases.
46618
054c0457
UD
466192011-10-06 Ulrich Drepper <drepper@gmail.com>
46620
32b63198
UD
46621 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46622
054c0457
UD
46623 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46624 from tree and freeing node.
46625
64031225
JO
466262011-09-25 Jiri Olsa <jolsa@redhat.com>
46627
46628 * nss/nsswitch.c (__nss_database_lookup): Handle
46629 nss_parse_service_list out of memory case.
46630
0490345c
JO
466312011-09-15 Jiri Olsa <jolsa@redhat.com>
46632
46633 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46634 out of memory case.
46635
3a62d00d
AS
466362011-10-04 Andreas Schwab <schwab@redhat.com>
46637
46638 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46639 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46640 pass it down.
46641 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46642 elf_machine_rela, elf_machine_lazy_rel.
46643 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46644 (ELF_DYNAMIC_DO_REL): Likewise.
46645 (ELF_DYNAMIC_DO_RELA): Likewise.
46646 (ELF_DYNAMIC_RELOCATE): Likewise.
46647 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46648 to ELF_DYNAMIC_DO_REL.
46649 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46650 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46651 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46652 elf_machine_rela.
46653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46654 skip_ifunc, don't call ifunc function if non-zero.
46655 (elf_machine_rela): Likewise.
46656 (elf_machine_lazy_rel): Likewise.
46657 (elf_machine_lazy_rela): Likewise.
46658 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46659 (elf_machine_lazy_rel): Likewise.
46660 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46661 Likewise.
46662 (elf_machine_lazy_rel): Likewise.
46663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46664 Likewise.
46665 (elf_machine_lazy_rel): Likewise.
46666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46667 (elf_machine_lazy_rel): Likewise.
46668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46669 (elf_machine_lazy_rel): Likewise.
46670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46671 (elf_machine_lazy_rel): Likewise.
46672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46673 (elf_machine_lazy_rel): Likewise.
46674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46675 (elf_machine_lazy_rel): Likewise.
46676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46677 (elf_machine_lazy_rel): Likewise.
46678
68577918
UD
466792011-09-28 Ulrich Drepper <drepper@gmail.com>
46680
46681 * nss/nss_files/files-init.c (_nss_files_init): Use static
46682 initialization for all the *_traced_file variables.
46683
68822d74
AS
466842011-09-28 Andreas Schwab <schwab@redhat.com>
46685
46686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46687
2056100b
RM
466882011-09-27 Roland McGrath <roland@hack.frob.com>
46689
46690 [BZ #13226]
46691 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46692
32c76b63
AS
466932011-09-27 Andreas Schwab <schwab@redhat.com>
46694
46695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46696 Reread the line before reparsing it.
46697
bf972c9d
AS
466982011-09-26 Andreas Schwab <schwab@redhat.com>
46699
46700 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46701
e057a1b5
JM
467022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46703 Maxim Kuvyrkov <maxim@codesourcery.com>
46704 Joseph Myers <joseph@codesourcery.com>
46705
46706 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46707 if needed for __stack_chk_guard.
46708
bc7e1c36
RM
467092011-09-19 Roland McGrath <roland@hack.frob.com>
46710
ecb1482f
RM
46711 * sysdeps/posix/spawni.c (script_execute): Always define it.
46712 It will be optimized away if unused.
46713 (maybe_script_execute): New function.
46714 (__spawni): Call it.
46715
bc7e1c36
RM
46716 * Makerules: Don't include tls.make.
46717 (config-tls): Always set to thread.
46718 * tls.make.c: File removed.
46719
1c3b002b
MF
467202011-09-19 Mike Frysinger <vapier@gentoo.org>
46721
46722 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46723 * config.make.in (CPPFLAGS-config): New substituted variable.
46724
2840865d
UD
467252011-09-15 Ulrich Drepper <drepper@gmail.com>
46726
88738eb6
UD
46727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46728
cbf645a6 46729 [BZ #13192]
2840865d
UD
46730 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46731 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46732
b402e91a
RM
467332011-09-15 Roland McGrath <roland@hack.frob.com>
46734
46735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46736 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46738 (CALL_FAIL): Likewise.
46739 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46740 (CALL_FAIL): Macro removed.
46741 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46742
4c1a1f71
UD
467432011-09-15 Ulrich Drepper <drepper@gmail.com>
46744
46745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46746 for __FINITE_MATH_ONLY__ == 1.
46747
edc121be
AS
467482011-09-15 Andreas Schwab <schwab@redhat.com>
46749
46750 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46751 __ieee754_sqrt instead of sqrt.
46752 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46753 __ieee754_sqrtf instead of sqrtf.
46754 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46755 __floorf instead of floorf.
46756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46757 __floorf, __truncf instead of floorf, truncf.
46758
cd205654
UD
467592011-09-14 Ulrich Drepper <drepper@gmail.com>
46760
ee4d0315
UD
46761 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46762
cd205654
UD
46763 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46764 __extern_always_inline.
46765 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46766 32-bit.
46767
48b67d71
AS
467682011-09-14 Andreas Schwab <schwab@redhat.com>
46769
46770 * elf/rtld.c (dl_main): Also relocate in dependency order when
46771 doing symbol dependency testing.
46772
1ae12c75
AS
467732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46774
46775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46776 Always define `refsym'.
46777
995a80df
AS
467782011-09-13 Andreas Schwab <schwab@redhat.com>
46779
e529793b
AS
46780 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46781 (__FD_ELT): Renamed from __FDELT.
46782 * misc/bits/select2.h (__FD_ELT): Likewise.
46783 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46784 __FD_MASK instead of __FDELT, __FDMASK.
46785 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46786 Likewise.
46787 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46788 Likewise.
46789
52d4fef8
AS
46790 * elf/Makefile (gen-ldd): Fix pattern.
46791
995a80df
AS
46792 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46793 (init_tls): Likewise.
46794
8682f8b0
UD
467952011-09-12 Ulrich Drepper <drepper@gmail.com>
46796
46797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46798
de82006d
AS
467992011-09-12 Andreas Schwab <schwab@redhat.com>
46800
a7c8e6a1
AS
46801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46802 `struct cmsghdr *' instead of `void *'.
46803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46804 Likewise.
46805
0f31fe77
AS
468062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46807
46808 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46809 if non-absolute.
46810 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46811 ldd_rewrite_script.
0f31fe77 46812
32b4c839
UD
468132011-09-11 Ulrich Drepper <drepper@gmail.com>
46814
83cd1420
UD
46815 * configure.in: Remove --with-tls option.
46816 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46817 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46818 out in case it is missing.
46819 * sysdeps/ia64/elf/configure.in: Likewise.
46820 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46821 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46822 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46823 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46824 * sysdeps/sh/elf/configure.in: Likewise.
46825 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46827 * sysdeps/x86_64/elf/configure.in: Likewise.
46828 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46829 * sysdeps/mach/hurd/tls.h: Likewise.
46830
633f745d
UD
46831 [BZ #13067]
46832 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46833
f318beb8
UD
46834 [BZ #13090]
46835 * configure.in: Fix use of AC_INIT.
46836
32b4c839
UD
46837 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46838
3ce1f295
UD
468392011-09-10 Ulrich Drepper <drepper@gmail.com>
46840
bb016596
UD
46841 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46842 __set_errno.
8e58439c
UD
46843 * malloc/hooks.c: Likewise.
46844
aebae053 46845 [BZ #11929]
02d46fc4
UD
46846 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46847 variables statically.
46848 (narenas): Initialize.
46849 (list_lock): Initialize.
bb016596
UD
46850 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46851 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46852 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46853 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46854 Add initializers to main_arena and mp_.
46855 (malloc_state): Remove pagesize member. Change all users to use
46856 GLRO(dl_pagesize).
46857
46858 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46859 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46860 is always initialized.
46861
22a89187
UD
46862 * malloc/malloc.c: Removed unused configurations and dead code.
46863 * malloc/arena.c: Likewise.
46864 * malloc/hooks.c: Likewise.
02d46fc4 46865 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46866
d063d164
UD
46867 * include/tls.h: Removed. USE___THREAD must always be defined.
46868 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46869 * elf/dl-libc.c: Likewise.
46870 * elf/dl-tsd.c: Likewise.
46871 * include/errno.h: Likewise.
46872 * include/netdb.h: Likewise.
46873 * include/resolv.h: Likewise.
46874 * inet/herrno-loc.c: Likewise.
46875 * inet/herrno.c: Likewise.
46876 * malloc/arena.c: Likewise.
46877 * malloc/hooks.c: Likewise.
46878 * malloc/malloc.c: Likewise.
46879 * resolv/res-state.c: Likewise.
46880 * resolv/res_libc.c: Likewise.
46881 * sysdeps/i386/dl-machine.h: Likewise.
46882 * sysdeps/ia64/dl-machine.h: Likewise.
46883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46887 * sysdeps/sh/dl-machine.h: Likewise.
46888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46890 * sysdeps/unix/i386/sysdep.S: Likewise.
46891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46892 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46902 * sysdeps/x86_64/dl-machine.h: Likewise.
46903 * tls.make.c: Likewise.
46904
3ce1f295
UD
46905 * configure.in: Remove --with-__thread option. Make tests for
46906 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46907 tls_model attribute fail if no support is available. Remove
46908 USE_IN_LIBIO.
46909 * Makeconfig: Adjust for dropped configure option. All features are
46910 now mandatory.
46911 * Makerules: Likewise.
46912 * Versions.def: Likewise.
46913 * argp/argp-fmtstream.c: Likewise.
46914 * argp/argp-fmtstream.h: Likewise.
46915 * argp/argp-help.c: Likewise.
46916 * assert/assert.c: Likewise.
46917 * config.h.in: Likewise.
46918 * config.make.in: Likewise.
46919 * configure: Likewise.
46920 * configure.in: Likewise.
46921 * csu/Versions: Likewise.
46922 * csu/init.c: Likewise.
46923 * elf/tst-audit2.c: Likewise.
46924 * elf/tst-tls10.c: Likewise.
46925 * elf/tst-tls10.h: Likewise.
46926 * elf/tst-tls11.c: Likewise.
46927 * elf/tst-tls12.c: Likewise.
46928 * elf/tst-tls14.c: Likewise.
46929 * elf/tst-tlsmod11.c: Likewise.
46930 * elf/tst-tlsmod12.c: Likewise.
46931 * elf/tst-tlsmod13.c: Likewise.
46932 * elf/tst-tlsmod13a.c: Likewise.
46933 * elf/tst-tlsmod14a.c: Likewise.
46934 * elf/tst-tlsmod15b.c: Likewise.
46935 * elf/tst-tlsmod16a.c: Likewise.
46936 * elf/tst-tlsmod16b.c: Likewise.
46937 * elf/tst-tlsmod7.c: Likewise.
46938 * elf/tst-tlsmod8.c: Likewise.
46939 * elf/tst-tlsmod9.c: Likewise.
46940 * gmon/gmon.c: Likewise.
46941 * grp/fgetgrent_r.c: Likewise.
46942 * grp/putgrent.c: Likewise.
46943 * hurd/fopenport.c: Likewise.
46944 * include/libc-symbols.h: Likewise.
46945 * include/tls.h: Likewise.
46946 * intl/gettextP.h: Likewise.
46947 * intl/loadinfo.h: Likewise.
46948 * locale/global-locale.c: Likewise.
46949 * locale/localeinfo.h: Likewise.
46950 * mach/devstream.c: Likewise.
46951 * malloc/arena.c: Likewise.
46952 * malloc/set-freeres.c: Likewise.
46953 * misc/err.c: Likewise.
46954 * misc/getttyent.c: Likewise.
46955 * misc/mntent_r.c: Likewise.
46956 * posix/getopt.c: Likewise.
46957 * posix/wordexp.c: Likewise.
46958 * pwd/fgetpwent_r.c: Likewise.
46959 * resolv/Versions: Likewise.
46960 * resolv/res_hconf.c: Likewise.
46961 * shadow/fgetspent_r.c: Likewise.
46962 * shadow/putspent.c: Likewise.
46963 * stdio-common/printf_fphex.c: Likewise.
46964 * stdio-common/tmpfile.c: Likewise.
46965 * stdlib/abort.c: Likewise.
46966 * stdlib/fmtmsg.c: Likewise.
46967 * sunrpc/auth_unix.c: Likewise.
46968 * sunrpc/clnt_perr.c: Likewise.
46969 * sunrpc/clnt_tcp.c: Likewise.
46970 * sunrpc/clnt_udp.c: Likewise.
46971 * sunrpc/clnt_unix.c: Likewise.
46972 * sunrpc/openchild.c: Likewise.
46973 * sunrpc/svc_simple.c: Likewise.
46974 * sunrpc/svc_tcp.c: Likewise.
46975 * sunrpc/svc_udp.c: Likewise.
46976 * sunrpc/svc_unix.c: Likewise.
46977 * sunrpc/xdr.c: Likewise.
46978 * sunrpc/xdr_array.c: Likewise.
46979 * sunrpc/xdr_rec.c: Likewise.
46980 * sunrpc/xdr_ref.c: Likewise.
46981 * sunrpc/xdr_stdio.c: Likewise.
46982
1248c1c4
PB
469832011-09-09 Ulrich Drepper <drepper@gmail.com>
46984
46985 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46986
469872011-07-03 Andreas Jaeger <aj@suse.de>
46988
46989 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46990 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46991 regenerate with gen-libm-tests.pl.
46992
469932010-05-12 Petr Baudis <pasky@suse.cz>
46994
46995 [BZ #11589]
46996 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46997 around j0() zero points by switching to j1().
46998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47002
f22e1074
UD
470032011-09-09 Ulrich Drepper <drepper@gmail.com>
47004
f19009c1
UD
47005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47006 instead of 0.
47007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47008 instead of 0.
f19009c1
UD
47009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47010 Patch in part by Pavel Roskin <proski@gnu.org>.
47011
3f8cc204
UD
47012 [BZ #13138]
47013 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47014 realloc.
47015 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47016 Free memory block if necessary.
47017
f22e1074
UD
47018 [BZ #12847]
47019 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47020 be NULL. Don't lock in this case.
47021
0a2349f9
RM
470222011-09-09 Roland McGrath <roland@hack.frob.com>
47023
47024 * elf/elf.h (ELFOSABI_GNU): New macro.
47025 (ELFOSABI_LINUX): Define to that.
47026
f3cdd467
DZ
470272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47028
47029 * string/strncat.c (strncat): Undef the symbol in case it has been
47030 defined in bits/string.h.
47031
74718d13
UD
470322011-09-09 Ulrich Drepper <drepper@gmail.com>
47033
633e9e0f
UD
47034 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47035
0a2349f9 47036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47037 link map.
47038
f9924780
AJ
470392011-08-17 Andreas Jaeger <aj@suse.de>
47040
47041 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47042
7f5517aa
PP
470432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47044 Ian Lance Taylor <iant@google.com>
47045
47046 * math/libm-test.inc (lround_test): New testcase.
47047 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47048
762011fe
UD
470492011-09-08 Ulrich Drepper <drepper@gmail.com>
47050
92963737
UD
47051 * Makefile: Remove support for automatic cvs check-ins.
47052 * Makerules: Likewise.
47053 * config.make.in: Likewise.
47054 * configure.in: Likewise.
47055 * intl/Makefile: Likewise.
47056 * locale/Makefile: Likewise.
47057 * po/Makefile: Likewise.
47058 * posix/Makefile: Likewise.
47059 * sysdeps/gnu/Makefile: Likewise.
47060 * sysdeps/mach/hurd/Makefile: Likewise.
47061 * sysdeps/sparc/sparc32/Makefile: Likewise.
47062
b0727fd8
JS
47063 [BZ #13118]
47064 * posix/Makefile (bug-regex32-ENV): Define.
47065 Patch by John Stanley <jpsinthemix@verizon.net>.
47066
a0f33f99
UD
47067 * misc/Makefile (headers): Add bits/select2.h.
47068 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47069 * misc/bits/select2.h: New file.
47070 * include/bits/select2.h: New file.
47071 * debug/Makefile (routines): Add fdelt_chk.
47072 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47073 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47074 FD_ISSET.
47075 * debug/fdelt_chk.c: New file.
47076
762011fe
UD
47077 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47078 * wcsmbs/test-wmemcmp.c: Likewise.
47079 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47080 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47081
470822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47083
47084 * string/Makefile (strop-tests): Add memcmp.
47085 * string/test-wmemcmp.c: New file.
47086 * string/test-memcmp.c: Add wmemcmp support.
47087
7f513ec8
RM
470882011-09-08 Roland McGrath <roland@hack.frob.com>
47089
0442afb4
RM
47090 [BZ #13153]
47091 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47092 2011-07-19 change.
47093
7f513ec8
RM
47094 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47095 garbage value in a __mach_port_mod_refs call in the cases of the
47096 task-self and thread-self ports.
47097
a12b2239
ST
470982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47099
47100 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47101
610f9ab4
AS
471022011-09-08 Andreas Schwab <schwab@redhat.com>
47103
7f513ec8 47104 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47105
48882a1a
LD
471062011-09-07 Ulrich Drepper <drepper@gmail.com>
47107
b49865be
UD
47108 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47109
fdc86bc9
UD
47110 * elf/dl-libc.c (dlerror_run): Pass back error code from
47111 dl_catch_error.
47112
c966526a
UD
47113 [BZ #13123]
47114 * elf/dl-load.c (lose): Free l_origin if it is valid.
47115
48882a1a
LD
47116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47117 names.
47118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47123 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47124
77a2a8b4
AZ
471252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47126
47127 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47128 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47129 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47131 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47132 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47133 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47134 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47135 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47136 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47137
24f579d8
AM
471382011-08-15 Alan Modra <amodra@gmail.com>
47139
47140 [BZ #13092]
47141 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47142 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47143 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47144 ppc_mcount to static-only-routines.
47145 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47146 __mcount_internal.
47147 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47148 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47149
3d4837df
UD
471502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47151
47152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47153 for finite and infinity parameters.
47154
22700377
WS
471552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47156
47157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47158 and add nop instructions for throughput optimization.
47159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47160
5025581e
WS
471612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47162
47163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47164 aligned copy for power7 with vector-scalar instructions.
47165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47166
08a300c9
L
471672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47168
47169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47170 AVX check.
47171
59178ef9
AS
471722011-09-07 Andreas Schwab <schwab@redhat.com>
47173
47174 [BZ #13144]
47175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47176 last change.
47177
e38ba7ab
UD
471782011-09-07 Ulrich Drepper <drepper@gmail.com>
47179
47180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47181 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47182 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47184 clock_gettime.
47185
d53a73ac
UD
471862011-09-06 Ulrich Drepper <drepper@gmail.com>
47187
fc8bffcc
UD
47188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47189 Forgot to demangle the pointer.
47190
ceaa0c5d
UD
47191 * sysdeps/i386/sysdep.h: Define atom_text_section.
47192 * sysdeps/x86_64/sysdep.h: Likewise.
47193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47194 section with atom_text_section.
47195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47200
a77d3c17
UD
47201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47203 already be defined. Change to take two parameters and don't assign
47204 result to variable. Adjust all users.
47205 Define INTERNAL_GETTIME if not already defined.
47206 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47207 call.
47208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47209 HAVE_CLOCK_GETTIME_VSYSCALL.
47210 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47211
d53a73ac
UD
47212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47213 gettimeofday vsyscall, just use time.
47214
a8f84144
AS
472152011-09-06 Andreas Schwab <schwab@redhat.com>
47216
47217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47218 <errno.h>.
47219
ef606249
UD
472202011-09-06 Ulrich Drepper <drepper@gmail.com>
47221
47222 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47223 syscall on x86-64.
47224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47225 syscall.
47226 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47228 syscall if possible.
47229
6585cb60
UD
472302011-09-05 Ulrich Drepper <drepper@gmail.com>
47231
47232 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47233 e_ident. Don't pass to find_mapsXX.
47234 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47235
a5f524e4
LD
472362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47237
47238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47239 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47240 * sysdeps/x86_64/multiarch/strchr.S: Update.
47241 Check bit_slow_BSF bit.
47242 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47245
554881ef
UD
472462011-09-05 Ulrich Drepper <drepper@gmail.com>
47247
d96de963
UD
47248 [BZ #13134]
47249 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47250 before glibc 2.15.
47251 (tryshell): Define.
47252 (__spawni): Change last parameter to be flag. Test
47253 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47254 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47255 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47256 * posix/spawni.c: Likewise.
47257 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47258 * posix/spawnp.c: Likewise. Change normal version to use
47259 SPAWN_XFLAGS_USE_PATH.
47260 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47261 SPAWN_XFLAGS_TRY_SHELL.
47262
d48e5868
UD
47263 [BZ #13150]
47264 * posix/glob.h: Remove gcc 1.x support.
47265
554881ef
UD
47266 [BZ #13068]
47267 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47268
693fb948
LD
472692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47270
47271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47272 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47273 strrchr-sse2-bsf
47274 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47275 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47280
1b48c537
UD
472812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47282
49d42c37
UD
47283 * sysdeps/x86_64/wcscmp.S: New file.
47284
1b48c537
UD
47285 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47286 wcscmp-c wcscmp-sse2
47287 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47288 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47290 * wcsmbs/wcscmp.c: Allow renaming.
47291
15c95c5d
DM
472922011-09-05 David S. Miller <davem@davemloft.net>
47293
47294 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47295 stack slot, rather than the struct return pointer slot.
47296 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47297 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47300
2f0ad8f3
UD
473012011-09-05 Ulrich Drepper <drepper@gmail.com>
47302
d88ae418
UD
47303 * po/ja.po: Update from translation team.
47304
2f0ad8f3
UD
47305 [BZ #13144]
47306 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47307 kernel in 64-bit binaries.
47308
5f4318d1
DM
473092011-09-01 David S. Miller <davem@davemloft.net>
47310
47311 * elf/elf.h (HWCAP_SPARC_*): Move to..
47312 * sysdeps/sparc/sysdep.h: this new file and add new values.
47313 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47314 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47315 _DL_HWCAP_COUNT to 24.
47316 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47317 entries.
47318 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47319 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47320 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47322 instead of magic constants.
47323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47324
3ba57516
DM
473252011-08-31 David S. Miller <davem@davemloft.net>
47326
47327 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47329 Reimplement to do errno handling inline.
47330 (SYSCALL_ERROR_HANDLER): New macro.
47331 (__SYSCALL_STRING): Do not do errno handling in asm.
47332 (__CLONE_SYSCALL_STRING): Delete.
47333 (__INTERNAL_SYSCALL_STRING): Delete.
47334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47335 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47336 (PSEUDO): Reimplement to do errno handling inline.
47337 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47338 (SYSCALL_ERROR_HANDLER): New macro.
47339 (__SYSCALL_STRING): Do not do errno handling in asm.
47340 (__CLONE_SYSCALL_STRING): Delete.
47341 (__INTERNAL_SYSCALL_STRING): Delete.
47342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47343 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47344 i386.
47345 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47346 (inline_syscall*): Add 'err' argument.
47347 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47348 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47349 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47350 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47351
47352 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47354
2bc17433
AS
473552011-08-30 Andreas Schwab <schwab@redhat.com>
47356
47357 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47358
fbeb5f4d
JO
473592011-08-29 Jiri Olsa <jolsa@redhat.com>
47360
47361 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47362 directive.
47363
ad69cc26
DM
473642011-08-24 David S. Miller <davem@davemloft.net>
47365
47366 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47367
39dd69df
AS
473682011-08-24 Andreas Schwab <schwab@redhat.com>
47369
47370 * elf/Makefile: Add rules to build and run unload8 test.
47371 * elf/unload8.c: New file.
47372 * elf/unload8mod1.c: New file.
47373 * elf/unload8mod1x.c: New file.
47374 * elf/unload8mod2.c: New file.
47375 * elf/unload8mod3.c: New file.
47376
47377 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47378 it wasn't used.
47379
2c0b250a
DM
473802011-08-23 David S. Miller <davem@davemloft.net>
47381
47382 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47383 subtract stack bias.
47384 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47385 %sp not %fp in calculations.
47386 (_JMPBUF_UNWINDS_ADJ): Likewise.
47387
22044b48
DM
47388 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47389 (aio_suspend): Call it to force an exception region around the
47390 AIO_MISC_WAIT() invocation.
47391
2cae4995
AS
473922011-08-23 Andreas Schwab <schwab@redhat.com>
47393
47394 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47395 backslash.
47396
873a772e
AJ
473972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47398
47399 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47400 protection macro.
47401 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47402 and <dl-machine.h>.
47403 (Elf64_FuncDesc): Remove.
47404
25ad0df1
DM
474052011-08-22 David S. Miller <davem@davemloft.net>
47406
47407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47408 sigaltstack check, add missing cfi directives.
47409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47410 missing cfi directives, and sigaltstack handling.
47411
e888bcbe
AS
474122011-08-16 Andreas Schwab <schwab@redhat.com>
47413
47414 [BZ #11724]
47415 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47416 object is seen twice.
47417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47418
47419 * elf/Makefile (distribute): Add tst-initorder2.c.
47420 (tests): Add tst-initorder2.
47421 (modules-names): Add tst-initorder2a tst-initorder2b
47422 tst-initorder2c tst-initorder2d. Add rules to build them.
47423 ($(objpfx)tst-initorder2.out): New rule.
47424 * elf/tst-initorder2.c: New file.
47425 * elf/tst-initorder2.exp: New file.
47426
87162f46
AS
474272011-08-22 Andreas Schwab <schwab@redhat.com>
47428
70538b7f
AS
47429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47430
f55ffe58
AS
47431 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47432 dependencies back to end of function.
47433
87162f46
AS
47434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47435 $(elfobjdir)/ld.so.
47436
91b392a4
UD
474372011-08-21 Ulrich Drepper <drepper@gmail.com>
47438
47439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47440 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47442 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47443 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47444 of __vdso_gettimeofday.
47445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47446 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47447 attribute_hidden.
47448 (_libc_vdso_platform_setup): Remove initialization of
47449 __vdso_gettimeofday and __vdso_time.
47450
5c43483f
UD
474512011-08-20 Ulrich Drepper <drepper@gmail.com>
47452
775a77e7
UD
47453 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47454 and fgetc_unlocked.
47455 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47456 getc_unlocked.
89f447ed 47457
49c74ba9
UD
47458 * elf/dl-open.c (add_to_global): Report additions to the global scope
47459 for LD_DEBUG=scopes.
47460 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47461 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47462
5c43483f
UD
47463 [BZ #13114]
47464 * stdio-common/Makefile (tests): Add bug24.
47465 * stdio-common/bug24.c: New file.
47466
a101b025
AJ
474672011-08-19 Andreas Jaeger <aj@suse.de>
47468
47469 [BZ #13114]
47470 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47471 non-existant file when using close-on-exec mode.
47472
c88f1766
UD
474732011-08-20 Ulrich Drepper <drepper@gmail.com>
47474
0276a718
UD
47475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47476 the very first instruction.
47477
c88f1766
UD
47478 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47479 the CFI state in the end.
47480 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47481 inclusion of dl-trampoline.h.
47482 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47483
51ccffa0
AS
474842011-08-19 Andreas Schwab <schwab@redhat.com>
47485
94d7165f
AS
47486 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47487 expectations for long double.
47488
51ccffa0
AS
47489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47490 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47491
fd708658 474922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47493
47494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47495 artificual limit depends upon the system page size.
47496
44f0a71e
UD
474972011-08-17 Ulrich Drepper <drepper@gmail.com>
47498
47499 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47500 * resolv/Makefile: Define CFLAGS-libresolv.
47501
8de79a24
AS
475022011-08-17 Andreas Schwab <schwab@redhat.com>
47503
47504 * nss/makedb.c (compute_tables): Make variables used in nested
47505 function static.
47506
27724598
UD
475072011-08-17 Ulrich Drepper <drepper@gmail.com>
47508
c5305d88
UD
47509 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47510 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47511 if buffer was too small.
47512
27724598
UD
47513 * elf/pldd.c (main): Attach to all threads in the process.
47514 Rewrite /proc handling to use *at functions.
47515
076fe015
UD
475162011-08-16 Ulrich Drepper <drepper@gmail.com>
47517
174baab3
UD
47518 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47519 specifies first scope to show.
47520 (dl_open_worker): Update callers. Move printing scope of new
47521 object to before the relocation.
44f0a71e 47522 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47523 * sysdeps/generic/ldsodefs.h: Update declaration.
47524
076fe015
UD
47525 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47526 string for the scope number.
47527
a60df2c3
UD
475282011-08-14 Ulrich Drepper <drepper@gmail.com>
47529
47530 * nscd/servicescache.c (cache_addserv): Make sure written is always
47531 initialized.
47532
5e4287d1
RM
475332011-08-14 Roland McGrath <roland@hack.frob.com>
47534
85ae0589
RM
47535 * sysdeps/i386/i486/bits/atomic.h
47536 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47537 statement expression, so as to suppress "set but not used" warning.
47538 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47539
69f63097
RM
47540 * string/strncat.c (STRNCAT): Use prototype definition.
47541
675456ef
RM
47542 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47543 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47544 -Iprograms here.
47545 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47546 (localedef-modules): Add localedef.
47547 (locale-modules): Add locale.
47548
5e4287d1
RM
47549 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47550 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47551 to avoid a warning.
47552
9c96ff23
DM
475532011-08-14 David S. Miller <davem@davemloft.net>
47554
47555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47556 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47557
f9ddf089
UD
475582011-08-13 Ulrich Drepper <drepper@gmail.com>
47559
44f0a71e 47560 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47561 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47562 * elf/rtld.c (dl_main): Set l_name of vDSO.
47563 Call _dl_show_scope when DL_DEBUG_SCOPES.
47564 (process_dl_debug): Recognize scopes flag and also set it for all.
47565 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47566 Declare _dl_show_scope.
47567
1dc27704
UD
47568 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47569 (do_dlopen): Pass caller_dlopen to dl_open.
47570 (__libc_dlopen_mode): Initialize caller_dlopen.
47571
f9ddf089
UD
47572 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47573 of libc. Make tolower call locale-independent. Optimize a bit by
47574 using isdigit instead of isalnum.
47575 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47576
9ac533d3
UD
475772011-08-12 Ulrich Drepper <drepper@gmail.com>
47578
47579 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47580 was a dependency or dynamically loaded.
47581
89edf2e9
UD
475822011-08-11 Ulrich Drepper <drepper@gmail.com>
47583
8e999d29
UD
47584 * intl/l10nflist.c: Allow architecture-specific pop function.
47585 * sysdeps/x86_64/l10nflist.c: New file.
47586
89edf2e9
UD
47587 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47588 classification.
47589
14d96785
AS
475902011-08-10 Andreas Schwab <schwab@redhat.com>
47591
47592 * include/dirent.h: Add libc_hidden_proto for scandirat and
47593 scandirat64. Don't declare __scandirat64.
47594 * dirent/scandirat.c: Add libc_hidden_def.
47595 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47596 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47597
6761ac04
DM
475982011-08-10 David S. Miller <davem@davemloft.net>
47599
47600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47601 enum.
47602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47605
c55fbd1e
UD
476062011-08-09 Ulrich Drepper <drepper@gmail.com>
47607
47608 * Versions.def [libc]: Add GLIBC_2.15.
47609 * dirent/Makefile (routines): Add scandirat and scandirat64.
47610 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47611 GLIBC_2.15.
47612 * dirent/dirent.h: Declare scandirat and scandirat64.
47613 * dirent/scandirat.c: New file.
47614 * dirent/scandirat64.c: New file.
47615 * sysdeps/wordsize-64/scandirat.c: New file.
47616 * sysdeps/wordsize-64/scandirat64.c: New file.
47617 * dirent/opendir.c: Define opendirat.
47618 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47619 using scandirat.
47620 * dirent/scandir64.c: Adjust for scandir.c change.
47621 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47622 __scandirat64, and __scandir_cancel_handler.
47623 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47624 additional parameter and use openat instead of open (outside of ld.so).
47625 Add new __opendir as wrapper around __opendirat.
47626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47627 here without requiring old scandirat implementation.
47628
879165f2
UD
476292011-08-08 Ulrich Drepper <drepper@gmail.com>
47630
47631 * dirent/scandir.c (cancel_handler): Renamed to
47632 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47633 defined. Adjust users.
47634 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47636
cb7e923b
UD
476372011-08-04 Ulrich Drepper <drepper@gmail.com>
47638
16292edd
UD
47639 * string/test-string.h (IMPL): Use __STRING to expand name and then
47640 stringify it.
47641
cb7e923b
UD
47642 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47643 of cleanups.
47644
cff82933
LD
476452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47646
47647 * string/Makefile: Update.
47648 (strop-tests): Append strncat.
47649 * string/test-wcscmp.c: New file.
47650 New comprehensive test for wcscmp.
47651 * string/test-strcmp.c: Update.
47652 (WIDE): New define.
47653
9be9bfcc
AS
476542011-07-22 Andreas Schwab <schwab@redhat.com>
47655
47656 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47657 line.
47658
2e96f1c7
AS
476592011-07-26 Andreas Schwab <schwab@redhat.com>
47660
47661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47662 encoding to ACE if AI_IDN.
47663
85188888
JJ
476642011-08-01 Jakub Jelinek <jakub@redhat.com>
47665
47666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47667 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47668
5fa16e9b
LD
476692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47670
47671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47672 Fix overflow bug in strncat.
47673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47674
47675 * string/test-strncat.c: Update.
47676 Add new tests for checking overflow bugs.
47677
476782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47679
47680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47681 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47682 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47683 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47686 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47687 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47688 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47689
47690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47691 (USE_AS_STRCAT): Define.
47692 Add strcat and strncat support.
47693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47694
8c1a459f
AS
476952011-07-25 Andreas Schwab <schwab@redhat.com>
47696
47697 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47698 __n bigger than INT_MAX+1.
47699 (__strncmp_g): Likewise.
47700
bba33c28
UD
477012011-07-23 Ulrich Drepper <drepper@gmail.com>
47702
798be72d
UD
47703 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47704 * libio/stido.h: Likewise.
47705
8accd4dc
UD
47706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47707 (AF_NFC): Define.
47708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47709 (AF_NFC): Define.
47710
cbff0d96
UD
47711 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47716
9191c04a
UD
47717 [BZ #13021]
47718 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47719 installed.
47720
bba33c28
UD
47721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47722 typo.
47723 (_dl_x86_64_save_sse): Likewise.
47724
90f139dd
UD
477252011-07-22 Ulrich Drepper <drepper@gmail.com>
47726
1aae088a
UD
47727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47728 OSXSAVE.
47729 (_dl_x86_64_save_sse): Likewise.
47730
8e2045f5
UD
47731 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47732
90f139dd
UD
47733 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47734
1d002f25
AS
477352011-07-21 Andreas Schwab <schwab@redhat.com>
47736
47737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47738 change.
47739 (_dl_x86_64_save_sse): Use correct AVX check.
47740
21137f89
UD
477412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47742
47743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47744 bug in strncpy/strncat.
47745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47746
a65c0b7a
UD
477472011-07-21 Ulrich Drepper <drepper@gmail.com>
47748
47749 * string/tester.c (test_strcat): Add tests for different alignments
47750 of source and destination.
47751 (test_strncat): Likewise.
47752
6986b98a
UD
477532011-07-20 Ulrich Drepper <drepper@gmail.com>
47754
90bb2039
UD
47755 [BZ #12852]
47756 * posix/glob.c (glob): Check passed in values before using them in
47757 expressions to avoid some overflows.
47758 (glob_in_dir): Likewise.
47759
5644ef54
UD
47760 [BZ #13007]
47761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47762 check for AVX enablement so that we don't crash with old kernels and
47763 new hardware.
47764 * elf/tst-audit4.c: Add same checks here.
47765 * elf/tst-audit6.c: Likewise.
47766
47767 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47768
bfc9dc9b
AS
477692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47770
47771 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47772
702e64bb
UD
477732011-07-20 Ulrich Drepper <drepper@gmail.com>
47774
47775 * po/cs.po: Update from translation team.
47776 * po/bg.po: Likewise.
47777
295e904f
MP
477782011-07-12 Marek Polacek <mpolacek@redhat.com>
47779
47780 * misc/sys/cdefs.h: Add support for const attribute.
47781 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47782 to gnu_dev_{major,minor,makedev} functions.
47783
3ff94596
MP
477842011-07-20 Marek Polacek <mpolacek@redhat.com>
47785
47786 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47787
28b59fca
AS
477882011-07-20 Andreas Schwab <schwab@redhat.com>
47789
47790 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47791 strlen results.
47792
19df733e
AK
477932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47794
47795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47796 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47797 register in order to avoid conflicts with the soft frame pointer
47798 being held in r11 when necessary.
47799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47800 (INTERNAL_VSYSCALL_NCS): Likewise.
47801
c8835729
MP
478022011-07-14 Marek Polacek <mpolacek@redhat.com>
47803
47804 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47805 * elf/dl-fini.c (_dl_fini): Adjust caller.
47806 * elf/dl-close.c (_dl_close_worker): Likewise.
47807 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47808
b902330c
MP
478092011-07-15 Marek Polacek <mpolacek@redhat.com>
47810
8991e135
MP
47811 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47812 "aux_cache->nlibs < 0".
47813
b902330c
MP
47814 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47815 in the reload-count case.
47816
99710781
LD
478172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47818
47819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47820 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47821 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47823 * sysdeps/x86_64/multiarch/strcat.S: New file.
47824 * sysdeps/x86_64/multiarch/strncat.S: New file.
47825 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47827 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47828 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47830 (USE_AS_STRCAT): Define.
47831 Add strcat and strncat support.
47832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47835 * string/strncat.c: Update.
47836 (USE_AS_STRNCAT): Define.
47837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47838 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47839 and i7.
47840 * sysdeps/x86_64/multiarch/init-arch.h
47841 (bit_Prefer_PMINUB_for_stringop): New.
47842 (index_Prefer_PMINUB_for_stringop): Likewise.
47843 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47844 bit_Prefer_PMINUB_for_stringop.
47845
7dc6bd90
UD
478462011-07-19 Ulrich Drepper <drepper@gmail.com>
47847
47848 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47849 buffer64.
47850 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47851 of casting of buffer.
47852 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47853 buffer32 and buffer64.
47854 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47855 writes instead of casting of buffer.
47856 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47857 buffer32.
47858 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47859 casting of buffer.
47860
e0e72284
AS
478612011-07-19 Andreas Schwab <schwab@redhat.com>
47862
47863 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47864
feb1eb0b
UD
478652011-07-19 Ulrich Drepper <drepper@gmail.com>
47866
47867 * nscd/nscd.c (termination_handler): Don't do anything for a database
47868 if it has not yet been initialized.
47869
298711ff
UD
478702011-07-18 Ulrich Drepper <drepper@gmail.com>
47871
47872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47873
478742011-07-15 Marek Polacek <mpolacek@redhat.com>
47875
47876 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47877
f9d68389
UD
478782011-07-18 Ulrich Drepper <drepper@gmail.com>
47879
47880 * po/nl.po: Update from translation team.
47881 * po/sv.po: Likewise.
47882
db290cf5
RM
478832011-07-16 Roland McGrath <roland@hack.frob.com>
47884
47885 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47886 now disallowed by GCC.
5c550700 47887
fd5e21c7
RM
47888 * configure.in (use-default-link): Default to yes if a test -shared
47889 link meets our qualifications.
47890 * configure: Regenerated.
47891
5c550700
RM
47892 * config.make.in (output-format): New variable.
47893 * configure.in: Check for ld --print-output-format support.
47894 * configure: Regenerated.
47895 * Makerules ($(common-objpfx)format.lds)
47896 [$(output-format) != unknown]: Just use $(output-format),
47897 instead of the linker-script munging.
47898
9fa2c032
RM
478992011-07-14 Roland McGrath <roland@hack.frob.com>
47900
a6928d51
RM
47901 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47902 of $(common-objpfx)shlib.lds.
47903 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47904
661607b3
RM
47905 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47906 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47907
9fa2c032
RM
47908 * configure.in (-z relro check): Adjust test code to add a large
47909 writable data section after it.
47910 * configure: Regenerated.
47911
defe9061
RM
479122011-07-11 Roland McGrath <roland@hack.frob.com>
47913
47914 * configure.in (-z relro check): Fix test code to make the variable
47915 truly const.
47916 * configure: Regenerated.
47917
319b9ad4
UD
479182011-07-11 Ulrich Drepper <drepper@gmail.com>
47919
47920 * nscd/nscd.h (struct traced_file): Define.
47921 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47922 elements. Add traced_files.
47923 (inotify_fd): Declare.
47924 (register_traced_file): Declare.
47925 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47926 (inotify_fd): Export.
47927 (resolv_conf_descr): Remove.
47928 (nscd_init): Move inotify descriptor creation to main.
47929 Don't register files for notification here.
47930 (register_traced_file): New function.
47931 (invalidate_cache): Don't use reset_res to determine whether to call
47932 res_init, go through the list of registered files.
47933 (main_loop_poll): The inotify descriptors are now stored in the
47934 structures for the traced files.
47935 (main_loop_epoll): Likewise
47936 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47937 to __nss_disable_nscd.
47938 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47939 for a database anymore. Check the records for all the registered
47940 files instead.
47941 * nss/Makefile (libnss_files-routines): Add files-init.
47942 (libnss_db-routines): Add db-init.
47943 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47944 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47945 * nss/nss_db/db-init.c: New file.
47946 * nss/nss_files/files-init.c: New file.
47947 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47948 __nss_lookup_function.
47949 (__nss_lookup_function): Call nss_load_library.
47950 (nss_load_all_libraries): New function.
47951 (__nss_disable_nscd): Take parameter with callback function for files
47952 to register. Set is_nscd. Load all the DSOs for the NSS modules
47953 used for the cached services.
47954 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47956 options for features to all the files in nscd.
47957
47958 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47959
23bee3e8
RM
479602011-07-10 Roland McGrath <roland@hack.frob.com>
47961
47962 * csu/elf-init.c (__libc_csu_init): Comment typo.
47963
46a5b7f0
UD
479642011-07-09 Ulrich Drepper <drepper@gmail.com>
47965
47966 * po/pl.po: Update from translation team.
47967 * po/ja.po: Likewise.
47968 * po/ru.po: Likewise.
47969 * po/ko.po: Likewise.
47970 * po/fr.po: Likewise.
47971
d30cf5bb
RM
479722011-07-09 Roland McGrath <roland@hack.frob.com>
47973
113ddea4
RM
47974 * configure.in (.ctors/.dtors header and trailer check):
47975 Use an empirical test on a built program.
47976 * configure: Regenerated.
47977
574920b4
RM
47978 * configure.in (-z relro check): Use an empirical test on a built DSO.
47979 Detect, but do not require, on ia64.
47980 * configure: Regenerated.
47981
d30cf5bb
RM
47982 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47983 Update tests that use readelf to use $READELF instead.
47984 * configure: Regenerated.
47985
8538fdb3
UD
479862011-07-08 Ulrich Drepper <drepper@gmail.com>
47987
47988 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47989 if the result is not used.
47990
04d08991
AJ
479912011-07-05 Andreas Jaeger <aj@suse.de>
47992
47993 [BZ#9696]
47994 * stdlib/tst-strtod.c: Add testcase.
47995
de283087
AD
479962011-07-07 Ulrich Drepper <drepper@gmail.com>
47997
4e5f31c8 47998 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47999 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48000 The latter has a higher limit. Take additional parameter to pass to
48001 the new function.
48002 (__pathconf): Pass file to __statfs_link_max.
48003 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48004 __statfs_link_max.
48005 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48006 __statfs_link_max.
48007
de283087
AD
48008 [BZ #12868]
48009 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48011 Handle Lustre.
48012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48013 (__statfs_filesize_max): Likewise.
48014 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48015
c75fa153
AJ
480162011-07-05 Andreas Jaeger <aj@suse.de>
48017
48018 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48019
1a544854
UD
480202011-07-06 Marek Polacek <mpolacek@redhat.com>
48021
48022 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48023 `status' variable.
48024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48025 Likewise.
48026
6f0eec67
UD
480272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48028
48029 * Makefile (strop-tests): Add strncat.
48030 * string/test-strncat.c: New file.
48031
aae30307
UD
480322011-06-30 Marek Polacek <mpolacek@redhat.com>
48033
48034 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48035
c0cfb5eb
UD
480362011-06-21 Andreas Jaeger <aj@suse.de>
48037
48038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48039 Copy rule from iconvdata/Makefile.
48040
01636b21
UD
480412011-07-06 Ulrich Drepper <drepper@gmail.com>
48042
48043 [BZ #12922]
48044 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48045 but no long options are defined, just return 'W'.
48046
9895c8bc
UD
480472011-06-22 Marek Polacek <mpolacek@redhat.com>
48048
48049 [BZ #9696]
48050 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48051
5d4cf042
UD
480522011-07-06 Ulrich Drepper <drepper@gmail.com>
48053
48054 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48055 netgroups to read.
960e5535 48056 (innetgr): Likewise.
5d4cf042 48057
751eb97e
RM
480582011-07-05 Roland McGrath <roland@hack.frob.com>
48059
48060 * config.make.in (install_root): Default to $(DESTDIR).
48061
f15f1e45
UD
480622011-07-05 Ulrich Drepper <drepper@gmail.com>
48063
48064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48065
4e34ac6a
RM
480662011-07-02 Roland McGrath <roland@hack.frob.com>
48067
5e9b6af4
RM
48068 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48069
84f9ea0f
RM
48070 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48071 containing directory rather than embedding absolute directory names.
48072
ea5ee9f7
RM
48073 * scripts/check-local-headers.sh: Rewritten using awk.
48074 Match by word, not by line. Print error messages for matches.
48075 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48076
1b74661a
RM
48077 * Makerules [shlib-lds-flags empty]:
48078 ($(common-objpfx)libc_pic.opts): New target.
48079 ($(common-objpfx)libc_pic.os.clean): New target.
48080 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48081
48082 * config.make.in (OBJCOPY): New variable.
48083 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48084 * configure: Regenerated.
48085
f781ef40
RM
48086 * config.make.in (use-default-link): New variable.
48087 * configure.in (use_default_link): Grok --with-default-link to set it.
48088 * configure: Regenerated.
48089 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48090 (shlib-lds, shlib-lds-flags): Define to empty.
48091
2d4fa81e
RM
48092 * Makerules (shlib-lds): New variable.
48093 (shlib-lds-flags): New variable.
48094 (build-shlib, build-moduile, build-module-asneeded): Use it.
48095 ($(common-objpfx)libc.so): Use $(shlib-lds).
48096 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48097 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48098
31fffa6b
RM
48099 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48100 DT_FLAGS/DT_FLAGS_1 with zero flags.
48101
4e34ac6a
RM
48102 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48103 linker script munging.
48104
fcfc776b
UD
481052011-07-02 Ulrich Drepper <drepper@gmail.com>
48106
48107 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48108 as 128-bit value.
48109 * crypt/sha512.c (sha512_process_block): Perform total addition using
48110 128-bit if possible.
48111 (__sha512_finish_ctx): Likewise.
48112 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48113 as 64-bit value.
48114 * crypt/sha256.c (SWAP64): Define.
48115 (sha256_process_block): Perform total addition using 64-bit if
48116 possible.
48117 (__sha256_finish_ctx): Likewise.
48118
99231d9a
UD
481192011-07-01 Ulrich Drepper <drepper@gmail.com>
48120
48121 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48123 * nscd/hstcache.c (cache_addhst): Likewise.
48124 * nscd/grpcache.c (cache_addgr): Likewise.
48125 * nscd/aicache.c (addhstaiX): Likewise
48126 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48127
445b4a53
TK
481282011-07-01 Thorsten Kukuk <kukuk@suse.de>
48129
48130 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48132 * nscd/hstcache.c (cache_addhst): Likewise.
48133 * nscd/grpcache.c (cache_addgr): Likewise.
48134 * nscd/aicache.c (addhstaiX): Likewise
48135
6d4d8e8e
AS
481362011-07-01 Andreas Schwab <schwab@redhat.com>
48137
48138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48139 domain only when needed.
48140
89f654c5
AS
481412011-06-30 Andreas Schwab <schwab@redhat.com>
48142
48143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48144 is always restored.
48145
cf3b23ff
UD
481462011-06-29 Ulrich Drepper <drepper@gmail.com>
48147
48148 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48149 are re-adding the entry.
48150 * nscd/servicescache.c (cache_addserv): Likewise.
48151
751626f9
AJ
481522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48153
48154 * sysdeps/generic/dl-irel.h: fix protection against multiple
48155 inclusions.
48156 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48157
9113ea1f
UD
481582011-06-28 Ulrich Drepper <drepper@gmail.com>
48159
5c0b8d90
UD
48160 [BZ #12935]
48161 * malloc/memusage.sh: Fix quoting in message.
48162 * debug/xtrace.sh: Likewise.
48163
9113ea1f
UD
48164 * configure.in: Remove support for --experimental-malloc option, make
48165 it the default.
48166 * config.make.in: Likewise.
48167 * malloc/Makefile: Likewise.
48168
a4172181
AS
481692011-06-27 Andreas Schwab <schwab@redhat.com>
48170
48171 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48172 two-byte characters.
48173
78a7eee7
RM
481742011-06-27 Roland McGrath <roland@hack.frob.com>
48175
62bede13
RM
48176 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48177 AC_CACHE_CHECK invocation.
48178 * configure: Regenerated.
48179
78a7eee7
RM
48180 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48181
5ce33a62
UD
481822011-06-27 Ulrich Drepper <drepper@gmail.com>
48183
034807a9
UD
48184 [BZ #12350]
48185 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48186 bit from old_res_options.
48187
4902da17
UD
48188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48189
5ce33a62
UD
48190 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48191 value type for setfct.
48192
c2344f56
L
481932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48194
48195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48196 __gettimeofday instead of gettimeofday.
48197
68468076
UD
481982011-06-26 Ulrich Drepper <drepper@gmail.com>
48199
48200 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48201
acb0d739
L
482022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48203
48204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48205
48206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48207 info.
48208
8912479f
L
482092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48210
48211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48212 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48213 strcpy-sse2-unaligned strncpy-sse2-unaligned
48214 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48215 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48216 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48217 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48218 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48221 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48222 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48223 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48224 (STRCPY): Support SSE2 and SSSE3 versions.
48225
d5495a11
UD
482262011-06-24 Ulrich Drepper <drepper@gmail.com>
48227
48228 [BZ #12874]
48229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48230 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48231 kernels which artificially limit size of requests.
48232
0b1cbaae
L
482332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48234
48235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48236 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48237 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48238 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48239 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48240 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48241 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48242 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48245 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48246 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48247 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48248 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48249 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48251 Enable unaligned load optimization for Intel Core i3, i5 and i7
48252 processors.
48253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48254 Define.
48255 (index_Fast_Unaligned_Load): Define.
48256 (HAS_FAST_UNALIGNED_LOAD): Define.
48257
07f494a0
MP
482582011-06-23 Marek Polacek <mpolacek@redhat.com>
48259
48260 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48261
fa3fc0fe
UD
482622011-06-22 Ulrich Drepper <drepper@gmail.com>
48263
48264 [BZ #12907]
48265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48266 until it is clear that the information is realy needed.
48267 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48268
e12df166
AS
482692011-06-22 Andreas Schwab <schwab@redhat.com>
48270
48271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48272
852eb34d
UD
482732011-06-22 Ulrich Drepper <drepper@gmail.com>
48274
84e2a551
UD
48275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48276 /sys/devices/system/cpu/online if it is usable.
48277
852eb34d
UD
48278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48279 reading the information from the /proc filesystem to once a second.
48280
6e502e19
UD
482812011-06-21 Andreas Jaeger <aj@suse.de>
48282
48283 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48284 NULL after inclusion of kernel headers.
48285
75d39ff2
UD
482862011-06-21 Ulrich Drepper <drepper@gmail.com>
48287
51f9aa6a
UD
48288 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48289 calls to internal_setent.
48290
c0244a9d
UD
48291 [BZ #12885]
48292 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48293 addresses using gethostbyname4_r ignore IPv4 addresses.
48294
c5e3c2ae
UD
48295 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48296 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48297
75d39ff2
UD
48298 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48299
42675c6f
DM
483002011-06-20 David S. Miller <davem@davemloft.net>
48301
48302 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48303 inclusions.
48304 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48305
48306 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48307 (elf_irel): Use it.
48308 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48309 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48310 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48311 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48312 * sysdeps/x86_64/dl-irel.h: Likewise.
48313
48314 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48315 * elf/dl-sym.c: Likewise.
48316
57912a71
UD
483172011-06-15 Ulrich Drepper <drepper@gmail.com>
48318
48319 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48320 need to dereference resplen2.
48321
ee22793d
AS
483222011-06-14 Andreas Schwab <schwab@redhat.com>
48323
48324 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48325
a9e836b0
UD
483262011-06-15 Ulrich Drepper <drepper@gmail.com>
48327
77fb9117
UD
48328 * Makeconfig: Define vardbdir and inst_vardbdir.
48329 * nss/Makefile: Add rules to install db-Makefile.
48330
40c1b22c
UD
48331 * nss/nss_db/db-XXX.c: Cleanup.
48332
9f2da732
UD
48333 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48334 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48335 GLIBC_PRIVATE.
48336 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48337 * nss/makedb.c: Implement -g option to specify that value strings
48338 are generated and should not be added to table iterated over for
48339 get*ent calls.
48340 * nss/nss_db/db-initgroups.c: New file.
48341
82e9a1f7
UD
48342 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48343 interface.
48344
c41af17e
UD
48345 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48346 (internal_getgrouplist): Adjust to name change.
48347 Update use_initgroups_entry if this is not the first call.
48348 * nss/databases.def: Add initgroups entry.
48349
a9e836b0
UD
48350 * nss/makedb.c (compute_tables): Check result of multiple hash table
48351 sizes to minimize maximum chain length.
48352
2666d441
UD
483532011-06-14 Ulrich Drepper <drepper@gmail.com>
48354
48355 * Versions.def: Add entry for libnss_db.
48356 * shlib-versions: Likewise.
48357 * nss/Makefile: Add rules to build libnss_db.
48358 * nss/Versions: Add libnss_db information. Organize libnss_files
48359 entries better.
48360 * nss/db-Makefile: Add gshadow support. Change rules for the new
48361 makedb progra. Some minor improvements to generate smaller files.
48362 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48363 here from...
48364 * nss/makedb.c: ...here.
48365 Improve database format to be smaller and require less memory at
48366 runtime.
48367 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48368 db anymore.
48369 * nss/nss_db/db-netgrp.c: Likewise.
48370 * nss/nss_db/db-open.c: Likewise.
48371 * nss/nss_files/flies-XXX.x: Adjust comments.
48372 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48373 * nss/nss_files/files-grp.c: Likewise.
48374 * nss/nss_files/files-hosts.c: Likewise.
48375 * nss/nss_files/files-network.c: Likewise.
48376 * nss/nss_files/files-proto.c: Likewise.
48377 * nss/nss_files/files-pwd.c: Likewise.
48378 * nss/nss_files/files-rpc.c: Likewise.
48379 * nss/nss_files/files-service.c: Likewise.
48380 * nss/nss_files/files-sgrp.c: Likewise.
48381 * nss/nss_files/files-spwd.c: Likewise.
48382 * nss/nss_db/db-alias.c: Removed.
48383 * nss/nss_db/dummy-db.h: Removed.
48384
9ee76b5a
UD
483852011-06-02 Ulrich Drepper <drepper@gmail.com>
48386
48387 * nss/makedb.c: Rewritten to not use database library.
48388 * nss/Makefile: Update to build new makedb program.
48389
c71ca1f8
AJ
483902011-06-14 Andreas Jaeger <aj@suse.de>
48391
48392 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48393 memset declaration.
48394
3154bfb8
UD
483952011-06-10 Andreas Schwab <schwab@redhat.com>
48396
48397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48398 tmpbuf.
48399
b350afab
RM
484002011-06-10 Roland McGrath <roland@hack.frob.com>
48401
decd4e50
RM
48402 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48403 * elf/Makefile ($(objpfx)ld.so): Likewise.
48404
5615eaf2
RM
48405 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48406 Don't list ld.so twice in dependencies.
48407
48408 * posix/bug-regex31.c: Include <stdlib.h>.
48409
48410 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48411
48412 * nis/nss_compat/compat-spwd.c
48413 (getspent_next_nss_netgr): Remove unused variable.
48414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48415
48416 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48417 nonmembers" output to use the right array.
48418
48419 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48420
48421 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48422
48423 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48424 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48425 * catgets/gencat.c (read_input_file): Likewise.
48426 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48427
48428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48429 variable definition inside #if's controlling its use.
48430
48431 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48432
48433 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48434
48435 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48436
48437 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48438 unreachable code.
48439
48440 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48441
b68e08db
RM
48442 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48443 * configure: Regenerated.
48444
b350afab
RM
48445 * Makerules: Revert last change.
48446 * elf/Makefile: Likewise.
48447
28368601
RM
484482011-06-09 Roland McGrath <roland@hack.frob.com>
48449
48450 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48451 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48452 (reloc-link): Likewise.
48453
11988f8f
UD
484542011-06-09 Ulrich Drepper <drepper@gmail.com>
48455
48456 * elf/Makefile: Add rules to build pldd.
48457 * elf/pldd.c: New file.
48458 * elf/pldd-xx.c: New file.
48459
e80fab37
UD
484602011-06-07 Ulrich Drepper <drepper@gmail.com>
48461
48462 * version.h: Update for 2.15 development version.
48463
9b849836
DM
484642011-06-07 David S. Miller <davem@davemloft.net>
48465
48466 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48467 ifuncs.
48468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48469 elf_machine_lazy_rel): Likewise.
48470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48472 elf_machine_lazy_rel): Likewise.
48473 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48474 dl_hwcap via passed in argument.
48475 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48476 Likewise.
48477
5a31b283
AK
484782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48479
48480 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48481
069e52f8
RM
484822011-06-06 Roland McGrath <roland@hack.frob.com>
48483
48484 [BZ #12849]
48485 * manual/fdl-1.1.texi: New file, verbatim from:
48486 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48487 * manual/lgpl-2.1.texi: New file, verbatim from:
48488 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48489 * manual/Makefile (licenses): New variable, list those new file names.
48490 (texis): Use it.
48491 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48492
48493 * manual/fdl.texi: File removed.
48494 * manual/lesser.texi: File removed.
48495 * manual/libc.texinfo (Copying, Documentation License):
48496 Use new @include file names, put @appendix directive before @include.
48497
f16846a5
JJ
484982011-06-04 Jakub Jelinek <jakub@redhat.com>
48499
48500 [BZ #12841]
48501 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48502 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48503 (mq_open): Add __NTH.
48504
3d29045b
L
485052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48506
48507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48508 Assume Intel Core i3/i5/i7 processor if AVX is available.
48509
8c297311
UD
485102011-05-31 Ulrich Drepper <drepper@gmail.com>
48511
48512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48513 typo.
48514
c8fc0c91
UD
485152011-05-31 Andreas Schwab <schwab@redhat.com>
48516
48517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48518 memory. Use alloca_account. Fix memory leak when retrying.
48519
5b27a807
UD
485202011-05-31 Ulrich Drepper <drepper@gmail.com>
48521
356f8bc6
UD
48522 * version.h (RELEASE): Bump for 2.14 release.
48523 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48524
5b27a807
UD
48525 * config.make.in (RANLIB): Remove entry.
48526
01f16ab0
UD
485272011-05-30 Ulrich Drepper <drepper@gmail.com>
48528
41fce8bd
UD
48529 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48530 (libc.pot): Work around missing support for .ksh extension in xgettext.
48531
4769ae77
UD
48532 [BZ #12684]
48533 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48534 if both request failed.
48535 (send_dg): In case of server errors clear resplen or *resplen2.
48536
6b1e7d19
UD
48537 [BZ #12454]
48538 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48539 when there are multiple maps.
48540 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48541 (_dl_fini): Remove test here.
48542
01f16ab0
UD
48543 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48544
b1ebd700
UD
485452011-05-29 Ulrich Drepper <drepper@gmail.com>
48546
7ae22829
UD
48547 [BZ #12350]
48548 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48549 bit from old_res_options.
48550 (gaih_inet): Likewise.
48551
553149f6 48552 [BZ #11099]
18a84741 48553 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48554 as signed.
48555
652ffab1
UD
48556 * resolv/res_init.c (res_setoptions): Make the code more compact.
48557
16985fd0
UD
48558 [BZ #11558]
48559 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48560 set RES_USEVC.
48561
0464f746
UD
48562 [BZ #11634]
48563 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48564
7d17596c
UD
48565 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48566
cf6bbbd7
UD
48567 [BZ #11781]
48568 * malloc/malloc.h: Declare malloc hook variables as volatile.
48569
13f1ab36
UD
48570 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48571 in last patch.
48572
b1ebd700
UD
48573 [BZ #11799]
48574 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48575 raise in the comment.
80e2212d
UD
48576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48579
ce67228d
UD
485802011-05-28 Ulrich Drepper <drepper@gmail.com>
48581
8887a920
UD
48582 [BZ #12811]
48583 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48584 grow the buffers more if it already has to be sufficient.
48585 (build_wcs_upper_buffer): Likewise.
48586 * posix/regexec.c (check_matching): Likewise.
48587 (clean_state_log_if_needed): Likewise.
48588 (extend_buffers): Don't enlarge buffers beyond size of the input
48589 buffer.
48590 Patches mostly by Emil Wojak <emil@wojak.eu>.
48591 * posix/bug-regex32.c: New file.
48592 * posix/Makefile (tests): Add bug-regex32.
48593
4f031072
UD
48594 * locale/findlocale.c (_nl_find_locale): Return right away if
48595 _nl_explode_name failed.
48596 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48597
d0478f0c
UD
48598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48599
de81b246
UD
48600 * debug/xtrace.sh: Unify messages.
48601 * malloc/memusage.sh: Likewise.
48602
c738465a
UD
48603 [BZ #12813]
48604 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48605 time symbol from vDSO. Substitute with vsyscall if not available.
48606 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48607 __vdso_time.
48608
f1f929d7
UD
48609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48610 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48612 Add sendmmsg and internal_sendmmsg.
48613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48616
ce67228d
UD
48617 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48618 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48620
e57420c6
UD
486212011-05-27 Ulrich Drepper <drepper@gmail.com>
48622
a8509ca5
UD
48623 [BZ #12813]
48624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48625 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48626 available.
48627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48628 __vdso_getcpu.
48629
e57420c6
UD
48630 [BZ #12814]
48631 * iconvdata/Makefile (tests): Add bug-iconv9.
48632 * iconvdata/bug-iconv9.c: New file.
48633
4d07db15
AS
486342011-05-27 Andreas Schwab <schwab@redhat.com>
48635
48636 [BZ #12814]
48637 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48638
ea486f69
JJ
486392011-05-25 Jakub Jelinek <jakub@redhat.com>
48640
48641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48642 (struct user_regs_struct): Change intcs field back to cs.
48643
6f038433
UD
486442011-05-25 Ulrich Drepper <drepper@gmail.com>
48645
48646 * po/ja.po: Update from translation team.
48647
67f86a25
UD
486482011-05-23 Ulrich Drepper <drepper@gmail.com>
48649
48650 [BZ #12795]
48651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48653
def7fbd6
AS
486542011-05-20 Andreas Schwab <schwab@redhat.com>
48655
48656 * stdlib/longlong.h: Update from GCC.
48657
f50ef8f1
AS
486582011-05-23 Andreas Schwab <schwab@redhat.com>
48659
48660 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48661 parameter name.
48662 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48663 Add parameter name.
48664 (__sysconf): Pass it down.
48665
de7ce8f1
UD
486662011-05-22 Ulrich Drepper <drepper@gmail.com>
48667
f2962a71
UD
48668 [BZ #12671]
48669 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48670 some situations.
48671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48672 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48673 add in in __libc_use_alloca calls. Adjust callers.
48674 (glob): Use malloc in some situations.
48675
de7ce8f1
UD
48676 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48677 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48678 pltexit.
48679
aec84f53
UD
486802011-05-21 Ulrich Drepper <drepper@gmail.com>
48681
05bb4a68
UD
48682 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48683 and CLOCK_BOOTTIME_ALARM.
48684
7ea72f99
UD
48685 [BZ #12782]
48686 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48687 is returned.
48688
7e4afad5
UD
48689 * string/_strerror.c (__strerror_r): Print negative errors as signed
48690 numbers.
48691
8e211fec
UD
48692 [BZ #12777]
48693 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48694 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48695 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48696
f7d82dc9
UD
48697 * configure.in: Fix typo in redirection and correct removal of test
48698 files in two cases.
48699
cc9e536d
UD
48700 [BZ #12788]
48701 * locale/setlocale.c (new_composite_name): Fix test to check for
48702 identical name of all categories.
48703
aec84f53
UD
48704 [BZ #12792]
48705 * libio/filedoalloc.c (local_isatty): New function.
48706 (_IO_file_doallocate): Use local_isatty.
48707 * stdio-common/perror.c (perror): In case a new stream is used
48708 forward the stream error.
48709 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48710 error flag.
48711
78e64fdc
RT
487122011-05-20 Ulrich Drepper <drepper@gmail.com>
48713
34a9094f
UD
48714 [BZ #11869]
48715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48716 alloca.
48717 * include/alloca.h (extend_alloca_account): Define.
48718
78e64fdc
RT
48719 [BZ #11857]
48720 * posix/regex.h: Fix comments with documentation of user-accessible
48721 fields after compilation and describe correct free'ing of pattern
48722 after re_compile_pattern.
48723 Patch by Reuben Thomas <rrt@sc3d.org>.
48724
457bddfc
RA
487252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48726
48727 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48728 and -mno-altivec to prevent the compiler from using Altivec and/or
48729 VSX instructions when the corresponding registers are not available.
48730
a4527b51
AS
487312011-05-19 Andreas Schwab <schwab@redhat.com>
48732
48733 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48734
ed690b2f
UD
487352011-05-19 Ulrich Drepper <drepper@gmail.com>
48736
48737 * libio/freopen.c (freopen): Use __dup2, not dup2.
48738 * libio/freopen64.c (freopen64): Likewise.
48739
8db73634
L
487402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48741
48742 [BZ #12775]
48743 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48744 * math/Makefile (tests): Add test-powl.
48745 (CFLAGS-test-powl.c): Define.
48746 * math/test-powl.c: New file.
48747
0a197a9d
L
487482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48749
48750 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48751
ee30c380
UD
487522011-05-17 Ulrich Drepper <drepper@gmail.com>
48753
48754 [BZ #11837]
48755 * iconvdata/gb18030.c: Update to GB18020-2005.
48756
6ce75379
UD
487572011-05-16 Ulrich Drepper <drepper@gmail.com>
48758
a4b89fd8
AR
48759 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48760 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48761 Patch by Aharon Robbins <arnold@skeeve.com>.
48762
ea389b12
UD
48763 [BZ #11892]
48764 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48765 on the stack.
48766
68a3f91f
UD
48767 [BZ #11895]
48768 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48769 through underflows.
48770
15cc7dd1
UD
48771 [BZ #12766]
48772 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48773 point to strings before performing equality test for error_one_per_line
48774 mode.
48775
f3799213
UD
48776 [BZ #11697]
48777 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48778
d79a9c94
UD
48779 [BZ #11820]
48780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48781 (struct user_fpregs_struct): Avoid __uint*_t types.
48782
56e5eb46
UD
48783 [BZ #6420]
48784 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48785 symbol info. Use it instead of calling _dl_addr locally.
48786 (lock_and_info): New function.
48787 (tr_freehook): Call lock_and_info and pass symbol info as additional
48788 parameter to tr_where.
48789 (tr_mallochook): Likewise.
48790 (tr_reallochook): Likewise.
48791 (tr_memalignhook): Likewise.
48792
6ce75379
UD
48793 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48794 used and couldn't be at all thread-safe.
48795
f8a3b5bf
UD
487962011-05-15 Ulrich Drepper <drepper@gmail.com>
48797
94b7cc37
UD
48798 * libio/freopen.c (freopen): Don't close old file descriptor
48799 before the new one is opened. Instead dup the new file descriptor
48800 to the old one after the new stream is created.
48801 * libio/freopen64.c (freopen64): Likewise.
48802 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48803 * libio/fileops.c (_IO_new_file_close_it): Handle new
48804 _IO_FLAGS2_NOCLOSE flag.
48805 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48806 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48807 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48808 _IO_FLAGS2_NOCLOSE flag.
48809 * include/unistd.h: Add hidden_proto for dup3.
48810 Define __have_dup3.
48811 * io/dup3.c: Define hidden symbol.
48812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48813
bd25564e
UD
48814 [BZ #7101]
48815 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48816 when an incomplete long option is used.
48817 * posix/tst-getopt_long1.c: New file.
48818 * posix/Makefile (tests): Add tst-getopt_long1.
48819
c84cfef4
UD
48820 [BZ #10138]
48821 * scripts/config.guess: Update from autoconf-2.68.
48822 * scripts/config.sub: Likewise.
48823
3b85df27
UD
48824 [BZ #10157]
48825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48826 tests into ...
48827 (has_cpuclock): ...this. New function.
48828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48829 macro here based on has_cpuclock code.
48830
15a856b1
UD
48831 [BZ #10149]
48832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48833 First byte (not low byte) is now always NUL.
48834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48835
05f399e6
UD
48836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48837 Use non-cancelable interfaces.
48838
10a52685 48839 [BZ #9809]
94ecc67d
UD
48840 * locale/iso-639.def: Add entry for Sorani.
48841
f8a3b5bf
UD
48842 [BZ #11901]
48843 * include/stdlib.h: Move include protection to the right place.
48844 Define abort_msg_s. Declare __abort_msg with it.
48845 * stdlib/abort.c (__abort_msg): Adjust type.
48846 * assert/assert.c (__assert_fail_base): New function. Majority
48847 of code from __assert_fail. Allocate memory for __abort_msg with
48848 mmap.
48849 (__assert_fail): Now call __assert_fail_base.
48850 * assert/assert-perr.c: Remove bulk of implementation. Use
48851 __assert_fail_base.
48852 * include/assert.hL Declare __assert_fail_base.
48853 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48854 mmap.
48855 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48856
1af4e298
UD
488572011-05-14 Ulrich Drepper <drepper@gmail.com>
48858
f8a3b5bf 48859 [BZ #11952]
d26dfc60
MG
48860 [BZ #12453]
48861 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48862 until all modules are registered in the DTV.
48863 * elf/Makefile: Add rules to build and run tst-tls19.
48864 * elf/tst-tls19.c: New file.
48865 * elf/tst-tls19mod1.c: New file.
48866 * elf/tst-tls19mod2.c: New file.
48867 * elf/tst-tls19mod3.c: New file.
48868 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48869
2fc54d6f
UD
48870 [BZ #12083]
48871 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48872 correctly.
48873
98d76b46
UD
48874 [BZ #12601]
48875 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48876 two-byte sequence errors.
48877 * iconvdata/Makefile (tests): Add bug-iconv8.
48878 * iconvdata/bug-iconv8.c: New file.
48879
da3c19ef
UD
48880 [BZ #12626]
48881 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48882 buf2 definition.
48883
ca408c15
UD
48884 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48885
d6f67f7d
UD
48886 [BZ #12432]
48887 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48888 (dummy_getcfa): New function.
48889 (init): Get _Unwind_GetCFA address, use dummy if not found.
48890 (backtrace_helper): In recursion check, also check whether CFA changes.
48891 (__backtrace): Completely initialize arg.
48892
1af4e298 48893 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48894 storing incomplete byte sequence in state object. Avoid testing for
48895 guaranteed too small input if we know there is enough data available.
1af4e298 48896
da62f81b
AS
488972011-05-11 Andreas Schwab <schwab@redhat.com>
48898
48899 * Makeconfig (+link-pie): Indent.
48900 * Rules (binaries-pie): Define if $(have-fpie) and
48901 $(build-shared).
48902 (binaries-shared): Also filter out $(binaries-pie).
48903 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48904 * nscd/Makefile (others-pie): Add nscd.
48905 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48906 ($(objpfx)nscd): Remove command override.
48907 * login/Makefile (others-pie): Add pt_chown.
48908 ($(objpfx)pt_chown): Remove command override.
48909 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48910 remove command overrides.
48911
fcabc0f8
UD
489122011-05-13 Ulrich Drepper <drepper@gmail.com>
48913
20030ae6
UD
48914 * libio/tst_putwc.c: Fix error messages.
48915
fcabc0f8
UD
48916 [BZ #12724]
48917 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48918 currently writing and seek to current position when not.
48919 * libio/Makefile (tests): Add bug-fclose1.
48920 * libio/bug-fclose1.c: New file.
48921
320a5dc0
PB
489222011-05-12 Ulrich Drepper <drepper@gmail.com>
48923
48924 [BZ #12511]
48925 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48926 don't set DF_1_NODELETE here.
48927 (do_lookup_x): When entering new entry test for copy relocation
48928 and if necessary set DF_1_NODELETE flag.
48929 * elf/tst-unique4.cc: New file.
48930 * elf/tst-unique4.h: New file.
48931 * elf/tst-unique4lib.cc: New file.
48932 * elf/Makefile: Add rules to build and run tst-unique4.
48933 Patch by Piotr Bury <pbury@goahead.com>.
48934
22836f52
UD
489352011-05-11 Ulrich Drepper <drepper@gmail.com>
48936
f574184a
UD
48937 [BZ #12052]
48938 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48939
e1fb097f
UD
48940 [BZ #12625]
48941 * misc/mntent_r.c (addmntent): Flush the stream after the output
48942
22836f52
UD
48943 [BZ #12393]
48944 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48945 (is_trusted_path_normalize): Skip initial colon. Append slash
48946 to empty buffer. Duplicate is_trusted_path code but allow
48947 constructed patch to be prefix.
48948 (is_dst): Allow $ORIGIN followed by /.
48949 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48950 Correct testing of result of is_trusted_path_normalize
48951 (decompose_rpath): Fix warning.
48952
7b3b0b2a
UD
489532011-05-10 Ulrich Drepper <drepper@gmail.com>
48954
48955 [BZ #11257]
48956 * grp/initgroups.c (internal_getgrouplist): When we found the service
48957 list through the initgroups entry in nsswitch.conf do not always
48958 continue on a successful lookup. Don't always use the
eac80ce2 48959 __nss_group_database value if it is set.
7b3b0b2a
UD
48960 * nss/nsswitch.conf (initgroups): Change action for successful db
48961 lookup to continue for compatibility.
48962
2a81eaa5
UD
489632011-05-09 Ulrich Drepper <drepper@gmail.com>
48964
be97a69e
UD
48965 [BZ #11532]
48966 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48967 and CP774 modules.
48968 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48969 and CP774 modules.
48970 * iconvdata/tst-tables.sh: Likewise.
48971 * iconvdata/cp770.c: New file.
48972 * iconvdata/cp771.c: New file.
48973 * iconvdata/cp772.c: New file.
48974 * iconvdata/cp773.c: New file.
48975 * iconvdata/cp774.c: New file.
48976 * iconvdata/testdata/CP770: New file.
48977 * iconvdata/testdata/CP770..UTF8: New file.
48978 * iconvdata/testdata/CP771: New file.
48979 * iconvdata/testdata/CP771..UTF8: New file.
48980 * iconvdata/testdata/CP772: New file.
48981 * iconvdata/testdata/CP772..UTF8: New file.
48982 * iconvdata/testdata/CP773: New file.
48983 * iconvdata/testdata/CP773..UTF8: New file.
48984 * iconvdata/testdata/CP774: New file.
48985 * iconvdata/testdata/CP774..UTF8: New file.
48986
48987 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48988 END CHARMAP line.
48989 * iconvdata/gen-8bit-gap.sh: Likewise.
48990 * iconvdata/gen-8bit.sh: Likewise.
48991
c1e9e399
UD
48992 * locale/iso-639.def: Add ary entry.
48993
24c55fb3 48994 [BZ #11258]
96b4b1b0
UD
48995 * locale/C-translit.h.in: Add U20A1 transliteration.
48996
bdc2f971
KB
48997 [BZ #12178]
48998 * locale/iso-639.def: Add wae entry.
48999 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49000
2952b117
UD
49001 [BZ #12545]
49002 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49003 for n.
49004
2a81eaa5
UD
49005 [BZ #12711]
49006 * locale/C-translit.h.in: Add entry for U20B9.
49007 Patch by pravin.d.s@gmail.com.
49008
28377d1b
UD
490092011-05-08 Ulrich Drepper <drepper@gmail.com>
49010
7fb90fb8
UD
49011 [BZ #12713]
49012 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49013 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49014 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49015 in rtld. Use *stat64.
7fb90fb8 49016 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49017 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49018 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49019 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49020 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49021 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49022 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49023 __fstatat64 macros.
7fb90fb8
UD
49024 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49025 * dirent/rewinddir.c: Add libc_hidden_def.
49026 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49027 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49028
28377d1b
UD
49029 * include/dirent.h (__alloc_dir): Add flags parameter.
49030 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49031 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49032 __alloc_dir.
49033 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49034 from fdopendir if O_CLOEXEC is already set.
49035
66bdbaa4
AM
490362011-03-15 Alan Modra <amodra@gmail.com>
49037
49038 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49039 l_tls_firstbyte_offset non-zero. Save padding offset in
49040 l_tls_firstbyte_offset for later use.
49041 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49042 freeing static tls block.
49043
95721191
JN
490442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49045
49046 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49047 where #ifdef was intended. The intent is to prevent ARG_MAX from
49048 being defined by the kernel headers.
49049
f87dfb1f
UD
490502011-05-07 Ulrich Drepper <drepper@gmail.com>
49051
49052 [BZ #12734]
49053 * resolv/resolv.h: Define RES_NOTLDQUERY.
49054 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49055 no-tld-query and set RES_NOTLDQUERY.
49056 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49057 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49058 modern BIND to search name as TLD unless forbidden.
49059
47c3cd7a
UD
490602011-05-07 Petr Baudis <pasky@suse.cz>
49061 Ulrich Drepper <drepper@gmail.com>
49062
49063 [BZ #12393]
49064 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49065 (is_trusted_path): ...to here.
c1e9ea35 49066 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49067 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49068 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49069
8a35c912
PP
490702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49071
49072 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49073 __BEGIN/__END_DECLS.
49074
acd41f47
UD
490752011-05-06 Ulrich Drepper <drepper@gmail.com>
49076
49077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49078 NSS_STATUS_NOTFOUND if no record was found.
49079
597df647
AS
490802011-05-05 Andreas Schwab <schwab@redhat.com>
49081
49082 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49083 (headers-not-in-tirpc): Remove rpc/netdb.h
49084 * resolv/netdb.h: Revert last change.
49085
b9af1301
PP
490862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49087
49088 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49089 circular dependency between libgcc.a and libc.a.
49090
4e34d5f5
AS
490912011-05-05 Andreas Schwab <schwab@redhat.com>
49092
49093 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49094 * nis/Makefile: Don't install rpcsvc/*.
49095 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49096 instead of <rpc/types.h>.
49097 (MAXHOSTNAMELEN): Define.
49098
00ee369c
AS
490992011-05-03 Andreas Schwab <schwab@redhat.com>
49100
49101 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49102
0b592a30
MB
491032011-04-28 Maciej Babinski <mbabinski@google.com>
49104
49105 [BZ #12714]
49106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49107 gethostbyname4_r when IPv6 results are possible.
49108
6e04cbbe
UD
491092011-05-02 Ulrich Drepper <drepper@gmail.com>
49110
49111 [BZ #12723]
49112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49113 _PC_PIPE_BUF handling.
49114
e4ecafe0
BH
491152011-04-30 Bruno Haible <bruno@clisp.org>
49116
49117 [BZ #12717]
49118 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49119 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49120 to 'int'.
49121 * inet/getnameinfo.c (getnameinfo): Likewise.
49122
125ee683
UD
491232011-04-29 Ulrich Drepper <drepper@gmail.com>
49124
49125 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49126 to groups setting in database lookup.
49127 * nss/nsswitch.conf: Add initgroups entry.
49128
b722481a
EB
491292011-04-22 Ulrich Drepper <drepper@gmail.com>
49130
49131 [BZ #12685]
49132 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49133 mode string.
49134 Patch by Eric Blake <eblake@redhat.com>.
49135
4df46dbd
L
491362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49137
49138 * sunrpc/Makefile (need-export-routines): Add svc_run.
49139 (routines): Remove svc_run.
49140 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49141 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49142 * sunrpc/svc_run.c (svc_run): Likewise.
49143 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49144
e84142d2
UD
491452011-04-21 Ulrich Drepper <drepper@gmail.com>
49146
49147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49148 problem in reallocation in last patch.
49149
877175d8
UD
491502011-04-20 Ulrich Drepper <drepper@gmail.com>
49151
49152 * sunrpc/Makefile: Move inclusion of Rules.
49153
ab8eed78
UD
491542011-04-19 Ulrich Drepper <drepper@gmail.com>
49155
49156 * nss/nss_files/files-initgroups.c: New file.
49157 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49158 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49159 _nss_files_initgroups_dyn.
49160
e3d8f584
RS
491612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49162
49163 * elf/elf.h (R_ARM_IRELATIVE): Define.
49164
af190f45
UD
491652011-04-19 Ulrich Drepper <drepper@gmail.com>
49166
49167 * po/ru.po: Update from translation team.
49168
53cf59ef
UD
491692011-04-17 Ulrich Drepper <drepper@gmail.com>
49170
49171 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49172 dependencies.
49173
4c559bcd
MF
491742011-02-06 Mike Frysinger <vapier@gentoo.org>
49175
49176 [BZ #12653]
49177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49178 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49182
4420675c
AS
491832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49184
49185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49186 differing bytes.
49187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49190
75ea32ab
UD
491912011-04-17 Ulrich Drepper <drepper@gmail.com>
49192
49193 [BZ #12420]
49194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49195 storing it.
49196 * stdlib/bug-getcontext.c: New file.
49197 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49198
27390476
AK
491992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49200
49201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49202 instructions into .machine "z9-109".
49203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49204 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49205
10442705
AK
492062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49207
49208 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49209 between environment variables and auxiliary vector.
49210
7b57bfe5
UD
492112011-04-16 Ulrich Drepper <drepper@gmail.com>
49212
49213 * Makefile: Add rules to build linkobj/libc.so.
49214 * include/libc-symbols.h: Define libc_hidden_nolink.
49215 * include/rpc/auth.h: Mark functions which are to be hidden.
49216 * include/rpc/auth_des.h: Likewise.
49217 * include/rpc/auth_unix.h: Likewise.
49218 * include/rpc/clnt.h: Likewise.
49219 * include/rpc/des_crypt.h: Likewise.
49220 * include/rpc/key_prot.h: Likewise.
49221 * include/rpc/pmap_clnt.h: Likewise.
49222 * include/rpc/pmap_prot.h: Likewise.
49223 * include/rpc/pmap_rmt.h: Likewise.
49224 * include/rpc/rpc_msg.h: Likewise.
49225 * include/rpc/svc.h: Likewise.
49226 * include/rpc/svc_auth.h: Likewise.
49227 * include/rpc/xdr.h: Likewise.
49228 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49229 * nss/Makefile: Likewise.
49230 * sunrpc/Makefile: Don't install headers. Build library with normal
49231 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49232 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49233 for the compat linking library. Remove use of INTDEF/INTUSE.
49234 * sunrpc/auth_none.c: Likewise.
49235 * sunrpc/auth_unix.c: Likewise.
49236 * sunrpc/authdes_prot.c: Likewise.
49237 * sunrpc/authuxprot.c: Likewise.
49238 * sunrpc/clnt_gen.c: Likewise.
49239 * sunrpc/clnt_perr.c: Likewise.
49240 * sunrpc/clnt_raw.c: Likewise.
49241 * sunrpc/clnt_simp.c: Likewise.
49242 * sunrpc/clnt_tcp.c: Likewise.
49243 * sunrpc/clnt_udp.c: Likewise.
49244 * sunrpc/clnt_unix.c: Likewise.
49245 * sunrpc/des_crypt.c: Likewise.
49246 * sunrpc/des_soft.c: Likewise.
49247 * sunrpc/get_myaddr.c: Likewise.
49248 * sunrpc/key_call.c: Likewise.
49249 * sunrpc/key_prot.c: Likewise.
49250 * sunrpc/netname.c: Likewise.
49251 * sunrpc/pm_getmaps.c: Likewise.
49252 * sunrpc/pm_getport.c: Likewise.
49253 * sunrpc/pmap_clnt.c: Likewise.
49254 * sunrpc/pmap_prot.c: Likewise.
49255 * sunrpc/pmap_prot2.c: Likewise.
49256 * sunrpc/pmap_rmt.c: Likewise.
49257 * sunrpc/publickey.c: Likewise.
49258 * sunrpc/rpc_cmsg.c: Likewise.
49259 * sunrpc/rpc_common.c: Likewise.
49260 * sunrpc/rpc_dtable.c: Likewise.
49261 * sunrpc/rpc_prot.c: Likewise.
49262 * sunrpc/rpc_thread.c: Likewise.
49263 * sunrpc/rtime.c: Likewise.
49264 * sunrpc/svc.c: Likewise.
49265 * sunrpc/svc_auth.c: Likewise.
49266 * sunrpc/svc_authux.c: Likewise.
49267 * sunrpc/svc_raw.c: Likewise.
49268 * sunrpc/svc_run.c: Likewise.
49269 * sunrpc/svc_simple.c: Likewise.
49270 * sunrpc/svc_tcp.c: Likewise.
49271 * sunrpc/svc_udp.c: Likewise.
49272 * sunrpc/svc_unix.c: Likewise.
49273 * sunrpc/svcauth_des.c: Likewise.
49274 * sunrpc/xcrypt.c: Likewise.
49275 * sunrpc/xdr.c: Likewise.
49276 * sunrpc/xdr_array.c: Likewise.
49277 * sunrpc/xdr_float.c: Likewise.
49278 * sunrpc/xdr_intXX_t.c: Likewise.
49279 * sunrpc/xdr_mem.c: Likewise.
49280 * sunrpc/xdr_rec.c: Likewise.
49281 * sunrpc/xdr_ref.c: Likewise.
49282 * sunrpc/xdr_sizeof.c: Likewise.
49283 * sunrpc/xdr_stdio.c: Likewise.
49284
e6c61494
UD
492852011-04-10 Ulrich Drepper <drepper@gmail.com>
49286
49287 [BZ #12650]
49288 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49289 * sysdeps/ia64/dl-tls.h: Likewise.
49290 * sysdeps/powerpc/dl-tls.h: Likewise.
49291 * sysdeps/s390/dl-tls.h: Likewise.
49292 * sysdeps/sh/dl-tls.h: Likewise.
49293 * sysdeps/sparc/dl-tls.h: Likewise.
49294 * sysdeps/x86_64/dl-tls.h: Likewise.
49295 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49296
34fe483e
AS
492972011-03-14 Andreas Schwab <schwab@redhat.com>
49298
49299 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49300 rpath element also skip the following colon.
49301 (expand_dynamic_string_token): Add is_path parameter and pass
49302 down to DL_DST_REQUIRED and _dl_dst_substitute.
49303 (decompose_rpath): Call expand_dynamic_string_token with
49304 non-zero is_path. Ignore empty rpaths.
49305 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49306 with zero is_path.
49307
f12a32e6
AS
493082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49309
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49311 Make cancelable.
49312
38a7d692
UD
493132011-04-09 Ulrich Drepper <drepper@gmail.com>
49314
49315 [BZ #12655]
49316 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49317 Patch by Filipe David Manana <fdmanana@apache.org>.
49318
e451d22b
AS
493192011-04-07 Andreas Schwab <schwab@redhat.com>
49320
49321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49322 Maintain aligned stack.
49323 (CHECK_RSP): Remove unused macro.
49324
dedc7c7b
UD
493252011-04-03 Ulrich Drepper <drepper@gmail.com>
49326
49327 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49329
94521213
UD
493302011-04-02 Ulrich Drepper <drepper@gmail.com>
49331
49332 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49333
8cb700c0 49334 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49335
0354e355
L
493362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49337
49338 [BZ #12518]
49339 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49340 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49341 * sysdeps/x86_64/memmove.c: New file.
49342 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49343 (memcpy): Renamed to ...
49344 (__new_memcpy): This.
49345 (memcpy): Provide GLIBC_2_14 memcpy.
49346 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49347 (memcpy): Provide GLIBC_2_2_5 memcpy.
49348
8593482f
UD
493492011-04-01 Ulrich Drepper <drepper@gmail.com>
49350
49351 [BZ #12631]
49352 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49353
81a5726b
AS
493542011-03-30 Andreas Schwab <schwab@redhat.com>
49355
49356 * misc/syncfs.c: New file.
49357 * misc/Makefile (routines): Add syncfs.
49358 * posix/unistd.h: Declare syncfs.
49359 * sysdeps/unix/syscalls.list: Add syncfs.
49360
00e5419f
AS
493612011-04-01 Andreas Schwab <schwab@redhat.com>
49362
49363 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49364 open_by_handle_at.
49365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49372
748876bf
UD
493732011-04-01 Ulrich Drepper <drepper@gmail.com>
49374
658e451d
UD
49375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49382
748876bf
UD
49383 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49384 sync_file_range.c with -fexceptions.
49385 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49386 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49387 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49388 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49389 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49392 sync_file_range as cancellation point
49393 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49394 now a wrapper around __call_sync_file_range with cancellation handling.
49395 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49397 function name to __call_sync_file_range.
49398 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49399 Add call_sync_file_range.
748876bf 49400
6e63d5e1
AS
494012011-04-01 Andreas Schwab <schwab@redhat.com>
49402
49403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49404 bits/timex.h.
6e63d5e1 49405
46998f74
UD
494062011-04-01 Ulrich Drepper <drepper@gmail.com>
49407
4c1423ed
UD
49408 * iconv/iconv.h: Fix typo in comment.
49409 * io/fcntl.h: Likewise.
49410 * libio/stdio.h: Likewise.
49411 * posix/spawn.h: Likewise.
49412 * posix/unistd.h: Likewise.
49413 * stdlib/stdlib.h: Likewise.
49414 * time/time.h: Likewise.
49415 * wcsmbs/wchar.h: Likewise.
49416
158648c0
UD
49417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49418 open_by_handle): Add.
49419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49420 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49421 Augment a few comments.
49422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49427 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49428 open_by_handle.
49429
46998f74
UD
49430 * io/fcntl.h (AT_EMPTY_PATH): Define.
49431
83fe108b
UD
494322011-03-30 Ulrich Drepper <drepper@gmail.com>
49433
49434 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49435 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49436 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49437 to...
49438 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49439 * Versions.def: Add GLIBC_2.14.
49440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49441 Export.
83fe108b 49442
bb242059
UD
494432011-03-22 Ulrich Drepper <drepper@gmail.com>
49444
49445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49446 round counter.
49447 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49448
c97a1282
L
494492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49450
49451 [BZ #12597]
49452 * string/test-strncmp.c (do_page_test): New function.
49453 (check2): Likewise.
49454 (test_main): Call check2.
49455 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49456
2a115601
UD
494572011-03-20 Ulrich Drepper <drepper@gmail.com>
49458
49459 [BZ #12587]
49460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49461 Handle cache information in CPU leaf 4.
49462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49463
8126d904
UD
494642011-03-18 Ulrich Drepper <drepper@gmail.com>
49465
042c49c6 49466 [BZ #12583]
8126d904
UD
49467 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49468 character representation.
49469 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49470
ccfe366e
RA
494712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49472
49473 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49474 END(__isnan) to END(__isnanf) to match function entry point/label
49475 EALIGN(__isnanf,...).
49476
c6e13027
JJ
494772011-03-10 Jakub Jelinek <jakub@redhat.com>
49478
49479 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49480
33f85a3f
UD
494812011-03-10 Ulrich Drepper <drepper@gmail.com>
49482
028478fa
UD
49483 [BZ #12510]
49484 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49485 copy from the symbol referenced in the relocation to initialize the
49486 used variable.
49487 Patch by Piotr Bury <pbury@goahead.com>.
49488 * elf/Makefile: Add rules to build and tst-unique3.
49489 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49490 * elf/tst-unique3.cc: New file.
49491 * elf/tst-unique3.h: New file.
49492 * elf/tst-unique3lib.cc: New file.
49493 * elf/tst-unique3lib2.cc: New file.
49494
33f85a3f
UD
49495 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49496
03592fc7
MF
494972011-03-10 Mike Frysinger <vapier@gentoo.org>
49498
49499 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49500 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49501 to _start.
03592fc7 49502
6a5ee102
UD
495032011-03-06 Ulrich Drepper <drepper@gmail.com>
49504
49505 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49506 to-be-loaded object along a path to loader is ld.so.
49507
7e4ba49c
HJ
495082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49509 Ulrich Drepper <drepper@gmail.com>
49510
49511 * sysdeps/x86_64/memset.S: After aligning destination, code
49512 branches to different locations depending on the value of
49513 misalignment, when multiarch is enabled. Fix this.
49514
495152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49516
49517 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49518 Set _x86_64_preferred_memory_instruction for AMD processsors.
49519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49520 Set bit_Prefer_SSE_for_memop for AMD processors.
49521
13a804de
UD
495222011-03-04 Ulrich Drepper <drepper@gmail.com>
49523
49524 * libio/fmemopen.c (fmemopen): Optimize a bit.
49525
9d25c392
AS
495262011-03-03 Andreas Schwab <schwab@redhat.com>
49527
49528 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49529
a5543c6a
RM
495302011-03-03 Roland McGrath <roland@redhat.com>
49531
49532 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49533
012d35f7
DM
495342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49535
7e4ba49c 49536 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49537 __bzero_ultra1 instead of __memset_ultra1.
49538
4bff6e01
AS
495392011-02-23 Andreas Schwab <schwab@redhat.com>
49540 Ulrich Drepper <drepper@gmail.com>
49541
49542 [BZ #12509]
49543 * include/link.h (struct link_map): Add l_orig_initfini.
49544 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49545 returning unsuccessfully.
49546 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49547 close of a file loaded at startup, restore the original l_initfini
49548 list.
49549 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49550 list, store the pointer.
49551 * elf/Makefile ($(objpfx)noload-mem): New rule.
49552 (noload-ENV): Define.
49553 (tests): Add $(objpfx)noload-mem.
49554 * elf/noload.c: Include <memcheck.h>.
49555 (main): Call mtrace. Close all opened handles.
49556
f2092faf
AS
495572011-02-17 Andreas Schwab <schwab@redhat.com>
49558
49559 [BZ #12454]
49560 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49561 dependencies are missing.
49562
6c8a2e88
ST
495632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49564
f2092faf 49565 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49566 Hurd needs munmap.
49567 * sysdeps/mach/hurd/ifreq.h: New file.
49568
84a42118
PB
495692011-01-27 Petr Baudis <pasky@suse.cz>
49570 Ulrich Drepper <drepper@gmail.com>
49571
071f805e 49572 [BZ 12445]#
84a42118
PB
49573 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49574 to extend_alloca().
49575 * stdio-common/bug23.c: New file.
49576 * stdio-common/Makefile (tests): Add bug23.
49577
e23fe25b
AS
495782010-09-28 Andreas Schwab <schwab@redhat.com>
49579 Ulrich Drepper <drepper@gmail.com>
49580
49581 [BZ #12489]
49582 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49583 before performing relro protection. At old place add assertion
49584 to make sure nothing changed.
49585
d3f02e10
NS
495862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49587 Glauber de Oliveira Costa <glommer@gmail.com>
49588
49589 * elf/elf.h: Add new ARM TLS relocs.
49590
d55fd7a5
RA
495912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49592
49593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49594 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49595 cast from r3.
49596 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49597 'tests' variable.
49598 * sysdeps/wordsize-64/tst-writev.c: New file.
49599
2206397e
RA
496002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49601
49602 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49603 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49604 insns in _dl_start to prevent a TOC reference before relocs are
49605 resolved.
49606
e9433893
UD
496072011-02-15 Ulrich Drepper <drepper@gmail.com>
49608
49609 [BZ #12469]
49610 * Makeconfig: Remove RANLIB definition.
49611 * Makerules: Don't use RANLIB.
49612 * aclocal.m4: Remove ranlib test.
49613 * configure.in: No need to check for ranlib.
49614 * elf/rtld-Rules: Don't use RANLIB.
49615
f75286c6
ST
496162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49617
8e31c82d
ST
49618 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49619 protection macro.
49620 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49621 inclusion protection macro.
49622
f75286c6
ST
49623 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49624 SIGRTMIN and SIGRTMAX and print information in that case only when
49625 SIGRTMIN is defined.
49626
c1d0e639
JJ
496272011-02-11 Jakub Jelinek <jakub@redhat.com>
49628
49629 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49630 arginfo fn returning -1.
49631
49632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49633 and thousands string is zero terminated.
49634
edf9294e
AS
496352011-02-03 Andreas Schwab <schwab@redhat.com>
49636
49637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49638 sysdeps/unix/sysv/linux/bits/socket.h.
49639
2b7e92df
ST
496402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49641
edf9294e
AS
49642 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49643 (__CPU_COUNT): Remove old macros.
49644 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49645 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49646 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49647 (__sched_cpualloc, __sched_cpufree): Add declarations.
49648
a4c7ea7b
UD
496492011-02-05 Ulrich Drepper <drepper@gmail.com>
49650
49651 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49652 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49653 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49654 (readdhstai): Return value of addhstaiX call.
49655 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49656 (addgrbyX): Return value returned by cache_addgr.
49657 (readdgrbyname): Return value returned by addgrbyX.
49658 (readdgrbygid): Likewise.
49659 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49660 (addpwbyX): Return value returned by cache_addpw.
49661 (readdpwbyname): Return value returned by addhstbyX.
49662 (readdpwbyuid): Likewise.
49663 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49664 (addservbyX): Return value returned by cache_addserv.
49665 (readdservbyname): Return value returned by addservbyX:
49666 (readdservbyport): Likewise.
49667 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49668 (addhstbyX): Return value returned by cache_addhst.
49669 (readdhstbyname): Return value returned by addhstbyX.
49670 (readdhstbyaddr): Likewise.
49671 (readdhstbynamev6): Likewise.
49672 (readdhstbyaddrv6): Likewise.
49673 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49674 (readdinitgroups): Return value returned by addinitgroupsX.
49675 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49676 (prune_cache): Keep track of timeout value of re-added entries.
49677 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49678 * nscd/nscd.h: Adjust prototypes of readd* functions.
49679
a0bf67cc
RM
496802011-02-04 Roland McGrath <roland@redhat.com>
49681
49682 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49683 (nis_stats): Likewise.
49684 * nis/nis_modify.c (nis_modify): Likewise.
49685 * nis/nis_remove.c (nis_remove): Likewise.
49686 * nis/nis_add.c (nis_add): Likewise.
49687
49688 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49689
49690 * posix/fnmatch_loop.c: Add some consts.
49691
49692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49693
435b95eb
L
496942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49695
49696 [BZ #12460]
49697 * config.make.in (config-cflags-novzeroupper): Define.
49698 * configure.in: Substitute libc_cv_cc_novzeroupper.
49699 * elf/Makefile (AVX-CFLAGS): Define.
49700 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49701 (CFLAGS-tst-auditmod4a.c): Likewise.
49702 (CFLAGS-tst-auditmod4b.c): Likewise.
49703 (CFLAGS-tst-auditmod6b.c): Likewise.
49704 (CFLAGS-tst-auditmod6c.c): Likewise.
49705 (CFLAGS-tst-auditmod7b.c): Likewise.
49706 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49707
8517b15e
UD
497082011-02-02 Ulrich Drepper <drepper@gmail.com>
49709
49710 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49711 function to the callback.
49712 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49713
10a656fe
AS
497142011-02-02 Andreas Schwab <schwab@redhat.com>
49715
49716 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49717 of errno.
49718
968dad0a
UD
497192011-01-19 Ulrich Drepper <drepper@gmail.com>
49720
9f94d2ea 49721 [BZ #11724]
968dad0a
UD
49722 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49723 of constructors.
49724 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49725 of destructors.
49726 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49727
49728 [BZ #11724]
49729 * elf/Makefile: Add rules to build and run new test.
49730 * elf/tst-initorder.c: New file.
49731 * elf/tst-initorder.exp: New file.
49732 * elf/tst-initordera1.c: New file.
49733 * elf/tst-initordera2.c: New file.
49734 * elf/tst-initordera3.c: New file.
49735 * elf/tst-initordera4.c: New file.
49736 * elf/tst-initorderb1.c: New file.
49737 * elf/tst-initorderb2.c: New file.
49738 * elf/tst-order-a1.c: New file.
49739 * elf/tst-order-a2.c: New file.
49740 * elf/tst-order-a3.c: New file.
49741 * elf/tst-order-a4.c: New file.
49742 * elf/tst-order-b1.c: New file.
49743 * elf/tst-order-b2.c: New file.
49744 * elf/tst-order-main.c: New file.
49745 New test case by George Gensure <werkt0@gmail.com>.
49746
86e92359
UD
497472010-10-01 Andreas Schwab <schwab@redhat.com>
49748
49749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49750 decoding ACE if AI_CANONIDN.
49751
5d5732b0
UD
497522011-01-18 Ulrich Drepper <drepper@gmail.com>
49753
49754 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49755
a77e8cbc
UD
497562011-01-17 Ulrich Drepper <drepper@gmail.com>
49757
6392473f
UD
49758 * version.h (RELEASE): Bump for 2.13 release.
49759 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49760
620a0529
UD
49761 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49762
18ba70a5
UD
49763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49764 MADV_NOHUGEPAGE.
32465c3e
UD
49765 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49771
c0dafcf1
UD
49772 * posix/getconf.c: Update copyright year.
49773 * catgets/gencat.c: Likewise.
49774 * csu/version.c: Likewise.
49775 * debug/catchsegv.sh: Likewise.
49776 * debug/xtrace.sh: Likewise.
49777 * elf/ldconfig.c: Likewise.
49778 * elf/ldd.bash.in: Likewise.
49779 * elf/sprof.c (print_version): Likewise.
49780 * iconv/iconv_prog.c: Likewise.
49781 * iconv/iconvconfig.c: Likewise.
49782 * locale/programs/locale.c: Likewise.
49783 * locale/programs/localedef.c: Likewise.
49784 * malloc/memusage.sh: Likewise.
49785 * malloc/mtrace.pl: Likewise.
49786 * nscd/nscd.c (print_version): Likewise.
49787 * nss/getent.c: Likewise.
49788
a77e8cbc
UD
49789 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49790 PF_CAIF, and PF_ALG.
49791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49792
77e8bddf
AS
497932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49794
1f20b93a
AS
49795 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49796 (modules-names): Use them.
49797 (ifunc-test-modules, ifunc-pie-tests): Define.
49798 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49799 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49800 (test-extras): Likewise.
49801 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49802 $(compile-command.c).
49803 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49804 (all-built-dso): Define.
49805 (check-textrel.out, check-execstack.out): Depend on it.
49806
77e8bddf
AS
49807 * configure.in: Don't override --enable-multi-arch.
49808
bc425b33
UD
498092011-01-15 Ulrich Drepper <drepper@gmail.com>
49810
49811 [BZ #6812]
49812 * nscd/hstcache.c (tryagain): Define.
49813 (cache_addhst): Return tryagain not notfound for temporary errors.
49814 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49815 failed.
49816
794c3ad3
UD
498172011-01-14 Ulrich Drepper <drepper@gmail.com>
49818
70181fdd
UD
49819 [BZ #10563]
49820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49821 to make the syscall.
49822 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49823
794c3ad3
UD
49824 [BZ #12378]
49825 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49826 and fall back to matching as normal character if the string ends before
49827 the matching ']' is found. This is what POSIX requires.
49828 * posix/testfnm.c: Adjust test result.
49829 * posix/globtest.sh: Adjust test result. Add new test.
49830 * posix/tst-fnmatch.input: Likewise.
49831 * posix/tst-fnmatch2.c: Add new test.
49832
68dc9497
AS
498332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49834
49835 * elf/Makefile (check-execstack): Revert last change. Depend on
49836 check-execstack.h.
49837 (check-execstack.h): New target.
49838 (generated): Add check-execstack.h.
49839 * elf/check-execstack.c: Include "check-execstack.h".
49840 (main): Revert last change.
49841 (handle_file): Return zero if GNU_STACK is absent and
49842 DEFAULT_STACK_PERMS doesn't include PF_X.
49843
451f001b
UD
498442011-01-13 Ulrich Drepper <drepper@gmail.com>
49845
cfa28e56
UD
49846 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49847 in child fails because the descriptor is already closed.
8cf8ce17
UD
49848 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49849 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49851
1086d70d
UD
49852 [BZ #12397]
49853 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49854 syscall.
49855
451f001b
UD
49856 [BZ #10484]
49857 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49858 temporary buffer used to handle multi lookups locally.
a85b5cb4 49859 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49860
08769175
UD
498612011-01-12 Ulrich Drepper <drepper@gmail.com>
49862
49863 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49864 loader is ld.so.
49865
5e49c52e
UD
498662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49867
49868 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49869 alignment for SSE2.
49870
60522a5f
UD
498712011-01-12 Ulrich Drepper <drepper@gmail.com>
49872
49873 [BZ #12394]
49874 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49875 characters. When rounding increased number of integer digits recompute
49876 number of groups.
49877 * stdio-common/tst-grouping.c: New file.
49878 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49879
f257bbd7
UD
498802011-01-09 Ulrich Drepper <drepper@gmail.com>
49881
49882 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49883 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49884
49885 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49886 void.
49887 * bits/select.h: Likewise.
49888
fa9c15cb
UD
498892011-01-08 Ulrich Drepper <drepper@gmail.com>
49890
49891 * po/ja.po: Update from translation team.
49892
16c2895f
DM
498932011-01-04 David S. Miller <davem@sunset.davemloft.net>
49894
49895 [BZ #11155]
49896 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49897 implementation just like for lxstat, fxstatat, et al.
49898
2543fef2
JM
498992010-12-27 Jim Meyering <meyering@redhat.com>
49900
49901 [BZ #12348]
49902 * posix/regexec.c (build_trtable): Return failure indication upon
49903 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49904
98727dbe
UD
499052010-12-25 Ulrich Drepper <drepper@gmail.com>
49906
5bd6dc5c
UD
49907 [BZ #12201]
49908 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49909 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49912
97983464
UD
49913 [BZ #12207]
49914 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49915
98727dbe
UD
49916 [BZ #12204]
49917 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49918 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49919
4a531bb0
L
499202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49921
49922 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49923 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49924 script has SORT_BY_INIT_PRIORITY.
49925 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49926 NO_CTORS_DTORS_SECTIONS is defined.
49927 * elf/soinit.c: Likewise.
49928 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49929 NO_CTORS_DTORS_SECTIONS is defined.
49930 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49931 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49932 * sysdeps/sh/init-first.c: Likewise.
49933 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49934
07eb4b71
UD
499352010-12-24 Ulrich Drepper <drepper@gmail.com>
49936
49937 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49938 always use the slow path.
49939
30950a5f
RA
499402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49941
49942 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49943 similar rule which adds the sysdep directories to the header search in
49944 order to pick up the correct platform stackinfo.h.
49945 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49946 perform test if it is, otherwise return successfully without testing.
49947 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49948 DEFAULT_STACK_PERMS define in stackinfo.h.
49949 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49950 defined in stackinfo.h.
49951 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49952 DEFAULT_STACK_PERMS defined in stackinfo.h.
49953 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49954 * sysdeps/ia64/stackinfo.h: Likewise.
49955 * sysdeps/s390/stackinfo.h: Likewise.
49956 * sysdeps/sh/stackinfo.h: Likewise.
49957 * sysdeps/sparc/stackinfo.h: Likewise.
49958 * sysdeps/x86_64/stackinfo.h: Likewise.
49959 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49960 PF_X for powerpc64. Retain PF_X for powerpc32.
49961
db753e2c
UD
499622010-12-19 Ulrich Drepper <drepper@gmail.com>
49963
14b697f7
UD
49964 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49965 accurately.
db753e2c
UD
49966 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49967 GETDENTS_64BIT_ALIGNED.
49968
28300719
UD
499692010-12-14 Ulrich Drepper <dreper@gmail.com>
49970
14b697f7 49971 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49972
4f197237
AS
499732010-12-10 Andreas Schwab <schwab@redhat.com>
49974
dbb0472f
AS
49975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49976 _GNU_SOURCE.
49977
4f197237
AS
49978 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49979 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49980 Remove __restrict.
49981 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49982 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49983
fb88ac72
UD
499842010-12-09 Ulrich Drepper <drepper@gmail.com>
49985
49986 [BZ #11655]
49987 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49988 are initialized.
49989
42acbb92
JJ
499902010-12-09 Jakub Jelinek <jakub@redhat.com>
49991
49992 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49993
c038d98d
UD
499942010-12-03 Ulrich Drepper <drepper@gmail.com>
49995
49996 * po/it.po: Update from translation team.
49997
3a4a2499
L
499982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49999
50000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50001 unused codes.
50002
1e24cf6e
UD
500032010-11-30 Ulrich Drepper <drepper@gmail.com>
50004
50005 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50006
a7690819
AS
500072010-11-24 Andreas Schwab <schwab@redhat.com>
50008
50009 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50010 specially.
50011 (gaih_getanswer_slice): Likewise.
50012
3bf8d1b1
JJ
500132010-10-20 Jakub Jelinek <jakub@redhat.com>
50014
50015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50016
6db52fbb
PB
500172010-05-31 Petr Baudis <pasky@suse.cz>
50018
50019 [BZ #11149]
50020 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50021 silently even in the chroot mode.
50022
eaca7569
UD
500232010-11-22 Ulrich Drepper <drepper@gmail.com>
50024
50025 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50026 last patch a bit. Pretty printing
50027
3056dcdb
UD
500282010-05-31 Petr Baudis <pasky@suse.cz>
50029
50030 [BZ #10085]
50031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50032 initialization of skip_initgroups_dyn.
50033
cf7c9078
UD
500342010-11-19 Ulrich Drepper <drepper@gmail.com>
50035
50036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50038
a1fb5e3e
UD
500392010-11-16 Ulrich Drepper <drepper@gmail.com>
50040
50041 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50042
3540d66b
AS
500432010-11-11 Andreas Schwab <schwab@redhat.com>
50044
50045 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50046 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50047 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50048 ($(objpfx)tst-fnmatch-mem): New rule.
50049 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50050 * posix/tst-fnmatch.c (main): Call mtrace.
50051
13b69574
L
500522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50053
50054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50055 Support Intel processor model 6 and model 0x2c.
50056
da93d214
LM
500572010-11-10 Luis Machado <luisgpm@br.ibm.com>
50058
50059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50060 signed comparison.
50061
8ca52c6e
L
500622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50063
50064 [BZ #12205]
50065 * string/test-strncasecmp.c (check_result): New function.
50066 (do_one_test): Use it.
50067 (check1): New function.
50068 (test_main): Use it.
50069 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50070 Support strcasecmp and strncasecmp.
50071
69da074d
UD
500722010-11-08 Ulrich Drepper <drepper@gmail.com>
50073
50074 [BZ #12194]
50075 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50077
ff02d528
L
500782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50079
50080 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50081 IFUNC support.
50082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50083 memset-x86-64.
50084 * sysdeps/x86_64/multiarch/bzero.S: New file.
50085 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50086 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50087 * sysdeps/x86_64/multiarch/memset.S: New file.
50088 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50090 Set bit_Prefer_SSE_for_memop for Intel processors.
50091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50092 Define.
50093 (index_Prefer_SSE_for_memop): Define.
50094 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50095
344d0b54
LM
500962010-11-04 Luis Machado <luisgpm@br.ibm.com>
50097
50098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50100
c0dde15b
UD
501012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50102
50103 [BZ #12191]
50104 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50105 (__x86_64_raw_data_cache_size_half): Likewise.
50106 (__x86_64_raw_shared_cache_size): Likewise.
50107 (__x86_64_raw_shared_cache_size_half): Likewise.
50108
50109 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50114 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50115 and __x86_64_raw_shared_cache_size_half. Round
50116 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50117 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50118 to multiple of 256 bytes.
50119
0e516e0e
MS
501202010-11-03 Ulrich Drepper <drepper@gmail.com>
50121
50122 [BZ #12167]
50123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50124 of inacessible symlinks. Verify result of symlink before returning it.
50125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50126 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50127
0e012e87
ER
501282010-10-28 Erich Ritz <erichritz@gmail.com>
50129
50130 * math/math.h (isinf): Fix typo in comment.
50131
de0ff7bc
UD
501322010-11-01 Ulrich Drepper <drepper@gmail.com>
50133
50134 * po/da.po: Update from translation team.
50135
fa41c84d
UD
501362010-10-26 Ulrich Drepper <drepper@gmail.com>
50137
50138 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50139 is added to the list.
50140
f0967738
AK
501412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50142 Ulrich Drepper <drepper@gmail.com>
50143
50144 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50145 the global list here. Move code to...
50146 (_dl_add_to_namespace_list): ...here. New function.
50147 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50148 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50149 * elf/dl-load.c (lose): Don't remove the element from the list.
50150 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50151 (_dl_map_object): Likewise.
50152
501532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50154
50155 [BZ #12159]
50156 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50157 into all bytes of SSE register.
50158 Patch by Richard Li <richardpku@gmail.com>.
50159
f0967738 501602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50161
50162 [BZ #12140]
50163 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50164 perturbing.
50165
d0b9e94f
MB
501662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50167
50168 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50169 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50173 submachine.
50174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50175
8e9f92e9
AS
501762010-10-22 Andreas Schwab <schwab@redhat.com>
50177
50178 * include/dlfcn.h (__RTLD_SECURE): Define.
50179 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50180 mode & __RTLD_SECURE instead.
50181 (open_path): Rename preloaded parameter to secure.
50182 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50183 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50184 * elf/dl-deps.c (openaux): Likewise.
50185 * elf/rtld.c (struct map_args): Remove is_preloaded.
50186 (map_doit): Don't use it.
50187 (dl_main): Likewise.
50188 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50189 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50190
bc96fbda
AS
501912010-09-09 Andreas Schwab <schwab@redhat.com>
50192
50193 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50194 (sysd-rules-targets): Remove duplicates.
50195 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50196 rtld-%.$o dependency.
50197
22cd1c9b
AS
501982010-10-18 Andreas Schwab <schwab@redhat.com>
50199
50200 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50201 _dl_map_object do it.
50202
18edac48
UD
502032010-10-19 Ulrich Drepper <drepper@gmail.com>
50204
50205 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50206 fast fma builtins, define the macros in the C99 standard.
50207 (FP_FAST_FMAF): Likewise.
50208 (FP_FAST_FMAL): Likewise.
50209 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50210
50211 * bits/mathdef.h: Update copyright year.
50212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50213
d2050124
MM
502142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50215
50216 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50217 builtins, define the macros in the C99 standard.
50218 (FP_FAST_FMAF): Likewise.
50219 (FP_FAST_FMAL): Likewise.
50220 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50221 multiply/add.
50222 (FP_FAST_FMAF): Likewise.
50223
475facd1
JJ
502242010-10-15 Jakub Jelinek <jakub@redhat.com>
50225
50226 [BZ #3268]
50227 * math/libm-test.inc (fma_test): Some new testcases.
50228 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50230 y and infinite z. Do multiplication by C already in long double.
50231 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50233 y and infinite z. Do bitwise or of inexact bit into u.d.
50234 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50235 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50236 * sysdeps/i386/fpu/s_fma.S: Removed.
50237 * sysdeps/i386/fpu/s_fmal.S: Removed.
50238
7c08a05c
JJ
502392010-10-16 Jakub Jelinek <jakub@redhat.com>
50240
50241 [BZ #3268]
50242 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50244 computation is not scheduled after fetestexcept. Fix value
50245 of minimum denormal long double.
50246
f3f7372d
JJ
502472010-10-14 Jakub Jelinek <jakub@redhat.com>
50248
50249 [BZ #3268]
50250 * math/libm-test.inc (fma_test): Add some more tests.
50251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50252 correctly.
50253
14d43591
AS
502542010-10-15 Andreas Schwab <schwab@redhat.com>
50255
50256 * scripts/data/localplt-s390-linux-gnu.data: New file.
50257 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50258
5e908464
JJ
502592010-10-13 Jakub Jelinek <jakub@redhat.com>
50260
50261 [BZ #3268]
50262 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50263 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50264 instead of dbl-64.
50265 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50266 inlines.
50267 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50269 if one of x and y is very large and the other is subnormal.
50270 * sysdeps/s390/fpu/s_fmaf.c: New file.
50271 * sysdeps/s390/fpu/s_fma.c: New file.
50272 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50273 * sysdeps/powerpc/fpu/s_fma.S: New file.
50274 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50275 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50276 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50277
502782010-10-12 Jakub Jelinek <jakub@redhat.com>
50279
50280 [BZ #3268]
50281 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50282 fma tests.
50283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50284 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50285 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50286 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50287 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50288 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50289 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50290
b833d51f
UD
502912010-10-12 Ulrich Drepper <drepper@redhat.com>
50292
50293 [BZ #12078]
50294 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50295 * posix/bug-regex31.input: Add test case.
50296
1751705d
UD
502972010-10-11 Ulrich Drepper <drepper@gmail.com>
50298
e9b9cbf5
UD
50299 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50300 * posix/bug-regex31.input: New file.
50301
50302 [BZ #12078]
50303 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50304 (parse_sub_exp): Fix last change, use postorder.
50305
ef06edbe
UD
50306 * posix/bug-regex31.c: New file.
50307 * posix/Makefile: Add rules to build and run bug-regex31.
50308
a129c80d
UD
50309 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50310
50311 [BZ #12078]
50312 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50313
b76b818e
UD
50314 [BZ #12108]
50315 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50316 to have entries in sys_siglist.
50317
1751705d
UD
50318 [BZ #12093]
50319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50320 be NULL.
50321
9ff8d36f
JJ
503222010-10-07 Jakub Jelinek <jakub@redhat.com>
50323
50324 [BZ #3268]
50325 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50326 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50327 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50328 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50330 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50331 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50332 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50333 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50334 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50335 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50337 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50338 * math/ftestexcept.c (fetestexcept): Likewise.
50339 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50340 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50341 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50342 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50343 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50344 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50345 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50346
af325969
UD
503472010-10-11 Ulrich Drepper <drepper@gmail.com>
50348
c579b202 50349 [BZ #12107]
af325969
UD
50350 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50351 newline.
50352
67a67b95
UD
503532010-10-06 Ulrich Drepper <drepper@gmail.com>
50354
50355 * string/bug-strstr1.c: New file.
50356 * string/Makefile: Add rules to build and run bug-strstr1.
50357
5fb308bc
EB
503582010-10-05 Eric Blake <eblake@redhat.com>
50359
50360 [BZ #12092]
50361 * string/str-two-way.h (two_way_long_needle): Always clear memory
50362 when skipping input due to the shift table.
50363
45db99c7
UD
503642010-10-03 Ulrich Drepper <drepper@gmail.com>
50365
3b111893
UD
50366 [BZ #12005]
50367 * malloc/mcheck.c: Handle large requests.
50368
45db99c7
UD
50369 [BZ #12077]
50370 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50371 for strncmp and strncasecmp.
50372 * string/stratcliff.c: Add tests for strcmp and strncmp.
50373 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50374
cf7a1eb8
NI
503752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50376
50377 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50378 __set_fpscr.
50379
6484ba5e
AJ
503802010-09-30 Andreas Jaeger <aj@suse.de>
50381
50382 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50383 (CGROUP_SUPER_MAGIC): Define.
50384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50385 Handle btrfs and cgroup file systems.
50386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50387 Likewise.
50388
91c42559
LM
503892010-09-27 Luis Machado <luisgpm@br.ibm.com>
50390
50391 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50392 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50393
87a97932
AK
503942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50395
50396 [BZ #12067]
50397 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50398 trying to locate the ELF header.
50399
c21cc9bc
AS
504002010-09-27 Andreas Schwab <schwab@redhat.com>
50401
50402 [BZ #11611]
50403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50404 Mask out sign-bit copies when constructing f_fsid.
50405
315970f6
PB
504062010-09-24 Petr Baudis <pasky@suse.cz>
50407
50408 * debug/stack_chk_fail_local.c: Add missing licence exception.
50409 * debug/warning-nop.c: Likewise.
50410
1ac7a2c7
JM
504112010-09-15 Joseph Myers <joseph@codesourcery.com>
50412
50413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50414 implementing getdents64 using getdents syscall, set d_type if
50415 __ASSUME_GETDENTS32_D_TYPE.
50416
56801c50
AS
504172010-09-16 Andreas Schwab <schwab@redhat.com>
50418
50419 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50420 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50421
dda51327
UD
504222010-09-21 Ulrich Drepper <drepper@redhat.com>
50423
50424 [BZ #12037]
50425 * posix/unistd.h: Undo change of feature selection for ftruncate from
50426 2010-01-11.
50427
8ffcee4a
UD
504282010-09-20 Ulrich Drepper <drepper@redhat.com>
50429
a545ecd9 50430 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50431 detection.
50432
e24f0a8b
AS
504332010-09-20 Andreas Schwab <schwab@redhat.com>
50434
50435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50436 fanotify_mark.
50437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50438
7291c56f
AS
504392010-09-14 Andreas Schwab <schwab@redhat.com>
50440
50441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50442 variables after CHECK_SP call.
50443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50444
bc5fb037
AS
504452010-09-13 Andreas Schwab <schwab@redhat.com>
50446 Ulrich Drepper <drepper@redhat.com>
50447
50448 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50449 re-relocationg ld.so.
50450 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50451 _dl_init_paths call.
50452 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50453 here anymore.
50454
e66e7419
UD
504552010-09-14 Ulrich Drepper <drepper@redhat.com>
50456
50457 * resolv/res_init.c (__res_vinit): Count the default server we added.
50458
c044aa75
CLT
504592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50460 Ulrich Drepper <drepper@redhat.com>
50461
50462 [BZ #11968]
50463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50464 (____longjmp_chk): Use %ebx for saving value across system call.
50465 Add unwind info.
50466
32cf4069
AS
504672010-09-06 Andreas Schwab <schwab@redhat.com>
50468
50469 * manual/Makefile: Don't mix pattern rules with normal rules.
50470
817328ee
AS
504712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50472
50473 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50474 operation.
50475 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50476 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50477 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50478 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50480 Likewise.
50481
29fddf61
UD
504822010-09-04 Ulrich Drepper <drepper@redhat.com>
50483
50484 [BZ #11979]
50485 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50486 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50487
0959ffc9
UD
504882010-09-02 Ulrich Drepper <drepper@redhat.com>
50489
50490 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50491 * sysdeps/x86_64/addmul_1.S: Likewise.
50492 * sysdeps/x86_64/lshift.S: Likewise.
50493 * sysdeps/x86_64/mul_1.S: Likewise.
50494 * sysdeps/x86_64/rshift.S: Likewise.
50495 * sysdeps/x86_64/sub_n.S: Likewise.
50496 * sysdeps/x86_64/submul_1.S: Likewise.
50497
ece29840
ST
504982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50499
0959ffc9
UD
50500 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50501 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50502 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50503 * bits/sched.h [__need_schedparam]
ece29840 50504 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50505 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50506 (__defined_schedparam): Define to 1.
ece29840
ST
50507 (__sched_param): New structure, identical to sched_param.
50508 (__need_schedparam): Undefine.
50509
e53a31fe
MF
505102010-08-31 Mike Frysinger <vapier@gentoo.org>
50511
fdc0c10d
MF
50512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50513 (epoll_create1): Declare.
50514
e53a31fe
MF
50515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50516
a726d796
AS
505172010-08-31 Andreas Schwab <schwab@redhat.com>
50518
50519 [BZ #7066]
50520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50521 shifting retval into place.
50522
2f3e3dc7
UD
505232010-09-01 Ulrich Drepper <drepper@redhat.com>
50524
f2933da9
UD
50525 * nis/rpcsvc/nis.h: Update copyright notice.
50526 * nis/rpcsvc/nis.x: Likewise.
50527 * nis/rpcsvc/nis_callback.h: Likewise.
50528 * nis/rpcsvc/nis_callback.x: Likewise.
50529 * nis/rpcsvc/nis_object.x: Likewise.
50530 * nis/rpcsvc/nis_tags.h: Likewise.
50531 * nis/rpcsvc/yp.h: Likewise.
50532 * nis/rpcsvc/yp.x: Likewise.
50533 * nis/rpcsvc/ypupd.h: Likewise.
50534 * nis/yp_xdr.c: Likewise.
50535 * nis/ypupdate_xdr.c: Likewise.
50536
2f3e3dc7
UD
50537 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50538 mainly the body of pmap_getport. Add parameters to specify timeouts.
50539 (pmap_getport): Use __libc_rpc_getport.
50540 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50541 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50542 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50543
f3dcc2f9
AS
505442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50545
50546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50547 fanotify_mark.
50548
6d34eb5b
RM
505492010-08-27 Roland McGrath <roland@redhat.com>
50550
50551 * sysdeps/i386/i686/multiarch/Makefile
50552 (CFLAGS-varshift.c): New variable.
50553
9ea3de11
UD
505542010-08-27 Ulrich Drepper <drepper@redhat.com>
50555
c96d23fc
UD
50556 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50557 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50558
9ea3de11
UD
50559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50560
50561 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50562
623aac7f
L
505632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50564
50565 * sysdeps/x86_64/strlen.S: Unroll the loop.
50566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50567 strlen-sse2 strlen-sse2-bsf.
50568 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50569 __strlen_no_bsf if bit_Slow_BSF is set.
50570 (__strlen_sse42): Removed.
50571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50572 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50573
8b2b7715
RM
505742010-08-25 Roland McGrath <roland@redhat.com>
50575
50576 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50577 * sysdeps/x86_64/multiarch/varshift.c: New file.
50578 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50579 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50580 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50582
e73015f2
L
505832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50584
50585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50586 strlen-sse2 strlen-sse2-bsf.
50587 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50588 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50589 (__strlen_sse2): Removed.
50590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50593 bit_Slow_BSF for Atom.
50594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50595 (index_Slow_BSF): Define.
50596 (HAS_SLOW_BSF): Define.
50597
df24a73e
UD
505982010-08-25 Ulrich Drepper <drepper@redhat.com>
50599
50600 [BZ #10851]
50601 * resolv/res_init.c (__res_vinit): When no server address at all
50602 is given default to loopback.
50603
f2ac4868
RM
506042010-08-24 Roland McGrath <roland@redhat.com>
50605
09055553
RM
50606 * configure.in: Remove config-name.h generation.
50607 * configure: Regenerated.
50608 * config-name.in: File removed.
50609 * scripts/config-uname.sh: New file.
50610 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50611 ($(objdir)config-name.h): New target.
50612
f2ac4868
RM
50613 * sunrpc/rpc_parse.h: Avoid nested comment.
50614
73f27d5e
RH
506152010-08-24 Richard Henderson <rth@redhat.com>
50616 Ulrich Drepper <drepper@redhat.com>
50617 H.J. Lu <hongjiu.lu@intel.com>
50618
50619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50621 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50622 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50623 _mm_alignr_epi8 with _mm_loadu_si128.
50624 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50625 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50626 (__m128i_shift_right): Removed.
50627 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50628 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50629 * sysdeps/x86_64/multiarch/varshift.h: New file.
50630 * sysdeps/x86_64/multiarch/varshift.S: New file.
50631
84b9230c
MF
506322010-08-21 Mike Frysinger <vapier@gentoo.org>
50633
50634 * configure.in: Move assembler checks to before sysdep dir checking.
50635
9bbd0ddc
PB
506362010-08-20 Petr Baudis <pasky@suse.cz>
50637
50638 * LICENSES: Sync the sunrpc license.
50639
9da4bb31
UD
506402010-08-19 Ulrich Drepper <drepper@redhat.com>
50641
a7ab6ec8
UD
50642 * sunrpc/auth_des.c: Update copyright notice once again.
50643 * sunrpc/auth_none.c: Likewise.
50644 * sunrpc/auth_unix.c: Likewise.
50645 * sunrpc/authdes_prot.c: Likewise.
50646 * sunrpc/authuxprot.c: Likewise.
50647 * sunrpc/bindrsvprt.c: Likewise.
50648 * sunrpc/clnt_gen.c: Likewise.
50649 * sunrpc/clnt_perr.c: Likewise.
50650 * sunrpc/clnt_raw.c: Likewise.
50651 * sunrpc/clnt_simp.c: Likewise.
50652 * sunrpc/clnt_tcp.c: Likewise.
50653 * sunrpc/clnt_udp.c: Likewise.
50654 * sunrpc/clnt_unix.c: Likewise.
50655 * sunrpc/des_crypt.c: Likewise.
50656 * sunrpc/des_soft.c: Likewise.
50657 * sunrpc/get_myaddr.c: Likewise.
50658 * sunrpc/getrpcport.c: Likewise.
50659 * sunrpc/key_call.c: Likewise.
50660 * sunrpc/key_prot.c: Likewise.
50661 * sunrpc/openchild.c: Likewise.
50662 * sunrpc/pm_getmaps.c: Likewise.
50663 * sunrpc/pm_getport.c: Likewise.
50664 * sunrpc/pmap_clnt.c: Likewise.
50665 * sunrpc/pmap_prot.c: Likewise.
50666 * sunrpc/pmap_prot2.c: Likewise.
50667 * sunrpc/pmap_rmt.c: Likewise.
50668 * sunrpc/rpc/auth.h: Likewise.
50669 * sunrpc/rpc/auth_unix.h: Likewise.
50670 * sunrpc/rpc/clnt.h: Likewise.
50671 * sunrpc/rpc/des_crypt.h: Likewise.
50672 * sunrpc/rpc/key_prot.h: Likewise.
50673 * sunrpc/rpc/netdb.h: Likewise.
50674 * sunrpc/rpc/pmap_clnt.h: Likewise.
50675 * sunrpc/rpc/pmap_prot.h: Likewise.
50676 * sunrpc/rpc/pmap_rmt.h: Likewise.
50677 * sunrpc/rpc/rpc.h: Likewise.
50678 * sunrpc/rpc/rpc_des.h: Likewise.
50679 * sunrpc/rpc/rpc_msg.h: Likewise.
50680 * sunrpc/rpc/svc.h: Likewise.
50681 * sunrpc/rpc/svc_auth.h: Likewise.
50682 * sunrpc/rpc/types.h: Likewise.
50683 * sunrpc/rpc/xdr.h: Likewise.
50684 * sunrpc/rpc_clntout.c: Likewise.
50685 * sunrpc/rpc_cmsg.c: Likewise.
50686 * sunrpc/rpc_common.c: Likewise.
50687 * sunrpc/rpc_cout.c: Likewise.
50688 * sunrpc/rpc_dtable.c: Likewise.
50689 * sunrpc/rpc_hout.c: Likewise.
50690 * sunrpc/rpc_main.c: Likewise.
50691 * sunrpc/rpc_parse.c: Likewise.
50692 * sunrpc/rpc_parse.h: Likewise.
50693 * sunrpc/rpc_prot.c: Likewise.
50694 * sunrpc/rpc_sample.c: Likewise.
50695 * sunrpc/rpc_scan.c: Likewise.
50696 * sunrpc/rpc_scan.h: Likewise.
50697 * sunrpc/rpc_svcout.c: Likewise.
50698 * sunrpc/rpc_tblout.c: Likewise.
50699 * sunrpc/rpc_util.c: Likewise.
50700 * sunrpc/rpc_util.h: Likewise.
50701 * sunrpc/rpcinfo.c: Likewise.
50702 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50703 * sunrpc/rpcsvc/key_prot.x: Likewise.
50704 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50705 * sunrpc/rpcsvc/mount.x: Likewise.
50706 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50707 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50708 * sunrpc/rpcsvc/rex.x: Likewise.
50709 * sunrpc/rpcsvc/rstat.x: Likewise.
50710 * sunrpc/rpcsvc/rusers.x: Likewise.
50711 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50712 * sunrpc/rpcsvc/spray.x: Likewise.
50713 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50714 * sunrpc/rtime.c: Likewise.
50715 * sunrpc/svc.c: Likewise.
50716 * sunrpc/svc_auth.c: Likewise.
50717 * sunrpc/svc_authux.c: Likewise.
50718 * sunrpc/svc_raw.c: Likewise.
50719 * sunrpc/svc_run.c: Likewise.
50720 * sunrpc/svc_simple.c: Likewise.
50721 * sunrpc/svc_tcp.c: Likewise.
50722 * sunrpc/svc_udp.c: Likewise.
50723 * sunrpc/svc_unix.c: Likewise.
50724 * sunrpc/svcauth_des.c: Likewise.
50725 * sunrpc/xcrypt.c: Likewise.
50726 * sunrpc/xdr.c: Likewise.
50727 * sunrpc/xdr_array.c: Likewise.
50728 * sunrpc/xdr_float.c: Likewise.
50729 * sunrpc/xdr_mem.c: Likewise.
50730 * sunrpc/xdr_rec.c: Likewise.
50731 * sunrpc/xdr_ref.c: Likewise.
50732 * sunrpc/xdr_sizeof.c: Likewise.
50733 * sunrpc/xdr_stdio.c: Likewise.
50734
9da4bb31
UD
50735 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50736 handling.
50737
bdaa77bc
AS
507382010-08-19 Andreas Schwab <schwab@redhat.com>
50739
50740 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50741
fe2f79db
LM
507422010-08-19 Luis Machado <luisgpm@br.ibm.com>
50743
50744 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50747 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50749 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50751 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50754 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50755 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50756 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50757 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50758
b9b42ee0
AB
507592010-07-26 Anton Blanchard <anton@samba.org>
50760
50761 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50762 * malloc/arena.c (heap_trim): Likewise.
50763
1c06ba31
UD
507642010-08-16 Ulrich Drepper <drepper@redhat.com>
50765
50766 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50767 here. Not...
50768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50769 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50770
f8392f40
L
507712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50772
50773 * sysdeps/i386/elf/Makefile: New file.
50774
3162f12e
AS
507752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50776
50777 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50778 from fanotify_init.
50779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50781
28c90b2c
UD
507822010-08-15 Ulrich Drepper <drepper@redhat.com>
50783
50784 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50785 of strncasecmp_l.
1feccb6c 50786 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50787
ca6bb004
UD
507882010-08-14 Ulrich Drepper <drepper@redhat.com>
50789
e9f82e0d
UD
50790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50791 strncase_l-nonascii.
50792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50793 Add strncase_l-ssse3.
50794 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50795 * sysdeps/x86_64/strcmp.S: Likewise.
50796 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50797 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50798 * sysdeps/x86_64/strncase.S: New file.
50799 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50800 * sysdeps/x86_64/strncase_l.S: New file.
50801 * string/Makefile (strop-tests): Add strncasecmp.
50802 * string/test-strncasecmp.c: New file.
50803
50804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50805 warning.
50806
ca6bb004
UD
50807 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50809
052fa7b3
AS
508102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50811
50812 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50813
962dba78
UD
508142010-08-12 Ulrich Drepper <drepper@redhat.com>
50815
50816 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50819
bebff237
AM
508202010-05-01 Alan Modra <amodra@gmail.com>
50821
50822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50823 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50824 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50825 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50826 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50827 tidying. Don't tail-call __sigjmp_save for static lib.
50828 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50829 save location.
50830 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50831 (CALL_MCOUNT): Add eh info, and nop after bl.
50832 (TAIL_CALL_SYSCALL_ERROR): New macro.
50833 (PSEUDO_RET): Use it.
50834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50835 Correct save location of integer regs and cr.
50836 (_dl_profile_resolve): Correct cr save location. Delete nops
50837 after bl when SHARED. Reduce cfi size a little by better
50838 placement of cfi directives.
50839 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50840 make a stack frame. Instead use parm save area as a temp.
50841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50842 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50844 Don't make a stack frame for parent, use parm save area.
50845 Increase child stack frame to 112 bytes. Don't save unused reg,
50846 and adjust reg usage. Set up cfi on error recovery and
50847 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50849 (__makecontext): Add dummy nop after jump to exit.
50850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50851 Use correct parm save area and cr save, reduce stack frame.
50852 Correct cfi for possible PSEUDO_RET frame setup.
50853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50854 Branch to local label emitted by PSEUDO_RET rather than
50855 __syscall_error.
50856
02637374
AS
508572010-08-12 Andreas Schwab <schwab@redhat.com>
50858
50859 [BZ #11904]
50860 * locale/programs/locale.c (print_assignment): New function.
50861 (show_locale_vars): Use it.
50862
c3e2f19b
UD
508632010-08-11 Ulrich Drepper <drepper@redhat.com>
50864
3cdaa6ad
UD
50865 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50866 field.
50867 (struct statfs64): Likewise.
50868 (_STATFS_F_FLAGS): Define.
50869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50871 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50872 (ST_VALID): Define locally.
50873 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50874 __statvfs_getflags, use the provided value.
50875 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50876 __ASSUME_STATFS_F_FLAGS.
50877
754f7da3
UD
50878 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50879
10b3bedc
UD
50880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50881 Add sys/fanotify.h.
50882 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50883 fanotify_mask for GLIBC_2.13.
50884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50885 fanotify_init and fanotify_mark.
50886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50887 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50888
c08fb0d7
UD
50889 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50890 Add prlimit.
50891 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50892 prlimit64 for GLIBC_2.13.
50893 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50894 prlimit64.
50895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50896 syscall.
50897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50902 add prlimit alias.
50903 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50904
15bac72b
UD
50905 [BZ #11903]
50906 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50907 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50908
c3e2f19b
UD
50909 * nss/Makefile: Add rules to build and run tst-nss-test1.
50910 * shlib-versions: Add entry for libnss_test1.
50911 * nss/nss_test1.c: New file.
50912 * nss/tst-nss-test1.c: New file.
50913
50914 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50915 (__nss_configure_lookup): Set appropriate entry in
50916 __nss_configure_lookup to true.
50917 * nss/nsswitch.h: Define enum with indeces of databases in
50918 databases and __nss_database_custom arrays. Declare
50919 __nss_database_custom.
50920 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50921 to avoid using nscd when custom rules are installed.
50922 * nss/getXXbyYY_r.c: Likewise.
50923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50924
50925 * nss/nss_files/files-parse.c: Whitespace fixes.
50926
f15ce4d8
UD
509272010-08-09 Ulrich Drepper <drepper@redhat.com>
50928
50929 [BZ #11883]
50930 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50931 * posix/fnmatch_loop.c: Likewise.
50932
d22e4cc9
AK
509332010-07-17 Andi Kleen <ak@linux.intel.com>
50934
50935 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50936 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50937 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50938 * Versions.def [GLIBC_2.13]: Add.
50939
805bc17d
UD
509402010-08-06 Ulrich Drepper <drepper@redhat.com>
50941
50942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50943 Also fail if tpwd after pwuid call is NULL.
50944
5a42321d
ST
509452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50946
50947 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50948 when converting to ms.
50949
fd3ebeda
ST
509502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50951
50952 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50953 EOPNOTSUPP errors with ENOTTY.
50954 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50955 EOPNOTSUPP errors with ENOTTY.
50956
73507d3a
UD
509572010-07-31 Ulrich Drepper <drepper@redhat.com>
50958
50959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50960 Add strcasecmp_l-ssse3.
50961 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50962 strcasecmp.
50963 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50966
fe36dd02
UD
509672010-07-30 Ulrich Drepper <drepper@redhat.com>
50968
66f6765a
UD
50969 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50970
42e08a54
UD
50971 * string/Makefile (strop-tests): Add strcasecmp.
50972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50973 strcasecmp_l-nonascii.
50974 (gen-as-const-headers): Add locale-defines.sym.
50975 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50976 * sysdeps/x86_64/strcasecmp.S: New file.
50977 * sysdeps/x86_64/strcasecmp_l.S: New file.
50978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50979 * sysdeps/x86_64/locale-defines.sym: New file.
50980 * string/test-strcasecmp.c: New file.
50981
fe36dd02
UD
50982 * string/test-strcasestr.c: Test both ends of the range of characters.
50983 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50984
48cbc0d6
RM
509852010-07-29 Roland McGrath <roland@redhat.com>
50986
76e6d6bc 50987 [BZ #11856]
48cbc0d6
RM
50988 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50989
880113d9
UD
509902010-07-27 Ulrich Drepper <drepper@redhat.com>
50991
50992 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50993 for ld.so.
50994
deb9cabb
AS
509952010-07-27 Andreas Schwab <schwab@redhat.com>
50996
50997 * manual/memory.texi (Malloc Tunable Parameters): Document
50998 M_PERTURB.
50999
1c7570ff
RM
510002010-07-26 Roland McGrath <roland@redhat.com>
51001
51002 [BZ #11840]
51003 * configure.in (-fgnu89-inline check): Set and substitute
51004 gnu89_inline, not libc_cv_gnu89_inline.
51005 * configure: Regenerated.
51006 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51007
24fb0f88
UD
510082010-07-26 Ulrich Drepper <drepper@redhat.com>
51009
51010 * string/test-strnlen.c: New file.
51011 * string/Makefile (strop-tests): Add strnlen.
51012 * string/tester.c (test_strnlen): Add a few more test cases.
51013 * string/tst-strlen.c: Better error reporting.
51014
51015 * sysdeps/x86_64/strnlen.S: New file.
51016
8e96b93a
UD
510172010-07-24 Ulrich Drepper <drepper@redhat.com>
51018
51019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51020 lower-latency instructions.
51021
dbc676d4
UD
510222010-07-23 Ulrich Drepper <drepper@redhat.com>
51023
51024 * string/test-strcasestr.c: New file.
51025 * string/test-strstr.c: New file.
51026 * string/Makefile (strop-tests): Add strstr and strcasestr.
51027 * string/str-two-way.h: Don't undefine MAX.
51028 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51029
f6a31e0e
AS
510302010-07-21 Andreas Schwab <schwab@redhat.com>
51031
51032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51033 strcasestr-nonascii.
51034 (CFLAGS-strcasestr-nonascii.c): Define.
51035 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51037 Remove unused attribute.
51038
5dbc3b6c
RM
510392010-07-20 Roland McGrath <roland@redhat.com>
51040
51041 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51042 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51043 ld.so.cache was broken. With it, there is no way to disable dsocaps
51044 like LD_HWCAP_MASK can disable hwcaps.
51045
23d101d8
EPM
510462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51047
51048 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51049
cc9f2e47
UD
510502010-07-16 Ulrich Drepper <drepper@redhat.com>
51051
51052 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51053 call in strcasestr.
51054 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51055 __strcasestr_sse42_nonascii.
51056 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51057 strcasestr-nonascii.c.
51058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51059
77c1b069
LM
510602010-06-15 Luis Machado <luisgpm@br.ibm.com>
51061
51062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51066
440566c3
UD
510672010-07-09 Ulrich Drepper <drepper@redhat.com>
51068
51069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51070 fcntl.
51071
5be9d05d
AS
510722010-07-06 Andreas Schwab <schwab@redhat.com>
51073
c30b7ee2 51074 [BZ #11577]
5be9d05d
AS
51075 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51076 dl_signal_cerror.
51077
8a492a67
UD
510782010-07-06 Ulrich Drepper <drepper@redhat.com>
51079
51080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51081 _PC_PIPE_BUF using F_GETPIPE_SZ.
51082
713df3d5
RM
510832010-07-05 Roland McGrath <roland@redhat.com>
51084
51085 * manual/arith.texi (Rounding Functions): Fix rint description
51086 implicit in round description.
51087
702e8f14
UD
510882010-07-02 Ulrich Drepper <drepper@redhat.com>
51089
51090 * elf/Makefile: Fix linking for a few tests to make recent linker
51091 happy.
51092
52ed8be9
AS
510932010-06-30 Andreas Schwab <schwab@redhat.com>
51094
51095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51096 $(common-objpfx)libc_nonshared.a.
51097
f47c9a11
LM
510982010-06-21 Luis Machado <luisgpm@br.ibm.com>
51099
51100 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51101 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51102 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51104 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51122 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51123 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51124 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51125 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51126 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51127 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51128 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51129 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51130 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51131 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51132 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51133 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51148
6fb8cbcb
L
511492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51150
51151 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51152 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51153 * string/memmove.c (memmove): Renamed to ...
51154 (MEMMOVE): ...this. Default to memmove.
51155 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51156 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51157 (END_CHK): Define.
51158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51159 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51160 mempcpy-ssse3-back memmove-ssse3-back.
51161 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51164 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51165 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51166 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51167 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51168 * sysdeps/x86_64/multiarch/memmove.c: New file.
51169 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51170 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51171 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51172 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51175 Define.
51176 (index_Fast_Copy_Backward): Define.
51177 (HAS_ARCH_FEATURE): Define.
51178 (HAS_FAST_REP_STRING): Define.
51179 (HAS_FAST_COPY_BACKWARD): Define.
51180
4e733bac 511812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51182
51183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51184 Restore proper fallback handling.
51185
63c4ed22
UD
511862010-06-19 Ulrich Drepper <drepper@redhat.com>
51187
ac2b484c
UD
51188 [BZ #11701]
51189 * posix/group_member.c (__group_member): Correct checking loop.
51190
63c4ed22
UD
51191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51192 OOM in getpwuid_r correctly. Return error number when the caller
51193 should return, otherwise -1.
51194 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51195 call returning > 0 value.
51196 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51197
765ade4b
AS
511982010-06-07 Andreas Schwab <schwab@redhat.com>
51199
51200 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51201 libc_nonshared.a from targets in modules-names.
51202
80da2e09
KS
512032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51204
51205 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51206 requires it.
51207
158db122
LM
512082010-06-10 Luis Machado <luisgpm@br.ibm.com>
51209
51210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51214
caa78cf8
AS
512152010-06-02 Andreas Schwab <schwab@redhat.com>
51216
51217 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51218
b2ef2c01
UD
512192010-06-14 Ulrich Drepper <drepper@redhat.com>
51220
51221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51222 and F_GETPIPE_SZ.
51223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51229
fbd643b6
RM
512302010-06-14 Roland McGrath <roland@redhat.com>
51231
51232 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51233
f32f2869
JJ
512342010-06-07 Jakub Jelinek <jakub@redhat.com>
51235
51236 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51237 __REDIRECT followed by __THROW.
51238 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51239 * posix/getopt.h (getopt): Likewise.
51240
2a50c078
EPM
512412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51242
51243 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51244 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51245 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51246 in AT_FLAGS.
51247 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51248 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51249
eb5ad2eb
LM
512502010-05-28 Luis Machado <luisgpm@br.ibm.com>
51251
51252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51253
3c88fe1e
L
512542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51255
51256 [BZ #11640]
51257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51258 Properly check family and model.
51259
d2f73151
TY
512602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51261
51262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51263
ebd2e13d
LM
512642010-05-24 Luis Machado <luisgpm@br.ibm.com>
51265
51266 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51267
b32b8b45
UD
512682010-05-21 Ulrich Drepper <drepper@redhat.com>
51269
51270 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51271 symbol reference.
51272
9acbe24d
AS
512732010-05-19 Andreas Schwab <schwab@redhat.com>
51274
51275 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51276 symbol reference.
51277
f0ccf6ea
AS
512782010-05-21 Andreas Schwab <schwab@redhat.com>
51279
3d04ff3a
AS
51280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51281 and internal_recvmmsg.
51282 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51285 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51286
f0ccf6ea
AS
51287 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51290
5b08ac57
AS
512912010-05-20 Andreas Schwab <schwab@redhat.com>
51292
51293 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51294
4828935d
LM
512952010-05-17 Luis Machado <luisgpm@br.ibm.com>
51296
51297 POWER7 optimizations.
51298 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51299 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51300
373d545e
UD
513012010-05-19 Ulrich Drepper <drepper@redhat.com>
51302
51303 * version.h: Update for 2.13 development version.
51304
21a2b1ae
AS
513052010-05-12 Andrew Stubbs <ams@codesourcery.com>
51306
51307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51308 exceptions. Return 0.
51309
3f7dcb2b
RM
513102010-05-07 Roland McGrath <roland@redhat.com>
51311
51312 * elf/ldconfig.c (main): Add a const.
51313
5f24d53a 513142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51315
a160f8d8
UD
51316 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51317 (args_options): Add no-idn option.
51318 (ahosts_keys_int): Add idn_flags to ai_flags.
51319 (parse_option): Handle 'i' option to clear idn_flags.
51320
5f24d53a
UD
51321 * malloc/malloc.c (_int_free): Possible race in the most recently
51322 added check. Only act on the data if no current modification
51323 happened.
265bb1ce
UD
51324
51325See ChangeLog.17 for earlier changes.