]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hppa: Make __SIGRTMIN 32 (ABI break).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
13d84554
CD
12014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2 Helge Deller <deller@gmx.de>
3
4 [BZ #17508]
5 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8
15f9c5df
JM
92014-10-23 Joseph Myers <joseph@codesourcery.com>
10
11 [BZ #14132]
12 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13 Remove macro definition.
14 (__ashrdi3_v_glibc20): Likewise.
15 (__lshrdi3_v_glibc20): Likewise.
16 (__cmpdi2_v_glibc20): Likewise.
17 (__ucmpdi2_v_glibc20): Likewise.
18 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24
c6dfed24
RM
252014-10-22 Roland McGrath <roland@hack.frob.com>
26
27 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28 old GNU extension [0] syntax.
29 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30 alloca rather than an array member with variable length.
31 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32 * nscd/nscd.c (invalidate_db): New function, broken out of ...
33 (parse_opt): ... here. Likewise use alloca there.
34 Validate the -i argument before checking for rootness.
35 (send_shutdown): New function, broken out of ...
36 (parse_opt): ... here.
37
8c2b1ed8
RM
382014-10-22 Roland McGrath <roland@hack.frob.com>
39
40 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41 macro to get at the _rt_local_ro field.
42 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43 ([PIC] case) or _dl_hwcap ([!PIC] case).
44 * sysdeps/arm/setjmp.S: Likewise.
45
46 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
47 * sysdeps/arm/configure.ac: New check to define it.
48 * sysdeps/arm/configure: Regenerated.
49 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
50 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
51 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
52 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
53 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
54 Use move/movt pair instead of a load.
55 (LDST_GLOBAL): Macro removed.
56 (LDR_GLOBAL): New macro replaces it.
57 (LDR_HIDDEN): New macro.
58 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
59 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
60
61 * setjmp/tst-setjmp-static.c: New file.
62 * setjmp/Makefile (tests): Add it.
63 (tests-static): New variable.
64
b5af9297
MR
652014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
66
67 [BZ #17485]
68 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
69
a13d0d74
JM
702014-10-21 Joseph Myers <joseph@codesourcery.com>
71
72 [BZ #14132]
73 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
74
f05e73f6
RM
752014-10-21 Roland McGrath <roland@hack.frob.com>
76
77 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
78
6ab1d1ea
RM
792014-10-20 Roland McGrath <roland@hack.frob.com>
80
81 * io/fts.c (dirent_not_directory): New function.
82 (fts_build): Call it.
83
ab49e763
RM
842014-10-20 Roland McGrath <roland@hack.frob.com>
85
e436eb79
RM
86 * nptl/version.c (__nptl_main): Use normal __write rather than
87 INTERNAL_SYSCALL.
88 (banner): Update copyright years.
89
6af246cf
RM
90 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
91 gettimeofday.
92 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
93 * nptl/pthread_cond_timedwait.c: Likewise.
94 * nptl/pthread_mutex_timedlock.c: Likewise.
95 * nptl/sem_timedwait.c: Likewise.
96
ab49e763
RM
97 * sysdeps/nptl/bits/libc-lock.h
98 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
99 (__libc_lock_init_recursive): Return void, not 0.
100 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
101 (__libc_rwlock_init): Likewise.
102 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
103
f50277c1
TR
1042014-10-20 Torvald Riegel <triegel@redhat.com>
105
106 [BZ #15215]
107 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
108 (__pthread_once_slow): ... here.
109 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
110 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
111
63668b70
TR
1122014-10-20 Torvald Riegel <triegel@redhat.com>
113
114 [BZ #15215]
115 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
116 __PTHREAD_ONCE_FORK_GEN_INCR): New.
117 * sysdeps/nptl/fork.c (__libc_fork): Use them.
118 * nptl/pthread_once.c (__pthread_once): Likewise.
119 Update comments.
120
42b7f5d4
JM
1212014-10-20 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #14138]
124 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
125 name.
126 (writev): Use __libc_writev as strong name.
127 * sysdeps/unix/sysv/linux/readv.c: Remove file.
128 * sysdeps/unix/sysv/linux/writev.c: Likewise.
129
b0643088
RM
1302014-10-17 Roland McGrath <roland@hack.frob.com>
131
114c4e09
RM
132 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
133
674b8978
RM
134 * sysdeps/i386/nptl/tls.h
135 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
136 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
137 New macros.
138 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
139 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
140 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
141 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
142 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
143 Call CHECK_THREAD_SYSINFO instead of doing an assert.
144
184ee940
RM
145 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
146 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
147 on [__NR_futex].
148 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
149 broken out of ...
150 (__pthread_mutex_init): ... here. Call it.
151 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
152 Conditionalize PI cases on [__NR_futex].
153 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
154 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
155 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
156
327ae257
RM
157 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
158 conditional on [SIGSETXID].
159 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
160 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
161 is defined. Likewise for SIGSETXID.
162 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
163 Conditionalize definitions on [SIGSETXID].
164 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
165 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
166 unblocking on [SIGCANCEL].
167
b0643088
RM
168 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
169 [__NR_set_robust_list].
170
33cc770b
SP
1712014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
172
173 * string/strcoll_l.c (get_next_seq): Fix up formatting.
174 (do_compare): Likewise.
175
0742aef6
LH
1762014-10-17 Leonhard Holz <leonhard.holz@web.de>
177
178 [BZ #15884]
179 * string/strcoll_l.c: Don't include stdio.h.
180 (coll_seq): Remove members idxarr and rulearr.
181 (get_next_seq_cached): Remove function.
182 (get_next_seq): Likewise.
183 (get_next_seq_nocache): Rename to get_next_seq.
184 (do_compare): Remove function.
185 (do_compare_nocache): Rename to do_compare.
186 (STRCOLL): Remove weight and rules cache.
187
ee54ce44
RM
1882014-10-16 Roland McGrath <roland@hack.frob.com>
189
190 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
191 * sysdeps/arm/sfp-machine.h: ... to here.
192 * sysdeps/arm/Implies: Remove arm/soft-fp.
193
a75d3b02
JM
1942014-10-14 Joseph Myers <joseph@codesourcery.com>
195
196 * conform/data/sys/utsname.h-data (*_t): Allow.
197 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
198 [POSIX] (WEXITED): Do not expect constant.
199 [POSIX] (WSTOPPED): Likewise.
200 [POSIX] (WNOHANG): Likewise.
201 [POSIX] (WNOWAIT): Likewise.
202 [POSIX] (siginfo_t): Do not expect type or elements.
203 [POSIX] (pid_t): Do not expect type.
204 [POSIX] (signal.h): Do not allow header.
205 [POSIX] (sys/resource.h): Likewise.
206 [POSIX] (si_*): Do not allow pattern.
207 [POSIX] (W*): Likewise.
208 [POSIX] (P_*): Likewise.
209 [POSIX] (BUS_*): Likewise.
210 [POSIX] (CLD_*): Likewise.
211 [POSIX] (FPE_*): Likewise.
212 [POSIX] (ILL_*): Likewise.
213 [POSIX] (POLL_*): Likewise.
214 [POSIX] (SEGV_*): Likewise.
215 [POSIX] (SI_*): Likewise.
216 [POSIX] (TRAP_*): Likewise.
217 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
218 variable.
219
fda389c8
SP
2202014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
221
222 [BZ #12926]
223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
224 infinite loop when __recvmsg returns 0.
225
6bc6bd3b
JM
2262014-10-10 Joseph Myers <joseph@codesourcery.com>
227
fcb32af1
JM
228 * CANCEL-FCT-WAIVE: Remove file.
229 * CANCEL-FILE-WAIVE: Likewise.
230
6bc6bd3b
JM
231 [BZ #14132]
232 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
233 instead of INTVARDEF.
234 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
235 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
236 rtld_hidden_data_def instead of INTVARDEF.
237 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
238 * elf/dl-deps.c (expand_dst): Likewise.
239 * elf/dl-load.c (_dl_dst_count): Likewise.
240 (_dl_dst_substitute): Likewise.
241 (decompose_rpath): Likewise.
242 (_dl_init_paths): Likewise.
243 (open_path): Likewise.
244 (_dl_map_object): Likewise.
245 * elf/rtld.c (dl_main): Likewise.
246 (process_dl_audit): Likewise.
247 (process_envvars): Likewise.
248 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
249 Remove declaration.
250 (__libc_enable_secure): Use rtld_hidden_proto.
251
b8c80a7e
KS
2522014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
253
254 * elf/dl-load.c
255 (add_path): New function broken out of _dl_rtld_di_serinfo.
256 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
257
ff12c11f
JM
2582014-10-09 Joseph Myers <joseph@codesourcery.com>
259
5c0508a3
JM
260 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
261 parentheses around macro arguments.
262 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
263 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
264 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
265 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
266 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
267 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
269 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
270 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
273 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
274 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
275 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
277 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
278 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
279 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
280 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
281 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
282 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
285 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
289 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
290 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
291 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
292 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
293 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
294 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
295 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
296 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
297 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
298 Likewise.
299 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
300 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
304 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
306 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
307 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
308 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
309 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
310 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
311 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
314 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
315 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
318 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
319 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
320 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
321 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
322 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
323 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
324 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
325 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
326 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
327 (_FP_FRAC_SRS_1): Likewise.
328 (_FP_FRAC_CLZ_1): Likewise.
329 (_FP_MUL_MEAT_1_imm): Likewise.
330 (_FP_MUL_MEAT_1_wide): Likewise.
331 (_FP_MUL_MEAT_1_hard): Likewise.
332 (_FP_SQRT_MEAT_1): Likewise.
333 (_FP_FRAC_ASSEMBLE_1): Likewise.
334 (_FP_FRAC_DISASSEMBLE_1): Likewise.
335 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
336 (__FP_CLZ_2): Likewise.
337 (_FP_MUL_MEAT_2_wide): Likewise.
338 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
339 (_FP_MUL_MEAT_2_gmp): Likewise.
340 (_FP_MUL_MEAT_2_120_240_double): Likewise.
341 (_FP_SQRT_MEAT_2): Likewise.
342 (_FP_FRAC_ASSEMBLE_2): Likewise.
343 (_FP_FRAC_DISASSEMBLE_2): Likewise.
344 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
345 (_FP_FRAC_CLZ_4): Likewise.
346 (_FP_MUL_MEAT_4_wide): Likewise.
347 (_FP_MUL_MEAT_4_gmp): Likewise.
348 (_FP_SQRT_MEAT_4): Likewise.
349 (_FP_FRAC_ASSEMBLE_4): Likewise.
350 (_FP_FRAC_DISASSEMBLE_4): Likewise.
351 * soft-fp/op-common.h (_FP_CMP): Likewise.
352 (_FP_CMP_EQ): Likewise.
353 (_FP_CMP_UNORD): Likewise.
354 (_FP_TO_INT): Likewise.
355 (_FP_FROM_INT): Likewise.
356 [!__FP_CLZ] (__FP_CLZ): Likewise.
357 (_FP_DIV_HELP_imm): Likewise.
358 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
359 Likewise.
360 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
362 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
363 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
364 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
365 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
366 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
367 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
370 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
371 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
372 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
373 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
374 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
375 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
376 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
377 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
379 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
380 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
382 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
383 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
384 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
386 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
387 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
388 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
389 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
390 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
391 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
392 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
393 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
394 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
395 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
396 (FP_UNPACK_RAW_SP): Likewise.
397 (FP_PACK_RAW_S): Likewise.
398 (FP_PACK_RAW_SP): Likewise.
399 (FP_UNPACK_S): Likewise.
400 (FP_UNPACK_SP): Likewise.
401 (FP_UNPACK_SEMIRAW_S): Likewise.
402 (FP_UNPACK_SEMIRAW_SP): Likewise.
403 (FP_PACK_S): Likewise.
404 (FP_PACK_SP): Likewise.
405 (FP_PACK_SEMIRAW_S): Likewise.
406 (FP_PACK_SEMIRAW_SP): Likewise.
407 (_FP_SQRT_MEAT_S): Likewise.
408 (FP_CMP_S): Likewise.
409 (FP_CMP_EQ_S): Likewise.
410 (FP_CMP_UNORD_S): Likewise.
411 (FP_TO_INT_S): Likewise.
412 (FP_FROM_INT_S): Likewise.
413
a736ec37
JM
414 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
415
ff12c11f
JM
416 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
417 (FP_EX_INVALID_IMZ): Likewise.
418 (FP_EX_INVALID_IMZ_FMA): Likewise.
419 (FP_EX_INVALID_ISI): Likewise.
420 (FP_EX_INVALID_ZDZ): Likewise.
421 (FP_EX_INVALID_IDI): Likewise.
422 (FP_EX_INVALID_SQRT): Likewise.
423 (FP_EX_INVALID_CVI): Likewise.
424 (FP_EX_INVALID_VC): Likewise.
425 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
426 "invalid" exceptions.
427 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
428 (_FP_ADD_INTERNAL): Likewise.
429 (_FP_MUL): Likewise.
430 (_FP_FMA): Likewise.
431 (_FP_DIV): Likewise.
432 (_FP_CMP_CHECK_NAN): Likewise.
433 (_FP_SQRT): Likewise.
434 (_FP_TO_INT): Likewise.
435 (FP_EXTEND): Likewise.
436
b6dcfe8c
AM
4372014-10-09 Allan McRae <allan@archlinux.org>
438
439 * po/fr.po: Update French translation from translation project.
440
2d6a47ba
JM
4412014-10-09 Joseph Myers <joseph@codesourcery.com>
442
cb831245
JM
443 [BZ #14132]
444 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
445 of INTDEF.
446 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
447 (__cxa_atexit): Use libc_hidden_proto.
448 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
449
5deeb190
JM
450 [BZ #14132]
451 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
452 declaration.
453 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
454 [!_ISOMAC] (__iswspace_l_internal): Likewise.
455 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
456 [!_ISOMAC] (__iswctype_internal): Likewise.
457 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
458 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
459 alias.
460 (fcntl): Remove __fcntl_internal alias.
461 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
462 __connect_internal alias.
463 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
464 Likewise.
465
454ac701
JM
466 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
467 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
468 FP_DENORM_ZERO.
469 (_FP_CHECK_FLUSH_ZERO): New macro.
470 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
471 (_FP_CMP): Likewise.
472 (_FP_CMP_EQ): Likewise.
473 (_FP_TO_INT): Do not set inexact for subnormal arguments if
474 FP_DENORM_ZERO.
475 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
476 (FP_TRUNC): Likewise.
477
0022e688
JM
478 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
479 treated as invalid conversion, not as normal exponent.
480
73e28d9c
JM
481 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
482 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
483 (_FP_CMP_EQ): Likewise.
484 (_FP_CMP_UNORD): Likewise.
485 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
486 (FP_CMP_EQ_D): Likewise.
487 (FP_CMP_UNORD_D): Likewise.
488 * soft-fp/extended.h (FP_CMP_E): Likewise.
489 (FP_CMP_EQ_E): Likewise.
490 (FP_CMP_UNORD_E): Likewise.
491 * soft-fp/quad.h (FP_CMP_Q): Likewise.
492 (FP_CMP_EQ_Q): Likewise.
493 (FP_CMP_UNORD_Q): Likewise.
494 * soft-fp/single.h (FP_CMP_S): Likewise.
495 (FP_CMP_EQ_S): Likewise.
496 (FP_CMP_UNORD_S): Likewise.
497 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
498 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
499 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
500 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
501 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
502 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
503 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
504 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
505 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
506 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
507 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
508 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
509 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
510 to FP_CMP_Q.
511 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
512 FP_CMP_Q.
513 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
514 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
515 FP_CMP_EQ_Q.
516 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
517 FP_CMP_Q.
518 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
519 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
520 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
521 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
522 FP_CMP_EQ_Q.
523 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
524 FP_CMP_Q.
525 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
526 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
527 FP_CMP_EQ_Q.
528 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
529 FP_CMP_Q.
530 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
531 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
532 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
533 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
534 FP_CMP_EQ_Q.
535
43059f42
JM
536 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
537 a subnormal result, set the underflow exception if trapping on
538 underflow is enabled.
539 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
540 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
541 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
542 redefine to 0.
543 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
544 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
545 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
546 * soft-fp/extendxftf2.c (__extendxftf2): Use
547 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
548
2d6a47ba
JM
549 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
550 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
551 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
552 FP_HANDLE_EXCEPTIONS.
553 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
554 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
555 FP_HANDLE_EXCEPTIONS.
556 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
557 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
558 FP_HANDLE_EXCEPTIONS.
559 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
560 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
561 FP_HANDLE_EXCEPTIONS.
562
620f462e
JM
5632014-10-08 Joseph Myers <joseph@codesourcery.com>
564
565 [BZ #14132]
566 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
567 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
568 use INTUSE.
569 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
570 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
571 Remove alias.
572 (__adjtimex): Define using libc_hidden_ver.
573 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
574 Remove declaration.
575 (ntp_gettime): Call __adjtimex directly.
576 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
577 Remove declaration.
578 (ntp_gettimex): Call __adjtimex directly.
579 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
580 __adjtimex_internal alias.
581
c763c5d2
RM
5822014-10-08 Roland McGrath <roland@hack.frob.com>
583
584 [BZ #17460]
585 * nscd/nscd.c (more_help): Rewrite list of tables collection
586 using xstrdup and asprintf.
587
588 * nscd/nscd_conf.c: Remove local xstrdup declaration.
589
7b8fb2b8
RM
5902014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
591 Roland McGrath <roland@hack.frob.com>
592
593 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
594 (do_lookup_unique): ... local function 'enter' here; update callers.
595
abb280f7
JM
5962014-10-06 Joseph Myers <joseph@codesourcery.com>
597
f7b42517
JM
598 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
599 compat_symbol calls on [SHARED].
600 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
601 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
602 Remove.
603 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
604 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
605 (oldsetrlimit): Remove.
606 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
608 (lchown): New syscall entry.
609 (oldsetrlimit): Remove.
610 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
611 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
612 (oldsetrlimit): Remove.
613 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
614
abb280f7
JM
615 [BZ #14138]
616 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
617 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
618 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
619 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
620 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
621 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
622 (fchown): Likewise.
623 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
624 (fchown): Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
626 Likewise.
627
47d46237
AZ
6282014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
629
630 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
631 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
632 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
633 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
634 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
635 Likewise.
636 (__old_sem_post): Likewise.
637
6382014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 639
845a7343
CM
640 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
641 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
642 HAVE_CLOCK_GETTIME_VSYSCALL macros.
643 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
644 Use INLINE_VSYSCALL macro.
645 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
646 __vdso_clock_gettime.
647 * sysdeps/unix/sysv/linux/tile/init-first.c
648 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
649 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
650 __vdso_clock_gettime.
651
83d641ef
CM
652 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
653 to set up frame more cleanly.
654
d9cd52e6
CM
655 * sysdeps/tile/memcmp.c: New file.
656
4b68ea11
CM
657 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
658
c86f7b80
CM
659 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
660 * sysdeps/tile/tilegx/strcasestr.c: New file.
661 * sysdeps/tile/tilegx/strnlen.c: New file.
662 * sysdeps/tile/tilegx/strstr.c: New file.
663
1c4c1a6f
CM
664 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
665
99d86ea3
AS
6662014-10-06 Arjun Shankar <arjun.is@lostca.se>
667
668 * nptl/tst-setuid3.c: Write errors to stdout.
669
06210a44
KS
6702014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
671
672 * elf/dl-deps.c
673 (preload): New functions broken out of _dl_map_object_deps.
674 (_dl_map_object_deps): Remove a nested function. Update call sites.
675
6268f532
JM
6762014-10-01 Joseph Myers <joseph@codesourcery.com>
677
678 [BZ #14138]
679 * sysdeps/unix/sysv/linux/execve.c: Remove file.
680 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
681
b925285f
SE
6822014-10-01 Steve Ellcey <sellcey@mips.com>
683
684 * sysdeps/mips/strcmp.S: New.
685
754a15c6
JM
6862014-09-30 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #14138]
689 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
690 (linkat): Likewise.
691 (mkdirat): Likewise.
692 (readlinkat): Likewise.
693 (renameat): Likewise.
694 (symlinkat): Likewise.
695 (unlinkat): Likewise.
696 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
697 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
698 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
699 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
700 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
701 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
702 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
703
85bb81c9
WN
7042014-09-30 Will Newton <will.newton@linaro.org>
705
dc6fe23b
WN
706 * math/math.h: Define long double math functions if
707 _LIBC_TEST is defined.
708 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
709
85bb81c9
WN
710 * localedata/Makefile: Move assignment to tests-special
711 into an ifdef testing run-built-tests.
712 * timezone/Makefile: Likewise.
713
b7e02da4
JM
7142014-09-29 Joseph Myers <joseph@codesourcery.com>
715
716 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
717 with $(BASH) not $(SHELL).
718
62058ce6
CD
7192014-09-29 Carlos O'Donell <carlos@redhat.com>
720 Matthew LeGendre <legendre1@llnl.gov>
721
722 [BZ #17411]
723 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
724 l_reloc_result.
725
8e257a29
KS
7262014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
727
728 * stdio-common/printf_fp.c
729 (hack_digit): New function, broken out of ...
730 (__printf_fp): ... local function here. Update call sites.
731 hack_digit now takes an additional parameter that is a pointer
732 to a struct of the referenced locals. Those locals moved inside
733 the struct and references updated.
734
f4a58f0d
L
7352014-09-29 H.J. Lu <hongjiu.lu@intel.com>
736
737 * aclocal.m4: Require autoconf 2.69.
738 * configure: Regenerated.
739 * sysdeps/aarch64/configure: Likewise.
740 * sysdeps/alpha/configure: Likewise.
741 * sysdeps/arm/armv7/configure: Likewise.
742 * sysdeps/arm/configure: Likewise.
743 * sysdeps/ia64/configure: Likewise.
744 * sysdeps/mach/configure: Likewise.
745 * sysdeps/mips/configure: Likewise.
746 * sysdeps/s390/configure: Likewise.
747 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
749
750 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
751 file.
752 * sysdeps/ia64/configure.ac: Likewise.
753
93ae1eba
JM
7542014-09-26 Joseph Myers <joseph@codesourcery.com>
755
1810d3ab
JM
756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
757 specify symbol version for ld.so. Do not include entry for
758 libpthread.
759 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
762
93ae1eba
JM
763 [BZ #14171]
764 * Makeconfig [$(build-shared) = yes]
765 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
766 makefiles.
767 [$(build-shared) = yes && $(soversions.mk-done) = t]
768 ($(common-objpfx)gnu/lib-names.h): Remove rule.
769 [$(build-shared) = yes && $(soversions.mk-done) = t]
770 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
771 to Makerules.
772 [$(build-shared) = yes && $(soversions.mk-done) = t]
773 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
774 here.
775 [$(build-shared) = yes && $(soversions.mk-done) = t]
776 (common-generated): Don't append gnu/lib-names.h and
777 gnu/lib-names.stmp here.
778 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
779 (lib-names-h-abi): New variable.
780 [$(build-shared) = yes && $(soversions.mk-done) = t]
781 (lib-names-stmp-abi): Likewise.
782 [$(build-shared) = yes && $(soversions.mk-done) = t &&
783 abi-variants] (before-compile): Append
784 $(common-objpfx)$(lib-names-h-abi).
785 [$(build-shared) = yes && $(soversions.mk-done) = t &&
786 abi-variants] (common-generated): Append gnu/lib-names.h.
787 [$(build-shared) = yes && $(soversions.mk-done) = t &&
788 abi-variants] (install-others-nosubdir): Depend on
789 $(inst_includedir)/$(lib-names-h-abi).
790 [$(build-shared) = yes && $(soversions.mk-done) = t &&
791 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
792 [$(build-shared) = yes && $(soversions.mk-done) = t]
793 ($(common-objpfx)$(lib-names-h-abi)): New rule.
794 [$(build-shared) = yes && $(soversions.mk-done) = t]
795 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
796 [$(build-shared) = yes && $(soversions.mk-done) = t]
797 (common-generated): Append $(lib-names-h-abi) and
798 $(lib-names-stmp-abi).
799 * scripts/lib-names.awk: Do not handle multi being set.
800 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
801 Remove variable.
802 (abi-lp64_be-ld-soname): Likewise.
803 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
804 Likewise.
805 (abi-hard-ld-soname): Likewise.
806 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
807 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
808 Remove variable.
809 (abi-o32_hard-ld-soname): Likewise.
810 (abi-o32_soft_2008-ld-soname): Likewise.
811 (abi-o32_hard_2008-ld-soname): Likewise.
812 (abi-n32_soft-ld-soname): Likewise.
813 (abi-n32_hard-ld-soname): Likewise.
814 (abi-n32_soft_2008-ld-soname): Likewise.
815 (abi-n32_hard_2008-ld-soname): Likewise.
816 (abi-n64_soft-ld-soname): Likewise.
817 (abi-n64_hard-ld-soname): Likewise.
818 (abi-n64_soft_2008-ld-soname): Likewise.
819 (abi-n64_hard_2008-ld-soname): Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
821 Likewise.
822 (abi-64-v2-ld-soname): Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
824 ld.so entries.
825 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
826 variable.
827 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
828 entry.
829 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
830 variable.
831 (abi-64-ld-soname): Likewise.
832 (abi-x32-ld-soname): Likewise.
833 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
834 entry.
835 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
836
68870f12
JM
8372014-09-23 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #14138]
840 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
841 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
842 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
844 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
845 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
846 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
847 syscall entry for GLIBC_2.2 symbol version.
848 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
849 Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
851 (setrlimit): Likewise.
852 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
853 Likewise.
854
ea58f202
WN
8552014-09-23 Will Newton <will.newton@linaro.org>
856
857 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
858 _LINUX_ARM_SYSDEP_H include guard too.
859 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
860 define.
861
69eb9a18
RV
8622014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
863
864 * sysdeps/unix/sysv/linux/eventfd.c:
865 Make first argument unsigned.
866 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
867 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
868
20e5a5f7
OB
8692014-09-20 Ondřej Bílka <neleai@seznam.cz>
870
871 * socket/recvmmsg.c (recvmmsg): Drop const argument.
872 * socket/sys/socket.h: Likewise
873 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
874
d3c827e7
AK
8752014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
876
877 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
878
fe1cc35a
AS
8792014-09-17 Arjun Shankar <arjun.is@lostca.se>
880
881 * time/tst-ftime.c: New test.
882 * time/Makefile (tests): Add tst-ftime.
883
4e8afe69
JM
8842014-09-17 Joseph Myers <joseph@codesourcery.com>
885
c4fe3ea7
JM
886 * soft-fp/extended.h: Fix comment formatting.
887 * soft-fp/op-1.h: Likewise.
888 * soft-fp/op-2.h: Likewise.
889 * soft-fp/op-4.h: Likewise.
890 * soft-fp/op-8.h: Likewise.
891 * soft-fp/op-common.h: Likewise.
892 * soft-fp/soft-fp.h: Likewise.
893
4e8afe69
JM
894 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
895
af296fcd
JM
8962014-09-16 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #6652]
899 * Makeconfig (soversions-default-setname): Remove variable.
900 ($(common-objpfx)soversions.i): Don't pass default_setname to
901 soversions.awk.
902 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
903 oldest_abi to abi-versions.awk.
904 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
905 * config.make.in (oldest-abi): Remove variable.
906 * configure.ac (--enable-oldest-abi): Remove configure option.
907 * configure: Regenerated.
908 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
909 text.
910 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
911 * scripts/soversions.awk: Do not handle default_setname variable.
912 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
913 variable.
914 * sysdeps/mach/hurd/configure: Regenerated.
915 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
916 variable.
917 * sysdeps/unix/sysv/linux/configure: Regenerated.
918
545583d6
SP
9192014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
920
d330b980
SP
921 * elf/Makefile (CFLAGS-interp.c): Remove.
922 ($(elf-objpfx)runtime-linker.h): Generate header with linker
923 path string.
924 * elf/interp.c: Include generated runtime-linker.h
925
02657da2
SP
926 * Makerules (lib%.so): Don't include $(+interp) in
927 prerequisites.
928 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
929 * dlfcn/eval.c: Remove file.
930
653b1080
SP
931 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
932 macros.
933
602f80ec
SP
934 [BZ #17266]
935 * misc/sys/cdefs.h: Define __extern_always_inline for clang
936 4.2 and newer.
937
545583d6
SP
938 [BZ #17370]
939 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
940
884ddc50
SP
9412014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
942 Jakub Jelinek <jakub@redhat.com>
943
944 [BZ #17266]
945 * libio/stdio.h: Check definition of __fortify_function
946 instead of __extern_always_inline to include bits/stdio2.h.
947 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
948 check if __extern_always_inline is defined.
949 [__USE_MISC || __USE_XOPEN]: Likewise.
950 [__USE_ISOC99] Likewise.
951 * misc/sys/cdefs.h (__fortify_function): Define only if
952 __extern_always_inline is defined.
953 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
954 __extern_always_inline and __extern_inline only for g++-4.3
955 and newer or a compatible gcc.
956
a7b87268
AS
9572014-09-15 Andreas Schwab <schwab@linux-m68k.org>
958
959 [BZ #17371]
960 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
961 last change to handle zero prefix length.
962
3f41521d
SP
9632014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
964
61fe374a
SP
965 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
966 _SC_REGEX_VERSION.
967
3f41521d
SP
968 * posix/getconf.c (vars): Add _POSIX_IPV6 and
969 _POSIX_RAW_SOCKETS.
970
d8f879ee
AM
9712014-09-13 Allan McRae <allan@archlinux.org>
972
973 * po/ru.po: Update Russian translation from translation project.
974
c079afb7
RM
9752014-09-12 Roland McGrath <roland@hack.frob.com>
976
a62b3c15
RM
977 * locale/programs/locale.c (show_locale_vars): Inline local function
978 into its sole call site. Clean up some style nits.
979 (print_item): New function, broken out of ...
980 (show_info): ... local function here. Clean up style nits.
981
d7e49b19
RM
982 * locale/programs/ld-ctype.c (set_one_default): New function, broken
983 out of ...
984 (set_class_defaults): ... local function set_default here.
985 Define set_default as a macro locally to pass constant parameters.
986 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
987 rather than a shared local.
988
c079afb7
RM
989 * stdlib/rpmatch.c (try): New function, broken out of ...
990 (rpmatch): ... local function here. Also, prototypify definition.
991
0bd72468
JM
9922014-09-12 Joseph Myers <joseph@codesourcery.com>
993
ba90e050
JM
994 * scripts/soversions.awk: Do not handle configuration names.
995 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
996 vendor and os variables to soversions.awk.
997 * configure.ac: Do not modify gnu-* host_os.
998 * configure: Regenerated
999 * shlib-versions: Remove first column with configuration names.
1000 * nptl/shlib-versions: Likewise.
1001 * nptl_db/shlib-versions: Likewise.
1002 * sysdeps/hppa/shlib-versions: Likewise.
1003 * sysdeps/m68k/shlib-versions: Likewise.
1004 * sysdeps/mach/hurd/shlib-versions: Likewise.
1005 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1006 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1007 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1008 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1009 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1010 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1011 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1012 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1016 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1017 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1020 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1021 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1022 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1023
73a39112
JM
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1025 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1027 Regenerated.
1028 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1030 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1031
c729e7c1
JM
1032 * shlib-versions: Remove OS-specific entries. Moved to files in
1033 sysdeps.
1034 * sysdeps/mach/hurd/shlib-versions: New file.
1035 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1036
dc932a24
JM
1037 * nptl/shlib-versions: Remove architecture-specific entries.
1038 Moved to files in sysdeps.
1039 * shlib-versions: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1041 file.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1043 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1046
0bd72468
JM
1047 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1048 (UDP_NO_CHECK6_RX): Likewise.
1049
920238e0
SP
10502014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1051
1052 * sysdeps/posix/sysconf.c (__sysconf): Spell
1053 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1054
ba7b4d29
FW
10552014-08-12 Florian Weimer <fweimer@redhat.com>
1056
1057 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1058 loading.
1059 * iconv/Versions (__gconv_transliterate): Export for use from
1060 gconv modules.
1061 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1062 (struct __gconv_trans_data, __gconv_trans_fct,
1063 __gconv_trans_context_fct, __gconv_trans_query_fct,
1064 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1065 definitions.
1066 (struct __gconv_step_data): Remove __trans member.
1067 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1068 longer hidden. Remove unused trans_data argument.
1069 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1070 (__gconv_translit_find): Remove declaration.
1071 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1072 prototype.
1073 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1074 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1075 trans_data argument. Add hidden definition.
1076 (__gconv_translit_find): Remove.
1077 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1078 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1079 * iconv/skeleton.c: Remove transliteration initialization.
1080 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1081 __gconv_step_data initialization.
1082 * libio/iofwide.c (__libio_translit_): Remove.
1083 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1084 * wcsmbs/btowc.c (__btowc): Likewise.
1085 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1086 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1087 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1088 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1089 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1090 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1091 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1092 * wcsmbs/wctob.c (wctob): Likewise.
1093
5379aebd
SP
10942014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
1096 [BZ #16194]
1097 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1098 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1099 register usage.
1100 * sysdeps/x86/Makefile: Adjust.
1101
8c0ab919
RM
11022014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1103 Roland McGrath <roland@hack.frob.com>
1104
1105 * locale/weight.h: Add include guard.
1106 (findidx): Make static rather than auto; take new parameters
1107 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1108 * locale/weightwc.h: Likewise.
1109 * posix/fnmatch_loop.c
1110 (FCT): Change type of EXTRA from int32_t to wint_t.
1111 Don't include either header inside the function.
1112 Call FINDIDX rather than findidx, and pass new arguments.
1113 #undef FINDIDX at the end of the file.
1114 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1115 FINDIDX before including fnmatch_loop.c for the non-wide version.
1116 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1117 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1118 for the wide version.
1119 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1120 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1121 Pass new arguments to findidx.
1122 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1123 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1124 Don't #include it inside the function. Pass new arguments to findidx.
1125 * posix/regex_internal.h
1126 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1127 (re_string_elem_size_at): Don't #include it inside the function.
1128 Pass new arguments to findidx.
1129 * string/strcoll_l.c: #include WEIGHT_H at top level.
1130 (get_next_seq): Don't #include it inside the function.
1131 Pass new arguments to findidx.
1132 (get_next_seq_nocache): Likewise.
1133 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1134 (STRXFRM): Don't #include it inside the function.
1135 Pass new arguments to findidx.
1136
52ffbdf2
FW
11372014-09-11 Florian Weimer <fweimer@redhat.com>
1138
1139 [BZ #17344]
1140 * malloc/malloc.c (unlink): Turn asserts into a call to
1141 malloc_printerr.
1142
984c0ea9
TL
11432014-09-11 Tim Lammens <tim.lammens@gmail.com>
1144
1145 [BZ #17370]
1146 * libio/wfileops (do_ftell_wide): Free OUT.
1147
3daee107
CM
11482014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1149
1150 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1151
58b930ae
SP
11522014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 [BZ #17363]
1155 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1156 group if the current group is empty.
1157
3b473fec
AZ
11582014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
71ae8647
AZ
1160 * benchtests/bench-memset.c (test_main): Add more test from size
1161 from 32 to 512 bytes.
1162 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1163 Add POWER8 memset object.
1164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1165 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1166 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1167 implementation.
1168 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1169 Likewise.
1170 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1171 multiarch POWER8 memset optimization.
1172 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1173 POWER8 memset optimization.
1174
3b473fec
AZ
1175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1176 Remove bzero multiarch objects.
1177 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1178 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1179 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1180 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1181 Remove define.
1182 [__bzero]: Redefine to specific name.
1183 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1184 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1185 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1186 define.
1187 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1188 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1189
e6fb9587
FW
11902014-09-10 Florian Weimer <fweimer@redhat.com>
1191
1192 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1193 warnings into errors.
1194
1195 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1196 __cxa_thread_atexit_impl prototype.
1197
9d3a350b
SE
11982014-09-09 Steve Ellcey <sellcey@mips.com>
1199
1200 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1201 Fix capitalization of error message.
1202
0febba23
SE
12032014-09-09 Steve Ellcey <sellcey@mips.com>
1204
1205 * sysdeps/mips/preconfigure: Modify ABI tests.
1206
645a0e9c
CD
12072014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1208
1209 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1210
d83f0734
CD
12112014-09-07 Roland McGrath <roland@hack.frob.com>
1212 Carlos O'Donell <carlos@systemhalted.org>
1213
1214 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1215 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1216 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1217 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1218 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1219 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1220 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1221 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1222 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1223 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1224 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1225 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1226 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1227 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1228 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1229 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1230 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1231 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1232 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1233 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1234 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1235 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1236 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1237 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1238 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1239 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1240 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1241 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1242 Deconditionalize the code that was previously under [RESET_PID].
1243 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1244 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1245 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1246 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1247 include sysdep.h.
1248
21c83793
AM
12492014-09-08 Allan McRae <allan@archlinux.org>
1250
1251 * version.h (RELEASE): Set to "development".
1252 (VERSION): Set to "2.20.90"
1253
1cd9b65c
AM
12542014-09-07 Allan McRae <allan@archlinux.org
1255
b8079dd0
AM
1256 * version.h (RELEASE): Set to "stable".
1257 (VERSION): Set to "2.20"
1258 * include/features.h (__GLIBC_MINOR__): Set to 20.
1259
c46303ef
AM
1260 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1261 Liebler.
1262
1cd9b65c
AM
1263 * po/ko.po: Update Korean translation from translation project.
1264
8622092d
CM
12652014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1266
1267 [BZ #17354]
1268 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1269 macro for handling signed relocations.
1270
41488498
FW
12712014-09-03 Florian Weimer <fweimer@redhat.com>
1272
1273 [BZ #17325]
1274 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1275 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1276 assert.
1277 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1278 * iconvdata/ibm935.c (BODY): Likewise.
1279 * iconvdata/ibm937.c (BODY): Likewise.
1280 * iconvdata/ibm939.c (BODY): Likewise.
1281 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1282 assert.
1283 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1284 script.
1285 * iconvdata/run-iconv-test.sh: New test loop for checking for
1286 decoder crashers.
1287
a78b712d
KR
12882014-09-02 Khem Raj <raj.khem@gmail.com>
1289
1290 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1291 libm_hidden_ver.
1292
cb08abc6
AM
12932014-09-01 Allan McRae <allan@archlinux.org>
1294
2c31e102
AM
1295 * po/eo.po: Update Esperanto translation from translation project.
1296
cb08abc6
AM
1297 * po/ca.po: Update Catalan translation from translation project.
1298
17a62de1
ST
12992014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1300
1301 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1302 __proc_dostop call.
1303
9570bc53
MW
13042014-08-27 Mark Wielaard <mjw@redhat.com>
1305
1306 [BZ #17319]
1307 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1308 to call set_thread_area instead of hand written asm.
1309 (__NR_set_thread_area): Removed define.
1310 (TLS_FLAG_WRITABLE): Likewise.
1311 (__ASSUME_SET_THREAD_AREA): Remove check.
1312 (TLS_EBX_ARG): Remove define.
1313 (TLS_LOAD_EBX): Likewise.
1314
b0f955c9
ST
13152014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1316
1317 Simplify atomicity of socket creation in bind.
1318
1319 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1320 looking up the name after linking the file.
1321
529bf515
AM
13222014-08-27 Allan McRae <allan@archlinux.org>
1323
1324 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1325
a1a6a401
FW
13262014-08-26 Florian Weimer <fweimer@redhat.com>
1327
1328 [BZ #17187]
1329 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1330 trans_compare, open_translit, __gconv_translit_find):
1331 Remove module loading code.
1332
686ab290
AM
13332014-08-26 Allan McRae <allan@archlinux.org>
1334
e4e7cfd2
AM
1335 * po/vi.po: Update Vietnamese translation from translation project.
1336
6aa09f71
AM
1337 * po/uk.po: Update Ukrainian translation from translation project.
1338
edc0660e
AM
1339 * po/fr.po: Update French translation from translation project.
1340
7eea72ac
AM
1341 * po/ru.po: Update Russian translation from translation project.
1342
93c49eff
AM
1343 * po/pl.po: Update Polish translation from translation project.
1344
46acaf63
AM
1345 * po/cs.po: Update Czech translation from translation project.
1346
a9f5ce98
AM
1347 * po/de.po: Update German translation from translation project.
1348
373f2b78
AM
1349 * po/bg.po: Update Bulgarian translation from translation project.
1350
e7548bd8
AM
1351 * po/sv.po: Update Sweedish translation from translation project.
1352
c526bf4d
AM
1353 * po/nl.po: Update Dutch translation from translation project.
1354
686ab290
AM
1355 * po/es.po: Update Spanish translation from translation project.
1356
eb72478a
SP
13572014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1358
dd763fdb
SP
1359 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1360
318c7a58
SP
1361 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1362 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1363 (CPPFLAGS-iconvconfig): Likewise.
1364 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1365
eb72478a
SP
1366 * include/libc-symbols.h: Remove unnecessary check for
1367 NOT_IN_libc.
1368 * nptl/pthreadP.h: Likewise.
1369 * sysdeps/aarch64/setjmp.S: Likewise.
1370 * sysdeps/alpha/setjmp.S: Likewise.
1371 * sysdeps/arm/sysdep.h: Likewise.
1372 * sysdeps/i386/setjmp.S: Likewise.
1373 * sysdeps/m68k/setjmp.c: Likewise.
1374 * sysdeps/posix/getcwd.c: Likewise.
1375 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1377 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1378 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1379 * sysdeps/sh/sh3/setjmp.S: Likewise.
1380 * sysdeps/sh/sh4/setjmp.S: Likewise.
1381 * sysdeps/unix/alpha/sysdep.h: Likewise.
1382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1385 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1393 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1395 * sysdeps/x86_64/setjmp.S: Likewise.
1396
d44a052c
JM
13972014-08-13 Joseph Myers <joseph@codesourcery.com>
1398
1399 [BZ #17263]
1400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1401 <stdint.h>.
1402 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1403 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1404
508ce3ac
SP
14052014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1406
e44c8b0e
SP
1407 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1408
508ce3ac
SP
1409 [BZ #17262]
1410 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1411 and __x86_64__ when disabling x87 inline functions.
1412
b4acef1f
L
14132014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 [BZ #17259]
1416 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1417 asm statement with __cpuid_count.
1418
61b1ef6e
MF
14192014-08-12 Mike Frysinger <vapier@gentoo.org>
1420
1421 * configure.ac: Change __ehdr_start code to dereference the struct.
1422 Run readelf on the output to look for relocations.
1423 * configure: Regenerated.
1424
898c62f4
JM
14252014-08-12 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #17261]
1428 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1429 value to 0.
1430 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1431
9a8a5720
RM
14322014-08-12 Roland McGrath <roland@hack.frob.com>
1433
1434 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1435
4e75751c
BO
14362014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1437
1438 [BZ #16892]
1439 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1440 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1441
bb2ce416
SA
14422014-08-12 Sean Anderson <seanga2@gmail.com>
1443
1444 * malloc/malloc.c: Fix typo in comment.
1445
7950a4ee
AM
14462014-08-09 Allan McRae <allan@archlinux.org>
1447
1448 * Regenerate libc.po.
1449
f469c49f
MF
14502014-08-08 Mike Frysinger <vapier@gentoo.org>
1451
1452 * intl/tst-gettext2.sh: Check every lang file for creation.
1453
656b84c2
WD
14542014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1455
1456 * sysdeps/aarch64/fpu/math_private.h
1457 (libc_feholdsetround_noex_aarch64_ctx): New function.
1458
538e9e45
W
14592014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1460
1461 * sysdeps/arm/armv6/strcpy.S (strcpy):
1462 Fix performance issue in misaligned cases.
1463
d4795e4a
AZ
14642014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1467 Move definition from termios.h.
1468 (struct termio): Likewise.
1469 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1470 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1471 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1472 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1473 Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1475 Move definition to ioctl-types.h
1476 (struct termio): Likewise.
1477 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1478 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1479 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1480 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1481 Likewise.
1482
64accb62
RH
14832014-08-05 Richard Henderson <rth@redhat.com>
1484
27bb6dc0
RH
1485 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1486 exceptions.
1487 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1488 Add fraiseexcpt.
1489 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1490 Use __feraiseexcept.
1491 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1492 Protect libm symbols with IS_IN_libm.
1493
64accb62
RH
1494 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1495
e5292691
BO
14962014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1497
1498 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1499
5b4bd2d4
WN
15002014-08-04 Will Newton <will.newton@linaro.org>
1501
1502 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1503 file.
1504
fcadaeef
MF
15052014-08-04 Mike Frysinger <vapier@gentoo.org>
1506
1507 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1508 variants for each function.
1509
43a94c64
RM
15102014-08-04 Roland McGrath <roland@hack.frob.com>
1511
1512 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1513 appended ...
1514 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1515 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1516 appended ...
1517 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1518 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1519 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1520 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1521 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1522 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1523 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1524 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1525 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1526 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1529 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1543 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1549 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1551 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1553 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1554 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1555 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1556 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1557 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1559 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1560 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1561 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1563 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1564 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1565 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1566 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1567 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1568 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1569 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1570 Update #include.
1571 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1572 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1573
8f3c1fa4
RM
15742014-08-04 Roland McGrath <roland@hack.frob.com>
1575
1576 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1577 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1578 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1579 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1580 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1581 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1582
ca08746f
RM
15832014-08-04 Roland McGrath <roland@hack.frob.com>
1584
1585 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1586 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1587 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1588 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1589
9c925ff9
RM
15902014-08-04 Roland McGrath <roland@hack.frob.com>
1591
1592 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1593 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1594 (__libc_vfork): Define function under this name.
1595 (__vfork): Define as an alias.
1596 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1597 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1598
e641054c
RM
15992014-08-04 Roland McGrath <roland@hack.frob.com>
1600
1601 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1602 that was previously under [RESET_PID].
1603 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1604
dacdc867
AS
16052014-08-04 Andreas Schwab <schwab@suse.de>
1606
1607 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1608
41f725ff
MF
16092014-08-03 Mike Frysinger <vapier@gentoo.org>
1610
1611 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1612 (main): Likewise.
1613
277cfb31
RM
16142014-08-01 Roland McGrath <roland@hack.frob.com>
1615
1616 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1617
4896f049
RH
16182014-08-01 Richard Henderon <rth@redhat.com>
1619
1620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1621 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1622 typo in exact zero test.
1623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1626
6f64e7d7
RM
16272014-08-01 Roland McGrath <roland@hack.frob.com>
1628
1629 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1630 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1631 * sysdeps/arm/sysdep.h: ... here.
1632 [!__ASSEMBLER__]: Include <stdint.h>.
1633
3f3dd810
SP
16342014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1635
a476ac4b
SP
1636 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1637 (HAVE_WCTYPE_H): Likewise.
1638 (HAVE_ISWCTYPE): Likewise.
1639 (ENABLE_NLS): Likewise.
1640 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1641 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1642
78dd658a
SP
1643 * posix/regex_internal.c: Check if DEBUG is defined and is
1644 set.
1645
3f3dd810
SP
1646 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1647 (HAVE_MBSRTOWCS): Likewise.
1648 * posix/fnmatch.c: Include string.h unconditionally.
1649
95ee7fb1
SL
16502014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1651
1652 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1653 reversal.
1654
23fe486b
RM
16552014-07-31 Roland McGrath <roland@hack.frob.com>
1656
f61a113f
RM
1657 * sysdeps/generic/safe-fatal.h: New file.
1658 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1659 * nptl/forward.c: Include it.
1660 (__pthread_unwind): Use __safe_fatal as default action, rather
1661 than a bogus use of INTERNAL_SYSCALL that could never work.
1662
9fe7e787
RM
1663 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1664 * configure.ac (libc_cv_builtin_trap): New test.
1665 * configure: Regenerated.
1666 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1667 (ABORT_INSTRUCTION): Define using __builtin_trap.
1668
23fe486b
RM
1669 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1670 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1671 * sysdeps/nptl/nptl-signals.h: New file.
1672 * nptl/pthreadP.h: Include <nptl-signals.h>.
1673
f349489e
SL
16742014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1675
1676 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1677 (ONE_DIRECTION): Define.
1678 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1679 (ONE_DIRECTION): Define.
1680 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1681 (ONE_DIRECTION): Define.
1682
2f438e20
SL
16832014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1684
1685 * sysdeps/s390/Makefile: Delete file.
1686 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1687 * sysdeps/s390/__longjmp.c: Delete file.
1688 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1689 Remove fields __flags and __reserved.
1690 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1691 and add versioning.
1692 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1693 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1694 * sysdeps/s390/rtld-setjmp.S: Likewise.
1695 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1696 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1697 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1698 * sysdeps/s390/s390-32/setjmp.S: ... here.
1699 Add versioning.
1700 (__sigsetjmp): Remove setting __flags field.
1701 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1702 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1703 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1704 * sysdeps/s390/s390-64/setjmp.S: ... here.
1705 Add versioning.
1706 (__sigsetjmp): Remove setting __flags field.
1707 * sysdeps/s390/setjmp.S: Delete file.
1708 * sysdeps/s390/sigjmp.c: Likewise.
1709 * sysdeps/s390/v1-longjmp.c: Likewise.
1710 * sysdeps/s390/v1-setjmp.h: Likewise.
1711 * sysdeps/s390/v1-sigjmp.c: Likewise.
1712 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1713 Remove v1-longjmp_chk.
1714 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1715 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1716 Include debug/longjmp_chk.c and add versioning.
1717 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1718 Include nptl/pt-longjmp.c and add versioning.
1719 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1720 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1721 Include __longjmp.c.
1722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1723 Move to ...
1724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1725 (__getcontext): Remove setting __flags field.
1726 Add versioning.
1727 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1728 Don't restore upper high grps.
1729 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1730 Likewise.
1731 (__swapcontext): Remove setting uc_flags field.
1732 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1733 Delete file.
1734 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1735 Include __longjmp.c.
1736 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1737 Move to ...
1738 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1739 (__getcontext): Remove setting __flags field.
1740 Add versioning.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1742 (__swapcontext): Remove setting uc_flags field.
1743 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1744 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1745 Remove fields uc_high_gprs and __reserved.
1746 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1747 New file with reverted content.
1748 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1750 Regenerated.
1751 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1752 Regenerated.
1753
6c9578a2
AS
17542014-07-31 Andreas Schwab <schwab@suse.de>
1755
1756 * config.h.in (HAVE_IFUNC): Define to 0.
1757 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1758 definedness.
1759
05f3633d
LM
17602014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1761
1762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1763 memmove-avx-unaligned, memcpy-avx-unaligned and
1764 mempcpy-avx-unaligned.
1765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1766 Add tests for AVX memcpy functions.
1767 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1768 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1769 memcpy_chk.
1770 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1771 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1772 memmove_chk.
1773 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1774 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1775 mempcpy_chk.
1776 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1777 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1778 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1779
a53fbd8e
AZ
17802013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781
1782 [BZ #17213]
1783 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1784 powerpc64le.
1785
0961f7e1
JL
17862014-07-29 Jeff Layton <jlayton@poochiereds.net>
1787
1788 [BZ #16839]
1789 * manual/llio.texi: Add section about open file description locks.
1790 * manual/examples/ofdlocks.c: Example of open file description
1791 lock usage.
1792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1793 F_OFD_SETLK, and F_OFD_SETLKW.
1794
cc5fb300
AM
17952014-07-23 Allan McRae <allan@archlinux.org>
1796
1797 * po/es.po: Update Spanish translation from translation project.
1798
23329dca
AS
17992014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1800
1801 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1802
9c82da17
MR
18032014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1804
1805 [BZ #17078]
1806 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1807 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1808 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1809
29c4f53e
JM
18102014-07-17 Joseph Myers <joseph@codesourcery.com>
1811
831b9896
JM
1812 [BZ #17088]
1813 * math/fesetenv.c (__fesetenv)
1814 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1815 * math/feupdateenv.c (__feupdateenv)
1816 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1817
b21c2d50
JM
1818 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1819 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1820 (__ASSUME_SOCKETCALL): Do not define.
1821
067764ef
JM
1822 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1823 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1824 (__ASSUME_SOCKETCALL): Do not define.
1825 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1826 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1827 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1828 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1829 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1830 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1831 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1832 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1833
642530c1
JM
1834 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1835 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1836 (__ASSUME_SOCKETCALL): Do not define.
1837 (__ASSUME_IPC64): Define unconditionally.
1838 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1839 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1840 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1841 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1842 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1843 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1844 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1845 Likewise.
1846
03f77315
JM
1847 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1848 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1849 (__ASSUME_SOCKETCALL): Do not define.
1850 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1851 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1852 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1853 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1854 (__ASSUME_REQUEUE_PI): Define unconditionally.
1855 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1856 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1857 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1858 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1859 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1860 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1861
083b1f7c
JM
1862 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1863 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1864 (__ASSUME_SOCKETCALL): Do not define.
1865 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1866 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1867 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1868 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1869 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1870 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1871
5be44ea6
JM
1872 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1873 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1874 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1875 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1876 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1877 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1878 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1879 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1880 (__ASSUME_GETCPU_SYSCALL): Likewise.
1881
d95ffd4c
JM
1882 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1883 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1884 cases for individual architectures.
1885 * sysdeps/gnu/configure: Regenerated.
1886 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1887 LIBC_SLIBDIR_RTLDDIR.
1888 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1889 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1890 LIBC_SLIBDIR_RTLDDIR.
1891 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1893 LIBC_SLIBDIR_RTLDDIR.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1895 Regenerated.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1897 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1898 file.
1899 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1901 file.
1902 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1903 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1904 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1906
29c4f53e
JM
1907 * sysdeps/aarch64/shlib-versions: Move to ...
1908 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1909 * sysdeps/alpha/shlib-versions: Move to ...
1910 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1911 * sysdeps/arm/shlib-versions: Move to ...
1912 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1913 * sysdeps/hppa/shlib-versions: Move all contents except for
1914 libgcc_s entry to ...
1915 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1916 entry from ...
1917 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1918 * sysdeps/ia64/shlib-versions: Move to ...
1919 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1920 entry from ...
1921 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1922 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1923 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1924 * sysdeps/microblaze/shlib-versions: Move to ...
1925 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1926 * sysdeps/mips/shlib-versions: Move to ...
1927 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1928 entry from ...
1929 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1930 * sysdeps/tile/shlib-versions: Move to ...
1931 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1932 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1933 from ...
1934 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1935 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1936 entry from ...
1937 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1938
32bead5b
WN
19392014-07-17 Will Newton <will.newton@linaro.org>
1940
57977c4b
WN
1941 * sysdeps/arm/bits/atomic.h
1942 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1943 (__arch_compare_and_exchange_bool_16_int): Likewise.
1944 (__arch_compare_and_exchange_bool_64_int): Likewise.
1945
32bead5b
WN
1946 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1947 into an #else block.
1948
37fccd41
RM
19492014-07-16 Roland McGrath <roland@hack.frob.com>
1950
1951 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1952 just Linux configurations. Test empirically that the compiler sets
1953 __ARM_EABI__, rather than using the tuple to decide.
1954 * sysdeps/arm/preconfigure: Regenerated.
1955 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1956 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1957 contents appended ...
1958 * sysdeps/arm/configure.ac: ... here.
1959 * sysdeps/arm/configure: Regenerated.
1960
b365f3ec
RM
19612014-07-15 Roland McGrath <roland@hack.frob.com>
1962
8badf496
RM
1963 * nptl/pthread_kill.c: New file.
1964 * nptl/pthread_sigmask.c: New file.
1965 * nptl/pthread_sigqueue.c: New file.
1966
3df6f22e
RM
1967 * sysdeps/nptl/lowlevellock.h: New file.
1968 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1969 * sysdeps/nptl/lowlevellock-futex.h: New file.
1970
b365f3ec
RM
1971 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1972 Remove dead declarations.
1973
f2fef657
L
19742014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1975
1976 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1977 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1978 config-cflags-avx2.
1979 * sysdeps/x86_64/configure.ac: Likewise.
1980 * sysdeps/i386/configure: Regenerated.
1981 * sysdeps/x86_64/configure: Likewise.
1982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1983 memset-avx2 only if config-cflags-avx2 is yes.
1984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1985 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1986 defined.
1987 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1988 only if HAVE_AVX2_SUPPORT is defined.
1989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1990
f6c44d47
AM
19912014-07-14 Alan Modra <amodra@gmail.com>
1992
1993 [BZ #17153]
1994 * elf/elf.h (DT_PPC64_NUM): Correct value.
1995 * NEWS: Add to fixed bug list.
1996
7ee03f00
JM
19972014-07-13 Jim Meyering <meyering@fb.com>
1998
1999 [BZ 17150]
2000 regex: don't deref NULL upon heap allocation failure
2001 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2002 failure in one more place.
2003 To trigger the segfault, configure grep -with-included-regex,
2004 build it, and run these commands:
2005 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2006
9d39d517
AS
20072014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2008
2009 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2010
a75b89b7
RH
20112014-07-11 Richard Henderson <rth@redhat.com>
2012
2013 * sysdeps/aarch64/libm-test-ulps: Update.
2014
771eb141
FW
20152014-07-10 Florian Weimer <fweimer@redhat.com>
2016
2017 [BZ #17135]
2018 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2019 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2020 (__nptl_setxid): Initialize error member. Call
2021 __nptl_setxid_error.
2022 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2023 * nptl/descr.h (struct xid_command): Add error member.
2024 * nptl/tst-setuid3.c: New file.
2025 * nptl/Makefile (tests): Add it.
2026
bc1da176
AZ
20272014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028
2029 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2030 New define.
2031 (__lll_trylock): Use __lll_base_trylock.
2032 (__lll_cond_trylock): Likewise.
2033
887865fc
RM
20342014-07-10 Roland McGrath <roland@hack.frob.com>
2035
c0c6bac9
RM
2036 * nptl/pthread_create.c (start_thread): Use atomic_or and
2037 lll_futex_wake directly rather than lll_robust_dead.
2038 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2039 (lll_robust_dead): Macro removed.
6a42be57 2040 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2041 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2042 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2043 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2044 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2045 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2046 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2047 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2048 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2050 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2051 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2053 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2055
887865fc
RM
2056 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2057 Use atomic_compare_and_exchange_val_acq directly rather than
2058 lll_robust_trylock.
2059 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2060 (__lll_robust_trylock, lll_robust_trylock): Removed.
2061 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2062 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2063 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2064 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2065 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2066 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2067 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2068 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2070 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2071 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2073 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2074 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2075
58536726
FW
20762014-07-02 Florian Weimer <fweimer@redhat.com>
2077
2078 * manual/locale.texi (Locale Names): New section documenting
2079 locale name syntax. Adjust menu and node chaining accordingly.
2080 (Choosing Locale): Reference Locale Names, Locale Categories.
2081 Mention setting LC_ALL=C. Reflect that name syntax is now
2082 documented.
2083 (Locale Categories): New section title. Reference Locale Names.
2084 LC_ALL is an environment variable, but not a category.
2085 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2086 description, now in Locale Name. Reference that section. Locale
2087 name syntax is now documented.
2088
4e8f95a0
FW
20892014-07-02 Florian Weimer <fweimer@redhat.com>
2090
2091 [BZ #17137]
2092 * locale/findlocale.c (name_present, valid_locale_name): New
2093 functions.
2094 (_nl_find_locale): Use the loc_name variable to store name
2095 candidates. Call name_present and valid_locale_name to check and
2096 validate locale names. Return an error if the locale is invalid.
2097
d1836456
FW
20982014-07-02 Florian Weimer <fweimer@redhat.com>
2099
2100 * locale/setlocale.c (setlocale): Use strdup for allocating
2101 composite name copy.
2102
d69b7f5a
SP
21032014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2104
888c679b
SP
2105 Sync up with gnulib.
2106 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2107 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2108 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2109 and _GL_ARG_NONNULL.
2110 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2111 [!_LIBC]: Include code for Windows and Cygwin.
2112 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2113 Include prototype for int strerror_r.
2114 [!_LIBC] (is_open): New function.
2115 (flush_stdout): New function.
2116 (print_errno_message): Use it.
2117 (error): Likewise.
2118 (error_at_line): Likewise.
2119 (error_tail) Add function attribute macros. Use
2120 __builtin_expect.
2121
180e0e4b
SP
2122 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2123
d22f1fe2
SP
2124 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2125
12f2254b
SP
2126 * io/ftw.c: Include sys/param.h unconditionally.
2127
c3c7c360
SP
2128 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2129
d62aa75a
SP
2130 [BZ #17125]
2131 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2132 libc_freeres_ptr.
2133 (freecache): New function to free CACHE on exit.
2134
d69b7f5a
SP
2135 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2136 initialization.
2137
5efe06a1
DM
21382014-07-09 David S. Miller <davem@davemloft.net>
2139
2140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2141
7000d82e
DM
2142 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2143 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2144 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2145 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2146 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2147 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2148 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2149 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2150 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2151 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2152 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2153 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2154 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2155
c213442d
AS
21562014-07-09 Andreas Schwab <schwab@suse.de>
2157
4a2552c3
AS
2158 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2159 output.
2160 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2161 (do_test): Likewise.
2162
c213442d
AS
2163 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2164
82374e65
WN
21652014-07-09 Will Newton <will.newton@linaro.org>
2166
2167 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2168 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2169 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2170 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2171 * sysdeps/hppa/start.S (_start): Likewise.
2172
6680738a
SP
21732014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2174
6ee3eab4
SP
2175 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2176
6680738a
SP
2177 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2178 defined.
2179
80b5c505
SP
21802014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2181
e35c53e3
SP
2182 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2183 after checking that it is non-NULL.
2184
80b5c505
SP
2185 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2186
91f4b564
AZ
21872014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188
27b75f56
AZ
2189 * sysdeps/powerpc/memmove.c: Remove file.
2190 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2191 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2193 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2195 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2196 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2197 string memmove instead of removed powerpc one.
2198
e7f95bb5
AZ
2199 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2200 [weak_alias]: Fix compiler warning due trailing data.
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2202 [weak_alias]: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2204 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2205
91f4b564
AZ
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2207 (__libc_ifunc_impl_list): Add memmove functions.
2208
7c33f1e5
SP
22092014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2210
2211 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2212 Remove code.
2213 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2214 Likewise
2215 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2216 Likewise
2217 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2218 Likewise
2219 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2220 Likewise
2221 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2222 Likewise
2223 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2224 Likewise
2225 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2226 Likewise
2227 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2228 Likewise
2229 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2230 Likewise
2231 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2232 Likewise
2233 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2234 Likewise
2235 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2236 Likewise
2237 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2238 Likewise
2239 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2240 Likewise
2241 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2242 Likewise
2243 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2244 Likewise
2245
3f17b03b
AZ
22462014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247
87868c24
AZ
2248 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2249 to avoid alignment traps in non-cacheable memory.
2250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2251
07aedd78
AZ
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2253 multiarch objects.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2255 file: multiarch power7 memmove.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2257 multiarch default memmove.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2259 multiarch memove for powerpc32/power4.
2260
17762f66
AZ
2261 * string/bcopy.c: Use full path to include memmove.c.
2262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2263 multiarch objects.
2264 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2265 bcopy for powerpc64.
2266 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2267 bcopy for powerpc64.
2268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2269 and memmove implementations.
2270 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2271 optimized multiarch memmove for POWER7/powerpc64.
2272 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2273 default multiarch memmove for powerpc64.
2274 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2275 multiarch for powerpc64.
2276 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2277 for POWER7/powerpc64.
2278 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2279 memmove for POWER7/powerpc64.
2280
d6f68bbe
AZ
2281 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2282 glibc default one.
2283
3f17b03b
AZ
2284 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2285 __ELF_NATIVE_CLASS equal to 64.
2286
08192659
RM
22872014-07-07 Roland McGrath <roland@hack.frob.com>
2288
f4c4021b
RM
2289 * sysdeps/nptl/lowlevellock.h: File removed.
2290
f083450f
RM
2291 * NEWS: NPTL is no longer an add-on!
2292 * nptl/internaltypes.h: Moved ...
2293 * sysdeps/nptl/internaltypes.h: ... here.
2294 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2295 * sysdeps/nptl/fork.c: Likewise.
2296 * sysdeps/nptl/gai_misc.h: Likewise.
2297 * sysdeps/nptl/librt-cancellation.c: Likewise.
2298 * sysdeps/nptl/jmp-unwind.c: Likewise.
2299 * sysdeps/nptl/setxid.h: Likewise.
2300 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2301 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2302 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2303 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2304 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2305 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2306 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2307 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2308 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2309 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2310 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2311 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2312 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2313 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2314 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2315 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2316 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2317 * nptl/Makeconfig: Moved ...
2318 * sysdeps/nptl/Makeconfig: ... here.
2319 * nptl/configure: File removed.
2320 * nptl/ANNOUNCE: File removed.
2321 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2322 * sysdeps/unix/sysv/linux/configure: Regenerated.
2323
08192659
RM
2324 * nptl/Makefile (routines): Add libc_pthread_init,
2325 libc_multiple_threads, register-atfork and unregister-atfork.
2326 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2327 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2328 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2329 pthread-pi-defines.sym, structsem.sym.
2330 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2331 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2332 [$(subdir) = nptl] (tests): Add tst-setgetname.
2333 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2334 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2335 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2336 [!LIBC_SIGACTION]: Remove aliases.
2337 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2338 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2339 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2340 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2341 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2345 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2346 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2347 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2348 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2349 __libc_allocate_rtsig_private.
2350 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2351 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2352 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2353 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2354 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2355 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2356 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2357 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2358 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2359 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2360 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2361 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2362 * nptl/internaltypes.h: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2364 * sysdeps/nptl/jmp-unwind.c: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2366 * nptl/libc-lowlevellock.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2368 * nptl/libc_multiple_threads.c: ... here.
2369 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2370 * nptl/libc_pthread_init.c: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2372 * nptl/lowlevelbarrier.sym: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2374 * nptl/lowlevelcond.sym: ... here.
2375 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2376 * nptl/lowlevellock.c: ... here.
2377 * nptl/lowlevellock.h: Moved ...
2378 * sysdeps/nptl/lowlevellock.h: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2380 * nptl/lowlevelrobustlock.c: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2382 * nptl/lowlevelrobustlock.sym: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2384 * nptl/lowlevelrwlock.sym: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2386 * nptl/pt-fork.c: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2388 * nptl/pthread-pi-defines.sym: ... here.
2389 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2390 * nptl/pthread_attr_getaffinity.c: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2392 * nptl/pthread_attr_setaffinity.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2394 * nptl/pthread_mutex_cond_lock.c: ... here.
2395 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2396 Update #include.
2397 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2398 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2399 * nptl/pthread_once.c: ... here, replacing old file.
2400 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2401 * nptl/pthread_yield.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2403 * nptl/register-atfork.c: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2405 * nptl/sem_post.c: ... here.
2406 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2407 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2408 * nptl/sem_timedwait.c: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2410 * nptl/sem_trywait.c: ... here.
2411 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2412 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2413 * nptl/sem_wait.c: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2415 * nptl/structsem.sym: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2417 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2418 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2419 * nptl/unregister-atfork.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2421 * nptl/unwindbuf.sym: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2423 * sysdeps/nptl/fork.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2425 * sysdeps/nptl/fork.h: ... here.
2426 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2427 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2428 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2430 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2432 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2434 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2436 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2438 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2440 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2442 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2444 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2446 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2448 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2450 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2452 * sysdeps/unix/sysv/linux/raise.c: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2454 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2456 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2458 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2460 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2462 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2464 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2466 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2467 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2468
96baf6ff
SP
24692014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
2471 * sysdeps/generic/memcopy.h: Add comment for
2472 MEMCPY_OK_FOR_FWD_MEMMOVE.
2473
6b7b14b2
WN
24742014-07-04 Will Newton <will.newton@linaro.org>
2475
1570a72b
WN
2476 * string/memchr.c: Merge from gnulib.
2477 [_LIBC]: Remove conditionals.
2478 (__ptr_t): Remove define.
2479 (LONG_MAX_32_BITS): Likewise.
2480 (LONG_MAX): Likewise.
2481 (MEMCHR): Use ANSI prototype and optimize algorithm.
2482
6b7b14b2
WN
2483 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2484
38851324
SP
24852014-07-03 Roland McGrath <roland@hack.frob.com>
2486
3d9eb57c
RM
2487 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2488 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2489
78b984ae
RM
2490 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2491 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2492 in a bare environment with no <stdlib.h> installed.
2493 * sysdeps/nptl/configure: Regenerated.
2494
2d5976a5
RM
2495 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2496
c1f5acd4
RM
2497 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2498 AC_EGREP_CPP for kernel header checks, so they only succeed if
2499 including <linux/version.h> actually works right.
2500 * sysdeps/unix/sysv/linux/configure: Regenerated.
2501
4d614fe5
RM
2502 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2503 value so it's not diagnosed as unused.
2504
38851324
SP
2505 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2506 thing) with "ifeq ($(subdir),rt)".
2507
b3ec00e5
RH
25082014-07-03 Richard Henderson <rth@redhat.com>
2509
69862e25
RH
2510 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2511 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2512 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2513
d5e16ade
RH
2514 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2515 (math_force_eval): New.
2516
ca7b945c
RH
2517 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2518 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2519
cd1175a3
RH
2520 * sysdeps/alpha/fpu/s_round.c: Remove file.
2521 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2522
b3ec00e5
RH
2523 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2524 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2525 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2526 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2527 (_dl_start, print_statistics): Likewise.
2528 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2529 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2530
2531 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2532 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2533 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2534 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2535 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2536 (HP_SMALL_TIMING_AVAIL): Define.
2537 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2539 (HP_SMALL_TIMING_AVAIL): Define.
2540 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2541 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2542
2543 * sysdeps/aarch64/hp-timing.h: New file.
2544
2545 * sysdeps/generic/hp-timing.h: Remove dead comment.
2546 * sysdeps/generic/hp-timing-common.h: New file.
2547 * sysdeps/alpha/hp-timing.h: Include it.
2548 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2549 * sysdeps/i386/i686/hp-timing.h: Likewise.
2550 * sysdeps/ia64/hp-timing.h: Likewise.
2551 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2552 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2553 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2554 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2555 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2556 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2557 (hp_timing_t): New.
2558
2559 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2560 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2561 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2562 * elf/rtld.c (_dl_start_final): Likewise.
2563 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2564 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2565 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2566 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2567 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2568 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2569 (HP_TIMING_DIFF_INIT): Remove.
2570 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2571 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2572 (HP_TIMING_DIFF_INIT): Remove.
2573 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2574 * sysdeps/i386/i686/hp-timing.c: Remove file.
2575 * sysdeps/x86_64/hp-timing.c: Remove file.
2576 * sysdeps/ia64/hp-timing.c: Remove file.
2577 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2578 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2580 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2581
2582 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2583 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2584 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2585 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2587 (HP_TIMING_ACCUM): Remove.
2588 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2589 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2590 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2591
2592 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2593 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2594 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2595 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2597 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2599 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2600
2601 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2602
225f410f
MR
26032014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2604
2605 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2606
3247f285
SP
26072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2608
2609 Sync up with gettext.
2610 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2611 [_MSC_VER]: Include malloc.h
2612 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2613 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2614 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2615 TEMP_FAILURE_RETRY. Cast return of alloca.
2616 [!_LIBC] Call gl_rwlock_init.
2617 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2618
d12704c7
SP
26192014-07-02 Roland McGrath <roland@hack.frob.com>
2620
2621 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2622 before checking its value.
2623
99f8dc92
SP
26242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2625
05fdac77
SP
2626 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2627
99f8dc92
SP
2628 * debug/memcpy_chk.c: Don't include pagecopy.h.
2629 * debug/mempcpy_chk.c: Likewise.
2630 * string/memcpy.c: Likewise.
2631 * string/memmove.c: Likewise.
2632 * sysdeps/powerpc/memmove.c: Likewise.
2633 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2634 definition of PAGE_COPY_FWD_MAYBE here...
2635 * sysdeps/generic/pagecopy.h: ... from here.
2636 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2637
bc8ea385
VR
26382014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2639 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2640
2641 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2643 optimizations.
2644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2645 (__libc_ifunc_impl_list): Likewise.
2646 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2647 multiarch strcat for PPC64.
2648 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2649 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2650
fe5f34e4
RM
26512014-07-02 Roland McGrath <roland@hack.frob.com>
2652
2653 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2654
256aa665
SP
26552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2656
d4eb8195
SP
2657 * intl/loadmsgcat.c: Remove declaration of
2658 get_sysdep_segment_value.
2659 (get_sysdep_segment_value): Use ISO C style.
2660 (_nl_load_domain): Use ISO C style. Get rid of redundant
2661 semicolon. Fix typo and formatting in comment.
2662 (_nl_unload_domain): Use ISO C style.
2663
256aa665
SP
2664 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2665
b100f9aa
WN
26662014-07-02 Will Newton <will.newton@linaro.org>
2667
2668 * malloc/obstack.c: Merge from gnulib master.
2669 [HAVE_CONFIG_H]: Remove conditional code.
2670 [!_LIBC]: Include config.h.
2671 [!ELIDE_CODE]: Don't include inttypes.h, include
2672 stdint.h unconditionally.
2673 (print_and_abort): Mark as _Noreturn.
2674 (_obstack_allocated_p): Mark as __attribute_pure__.
2675 (obstack_free): Rename to __obstack_free.
2676 [!__attribute__]: Remove conditional code.
2677 * malloc/obstack.h: Merge from gnulib master.
2678 [__cplusplus]: Move conditional down.
2679 [!__attribute_pure__]: Define __attribute_pure__ here
2680 if it is not already defined.
2681 (_obstack_memory_used): Mark as __attribute_pure__.
2682 [!__obstack_free]: Define as obstack_free.
2683 [__GNUC__]: Remove check for ancient NeXT gcc.
2684
c4c41244
PE
26852014-07-02 Will Newton <will.newton@linaro.org>
2686 Paul Eggert <eggert@cs.ucla.edu>
2687
2688 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2689
e1e041c4
SP
26902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2691
2692 * resolv/gethnamaddr.c: Add comment warning that the file is
2693 not maintained.
2694
ccf431ff
CD
26952014-07-01 Carlos O'Donell <carlos@redhat.com>
2696
d34570a6
CD
2697 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2698 entries.
2699
ccf431ff
CD
2700 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2701 entry for aio_cancel and aio_cancel64.
2702 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2703 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2704 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2705 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2706 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2707 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2708 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2709 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2710 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2711 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2712 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2713 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2714 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2715
ca06321d
RM
27162014-07-01 Roland McGrath <roland@hack.frob.com>
2717
2718 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2719 * nptl/pthread_mutex_lock.c: Likewise.
2720 * nptl/pthread_mutex_timedlock.c: Likewise.
2721 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2722
a1ac3184
RH
27232014-07-01 Richard henderson <rth@redhat.com>
2724
631021e0
RH
2725 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2726 (__isnan, __isnanl): Remove.
2727 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2728
a1ac3184
RH
2729 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2730
0c1d731f
SL
27312014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2732
2733 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2734
76985d3e
SP
27352014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2736
2737 * resolv/nss_dns/dns-host.c (getanswer_r)
2738 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2739
b0cb3096
JM
27402014-07-01 Joseph Myers <joseph@codesourcery.com>
2741
2742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2743 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2744 undefine.
2745 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2746 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2747
4d76cb39
RM
27482014-07-01 Roland McGrath <roland@hack.frob.com>
2749
2750 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2751 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2752
2753 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2754 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2755
2756 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2757 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2758 ... here.
2759 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2760 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2761
2762 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2763 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2764 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2765 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2766
2767 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2768 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2769 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2772 Moved ...
2773 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2774 ... here.
2775 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2782 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2784 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2785 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2786 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2788 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2790 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2792 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2794 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2795 ... here.
2796 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2799 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2800 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2801 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2802 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2803 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2804
0cdcad17
DH
28052014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2806
2807 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2808 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2809 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2810 Add sysdep.
2811
9b71d0e3
AZ
28122014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2813
2814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2815
665390c2
JM
28162014-06-30 Joseph Myers <joseph@codesourcery.com>
2817
ae05a9d7
JM
2818 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2819 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2820
a7672a2f
JM
2821 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2822
665390c2
JM
2823 * sysdeps/arm/libm-test-ulps: Regenerated.
2824
d7a05d07
MR
28252014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2826 Roland McGrath <roland@hack.frob.com>
2827
2828 * test-skeleton.c (signal_handler): Kill the whole process group
2829 before killing the child individually.
2830 (main): Report any failure on `setpgid'.
2831
46f1d8a6
RM
28322014-06-30 Roland McGrath <roland@hack.frob.com>
2833
2834 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2835 from _TLS_H to _ARM_NPTL_TLS_H.
2836 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2837 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2838
9c37ec0b
JM
28392014-06-30 Joseph Myers <joseph@codesourcery.com>
2840
ce9c5b3e
JM
2841 [BZ #16539]
2842 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2843 (__expm1l): Return argument unchanged when small but not
2844 subnormal.
2845
3a6e9887
JM
2846 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2847 include macro name.
2848 (_FP_UNPACK_RAW_1_P): Likewise.
2849 (_FP_PACK_RAW_1): Likewise.
2850 (_FP_PACK_RAW_1_P): Likewise.
2851 (_FP_MUL_MEAT_1_wide): Likewise.
2852 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2853 (_FP_MUL_MEAT_1_hard): Likewise.
2854 (_FP_DIV_MEAT_1_imm): Likewise.
2855 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2856 (_FP_DIV_MEAT_1_udiv): Likewise.
2857 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2858 (_FP_UNPACK_RAW_2): Likewise.
2859 (_FP_UNPACK_RAW_2_P): Likewise.
2860 (_FP_PACK_RAW_2): Likewise.
2861 (_FP_PACK_RAW_2_P): Likewise.
2862 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2863 (_FP_MUL_MEAT_2_wide): Likewise.
2864 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2865 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2866 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2867 (_FP_MUL_MEAT_2_gmp): Likewise.
2868 (_FP_DIV_MEAT_2_udiv): Likewise.
2869 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2870 (_FP_FRAC_SRL_4): Likewise.
2871 (_FP_FRAC_SRST_4): Likewise.
2872 (_FP_FRAC_SRS_4): Likewise.
2873 (_FP_UNPACK_RAW_4): Likewise.
2874 (_FP_UNPACK_RAW_4_P): Likewise.
2875 (_FP_PACK_RAW_4): Likewise.
2876 (_FP_PACK_RAW_4_P): Likewise.
2877 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2878 (_FP_MUL_MEAT_4_wide): Likewise.
2879 (_FP_MUL_MEAT_4_gmp): Likewise.
2880 (umul_ppppmnnn): Likewise.
2881 (_FP_DIV_MEAT_4_udiv): Likewise.
2882 (__FP_FRAC_ADD_4): Likewise.
2883 (__FP_FRAC_SUB_3): Likewise.
2884 (__FP_FRAC_SUB_4): Likewise.
2885 (__FP_FRAC_DEC_3): Likewise.
2886 (__FP_FRAC_DEC_4): Likewise.
2887 (__FP_FRAC_ADDI_4): Likewise.
2888 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2889 (_FP_FRAC_SRL_8): Likewise.
2890 (_FP_FRAC_SRS_8): Likewise.
2891
9c37ec0b
JM
2892 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2893 include macro name.
2894 (FP_UNPACK_RAW_EP): Likewise.
2895 (FP_PACK_RAW_E): Likewise.
2896 (FP_PACK_RAW_EP): Likewise.
2897 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2898 (_FP_ISSIGNAN): Likewise.
2899 (_FP_ADD_INTERNAL): Likewise.
2900 (_FP_FMA): Likewise.
2901 (_FP_CMP): Likewise.
2902 (_FP_SQRT): Likewise.
2903 (_FP_TO_INT): Likewise.
2904 (_FP_FROM_INT): Likewise.
2905 (FP_EXTEND): Likewise.
2906 (_FP_DIV_MEAT_N_loop): Likewise.
2907
2125f674
MR
29082014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2909
2910 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2911 throughout.
2912
edea4028
JM
29132014-06-29 Joseph Myers <joseph@codesourcery.com>
2914
2915 [BZ #17097]
2916 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2917 result with correct sign in case of exponents that produce
2918 overflow except for X very close to 1.
2919
dd0ba018
PE
29202014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2921
2922 mktime: merge #if/#ifdef usage from glibc
2923 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2924 as that works with both Glibc's and Gnulib's style.
2925 See thread starting at Siddhesh Poyarekar's bug report at:
2926 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2927
64df73c2
SP
29282014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2929
2930 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2931 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2932 * sysdeps/tile/tilegx/memmove.c: Remove file.
2933
f1eafb41
JM
29342014-06-27 Joseph Myers <joseph@codesourcery.com>
2935
2936 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2937 abi-name definition.
2938 * scripts/soversions.awk: Do not handle or generate ABI lines.
2939 * shlib-versions: Remove ABI entries.
2940 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2941 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2942
58eb0862
RM
29432014-06-27 Roland McGrath <roland@hack.frob.com>
2944
37caf178
RM
2945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2946 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2947 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2952 Moved ...
2953 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2954 ... here.
2955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2968 Moved ...
2969 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2975 Moved ...
2976 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2978 Moved ...
2979 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2983 Moved ...
2984 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2992 Moved ...
2993 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2997 Moved ...
2998 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3000 Moved ...
3001 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3005 Moved ...
3006 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3007 ... here.
3008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3009 Identical file removed.
3010 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3011 Moved ...
3012 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3014 Identical file removed.
3015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3016 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3018 Moved ...
3019 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3020 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3021 Identical file removed.
3022 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3023 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3025 Identical file removed.
3026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3027 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3029 Identical file removed.
3030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3031 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3033 Identical file removed.
3034 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3035 Moved ...
3036 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3038 Identical file removed.
3039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3040 Moved ...
3041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3042 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3043 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3045 Identical file removed.
3046 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3047 Moved ...
3048 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3049 ... here.
3050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3051 Identical file removed.
3052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3053 Moved ...
3054 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3055 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3056 Identical file removed.
3057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3058 Moved ...
3059 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3061 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3065 Moved ...
3066 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3067 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3068 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3069
58eb0862
RM
3070 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3071 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3072 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3073 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3074 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3075
6f12d062
AS
30762014-06-27 Arjun Shankar <arjun.is@lostca.se>
3077
3078 [BZ #17092]
3079 * nscd/nscd.c (monitor_child): Return exit status of child
3080 instead of return value from wait syscall.
3081
be254932
JM
30822014-06-27 Joseph Myers <joseph@codesourcery.com>
3083
cb403c34
JM
3084 * configure.ac (libc_commonpagesize): Remove variable.
3085 (libc_relro_required): Likewise.
3086 (libc_cv_z_relro): Remove configure test.
3087 * configure: Regenerated.
3088 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3089 variable.
3090 (libc_relro_required): Likewise.
3091 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3092 (libc_relro_required): Likewise.
3093 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3094 (libc_relro_required): Likewise.
3095 * sysdeps/arm/preconfigure: Regenerated.
3096 * sysdeps/ia64/preconfigure: Remove file.
3097 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3098 variable.
3099 (libc_relro_required): Likewise.
3100
be254932
JM
3101 [BZ #16561]
3102 [BZ #16562]
3103 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3104 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3105 recompute overflowing results in original rounding mode.
3106 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3107 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3108 recompute overflowing results in original rounding mode.
3109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3110 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3111 recompute overflowing results in original rounding mode.
3112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3113 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3114 recompute overflowing results in original rounding mode.
3115 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3116 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3117 recompute overflowing results in original rounding mode.
3118 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3119 (libc_feholdsetround_ctx): New macro.
3120 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3121 * sysdeps/i386/fpu/libm-test-ulps: Update.
3122 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3123
b351d85a
JM
31242014-06-26 Joseph Myers <joseph@codesourcery.com>
3125
3126 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3127 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3128 corresponding .cpsetup call.
3129
3cb4de47
RM
31302014-06-26 Roland McGrath <roland@hack.frob.com>
3131
3132 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3133 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3134 * sysdeps/arm/Makefile [$(subdir) = csu]
3135 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3136 (static-only-routines): Add aeabi_read_tp here.
3137 (shared-only-routines): Add libc-aeabi_read_tp here.
3138 (CFLAGS-libc-start.c): Add -fexceptions here.
3139 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3140 (sysdep_routines, static-only-routines, shared-only-routines):
3141 Don't add to these here.
3142 (CFLAGS-libc-start.c): Likewise.
3143
3144 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3145 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3146 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3147 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3148 * sysdeps/arm/Makefile [$(subdir) = rt]
3149 (librt-sysdep_routines, librt-shared-only-routines):
3150 Append rt-aeabi_unwind_cpp_pr1 here.
3151 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3152 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3153 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3154 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3155 Append nptl-aeabi_unwind_cpp_pr1 here.
3156 (tests): Filter out tst-cleanupx4 here.
3157 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3158 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3159 Don't do those here.
3160
354426bb
JM
31612014-06-26 Joseph Myers <joseph@codesourcery.com>
3162
3163 * scripts/list-sources.sh: Do not handle ports specially.
3164
28b0a8c9
RM
31652014-06-26 Roland McGrath <roland@hack.frob.com>
3166
a3dd035d
RM
3167 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3168 * sysdeps/arm/feupdateenv.c: Likewise.
3169
28b0a8c9
RM
3170 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3171
e66a8203
JM
31722014-06-26 Joseph Myers <joseph@codesourcery.com>
3173
3174 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3175 trailing whitespace removed.
3176 * scripts/config.guess: Update to version 2014-03-23.
3177 * scripts/config.sub: Update to version 2014-05-01
3178 * scripts/install-sh: Update to version 2013-12-25.23.
3179 * scripts/move-if-change: Update from gnulib.
3180
74171115
SP
31812014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3182
b97c9ce5
SP
3183 * debug/memmove_chk.c: Remove pagecopy.h include.
3184
4000f892
SP
31852014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3186
74171115
SP
3187 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3188 identical to gnulib mktime.
3189
a8779c28
JM
31902014-06-26 Joseph Myers <joseph@codesourcery.com>
3191
e64708de
JM
3192 * configure.ac: Do not test for machine being rs6000. Do not test
3193 for powerpc*-*soft.
3194 * configure: Regenerated.
3195
a8779c28
JM
3196 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3197 test.
3198 * configure: Regenerated.
3199 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3200 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3201 Remove configure test.
3202 * sysdeps/arm/configure: Regenerated.
3203 * sysdeps/nptl/configure.ac: Do not check
3204 libc_cv_asm_cfi_directives.
3205 * sysdeps/nptl/configure: Regenerated.
3206 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3207 * sysdeps/x86_64/nptl/configure: Remove generated file.
3208 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3209 unconditional.
3210 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3211
2aac0a86
SP
32122014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3213
059bf913
SP
3214 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3215 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3216 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3217 it is defined.
3218
4cf5b6d0
SP
3219 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3220 instead of whether it is defined.
3221 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3222 * sysdeps/hppa/dl-machine.h: Likewise.
3223 * sysdeps/ia64/dl-machine.h: Likewise.
3224 * sysdeps/m68k/dl-machine.h: Likewise.
3225 * sysdeps/microblaze/dl-machine.h: Likewise.
3226 * sysdeps/mips/dl-machine.: Likewise.
3227 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3228 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3229 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3230 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3231 * sysdeps/sh/dl-machine.h: Likewise.
3232 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3233 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3234 * sysdeps/tile/dl-machine.h: Likewise.
3235 * sysdeps/x86_64/dl-machine.h: Likewise.
3236
2aac0a86
SP
3237 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3238 code.
3239 (verify_persistent_db): Likewise.
3240
6ad2df0b
RM
32412014-06-26 Roland McGrath <roland@hack.frob.com>
3242
d8a483f3
RM
3243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3244 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3248 Moved ...
3249 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3250 ... here.
3251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3254 Identical file removed.
3255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3260 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3262 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3264 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3266 Moved ...
3267 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3273 Moved ...
3274 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3276 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3278 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3280 Identical file removed.
3281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3282 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3286 Moved ...
3287 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3288 ... here.
3289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3292 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3300 Moved ...
3301 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3303 Moved ...
3304 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3306 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3308 Moved ...
3309 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3312
52ae23b4
RM
3313 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3314 folded into ...
3315 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3316 * sysdeps/unix/sysv/linux/s390/Versions
3317 (libpthread: GLIBC_2.19): New version set.
3318 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3319 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3320 (librt: GLIBC_2.3.3): New version set.
3321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3322 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3323 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3324 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3325 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3327 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3329 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3330 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3331 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3332 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3333 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3334 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3335 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3336 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3337 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3340 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3341 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3342 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3343 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3345 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3347 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3349 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3351 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3352 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3356 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3357 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3358 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3359 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3360 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3361 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3363 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3365 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3366
39507e4a
RM
3367 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3368 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3369 (__libc_vfork): Define the function under this name.
3370 [!NOT_IN_libc] (__vfork): Make this an alias.
3371 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3373 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3374 (__libc_vfork): Define the function under this name.
3375 [!NOT_IN_libc] (__vfork): Make this an alias.
3376 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3377 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3378 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3381 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3382
e549ee56
RM
3383 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3384 code that was previously under [RESET_PID].
3385 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3386 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3388
6ad2df0b
RM
3389 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3390 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3391 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3392 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3393 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3394 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3395 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3396 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3397 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3400 Moved ...
3401 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3417 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3418 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3421 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3422 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3425 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3426 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3427 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3428 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3429 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3430
7c1c1d8e
RM
34312014-06-25 Roland McGrath <roland@hack.frob.com>
3432
3433 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3434 that was previously under [RESET_PID].
3435 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3436
3e239be6
JM
34372014-06-25 Joseph Myers <joseph@codesourcery.com>
3438
74385da5
JM
3439 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3440 not undefine and redefine.
3441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3442 [O_CLOEXEC]: Make code unconditional.
3443 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3444 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3445 <kernel-features.h>.
3446 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3447 conditional variable definition.
3448 (shm_open) [O_CLOEXEC]: Make code unconditional.
3449 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3450 code.
3451
c2570a0b
JM
3452 * configure.ac (USE_REGPARMS): Don't define here.
3453 * configure: Regenerated.
3454 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3455 * sysdeps/i386/configure: Regenerated.
3456
11b076bb
JM
3457 * nptl/createthread.c: Don't include kernel-features.h.
3458 * nptl/pthread_cancel.c: Likewise.
3459 * nptl/pthread_condattr_setclock.c: Likewise.
3460 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3461 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3462 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3463 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3464 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3465 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3466 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3468 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3469 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3470 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3471 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3472 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3473 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3474 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3475 * nscd/gai.c: Likewise.
3476 * nss/nss_db/db-open.c: Likewise.
3477 * sysdeps/generic/ldsodefs.h: Likewise.
3478 * sysdeps/sh/nptl/tls.h: Likewise.
3479 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3480 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3481 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3482 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3483 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3484 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3485 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3486 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3488 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3489 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3490 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3491 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3492 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3493 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3494 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3495 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3496 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3497 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3498 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3499 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3500 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3501 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3502 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3503 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3504 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3505 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3506 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3507 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3508 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3509 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3510 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3512 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3513 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3514 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3515 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3516 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3517 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3518 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3519 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3520 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3521 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3522 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3524 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3525 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3526 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3527 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3528 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3529 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3530 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3531 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3532 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3533 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3536 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3559 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3560 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3561 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3562 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3563 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3564 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3565 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3566 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3567 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3568 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3569 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3570 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3571 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3572 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3573 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3574 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3575 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3577 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3578 * sysdeps/unix/sysv/linux/system.c: Likewise.
3579 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3580 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3581 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3582 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3583 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3585 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3586
92072d57
JM
3587 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3588 * configure: Regenerated.
3589 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3590
3e239be6
JM
3591 * configure.ac (base_machine): Do not set specially for particular
3592 machines here.
3593 * configure: Regenerated.
3594 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3595 settings from configure.ac.
3596 * sysdeps/i386/preconfigure: New file.
3597 * sysdeps/s390/preconfigure: Likewise.
3598 * sysdeps/sh/preconfigure: Likewise.
3599 * sysdeps/sparc/preconfigure: Likewise.
3600
06d50baa
RM
36012014-06-25 Roland McGrath <roland@hack.frob.com>
3602
74836003
RM
3603 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3604 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3605 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3606 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3607 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3608 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3609 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3610 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3611 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3612 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3613 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3614 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3615 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3616 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3618 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3620 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3621 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3622
3623 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3624 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3625 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3626 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3627 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3628 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3629 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3630 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3631 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3632 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3633 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3634 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3635 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3636 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3637 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3638 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3639 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3640 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3641 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3642 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3644 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3646 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3647 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3648 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3650 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3652 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3654 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3655 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3656 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3657 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3658 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3659 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3660 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3661
06d50baa
RM
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3663 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3667 Moved ...
3668 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3669 ... here.
3670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3675 Moved ...
3676 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3684 Moved ...
3685 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3687 Moved ...
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3692 Moved ...
3693 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3695 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3697 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3699 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3701 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3703 Moved ...
3704 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3705 ... here.
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3711 Moved ...
3712 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3714 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3720 Moved ...
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3723 Moved ...
3724 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3726 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3728 Moved ...
3729 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3733 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3734
a4ccbc9b
JM
37352014-06-25 Joseph Myers <joseph@codesourcery.com>
3736
0828edbf
JM
3737 * timezone/checktab.awk: Update from tzcode 2014e.
3738 * timezone/private.h: Likewise.
3739 * timezone/tzfile.h: Likewise.
3740 * timezone/zdump.c: Likewise.
3741 * timezone/zic.c: Likewise.
3742
a4ccbc9b
JM
3743 * sysdeps/unix/sysv/linux/kernel-features.h
3744 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3746 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3747 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3748 Remove conditional code.
3749
9aea0cb8
WN
37502014-06-25 Will Newton <will.newton@linaro.org>
3751
3752 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3753 (_dl_arm_cap_flags): Add HWCAP2 values.
3754 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3755 (_DL_HWCAP_COUNT): Increase to 37.
3756 (_DL_HWCAP_LAST): New define.
3757 (_DL_HWCAP2_LAST): New define.
3758 (_dl_procinfo): Add support for printing
3759 AT_HWCAP2 entries.
3760 (_dl_string_hwcap): Use _dl_hwcap_string.
3761
6eaa65ce
AZ
37622014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3763
3764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3765
0f5b7185
JM
37662014-06-25 Joseph Myers <joseph@codesourcery.com>
3767
cfd2ea50
JM
3768 * README: Do not mention ports directory.
3769
cecf2ed4
JM
3770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3771 Remove macro.
3772 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3773 <kernel-features.h>.
3774 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3775 conditional variable definition.
3776 (__futimes): Update comment.
3777 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3778 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3779
a638de82
JM
3780 [BZ #16560]
3781 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3782 arguments close to 0.
3783 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3784 Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3786 Likewise.
3787 * math/auto-libm-test-in: Add more tests of exp10.
3788 * math/auto-libm-test-out: Regenerated.
3789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3790
0f5b7185
JM
3791 * sysdeps/unix/sysv/linux/kernel-features.h
3792 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3793 * sysdeps/unix/sysv/linux/readv.c: Do not include
3794 <kernel-features.h>.
3795 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3796 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3797 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3798 unconditional.
3799 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3800 conditional code.
3801 * sysdeps/unix/sysv/linux/writev.c: Do not include
3802 <kernel-features.h>.
3803 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3804 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3805 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3806 unconditional.
3807 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3808 conditional code.
3809
c7aec4be
WN
38102014-06-25 Will Newton <will.newton@linaro.org>
3811
3812 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3813 comment changes throughout the file. Remove checks
3814 for HAVE_*_H definitions that are not required.
3815 (__gen_tempname): Call abort if an unknown kind value is
3816 passed.
3817
c5241f95
AS
38182014-06-25 Andreas Schwab <schwab@suse.de>
3819
3820 [BZ #17086]
3821 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3822 scalbln, scalblnf, scalblnl in libc.
3823
911422da
SP
38242014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3825
3826 [BZ #17086]
3827 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3828 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3829 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3830
0d749bbe
RM
38312014-06-24 Roland McGrath <roland@hack.frob.com>
3832
3833 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3834 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3835 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3836 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3837 Update #include.
3838 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3839 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3840 Update #include.
3841 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3842 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3843 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3844 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3845 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3846 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3847 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3848 * sysdeps/x86/bits/semaphore.h: ... here.
3849 * sysdeps/x86/nptl/elide.h: Moved ...
3850 * sysdeps/x86/elide.h: ... here.
3851 * sysdeps/x86_64/nptl/Implies: File removed.
3852 * sysdeps/i386/nptl/Implies: File removed.
3853
0ea5d373
JM
38542014-06-24 Joseph Myers <joseph@codesourcery.com>
3855
4060283d
JM
3856 [BZ #16539]
3857 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3858 return the argument for normal arguments with exponent below -64.
3859 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3860 Likewise.
3861 * math/auto-libm-test-in: Add another test of expm1.
3862 * math/auto-libm-test-out: Regenerated.
3863
e7dd3c8c
JM
3864 [BZ #16287]
3865 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3866 calling __erfcl for arguments at least 16.
3867 * math/auto-libm-test-in: Add more tests of erf.
3868 * math/auto-libm-test-out: Regenerated.
3869
0ea5d373
JM
3870 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3871 individual architectures.
3872 * sysdeps/unix/sysv/linux/configure: Regenerated.
3873 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3874 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3875 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3876 (ldd_rewrite_script): Define variable.
3877 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3879 file.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3881 generated file.
3882 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3883 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3884 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3885 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3886 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3887 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3888 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3889 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3890
2307e126
SP
38912014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3892
3893 [BZ #17084]
3894 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3895 Rename member __data.d to __data.__elision_data.
3896
c0a4ed77
W
38972014-06-24 Wilco <wdijkstr@arm.com>
3898
3899 * NEWS: Add 16918 to fixed bug list.
3900
b8c00573
W
39012014-06-24 Wilco <wdijkstr@arm.com>
3902
3903 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3904
b5570d92
W
39052014-06-24 Wilco <wdijkstr@arm.com>
3906
3907 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3908 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3909 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3910 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3911 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3912 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3913 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3914 Use _FPU_MASK_RM.
3915
947bdca2
W
39162014-06-24 Wilco <wdijkstr@arm.com>
3917
3918 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3919
00f669ed
W
39202014-06-24 Wilco <wdijkstr@arm.com>
3921
3922 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3923 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3924 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3925 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3926
db59bad3
W
39272014-06-24 Wilco <wdijkstr@arm.com>
3928
3929 [BZ #16918]
3930 * sysdeps/arm/feupdateenv.c (feupdateenv):
3931 Rewrite to reduce FPSCR accesses and fix return value.
3932
001f7b77
W
39332014-06-24 Wilco <wdijkstr@arm.com>
3934
3935 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3936 Optimize to avoid unnecessary FPSCR writes.
3937 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3938 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3939 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3940 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3941
4841e6a6
W
39422014-06-24 Wilco <wdijkstr@arm.com>
3943
3944 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3945 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3946 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3947 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3948 Call libc_fetestexcept_vfp.
3949 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3950 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3951 __SOFTFP__ ifdef so that they can be built for softfp.
3952
0813022c
SP
39532014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3954
08e5862f
SP
3955 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3956 argument type signed char.
3957
0813022c
SP
3958 * Makerules (check-abi): Dump diff of symlist if the test
3959 fails.
3960
3fc7236a
RM
39612014-06-23 Roland McGrath <roland@hack.frob.com>
3962
aba8ef95
RM
3963 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3964 using abort.
3965
3fc7236a
RM
3966 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3967 Remove unused variable ST.
3968
4da6db51
JM
39692014-06-23 Joseph Myers <joseph@codesourcery.com>
3970
4648909d
JM
3971 [BZ #16354]
3972 [BZ #17061]
3973 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3974 small arguments before calling __expm1.
3975 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3976 small arguments before calling __expm1f.
3977 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3978 small arguments before calling __expm1l.
3979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3980 Likewise.
3981 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3982 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3983 spurious underflow for some cosh tests.
3984 * math/auto-libm-test-out: Regenerated.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986
46a3d3c7
JM
3987 [BZ #17050]
3988 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3989 (__ieee754_y1): Set errno if return value overflows.
3990 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3991 (__ieee754_y1f): Set errno if return value overflows.
3992 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3993 (__ieee754_y1l): Set errno if return value overflows.
3994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3995 (__ieee754_y1l): Set errno if return value overflows.
3996 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3997 * math/auto-libm-test-out: Regenerated.
3998
863893ec
JM
3999 * math/gen-auto-libm-tests.c: Document use of
4000 ignore-zero-inf-sign.
4001 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4002 (input_flags): Add ignore-zero-inf-sign.
4003 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4004 * math/gen-libm-test.pl (generate_testfile): Handle
4005 ignore-zero-inf-sign.
4006 * math/auto-libm-test-in: Mark some cpow tests with
4007 ignore-zero-inf-sign and some with xfail-rounding.
4008 * math/auto-libm-test-out: Regenerated.
4009 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012
4da6db51
JM
4013 [BZ #16315]
4014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4015 overflowing or underflowing operations take place with sign of
4016 result.
4017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4018 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4019 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4020 (__ieee754_pow): Recompute overflowing and underflowing results in
4021 original rounding mode.
4022 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4023 (__powl_helper): Allow negative argument X and scale negated value
4024 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4026 overflowing or underflowing operations take place with sign of
4027 result.
4028 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4029 Include <math.h>.
4030 * math/auto-libm-test-in: Add more tests of pow.
4031 * math/auto-libm-test-out: Regenerated.
4032 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4033 (pow_tonearest_test_data): Remove.
4034 (pow_test_tonearest): Likewise.
4035 (pow_towardzero_test_data): Likewise.
4036 (pow_test_towardzero): Likewise.
4037 (pow_downward_test_data): Likewise.
4038 (pow_test_downward): Likewise.
4039 (pow_upward_test_data): Likewise.
4040 (pow_test_upward): Likewise.
4041 (main): Don't call removed functions.
4042 * sysdeps/i386/fpu/libm-test-ulps: Update.
4043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4044
5686b236
RM
40452014-06-23 Roland McGrath <roland@hack.frob.com>
4046
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4048 Moved ...
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4051 Moved ...
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4054 Moved ...
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4057 Moved ...
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4060 File removed.
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4062 File removed.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4064 File removed.
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4066 File removed.
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4068 File removed.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4070 File removed.
4071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4072 File removed.
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4074 File removed.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4076 File removed.
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4078 File removed.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4080 File removed.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4082 File removed.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4084 Moved ...
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4087 Moved ...
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4089 ... here.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4091 Moved ...
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4094 Moved ...
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4097 Moved ...
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4100 Moved ...
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4103 Moved ...
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4106 Moved ...
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4109 Moved ...
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4113 ... here.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4115 Moved ...
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4118 Moved ...
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4120 ... here.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4122 Moved ...
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4124 ... here.
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4126 Moved ...
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4128 ... here.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4130 Moved ...
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4133 Moved ...
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4138 Moved ...
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4140 ... here.
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4142 Moved ...
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4144 ... here.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4146 Moved ...
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4149 Moved ...
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4152 Moved ...
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4155 Moved ...
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4158 Moved ...
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4160 ... here.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4162 Moved ...
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4165 Moved ...
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4168 Moved ...
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4171 Moved ...
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4176 Moved ...
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4179 Moved ...
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4182 Moved ...
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4184 ... here.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4186 Moved ...
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4188 ... here.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4190 Moved ...
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4192 ... here.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4194 Moved ...
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4197 Moved ...
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4200 Moved ...
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4203 Moved ...
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4205 ... here.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4207 Moved ...
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4209 ... here.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4213 ... here.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4215 Moved ...
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4218 Moved ...
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4220
e6d90d67
WD
42212014-06-23 Will Newton <will.newton@linaro.org>
4222 Wilco <wdijkstr@arm.com>
4223
4224 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4225 implementation. Include get-rounding-mode.h.
4226 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4227 [!libc_feholdsetround_noex_ctx]: Define
4228 libc_feholdsetround_noex_ctx.
4229 [!libc_feholdsetround_noexf_ctx]: Define
4230 libc_feholdsetround_noexf_ctx.
4231 [!libc_feholdsetround_noexl_ctx]: Define
4232 libc_feholdsetround_noexl_ctx.
4233 (libc_feholdsetround_ctx): New function.
4234 (libc_feresetround_ctx): New function.
4235 (libc_feholdsetround_noex_ctx): New function.
4236 (libc_feresetround_noex_ctx): New function.
4237
d42df555
RM
42382014-06-23 Roland McGrath <roland@hack.frob.com>
4239
88a46474
RM
4240 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4241 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4242 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4243 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4244 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4245 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4246
15bed472
RM
4247 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4248 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4249 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4250 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4251 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4252 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4253 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4254 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4258 Moved ...
4259 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4260 ... here.
4261 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4266 Moved ...
4267 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4275 Moved ...
4276 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4278 Moved ...
4279 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4283 Moved ...
4284 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4288 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4289 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4290 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4291 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4294 Moved ...
4295 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4296 ... here.
4297 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4310 Moved ...
4311 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4313 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4315 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4317 Moved ...
4318 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4322 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4323
d42df555
RM
4324 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4325 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4326 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4331 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4333 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4334 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4335 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4336 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4338 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4343 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4349 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4350 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4351 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4352
76e5216e
JM
43532014-06-23 Joseph Myers <joseph@codesourcery.com>
4354
4355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4356 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4357 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4358 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4359 (IPV6_PMTUDISC_INTERFACE): Likewise.
4360 (IPV6_PMTUDISC_OMIT): Likewise.
4361
7a81cbcc
AS
43622014-06-23 Andreas Schwab <schwab@suse.de>
4363
4364 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4365 Remove unused errout label.
4366
db224009
AZ
43672014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4368
4369 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4370 macro: hardware supports Vector Crypto instructions.
4371
f393b4aa
WN
43722014-06-23 Will Newton <will.newton@linaro.org>
4373
cc7d0447
WN
4374 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4375 rather than __builtin_expect.
4376
d6d06225
WN
4377 * elf/dl-lookup.c (undefined_msg): Remove variable.
4378 (_dl_lookup_symbol_x): Replace undefined_msg with string
4379 literal.
4380
f393b4aa
WN
4381 * elf/dl-lookup.c (do_lookup_unique): New function.
4382 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4383 to a separate function.
4384
ac60763e
AS
43852014-06-23 Andreas Schwab <schwab@suse.de>
4386
4387 [BZ #17079]
4388 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4389 before reading the next line.
4390
c5c13355
WN
43912014-06-23 Will Newton <will.newton@linaro.org>
4392
4393 * test-skeleton.c (signal_handler): Use printf and %m
4394 rather than perror. Use printf rather than fprintf to
4395 stderr. Use puts rather than fputs to stderr.
4396 (main): Likewise.
4397
bd3675f9
LC
43982014-06-22 Ludovic Courtès <ludo@gnu.org>
4399
4400 * nscd/nscd.c (thread_info_t): Remove typedef.
4401 (thread_info): Remove variable.
4402
d03efb2f
AM
44032014-06-21 Allan McRae <allan@archlinux.org>
4404
4405 * NEWS: Mention CVE-2014-4043.
4406
bc4a86fa
RM
44072014-06-20 Roland McGrath <roland@hack.frob.com>
4408
dc9a54f8
RM
4409 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4410 * nptl/smp.h: ... here.
4411
bd7022c4
RM
4412 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4413
26ffd5e6
RM
4414 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4415 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4416 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4417 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4418
93a6d082
RM
4419 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4420 * nptl/stack-aliasing.h: New file.
4421 * sysdeps/i386/i686/stack-aliasing.h: New file.
4422 * sysdeps/i386/i686/nptl/Makefile: File removed.
4423 * sysdeps/x86_64/stack-aliasing.h: New file.
4424 * sysdeps/x86_64/nptl/Makefile
4425 (CFLAGS-pthread_create.c): Variable removed.
4426
bc4a86fa
RM
4427 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4428 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4429 old file.
4430 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4431 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4432 old file.
4433
2272ffc1
JM
44342014-06-21 Joseph Myers <joseph@codesourcery.com>
4435
4436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4437 (__ASSUME_SIGFRAME_V2): Remove macro.
4438 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4439 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4440 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4441 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4442 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4443 Declare as function. Remove conditional macro definitions.
4444 (__default_rt_sa_restorer): Likewise.
4445 (__default_sa_restorer_v1): Remove declaration.
4446 (__default_sa_restorer_v2): Likewise.
4447 (__default_rt_sa_restorer_v1): Likewise.
4448 (__default_rt_sa_restorer_v2): Likewise.
4449 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4450 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4451 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4452
4b88139b
RM
44532014-06-20 Roland McGrath <roland@hack.frob.com>
4454
4455 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4456 (libpthread-routines): Add sysdep.
4457 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4458 * sysdeps/unix/sysv/linux/sparc/Versions
4459 (libpthread: GLIBC_2.3.3): New version set.
4460 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4461 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4462 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4463 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4464 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4465 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4466 Moved ...
4467 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4468 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4469 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4470 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4471 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4472 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4473 * sysdeps/sparc/nptl/sem_init.c: ... here.
4474 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4475 * sysdeps/sparc/nptl/sem_post.c: ... here.
4476 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4477 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4478 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4479 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4480 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4481 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4482 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4483 (libpthread-routines): Add cpu_relax.
4484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4485 File removed.
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4487 (librt: GLIBC_2.3.3): New version set.
4488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4489 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4491 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4494 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4496 Moved ...
4497 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4499 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4501 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4503 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4505 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4507 Moved ...
4508 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4509 Update #include.
4510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4511 Moved ...
4512 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4513 Update #include.
4514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4515 Moved ...
4516 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4517 Update #include.
4518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4519 Moved ...
4520 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4521 Update #include.
4522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4523 Moved ...
4524 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4525 Update #include.
4526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4527 Moved ...
4528 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4529 Update #include.
4530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4531 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4537 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4539 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4541 Moved ...
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4547
d7109027
JM
45482014-06-20 Joseph Myers <joseph@codesourcery.com>
4549
9bc6103d
JM
4550 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4551 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4552 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4553 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4554 * nscd/nscd.c: Likewise.
4555 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4556 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4557 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4558 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4559
d7109027
JM
4560 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4561 <kernel-features.h>.
4562 (init_mq_netlink): Remove conditional have_sock_cloexec
4563 definitions. Remove code conditional on have_sock_cloexec < 0.
4564 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4565 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4566 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4567 <kernel-features.h>.
4568 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4569 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4570
d92d8f8a
L
45712014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4574 Add tests for memset_chk and memset.
4575
4576 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4577 with AVX2_Usable.
4578
4e6d2347
MR
45792014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4580
257ce712
MR
4581 [BZ #16046]
4582 * elf/tst-dl-iter-static.c: New file.
4583 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4584
4e6d2347
MR
4585 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4586 error.
4587
a2a76afe
JM
45882014-06-20 Joseph Myers <joseph@codesourcery.com>
4589
7fd00f99
JM
4590 * sysdeps/unix/sysv/linux/kernel-features.h
4591 (__ASSUME_F_GETOWN_EX): Remove macro.
4592 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4593 <kernel-features.h>.
4594 (miss_F_GETOWN_EX): Remove variable or macro.
4595 (do_fcntl): Do not check miss_F_GETOWN_EX.
4596 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4597
4a103975
JM
4598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4599 Remove macro.
4600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4601 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4602 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4603
a2a76afe
JM
4604 * sysdeps/unix/sysv/linux/kernel-features.h
4605 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4606 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4607 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4608 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4609
90e5dd48
MR
46102014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4611
4612 [BZ #17075]
4613 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4614 Fix calculation of the symbol's value.
4615 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4616 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4617 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4618 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4619 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4620 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4621 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4622 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4623 (modules-names): Add `tst-armtlsdescmod',
4624 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4625 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4626 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4627 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4628 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4629 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4630 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4631 ($(objpfx)tst-armtlsdescloc): New dependency.
4632 ($(objpfx)tst-armtlsdescextnow): Likewise.
4633 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4634 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4635 TLS scheme support.
4636 * sysdeps/arm/configure: Regenerate.
4637
809fdf0d
JM
46382014-06-20 Joseph Myers <joseph@codesourcery.com>
4639
4640 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4641 (__atfct_seterrno_2): Likewise.
4642 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4643 <kernel-features.h>.
4644 (__ASSUME_ATFCTS): Do not undefine and redefine.
4645 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4646 (__have_atfcts): Remove conditional definition.
4647 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4648 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4649 unreachable if [__ASSUME_ATFCTS].
4650 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4651 not undefine and redefine.
4652 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4653 <kernel-features.h>.
4654 (faccessat) [__NR_faccessat]: Make code unconditional.
4655 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4656 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4657 <kernel-features.h>.
4658 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4659 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4661 <kernel-features.h>.
4662 (fchownat) [__NR_fchownat]: Make code unconditional.
4663 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4664 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4665 <kernel-features.h>.
4666 (futimesat) [__NR_futimesat]: Make code unconditional.
4667 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4668 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4669 <kernel-features.h>.
4670 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4671 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4672 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4673 <kernel-features.h>.
4674 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4675 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4676 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4677 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4678 <kernel-features.h>.
4679 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4680 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4681 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4682 <kernel-features.h>.
4683 (linkat) [__NR_linkat]: Make code unconditional.
4684 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4685 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4686 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4687 <kernel-features.h>.
4688 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4689 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4690 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4691 <kernel-features.h>.
4692 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4693 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4694 * sysdeps/unix/sysv/linux/openat.c: Do not include
4695 <kernel-features.h>.
4696 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4697 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4698 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4699 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4700 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4701 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4702 <kernel-features.h>.
4703 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4704 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4705 result of INLINE_SYSCALL directly, not via int variable.
4706 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4707 <kernel-features.h>.
4708 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4709 (renameat) [__NR_renameat]: Make code unconditional.
4710 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4711 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4712 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4713 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4715 (__ASSUME_ATFCTS): Do not undefine and redefine.
4716 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4717 <kernel-features.h>.
4718 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4719 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4720 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4721 <kernel-features.h>.
4722 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4723 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4724 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4725 (__ASSUME_ATFCTS): Do not undefine and redefine.
4726 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4727 <kernel-features.h>.
4728 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4729 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4730 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4731 <kernel-features.h>.
4732 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4733 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4734
224c6c51
L
47352014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4736
4737 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4738
aa6ec754
AS
47392014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4740
4741 [BZ #17069]
4742 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4743 constructed tree before returning error.
4744 * posix/bug-regexp36.c: Expand test case.
4745
d8c2869d
SL
47462014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4747
3ef6b850
SL
4748 [BZ #6803]
4749 * math/libm-test.inc (scalbln_test_date):
4750 Add errno expectations.
4751 * math/w_scalblnf.c: New File.
4752 Add wrapper which checks for setting errno to ERANGE.
4753 Add weak_alias for corresponding scalbln function.
4754 * math/w_scalbln.c: Likewise.
4755 * math/w_scalblnl.c: Likewise.
4756 * math/Makefile (libm-calls): Add w_scalbln.
4757 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4758 Remove weak_alias for corresponding scalbln function.
4759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4763 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4764 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4765 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4766 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4767 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4768 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4769 Remove long_double_symbol for scalblnl function in libm, libc.
4770 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4771 Add wrapper which checks for setting errno to ERANGE.
4772 Add long_double_symbol for scalblnl function in libm, libc.
4773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4774 Remove long_double_symbol for scalblnl in libm.
4775 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4776 Add wrapper which checks for setting errno to ERANGE.
4777 Add long_double_symbol for scalblnl function in libm.
4778 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4779 Do not use wrapper because of own implementation.
4780
c8daec5c
L
47812014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4784 3 bytes for __pad1 for x32.
4785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4786
5c74e47c
LM
47872014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4788 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4791 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4792 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4793 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4794 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4795
4d43ef1e
AS
47962014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4797
4798 [BZ #17069]
4799 * posix/regcomp.c (parse_expression): Deallocate partially
4800 constructed tree before returning error.
4801 * posix/Makefile.c (tests): Add bug-regex36.
4802 (generated): Add bug-regex36.mtrace.
4803 (tests-special): Add $(objpfx)bug-regex36-mem.out
4804 (bug-regex36-ENV): New variable.
4805 ($(objpfx)bug-regex36-mem.out): New rule.
4806 * posix/bug-regex36.c: New file.
4807
51a7380b
WN
48082014-06-19 Will Newton <will.newton@linaro.org>
4809
4810 * malloc/malloc.c (systrim): If extra is zero then return
4811 early.
4812
91b84fe5
SP
48132014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
4815 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4816
f940b965
RE
48172014-06-19 Richard Earnshaw <rearnsha@arm.com>
4818
4819 * sysdeps/aarch64/strchr.S: New file.
4820
4ba7a00f
JM
48212014-06-18 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #17022]
4824 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4825 from arguments -2 or below.
4826 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4827 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4828
b3a9f56b
AS
48292014-06-18 Andreas Schwab <schwab@suse.de>
4830
4831 [BZ #17062]
4832 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4833 of a bracket expr not to run off the end of the string.
4834 * posix/Makefile (tests): Add tst-fnmatch3.
4835 * posix/tst-fnmatch3.c: New file.
4836
85d89278
JM
48372014-06-18 Joseph Myers <joseph@codesourcery.com>
4838
4839 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4840 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4841 [$(cross-compiling) = no]: Likewise.
4842 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4843 [$(cross-compiling) = no]: Likewise.
4844
754c5a08
RS
48452014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4846
4847 [BZ #17031]
4848 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4849 double, adjusted for any remainder from the high double.
4850 * math/libm-test.inc (nearbyint): Add tests.
4851 (rint): Likewise.
4852
556f529d
AZ
48532014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854
4855 * nptl/sysdeps/powerpc/Makefile: Moved ...
4856 * sysdeps/powerpc/nptl/Makefile: ... here.
4857 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4858 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4859 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4860 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4861 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4862 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4863 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4864 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4865 * nptl/sysdeps/powerpc/tls.h: Moved ...
4866 * sysdeps/powerpc/nptl/tls.h: ... here.
4867
91c03c53
JM
48682014-06-16 Joseph Myers <joseph@codesourcery.com>
4869
4870 [BZ #16681]
4871 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4872 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4873 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4874 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4875 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4876 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4877 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4878 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4879 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4880
a76e63c5
AS
48812014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4882
4883 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4884
f2f6d82f
AS
48852014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4886
ea8a15f6
AS
4887 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4888 defined operator.
4889
f2f6d82f
AS
4890 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4891 $TIMEOUTFACTOR.
4892
a7291117
FW
48932014-06-16 Florian Weimer <fweimer@redhat.com>
4894
4895 [BZ #17058]
4896 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4897 non-executed part of the test.
4898
3d7c00e3
AS
48992014-06-16 Andreas Schwab <schwab@suse.de>
4900
4901 * string/bits/string2.h (strdup, strndup): Update feature guard.
4902
6957fb31
DM
49032014-06-14 David S. Miller <davem@davemloft.net>
4904
4905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4906
11b9e55b
AS
49072014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4908
1d2a0492
AS
4909 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4910 that was previously under [RESET_PID].
4911 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4912
11b9e55b
AS
4913 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4914 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4915 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4916 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4917 (__libc_vfork): New strong alias.
4918 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4919
0f6901d0
AK
49202014-06-14 Andi Kleen <ak@linux.intel.com>
4921
4922 * sysdeps/generic/elide.h: New file.
4923
38bbbb9f
SL
49242014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4925
4926 * Makefile (installed-headers): Adjust path of pthread.h header.
4927
45193bb8
RM
49282014-06-13 Roland McGrath <roland@hack.frob.com>
4929
9a25fd1e
RM
4930 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4931 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4933 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4934
4004f7e4
RM
4935 * nptl/sysdeps/s390/Makefile: Moved ...
4936 * sysdeps/s390/nptl/Makefile: ... here.
4937 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4938 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4939 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4940 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4941 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4942 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4943 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4944 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4945 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4946 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4947 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4948 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4949 * nptl/sysdeps/s390/tls.h: Moved ...
4950 * sysdeps/s390/nptl/tls.h: ... here.
4951
45193bb8
RM
4952 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4953 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4954
f6fdf533
DM
49552014-06-13 David S. Miller <davem@davemloft.net>
4956
4957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4960 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4964 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4965 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4966 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4967 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4968 Remove RESET_PID cpp guards.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4970 Remove RESET_PID cpp guards.
4971 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4972
f5d71e14
AS
49732014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4974
4975 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4976 __sp to uintptr_t.
4977
b7aa8caa
AK
49782014-06-13 Andi Kleen <ak@linux.intel.com>
4979
4b266200
AZ
4980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4981 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4982 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4983 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4986 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4988 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4989 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4992 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4993 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4994 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4995 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4996 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4997 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4998 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4999 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5000
5001 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5002 (pthread_rwlock_rdlock): Add elision.
5003 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5004 (pthread_rwlock_wrlock): Add elision.
5005 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5006 (pthread_rwlock_trywrlock): Add elision.
5007 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5008 (pthread_rwlock_tryrdlock): Add elision.
5009 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5010 (pthread_rwlock_tryrdlock): Add elision unlock.
5011 * nptl/sysdeps/pthread/pthread.h:
5012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5013 (PTHREAD_RWLOCK_INITIALIZER,
5014 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5015 Handle new elision field.
5016 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5017 * sysdeps/arm/nptl/bits/pthreadtypes.h
5018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5019 * sysdeps/sh/nptl/bits/pthreadtypes.h
5020 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5021 * sysdeps/tile/nptl/bits/pthreadtypes.h
5022 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5023 * sysdeps/a/nptl/bits/pthreadtypes.h
5024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5025 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5027 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5029 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5031 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5033 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5034 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5035 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5037 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5039 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5041 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5042 (elision_init): Set try_xbegin to zero when no RTM.
5043 * sysdeps/x86/nptl/bits/pthreadtypes.h
5044 (pthread_rwlock_t): Change __pad1 to __rwelision.
5045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5046
a832bdd3
AK
50472014-06-13 Andi Kleen <ak@linux.intel.com>
5048
5049 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5050 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5051 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5052 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5053
995a46bb
MI
50542014-06-13 Meador Inge <meadori@codesourcery.com>
5055
5056 [BZ #16996]
03ed7738 5057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5058 that the cached result has been set before returning it.
5059
45262aee
RM
50602014-06-12 Roland McGrath <roland@hack.frob.com>
5061
febf6cc5
RM
5062 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5063 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5065 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5067 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5068
e2682246
RM
5069 * nptl/sysdeps/sparc/Makefile: Moved ...
5070 * sysdeps/sparc/nptl/Makefile: ... here.
5071 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5072 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5073 * nptl/sysdeps/sparc/tls.h: Moved ...
5074 * sysdeps/sparc/nptl/tls.h: ... here.
5075 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5076 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5077 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5078 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5079 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5080 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5081 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5082 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5083 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5084 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5085 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5086 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5087 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5088 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5089 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5090 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5091 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5092 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5093 Update #include.
5094 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5096 Update #include.
5097 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5098 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5099 Update #include.
5100 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5102 Update #include.
5103
b0725f43
RM
5104 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5105
b14368b8
RM
5106 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5107 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5108
c5620eb3
RM
5109 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5110 (struct list_links): Type removed.
5111 (struct thread_node, struct timer_node): Replace struct list_links
5112 with struct list_head.
5113 (list_unlink_ip): Likewise.
5114 * sysdeps/pthread/timer_routines.c
5115 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5116 (list_append, list_insbefore): Likewise.
5117 (list_init): Function removed.
5118 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5119 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5120 * sysdeps/pthread/Makefile: ... here, new file.
5121
5122 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5123 * sysdeps/nptl/Implies: ... here.
5124 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5125 * nptl/sysdeps/pthread/list.h: Moved ...
5126 * include/list.h: ... here.
5127 * nptl/sysdeps/pthread/createthread.c: Moved ...
5128 * nptl/createthread.c: ... here.
5129 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5130 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5131 * nptl/pt-longjmp.c: ... here.
5132 * nptl/sysdeps/pthread/Makefile: Moved ...
5133 * sysdeps/nptl/Makefile: ... here.
5134 * nptl/sysdeps/pthread/Subdirs: Moved ...
5135 * sysdeps/nptl/Subdirs: ... here.
5136 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5137 * sysdeps/nptl/aio_misc.h: ... here.
5138 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5139 * sysdeps/nptl/bits/libc-lock.h: ... here.
5140 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5141 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5142 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5143 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5144 * nptl/sysdeps/pthread/configure: Moved ...
5145 * sysdeps/nptl/configure: ... here.
5146 * nptl/sysdeps/pthread/configure.ac: Moved ...
5147 * sysdeps/nptl/configure.ac: ... here.
5148 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5149 * sysdeps/nptl/gai_misc.h: ... here.
5150 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5151 * sysdeps/nptl/librt-cancellation.c: ... here.
5152 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5153 * sysdeps/nptl/malloc-machine.h: ... here.
5154 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5155 * sysdeps/nptl/pthread-functions.h: ... here.
5156 * nptl/sysdeps/pthread/pthread.h: Moved ...
5157 * sysdeps/nptl/pthread.h: ... here.
5158 * nptl/sysdeps/pthread/setxid.h: Moved ...
5159 * sysdeps/nptl/setxid.h: ... here.
5160 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5161 * sysdeps/nptl/sigfillset.c: ... here.
5162 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5163 * sysdeps/nptl/tcb-offsets.h: ... here.
5164 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5165 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5166 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5167 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5168 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5169 * sysdeps/pthread/allocalim.h: ... here.
5170 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5171 * sysdeps/pthread/bits/sigthread.h: ... here.
5172 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5173 * sysdeps/pthread/flockfile.c: ... here.
5174 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5175 * sysdeps/pthread/ftrylockfile.c: ... here.
5176 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5177 * sysdeps/pthread/funlockfile.c: ... here.
5178 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5179 * sysdeps/pthread/posix-timer.h: ... here.
5180 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5181 * sysdeps/pthread/timer_create.c: ... here.
5182 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5183 * sysdeps/pthread/timer_delete.c: ... here.
5184 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5185 * sysdeps/pthread/timer_getoverr.c: ... here.
5186 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5187 * sysdeps/pthread/timer_gettime.c: ... here.
5188 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5189 * sysdeps/pthread/timer_routines.c: ... here.
5190 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5191 * sysdeps/pthread/timer_settime.c: ... here.
5192 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5193 * sysdeps/pthread/tst-timer.c: ... here.
5194 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5195 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5196
e876b090
RM
5197 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5198 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5199
f6b07b3d
RM
5200 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5201 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5202 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5203 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5204 Update #include target.
5205 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5206 * sysdeps/i386/i686/nptl/Makefile: ... here.
5207 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5208 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5209 Update #include target.
5210 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5211 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5212 * nptl/sysdeps/i386/Makefile: Moved ...
5213 * sysdeps/i386/nptl/Makefile: ... here.
5214 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5215 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5216 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5217 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5218 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5219 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5220 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5221 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5222 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5223 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5224 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5225 * nptl/sysdeps/i386/tls.h: Moved ...
5226 * sysdeps/i386/nptl/tls.h: ... here.
5227
45262aee
RM
5228 * sysdeps/sh/Makefile [$(subdir) = csu]
5229 (gen-as-const-headers): Add tcb-offsets.sym.
5230 * nptl/sysdeps/sh/Makefile: File removed.
5231 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5232 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5233 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5234 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5235 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5236 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5237 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5238 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5239 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5240 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5241 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5242 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5243 * nptl/sysdeps/sh/tls.h: Moved ...
5244 * sysdeps/sh/nptl/tls.h: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5246 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5247 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5248 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5249 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5250 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5251 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5252 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5254 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5256 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5258 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5260 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5261 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5262 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5264 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5266 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5270 Moved ...
5271 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5273 Moved ...
5274 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5278 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5280 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5281 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5282 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5284 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5286 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5288 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5290 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5291 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5292 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5293
35a5e3e3
SL
52942014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5295
5296 * posix/spawn_faction_addopen.c: Include string.h.
5297
14642b85
RM
52982014-06-11 Roland McGrath <roland@hack.frob.com>
5299
5300 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5301 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5302 * nptl/sysdeps/x86_64/Makefile: Moved ...
5303 * sysdeps/x86_64/nptl/Makefile: ... here.
5304 * nptl/sysdeps/x86_64/configure: Moved ...
5305 * sysdeps/x86_64/nptl/configure: ... here.
5306 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5307 * sysdeps/x86_64/nptl/configure.ac: ... here.
5308 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5309 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5310 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5311 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5312 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5313 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5314 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5315 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5316 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5317 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5318 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5319 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5320 * nptl/sysdeps/x86_64/tls.h: Moved ...
5321 * sysdeps/x86_64/nptl/tls.h: ... here.
5322 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5323 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5324 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5325 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5326
5327 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5328
31c44fea
AZ
53292014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5330
5331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5332
e81a4f9a
JM
53332014-06-11 Joseph Myers <joseph@codesourcery.com>
5334
5335 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5336 type.
5337 [POSIX] (off_t): Likewise.
5338 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5339 [POSIX] (S_ISBLK): Require macro.
5340 [POSIX] (S_ISCHR): Likewise.
5341 [POSIX] (S_ISDIR): Likewise.
5342 [POSIX] (S_ISFIFO): Likewise.
5343 [POSIX] (S_ISREG): Likewise.
5344 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5345 optional-macro.
5346 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5347 type.
5348 [POSIX] (time_t): Likewise.
5349 [POSIX] (timer_t): Likewise.
5350
89e435f3
FW
53512014-06-11 Florian Weimer <fweimer@redhat.com>
5352
5353 [BZ #17048]
5354 * posix/spawn_int.h (struct __spawn_action): Make the path string
5355 non-const to support deallocation.
5356 * posix/spawn_faction_addopen.c
5357 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5358 * posix/spawn_faction_destroy.c
5359 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5360 path in all spawn_do_open actions.
5361 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5362 posix_spawn_file_actions_addopen.
5363
c3a2ebe1
CM
53642014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5365
5366 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5367 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5368 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5369 conditional code always true.
5370 (__libc_vfork): New alias.
5371
9503784a
RM
53722014-06-11 Roland McGrath <roland@hack.frob.com>
5373
c9cab3d2
RM
5374 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5375 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5376
d3996c79
RM
5377 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5378
ba5ec611
RM
5379 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5380 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5381
f12b4814
RM
5382 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5383 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5384
9503784a
RM
5385 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5386 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5387
e23d3d26
VR
53882014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5389
5390 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5391 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5392 multiarch strcmp for PPC64.
5393 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5394 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5396 multiarch optimizations.
5397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5398 (__libc_ifunc_impl_list): Likewise.
5399
42b1161e
SP
54002014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5401
5402 * benchtests/scripts/validate_benchout.py: New script.
5403 * benchtests/Makefile (bench-func): Call it.
5404 * benchtests/scripts/benchout.schema.json: New file.
5405
2d0fc4dc
CM
54062014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5407
4a594c34
AZ
5408 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5409 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5410 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5411 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5412 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5413 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5414 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5415 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5416 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5417 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5418 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5419 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5420 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5421 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5422 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5423 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5425 Moved ...
4a594c34 5426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5427 ... here.
4a594c34 5428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5429 Moved ...
4a594c34
AZ
5430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5432 Moved ...
4a594c34 5433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5434 ... here.
4a594c34 5435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5436 Moved ...
4a594c34 5437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5438 ... here.
4a594c34 5439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5440 Moved ...
4a594c34
AZ
5441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5443 Moved ...
4a594c34 5444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5445 ... here.
4a594c34 5446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5447 Moved ...
4a594c34 5448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5449 ... here.
4a594c34 5450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5451 Moved ...
4a594c34
AZ
5452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5454 Moved ...
4a594c34 5455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5456 ... here.
4a594c34 5457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5458 Moved ...
4a594c34 5459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5460 ... here.
4a594c34 5461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5462 Moved ...
4a594c34 5463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5464 ... here.
4a594c34 5465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5466 Moved ...
4a594c34
AZ
5467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5469 Moved ...
4a594c34 5470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5471 ... here.
4a594c34 5472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5473 Moved ...
4a594c34 5474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5475 ... here.
4a594c34 5476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5477 Moved ...
4a594c34 5478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5479 ... here.
4a594c34 5480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5481 Moved ...
4a594c34
AZ
5482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5484 Moved ...
4a594c34 5485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5486 ... here.
4a594c34 5487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5488 Moved ...
4a594c34 5489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5490 ... here.
4a594c34 5491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5492 Moved ...
4a594c34
AZ
5493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5495 Moved ...
4a594c34 5496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5497 ... here.
4a594c34 5498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5499 Moved ...
4a594c34
AZ
5500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5502 Moved ...
4a594c34
AZ
5503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5505 Moved ...
4a594c34 5506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5507 ... here.
4a594c34 5508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5509 Moved ...
4a594c34 5510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5511 ... here.
4a594c34 5512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5513 Moved ...
4a594c34 5514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5515 ... here.
4a594c34 5516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5517 Moved ...
4a594c34
AZ
5518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5520 Moved ...
4a594c34 5521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5522 ... here.
4a594c34 5523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5524 Moved ...
4a594c34 5525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5526 ... here.
4a594c34
AZ
5527 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5528 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5529 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5530 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5532 Moved ...
4a594c34 5533 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5534 ... here.
4a594c34
AZ
5535 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5536 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5537 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5538 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5539 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5540 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5541 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5542 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5544 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5546 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5548 Moved ...
4a594c34
AZ
5549 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5551 Moved ...
4a594c34
AZ
5552 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5554 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5556 Moved ...
4a594c34
AZ
5557 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5559 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5561 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5562 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5563 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5564
0570cfed
W
55652014-06-10 Wilco <wdijkstr@arm.com>
5566
5567 * math/test-fenv-return.c: New file.
5568 * math/Makefile: Add new test test-fenv-return.
5569
f8ba1b56
JM
55702014-06-10 Joseph Myers <joseph@codesourcery.com>
5571
5572 [BZ #17042]
5573 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5574 when x - 1 is zero.
5575 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5576 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5577 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5578 0.0L for an argument of 1.0L.
5579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5580 Likewise.
5581 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5582 value when x - 1 is zero.
5583 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5584 * sysdeps/i386/fpu/libm-test-ulps: Update.
5585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5586
2c3520d9
BO
55872014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5588
5589 [BZ #15119]
5590 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5591
acaa4d24
RM
55922014-06-09 Roland McGrath <roland@hack.frob.com>
5593
5594 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5595 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5596
962b744d
RM
55972014-06-09 Roland McGrath <roland@hack.frob.com>
5598
d752f0cc
RM
5599 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5600 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5601
34eda6d1
RM
5602 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5603 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5604
50f0a637
RM
5605 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5606 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5607
08f41f04
RM
5608 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5609 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5610
962b744d
RM
5611 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5612 if not already defined.
5613 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5614 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5615 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5616 (TLS_INIT_TP): Use it.
5617 (TLS_DEFINE_INIT_TP): New macro.
5618 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5619
09f19b05
JM
56202014-06-09 Joseph Myers <joseph@codesourcery.com>
5621
5622 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5623 constant.
5624 [POSIX] (IXANY): Likewise.
5625 [POSIX] (OLCUC): Likewise.
5626 [POSIX || POSIX2008] (CBAUD): Do not allow.
5627 [POSIX || POSIX2008] (DEFECHO): Likewise.
5628 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5629 [POSIX || POSIX2008] (ECHOKE): Likewise.
5630 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5631 [POSIX || POSIX2008] (EXTA): Likewise.
5632 [POSIX || POSIX2008] (EXTB): Likewise.
5633 [POSIX || POSIX2008] (FLUSHO): Likewise.
5634 [POSIX || POSIX2008] (LOBLK): Likewise.
5635 [POSIX || POSIX2008] (PENDIN): Likewise.
5636 [POSIX || POSIX2008] (SWTCH): Likewise.
5637 [POSIX || POSIX2008] (VDISCARD): Likewise.
5638 [POSIX || POSIX2008] (VDSUSP): Likewise.
5639 [POSIX || POSIX2008] (VLNEXT): Likewise.
5640 [POSIX || POSIX2008] (VREPRINT): Likewise.
5641 [POSIX || POSIX2008] (VSTATUS): Likewise.
5642 [POSIX || POSIX2008] (VWERASE): Likewise.
5643 (B*): Change to B[0123456789]*.
5644 * conform/data/time.h-data [POSIX || UNIX98]
5645 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5646 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5647 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5648 [POSIX] (tm_*): Do not allow.
5649
686554bf
JM
56502014-06-07 Joseph Myers <joseph@codesourcery.com>
5651
5652 * Makefile (install): Don't set LANGUAGE.
5653 * Makefile.in (install): Likewise.
5654 * assert/Makefile (test-assert-ENV): Remove variable.
5655 (test-assert-perr-ENV): Likewise.
5656 * elf/Makefile (neededtest4-ENV): Likewise.
5657 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5658 [$(cross-compiling) = no]: Don't set LANGUAGE.
5659 * io/ftwtest-sh (LANG): Remove variable.
5660 * libio/Makefile (tst-widetext-ENV): Likewise.
5661 * manual/install.texi (Running make install): Don't refer to
5662 environment settings for make install.
5663 * INSTALL: Regenerated.
5664 * nptl/tst-tls6.sh: Don't set LANG.
5665 * posix/globtest.sh (LANG): Remove variable.
5666 * string/Makefile (tester-ENV): Likewise.
5667 (inl-tester-ENV): Likewise.
5668 (noinl-tester-ENV): Likewise.
5669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5670 [$(cross-compiling) = no]: Don't set LANGUAGE.
5671 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5672 without explicit environment settings.
5673
68e6b6b1
RM
56742014-06-06 Roland McGrath <roland@hack.frob.com>
5675
5676 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5677 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5679 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5680
4d3ae034
CM
56812014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5682
5683 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5684 other files in the crypt directory.
5685 * crypt/crypt.c: Remove duplicate includes.
5686 * crypt/crypt-entry.c: Likewise.
5687 * crypt/crypt_util.c: Likewise.
5688
8540f6d2
JM
56892014-06-06 Joseph Myers <joseph@codesourcery.com>
5690
5691 * Makeconfig (run-program-env): New variable.
5692 (run-program-prefix-before-env): Likewise.
5693 (run-program-prefix-after-env): Likewise.
5694 (run-program-prefix): Define in terms of new variables.
5695 (built-program-cmd-before-env): New variable.
5696 (built-program-cmd-after-env): Likewise.
5697 (built-program-cmd): Define in terms of new variables.
5698 (test-program-prefix-before-env): New variable.
5699 (test-program-prefix-after-env): Likewise.
5700 (test-program-prefix): Define in terms of new variables.
5701 (test-program-cmd-before-env): New variable.
5702 (test-program-cmd-after-env): Likewise.
5703 (test-program-cmd): Define in terms of new variables.
5704 * Rules (make-test-out): Use $(run-program-env).
5705 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5706 (help): Do not mention environment variables. Mention
5707 --timeoutfactor option.
5708 (timeoutfactor): New variable.
5709 (blacklist_exports): Remove function.
5710 (exports): Remove variable.
5711 (command): Do not include ${exports}.
5712 * manual/install.texi (Configuring and compiling): Do not mention
5713 test wrappers preserving environment variables. Mention that last
5714 assignment to a variable must take precedence.
5715 * INSTALL: Regenerated.
5716 * benchtests/Makefile (run-bench): Use $(run-program-env).
5717 * catgets/Makefile ($(objpfx)test1.cat): Use
5718 $(built-program-cmd-before-env), $(run-program-env) and
5719 $(built-program-cmd-after-env).
5720 ($(objpfx)test2.cat): Do not specify environment variables
5721 explicitly.
5722 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5723 $(run-program-env) and $(built-program-cmd-after-env).
5724 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5725 $(run-program-env) and $(test-program-cmd-after-env).
5726 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5727 explicitly.
5728 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5729 run_program_env and test_program_cmd_after_env arguments.
5730 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5731 * elf/tst-pathopt.sh: Use run_program_env argument.
5732 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5733 $(test-wrapper-env) and $(run-program-env).
5734 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5735 run_program_env arguments.
5736 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5737 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5738 $(test-program-prefix-before-env), $(run-program-env) and
5739 $(test-program-prefix-after-env).
5740 ($(objpfx)tst-gettext2.out): Likewise.
5741 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5742 run_program_env and test_program_prefix_after_env arguments.
5743 * intl/tst-gettext2.sh: Likewise.
5744 * intl/tst-gettext4.sh: Do not set environment variables
5745 explicitly.
5746 * intl/tst-gettext6.sh: Likewise.
5747 * intl/tst-translit.sh: Likewise.
5748 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5749 $(test-program-prefix-before-env), $(run-program-env) and
5750 $(test-program-prefix-after-env).
5751 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5752 run_program_env and test_program_prefix_after_env arguments.
5753 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5754 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5755 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5756 explicitly with each use of ${test_wrapper_env}.
5757 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5758 $(test-program-prefix-before-env), $(run-program-env) and
5759 $(test-program-prefix-after-env).
5760 * posix/tst-getconf.sh: Do not set environment variables
5761 explicitly.
5762 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5763 run_program_env and test_program_prefix_after_env arguments.
5764 * stdio-common/tst-printf.sh: Do not set environment variables
5765 explicitly.
5766 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5767 $(test-program-prefix-before-env), $(run-program-env) and
5768 $(test-program-prefix-after-env).
5769 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5770 run_program_env and test_program_prefix_after_env arguments.
5771 Split $test calls into $test_pre and $test.
5772 * timezone/Makefile (build-testdata): Use
5773 $(built-program-cmd-before-env), $(run-program-env) and
5774 $(built-program-cmd-after-env).
5775
ed36bfa1
AZ
57762014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777
5778 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5779 strlen for non SHARED builds.
5780
fc75bf46
SP
57812014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5782
5783 * nptl/allocatestack.c (check_list): Inlined function...
5784 (__reclaim_stacks): ... here.
5785
d89b3d80
OB
57862014-06-05 Ondřej Bílka <neleai@seznam.cz>
5787
5788 [BZ #15698]
5789 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5790 memory overrun.
5791
2bf18041
JM
57922014-06-05 Joseph Myers <joseph@codesourcery.com>
5793
5794 * Rules (make-test-out): Include
5795 LOCPATH=$(common-objpfx)localedata in default environment.
5796 * debug/Makefile (tst-chk1-ENV): Remove variable.
5797 (tst-chk2-ENV): Likewise.
5798 (tst-chk3-ENV): Likewise.
5799 (tst-chk4-ENV): Likewise.
5800 (tst-chk5-ENV): Likewise.
5801 (tst-chk6-ENV): Likewise.
5802 (tst-lfschk1-ENV): Likewise.
5803 (tst-lfschk2-ENV): Likewise.
5804 (tst-lfschk3-ENV): Likewise.
5805 (tst-lfschk4-ENV): Likewise.
5806 (tst-lfschk5-ENV): Likewise.
5807 (tst-lfschk6-ENV): Likewise.
5808 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5809 (tst-iconv7-ENV): Likewise.
5810 * intl/Makefile (LOCPATH-ENV): Likewise.
5811 (tst-codeset-ENV): Likewise.
5812 (tst-gettext3-ENV): Likewise.
5813 (tst-gettext5-ENV): Likewise.
5814 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5815 (tst-fopenloc-ENV): Likewise.
5816 (tst-fgetws-ENV): Remove variable.
5817 (tst-ungetwc1-ENV): Likewise.
5818 (tst-ungetwc2-ENV): Likewise.
5819 (bug-ungetwc2-ENV): Likewise.
5820 (tst-swscanf-ENV): Likewise.
5821 (bug-ftell-ENV): Likewise.
5822 (tst-fgetwc-ENV): Likewise.
5823 (tst-fseek-ENV): Likewise.
5824 (tst-ftell-partial-wide-ENV): Likewise.
5825 (tst-ftell-active-handler-ENV): Likewise.
5826 (tst-ftell-append-ENV): Likewise.
5827 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5828 (tst-regexloc-ENV): Likewise.
5829 (bug-regex1-ENV): Likewise.
5830 (tst-regex-ENV): Likewise.
5831 (tst-regex2-ENV): Likewise.
5832 (bug-regex5-ENV): Likewise.
5833 (bug-regex6-ENV): Likewise.
5834 (bug-regex17-ENV): Likewise.
5835 (bug-regex18-ENV): Likewise.
5836 (bug-regex19-ENV): Likewise.
5837 (bug-regex20-ENV): Likewise.
5838 (bug-regex22-ENV): Likewise.
5839 (bug-regex23-ENV): Likewise.
5840 (bug-regex25-ENV): Likewise.
5841 (bug-regex26-ENV): Likewise.
5842 (bug-regex30-ENV): Likewise.
5843 (bug-regex32-ENV): Likewise.
5844 (bug-regex33-ENV): Likewise.
5845 (bug-regex34-ENV): Likewise.
5846 (bug-regex35-ENV): Likewise.
5847 (tst-rxspencer-ENV): Likewise.
5848 (tst-rxspencer-no-utf8-ENV): Likewise.
5849 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5850 (tst-sscanf-ENV): Likewise.
5851 (tst-swprintf-ENV): Likewise.
5852 (tst-swscanf-ENV): Likewise.
5853 (test-vfprintf-ENV): Likewise.
5854 (scanf13-ENV): Likewise.
5855 (bug14-ENV): Likewise.
5856 (tst-grouping-ENV): Likewise.
5857 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5858 (tst-strtod3-ENV): Likewise.
5859 (tst-strtod4-ENV): Likewise.
5860 (tst-strtod5-ENV): Likewise.
5861 (testmb2-ENV): Likewise./
5862 * string/Makefile (tst-strxfrm-ENV): Likewise.
5863 (tst-strxfrm2-ENV): Likewise.
5864 (bug-strcoll1-ENV): Likewise.
5865 (test-strcasecmp-ENV): Likewise.
5866 (test-strncasecmp-ENV): Likewise.
5867 * time/Makefile (tst-strptime-ENV): Likewise.
5868 (tst-ftime_l-ENV): Likewise.
5869 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5870 (tst-mbrtowc-ENV): Likewise.
5871 (tst-wcrtomb-ENV): Likewise.
5872 (tst-mbrtowc2-ENV): Likewise.
5873 (tst-c16c32-1-ENV): Likewise.
5874 (tst-mbsnrtowcs-ENV): Likewise.
5875
cd1fb604
OB
58762014-06-05 Ondřej Bílka <neleai@seznam.cz>
5877
5878 * manual/resource.texi (How to get information about the memory
5879 subsystem?): Fix typo.
5880 Reported by Peon de la Parra Ivan <peon@keba.com>
5881
b42eca7d
GY
58822014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5883
5884 [BZ #16882]
5885 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5886 (pthread_spin_lock): Branch out of spin loop to proper location.
5887 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5888 (pthread_spin_lock): Likewise.
5889
902b71f9
DM
5890 * nptl/tst-spin4.c: New test.
5891 * nptl/Makefile (tests): Add tst-spin4.
5892
f9d2d032
AS
58932014-06-03 Andreas Schwab <schwab@suse.de>
5894
5895 [BZ #15946]
5896 * resolv/res_send.c (send_dg): Reload file descriptor after
5897 calling reopen.
5898
cf7bfd28
SL
58992014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5900
5901 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5902
111cc714
RH
59032014-06-03 Richard Henderson <rth@redhat.com>
5904
89b4bd6b
RH
5905 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5906 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5907 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5908 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5909 in the SAVE_PID block.
5910 (__libc_vfork): New alias.
71840409 5911 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5912
111cc714
RH
5913 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5914 child in registers, not on the stack. Remove RESET_PID conditionals.
5915 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5916
ccc39911
MS
59172014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5918
5919 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5920
693096cc
W
59212014-06-03 Wilco <wdijkstr@arm.com>
5922
5923 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5924 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5925 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5926 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5927 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5928 Likewise.
5929
0b4366bc
W
59302014-06-03 Wilco <wdijkstr@arm.com>
5931
5932 * sysdeps/aarch64/fpu/math_private.h
5933 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5934 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5935 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5936 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5937 Fix declarations.
5938
8747cd03
KS
59392014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5940
5941 * crypt/crypt-private.h: Include ufc-crypt.h.
5942 (__b64_from_24bit): Declare extern.
5943 * crypt/crypt_util.c(__b64_from_24bit): New function.
5944 (b64t): New static const variable.
5945 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5946 (b64t): Remove variable.
5947 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5948 * crypt/sha256-crypt.c: Include crypt-private.h.
5949 (b64t): Remove variable.
5950 (__sha256_crypt_r): Remove b64_from_24bit and replace
5951 with __b64_from_24bit.
5952 * crypt/sha512-crypt.c: Likewise.
5953
d936d379
RM
59542014-06-02 Roland McGrath <roland@hack.frob.com>
5955
5956 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5957 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5958 Label the code __libc_vfork rather than __vfork.
5959 [!NOT_IN_libc] (vfork): Define as weak alias.
5960 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5961 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5962 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5963
9fa76613
SP
59642014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5965
5966 * malloc/malloc.c (malloc_info): Fix format specifier for
5967 n_mmaps.
5968
a88dadbe
W
59692014-06-02 Wilco <wdijkstr@arm.com>
5970
5971 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5972 FPCR write.
5973
c95b3011
W
59742014-06-02 Wilco <wdijkstr@arm.com>
5975
5976 [BZ #17009]
5977 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5978 Rewrite to reduce FPCR/FPSR accesses.
5979
6b4d7a90
DM
59802014-06-01 David S. Miller <davem@davemloft.net>
5981
5982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5983
30f3d07c
DM
59842014-05-31 David S. Miller <davem@davemloft.net>
5985
5986 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5987 to occur in round to nearest mode when |x| >= 2.0
5988
74f31c18
RH
59892014-05-30 Richard Henderson <rth@twiddle.net>
5990
f0712b54
RH
5991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5992 (PSEUDO_RET_NOERRNO): Remove.
5993 (ret): Don't redefine.
5994 (ret_NOERRNO): Define in terms of ret.
5995 (ret_ERRVAL): Likewise.
5996
74f31c18
RH
5997 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5998 use of PSEUDO_RET; perform the error check directly.
5999
30477995
MM
60002014-05-30 Marko Myllynen <myllynen@redhat.com>
6001
6002 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6003 with __int128_t.
6004
62a58816
SP
60052014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6006
6007 * malloc/malloc (malloc_info): Fix formatting.
6008
4d653a59
SP
60092014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6010 Roland McGrath <roland@hack.frob.com>
6011
6012 * malloc/malloc (malloc_info): Also print mmapped statistics.
6013
5190c17f
RM
60142014-05-30 Roland McGrath <roland@hack.frob.com>
6015
6016 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6017 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6018
987c0269
OB
60192014-05-30 Ondřej Bílka <neleai@seznam.cz>
6020
6021 * malloc/malloc.c (malloc_info): Inline mi_arena.
6022
af4e8ef9
RH
60232014-05-29 Richard Henderson <rth@twiddle.net>
6024
1670e207
RH
6025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6026 Remove comma before expanding ASM_ARGS_##nr.
6027 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6028 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6029 of ASM_ARGS_##nr.
6030 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6031 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6032 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6033 (ASM_ARGS_1): Add leading comma.
6034
11a28aee
RH
6035 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6036 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6037 to __errno_location.
6038 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6039 Remove the expected plt for __errno_location.
6040
a17e5ffb 6041 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6042 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6043 call to __read_tp.
6044
b5be4597
RH
6045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6046 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6047 it and break it down.
6048 (DOCARGS_0, DOCARGS_1): Do nothing.
6049 (DOCARGS_2): Update to store into the new stack frame.
6050 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6051 (UNDOCARGS_1): Update to restore from the new stack frame.
6052 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6053 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6054
645d44ab
RH
6055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6056 (SINGLE_THREAD_P): New parameter for result regno.
6057 (PSEUDO): Update to match; use cbz instead of beq.
6058
a8b4f04a
RH
6059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6060 Use ENTRY to define the _nocancel entry point. Share the syscall
6061 and syscall error check paths with the cancel path.
6062 (PSEUDO_END): New.
6063
af4e8ef9
RH
6064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6065 whitespace; tabs before and after asm mnemonics.
6066
26b0d2e1
EW
60672014-05-29 Eric Wong <normalperson@yhbt.net>
6068
6069 [BZ #15132]
6070 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6071 Call fstat64 or stat64 internally, depending on arguments passed.
6072 Replace stat buffer argument with file descriptor argument.
6073 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6074 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6075 Pass fd to __internal_statvfs instead of calling fstat64.
6076 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6077 Pass fd to __internal_statvfs64 instead of calling fstat64.
6078 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6079 Pass -1 to __internal_statvfs instead of calling stat64.
6080 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6081 Pass -1 to __internal_statvfs64 instead of calling stat64.
6082
1efe2bd9
RM
60832014-05-28 Roland McGrath <roland@hack.frob.com>
6084
0d3b7a19
RM
6085 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6086 that was previously under [RESET_PID].
6087 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6088
1efe2bd9
RM
6089 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6090 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6091
a6bea3ca
RM
60922014-05-27 Roland McGrath <roland@hack.frob.com>
6093
30b6629e
RM
6094 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6095
a6bea3ca
RM
6096 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6097 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6098
3dfb9a5c
OB
60992014-05-27 Ondřej Bílka <neleai@seznam.cz>
6100
6101 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6102
774f9285
AS
61032014-05-27 Andreas Schwab <schwab@suse.de>
6104
6105 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6106 TLS_INIT_TP macro.
6107 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6108 * elf/rtld.c (init_tls, dl_main): Likewise.
6109 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6110 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6111 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6112 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6113 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6114 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6115 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6116 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6117 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6118 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6119 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6120 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6121 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6122 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6123 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6124 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6125 * sysdeps/generic/tls.h: Update description.
6126
36ffe739
WN
61272014-05-27 Will Newton <will.newton@linaro.org>
6128
6129 [BZ #16990]
6130 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6131 and restore r2 rather than just restoring.
6132
2482ae43
SP
61332014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6134
6135 [BZ #16724]
6136 * libio/tst-ftell-append.c: New test case.
6137 * libio/Makefile (tests): Add test case.
6138 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6139 append mode.
6140 * libio/wfileops.c (do_ftell_wide): Likewise.
6141
3d1024e8
AZ
61422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143
bab90016
AZ
6144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145
c7a8d667
AZ
6146 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6147 ...
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6150 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6151 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6153 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6155 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6157 Moved ...
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6160 Moved ...
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6163 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6164 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6165 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6167 ...
6168 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6169 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6170 Moved ...
6171 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6172 here.
6173 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6174 ...
6175 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6177 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6178
daee7851
AZ
6179 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6180 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6181 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6182 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6183
50a40819
AZ
6184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6185 merge into ...
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6188 ...
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6191 ...
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6194 Moved ...
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6196 here.
6197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6198 Moved ...
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6201 Moved ...
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6203
8464c2a1
AZ
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6205 conditional [RESET_PID].
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6208 removed.
6209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6210 removed.
6211
3d1024e8
AZ
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6213 <tcb-offsets.h>.
6214 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6215 (__libc_vfork): New strong alias.
6216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6217 removed.
6218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6219 Removed.
6220
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6222 <tcb-offsets.h>.
6223 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6224 (__libc_vfork): New strong alias.
6225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6226 removed.
6227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6228 removed.
6229
fdfd175d
CD
62302014-05-26 Carlos O'Donell <carlos@redhat.com>
6231
6232 * malloc/malloc.c (mi_arena): New function.
6233 (malloc_info): Remove nested function mi_arena. Call non-nosted
6234 function mi_arena.
6235
d298c416
AZ
62362014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237
6238 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6239 by insrwi.
6240 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6241 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6242 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6243 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6245 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6247
b60ea6ff
AS
62482014-05-26 Andreas Schwab <schwab@suse.de>
6249
6250 [BZ #16984]
6251 * locale/programs/repertoire.c (repertoire_read): Add slash
6252 between I18NPATH element and file name.
6253 * locale/programs/locfile.c (locfile_read): Likewise.
6254
67365926
SL
62552014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6256
6257 * nptl/pthread_mutexattr_settype.c
6258 (__pthread_mutexattr_settype):
6259 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6260
f8bdf1f0
SL
62612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6262
6263 * nptl/tst-mutex5 (do_test):
6264 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6265
15eaf6ff
SP
62662014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6267
6268 * benchtests/README: Document 'init' directive.
6269 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6270 BENCH_INIT.
6271 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6272 (parse_file): Recognize 'init' directive.
6273
75f11331
KM
62742014-05-26 Kyle McMartin <kyle@redhat.com>
6275
6276 [BZ #16796]
6277 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6278 alignment of struct pthread.
6279
c3ec475c
SP
62802014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
6282 [BZ #16878]
6283 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6284 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6285 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6286 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6287
82aab97c
RH
62882014-05-25 Richard Henderson <rth@twiddle.net>
6289
aa2f176d
RH
6290 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6291 (SINGLE_THREAD_P_PIC): Remove.
6292 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6293 (SINGLE_THREAD_P_PIC): Remove.
6294
ca3cfa40
RH
6295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6296 branch to syscall error ...
6297 (PSEUDO): ... here.
6298 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6299 from __local_syscall_error to .Lsyscall_error.
6300 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6301 (SYSCALL_ERROR): Update label name.
6302
6e6c2d01
RH
6303 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6304 Do not use DOARGS/UNDOARGS.
6305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6306 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6307 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6308 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6309 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6310
c69abcee
RH
6311 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6312 block comment.
6313
82aab97c
RH
6314 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6315 define if !NOT_IN_libc.
6316 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6317 define with non-default symbol versions.
6318
8820e3ac
RH
63192014-05-23 Richard Henderson <rth@twiddle.net>
6320
900e445f
RH
6321 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6322 (vfork, __vfork): Define via compat_symbol.
6323
8820e3ac
RH
6324 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6325 [!HAVE_IFUNC] (vfork_compat): Remove.
6326 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6327
e59252a5
JM
63282014-05-23 Joseph Myers <joseph@codesourcery.com>
6329
6330 [BZ #16978]
6331 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6332 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6333 variable.
6334
132c7f5f
RH
63352014-05-23 Richard Henderson <rth@twiddle.net>
6336
bc89e962
RH
6337 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6338 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6339 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6340 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6341
6342 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6343 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6344 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6345 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6346 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6347 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6348 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6349 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6350 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6351 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6352 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6353 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6354 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6355 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6356 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6357 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6358 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6359 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6360 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6361 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6362 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6363 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6364 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6365 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6366 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6367 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6368 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6369 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6370 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6371 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6372 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6373 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6374 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6375 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6376 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6377 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6378 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6379 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6380 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6381 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6382 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6383 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6384 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6385 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6386 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6387 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6388 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6389 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6390 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6391 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6392 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6393 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6394 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6395 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6396 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6397 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6398
e2fa4bc2
RH
6399 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6400 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6401 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6402 before exiting on error.
6403 (__libc_vfork): New strong alias.
6404 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6405 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6406
279b24e2
RH
6407 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6408 that was previously under [RESET_PID].
6409 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6410
132c7f5f
RH
6411 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6412
b72592e7
JM
64132014-05-23 Joseph Myers <joseph@codesourcery.com>
6414
6415 [BZ #16977]
6416 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6417 value when x - 1 is zero.
6418 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6419 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6421 0.0L for an argument of 1.0L.
6422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6423 Likewise.
6424 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6425 value when x - 1 is zero.
6426 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6427 * sysdeps/i386/fpu/libm-test-ulps: Update.
6428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6429
2302d679
RV
64302014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6431
6432 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6433 alphasort and versionsort.
6434
32999d63
AZ
64352014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6436
6437 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6438 macro.
6439 [copysignf]: Likewise.
6440
019324d0
SP
64412014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6442
6443 * crypt/md5-crypt.c: Fix formatting.
6444
34fff5c2
KS
64452014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6446
6447 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6448 (b64_from_24bit): New function.
6449
3d2badac
AZ
64502014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451
6452 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6453 libc_hidden_builtin_def to ifunc.
6454 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6455 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6456
f7bb179f 64572014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6458
6459 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6460 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6461
4134b50d
JM
64622014-05-21 Joseph Myers <joseph@codesourcery.com>
6463
bb7d0337
JM
6464 * nscd/Depend (linuxthreads): Remove.
6465 (nptl): Add.
6466 * resolv/Depend (linuxthreads): Remove.
6467 * rt/Depend (linuxthreads): Remove.
6468
4134b50d
JM
6469 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6470 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6471 $(common-objpfx)elf/.
6472 (link-libc-before-gnulib): Likewise.
6473 (elfobjdir): Remove variable.
6474 * Makefile (install): Use $(elf-objpfx) instead of
6475 $(common-objpfx)elf/.
6476 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6477 $(elfobjdir)/.
6478 (link-libc-deps): Likewise.
6479 ($(common-objpfx)libc.so): Likewise.
6480 ($(common-objpfx)linkobj/libc.so): Likewise.
6481 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6482 instead of $(common-objpfx)elf/.
6483 (symbolic-link-list): Likewise.
6484 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6485 [$(cross-compiling) = no]: Likewise.
6486 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6487 $(elfobjdir)/.
6488 (static-gnulib-arch): Likewise.
6489 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6490 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6491 $(common-objpfx)elf/.
6492
3612eb8f
RH
64932014-05-21 Richard Henderson <rth@redhat.com>
6494
a6b3657b
RH
6495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6496 (SINGLE_THREAD_P): Use the correct width load. Fold
6497 into the ldr offset.
6498
3612eb8f
RH
6499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6500 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6501
175cef41
JM
65022014-05-20 Joseph Myers <joseph@codesourcery.com>
6503
6504 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6505 (libgcc_s_resume): Use __attribute_used__.
6506 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6507 Likewise.
6508
e13bccd3
AZ
65092014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510
6511 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6512 optimization when used with float constants.
6513
7c112a38
AZ
6514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6515
ae75a883
AJ
65162014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6517
6518 [BZ #16915]
6519 * locale/nl_langinfo_l.c: Make direct reference to every
6520 _nl_current_CATEGORY symbol.
6521 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6522 (tests-static): Add tst-langinfo-static.
6523 (tests-special): Add tst-langinfo-static.out.
6524 ($(objpfx)tst-langinfo.out): Redirect output.
6525 ($(objpfx)tst-langinfo-static.out): New.
6526 * localedata/tst-langinfo.sh: Send output to stdout.
6527 * localedata/tst-langinfo-static.c: New file.
6528
4406c41c
AJ
6529 [BZ #16965]
6530 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6531 when the shift amount is modulo the limb size.
6532
4c0a1e63
RH
65332014-05-20 Richard Henderson <rth@redhat.com>
6534
de9d8f20
RH
6535 [BZ #16967]
6536 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6537 Change type of sa_flags from unsigned int to int.
6538
4c0a1e63
RH
6539 [BZ #16966]
6540 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6541
6542 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6543
a60339aa
WN
65442014-05-20 Will Newton <will.newton@linaro.org>
6545
6546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6547 Test the return value of the system call in the nocancel case.
6548
7d05a816
YR
65492014-05-20 Will Newton <will.newton@linaro.org>
6550 Yvan Roux <yvan.roux@linaro.org>
6551
6552 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6553 #include of asm/ptrace.h.
6554 (PTRACE_GET_THREAD_AREA): Remove #undef.
6555 (PTRACE_GETHBPREGS): Likewise.
6556 (PTRACE_SETHBPREGS): Likewise.
6557 (struct user_regs_struct): New structure.
6558 (struct user_fpsimd_struct): New structure.
6559 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6560 #include of asm/ptrace.h and second #include of sys/user.h.
6561 (PTRACE_GET_THREAD_AREA): Remove #undef.
6562 (PTRACE_GETHBPREGS): Likewise.
6563 (PTRACE_SETHBPREGS): Likewise.
6564 (ELF_NGREG): Use new struct user_regs_struct.
6565 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6566
af121e37
AZ
65672014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568
6569 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6570 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6571
834caf06
JM
65722014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6573
6574 [BZ #16958]
6575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6576 membar to avoid block loads/stores to overlap previous stores.
6577
e184a918
RH
65782014-05-17 Richard Henderson <rth@redhat.com>
6579
6580 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6581 Create the __##syscall_name##_nocancel entry point.
6582 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6583 Remove; let the sysdep-cancel.h code create it.
6584
f56c7a6a
DM
65852014-05-17 David S. Miller <davem@davemloft.net>
6586
6587 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6588 Protect with __USE_GNU.
6589 (TIOCSET_TEMPT): Likewise.
6590 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6591 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6592 these are already provided in bits/ioctl-types.h
6593
f75616b2
RM
65942014-05-16 Roland McGrath <roland@hack.frob.com>
6595
3edeca86
RM
6596 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6597 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6598
f75616b2
RM
6599 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6600 Use wait4 regardless of [__NR_waitpid].
6601
deb0f7f6
MR
66022014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6603
6604 PR libgcc/60166
6605 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6606 (_FP_NANSIGN_Q): Set the quiet bit.
6607
79520f4b
JM
66082014-05-16 Joseph Myers <joseph@codesourcery.com>
6609
6610 * benchtests/Makefile
6611 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6612 not $(common-objpfx)math/libm.so.
6613 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6614 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6615 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6616 $(common-objpfx)dlfcn/libdl.so.
6617 ($(objpfx)tst-audit8): Depend on $(libm), not
6618 $(common-objpfx)math/libm.so.
6619 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6620 not $(common-objpfx)dlfcn/libdl.so.
6621 * math/Makefile
6622 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6623 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6624 [$(build-shared) = yes].
6625 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6626 $(common-objpfx)nptl/libpthread.so.
6627 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6628 $(common-objpfx)math/libm.so$(libm.so-version) or
6629 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6630 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6631 $(common-objpfx)dlfcn/libdl.so.
6632 * setjmp/Makefile (link-libm): Remove variable.
6633 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6634 * stdio-common/Makefile (link-libm): Remove variable.
6635 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6636 * stdlib/Makefile (link-libm): Remove variable.
6637 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6638 ($(objpfx)tst-strtod-round): Likewise.
6639 ($(objpfx)tst-tininess): Likewise.
6640 ($(objpfx)tst-strtod-underflow): Likewise.
6641 ($(objpfx)tst-strtod6): Likewise.
6642 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6643 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6644 $(common-objpfx)dlfcn/libdl.so.
6645
026b0fe4
AZ
66462014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6647
6648 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6649 BSD terminal modes definitions.
6650
def4bcb2
RM
66512014-05-16 Roland McGrath <roland@hack.frob.com>
6652
fe39b021
RM
6653 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6654 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6655
1d1fc46e 6656 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6657 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6658 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6659 Don't do #include_next.
6660 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6661 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6662 Don't do #include_next.
6663 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6664 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6665 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6666 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6667
c72399fb
AM
66682014-05-16 Allan McRae <allan@archlinux.org>
6669
d51d659d
AM
6670 * po/sv.po: Update Swedish translation from translation project.
6671
c72399fb
AM
6672 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6673 in sed expression.
6674
d0583c40
AJ
66752014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6676
6677 [BZ #16917]
6678 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6679 errno if the TIOCGPTN ioctl fails with an error different than
6680 EINVAL.
6681 * login/tst-ptsname.c: New file.
6682 * login/Makefile (tests): Add tst-ptsname.
6683
d16e6ec7
AJ
6684 [BZ #16943]
6685 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6686 and prlimit64.
6687
cf26a0cb
SP
66882014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6689
6690 [BZ #16849]
6691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6692 herrno to return EAI_AGAIN.
6693
5675da1e
RM
66942014-05-14 Roland McGrath <roland@hack.frob.com>
6695
a5d87b3d
RM
6696 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6697 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6698 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6699 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6700 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6701 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6702 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6703 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6707 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6708 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6709 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6710 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6715 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6716 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6717 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6718 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6723 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6724 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6725 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6727 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6729 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6731 Moved ...
6732 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6738 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6742 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6746 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6748 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6750 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6756 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6760 Moved ...
6761 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6773 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6775 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6777 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6781 Moved ...
6782 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6784 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6785
039890a6
RM
6786 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6787 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6788 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6789 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6790 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6792 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6794 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6796 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6798 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6800 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6802 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6803 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6804 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6805 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6806 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6807 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6808 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6810 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6811 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6812 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6813 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6814 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6816 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6817
65c89320
RM
6818 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6819 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6820
348f8e8c
RM
6821 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6822 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6823 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6825 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6827 Moved ...
6828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6830 Moved ...
6831 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6833 Moved ...
6834 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6836 Moved ...
6837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6839 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6840 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6841 Moved ...
6842 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6843 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6844 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6846 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6848 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6850 Moved ...
6851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6853 Moved ...
6854 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6855 ... here.
6856 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6857 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6859 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6861 Moved ...
6862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6863 ... here.
6864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6865 Moved ...
6866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6867 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6868 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6869 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6870 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6872 Moved ...
6873 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6875 Moved ...
6876 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6878 Moved ...
6879 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6880 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6881 Moved ...
6882 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6884 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6886 Moved ...
6887 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6888 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6889 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6890 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6891 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6892 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6893 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6895 Moved ...
6896 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6898 Moved ...
6899 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6900 ... here.
6901 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6902 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6903 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6904 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6906 Moved ...
6907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6908 ... here.
6909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6910 Moved ...
6911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6912 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6913 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6914 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6915 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6917 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6918 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6919 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6920 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6921 Moved ...
6922 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6924 Moved ...
6925 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6927 Moved ...
6928 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6929 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6930 Moved ...
6931 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6932 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6933 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6934 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6935 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6936 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6937 Moved ...
6938 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6939 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6940 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6942 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6943 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6944 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6946 Moved ...
6947 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6949 Moved ...
6950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6951 ... here.
6952 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6953 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6954 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6955 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6957 Moved ...
6958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6959 ... here.
6960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6961 Moved ...
6962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6964 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6965 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6966 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6967 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6968 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6969 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6970 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6971 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6972 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6973
5085af05
RM
6974 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6975 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6976
708f0813
RM
6977 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6978 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6979
c96067bc
RM
6980 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6981 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6982 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6983 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6984 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6985 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6986 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6987 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6988 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6989 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6990 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6991 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6992 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6993 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6994 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6996 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6998 Moved ...
6999 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7001 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7003 Moved ...
7004 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7006 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7008 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7012 Moved ...
7013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7015 Moved ...
7016 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7018 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7020 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7022 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7023 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7024 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7025 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7026 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7027 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7028 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7029 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7030 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7031 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7032 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7033
ec136444
RM
7034 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7035 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7036 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7037 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7038 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7039
2fbdf533
RM
7040 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7041 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7042 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7043 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7044 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7045 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7046 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7047 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7048 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7049 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7050
4c68138b
RM
7051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7052 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7053
4eaae765
RM
7054 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7055 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7056 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7057 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7058 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7059 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7060 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7061 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7062 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7063 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7064 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7065 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7066 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7067 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7069 Update #include.
7070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7071 Likewise.
7072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7073 Likewise.
7074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7075 Likewise.
7076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7077 Likewise.
7078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7079 Likewise.
7080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7081 Likewise.
7082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7083 Likewise.
7084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7085 Likewise.
7086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7087 Likewise.
4ef6befa
RM
7088 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7090 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7091 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7093 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7095 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7096 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7097 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7098 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7100 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7101 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7102 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7103
941d7dfd
RM
7104 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7105 that was previously under [RESET_PID].
7106 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7107 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7108 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7109
1b731c35
RM
7110 * sysdeps/i386/nptl/Implies: New file.
7111 * sysdeps/x86_64/nptl/Implies: New file.
7112 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7113 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7114 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7115 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7116
e2787137
RM
7117 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7118 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7119 (__libc_vfork): New strong alias.
7120 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7121 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7122
7123 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7124 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7125 (__libc_vfork): New strong alias.
7126 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7127 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7128
5675da1e
RM
7129 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7130 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7131 (__libc_vfork): New strong alias.
7132 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7133 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7134 * nptl/pt-vfork.c: New file.
7135 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7136 (libpthread: GLIBC_2.20): New version set (empty).
7137
4f02e2b8
WN
71382014-05-14 Will Newton <will.newton@linaro.org>
7139
7140 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7141 rather than #if.
7142
0bf061d3
JM
71432014-05-14 Joseph Myers <joseph@codesourcery.com>
7144
1a84c3d6
JM
7145 [BZ #16564]
7146 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7147 arguments with exponent 65 or above.
7148 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7149 arguments 0x1p113L or above.
7150 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7151 to arguments 0x1p107L or above.
7152 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7153 positive arguments with exponent 65 or above.
7154 * math/auto-libm-test-in: Add more tests of log1p.
7155 * math/auto-libm-test-out: Regenerated.
7156
01dbacd2
JM
7157 [BZ #16928]
7158 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7159 non-finite arguments is +0.
7160 * math/s_cacosf.c (__cacosf): Likewise.
7161 * math/s_cacosl.c (__cacosl): Likewise.
7162 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165
913d03c8
JM
7166 [BZ #16927]
7167 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7168 value.
7169 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7170 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7171 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7172 for explicit high bit of mantissa when testing for argument equal
7173 to 1.
7174 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7175 * sysdeps/i386/fpu/libm-test-ulps: Update.
7176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7177
0bf061d3
JM
7178 [BZ #16516]
7179 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7180 (__erf): Scale by 16 instead of 8 in potentially underflowing
7181 case. Ensure exception if result actually underflows.
7182 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7183 (__erff): Scale by 16 instead of 8 in potentially underflowing
7184 case. Ensure exception if result actually underflows.
7185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7186 (efx8): Remove variable.
7187 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7188 case. Ensure exception if result actually underflows.
7189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7190 (efx8): Remove variable.
7191 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7192 case. Ensure exception if result actually underflows.
7193 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7194 (efx8): Remove variable.
7195 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7196 case. Ensure exception if result actually underflows.
7197 * math/auto-libm-test-in: Add more tests of erf.
7198 * math/auto-libm-test-out: Regenerated.
7199
73ba67cb
AS
72002014-05-14 Andreas Schwab <schwab@suse.de>
7201
3d8c8bff
AS
7202 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7203 Remove code conditionalized on USE___THREAD.
7204
73ba67cb
AS
7205 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7206 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7207 not definedness.
7208
5c521ecd
JM
72092014-05-14 Joseph Myers <joseph@codesourcery.com>
7210
5e7698c6
JM
7211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7212 Define unconditionally.
7213 (__ASSUME_O_CLOEXEC): Likewise.
7214 (__ASSUME_SOCK_CLOEXEC): Likewise.
7215 (__ASSUME_IN_NONBLOCK): Likewise.
7216 (__ASSUME_PIPE2): Likewise.
7217 (__ASSUME_EVENTFD2): Likewise.
7218 (__ASSUME_SIGNALFD4): Likewise.
7219 (__ASSUME_DUP3): Likewise.
7220 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7221 (__ASSUME_DUP3): Do not define.
7222 (__ASSUME_EVENTFD2): Likewise.
7223 (__ASSUME_IN_NONBLOCK): Likewise.
7224 (__ASSUME_O_CLOEXEC): Likewise.
7225 (__ASSUME_PIPE2): Likewise.
7226 (__ASSUME_SIGNALFD4): Likewise.
7227 (__ASSUME_SOCK_CLOEXEC): Likewise.
7228 (__ASSUME_UTIMES): Undefine.
7229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7230 (__ASSUME_UTIMES): Do not define.
7231 (__ASSUME_O_CLOEXEC): Likewise.
7232 (__ASSUME_SOCK_CLOEXEC): Likewise.
7233 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7234 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7235 0x020621].
7236 (__ASSUME_PIPE2): Likewise.
7237 (__ASSUME_EVENTFD2): Likewise.
7238 (__ASSUME_SIGNALFD4): Likewise.
7239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7240 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7241 Do not define.
7242 (__ASSUME_EVENTFD2): Likewise.
7243 (__ASSUME_SIGNALFD4): Likewise.
7244 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7245 (__ASSUME_32BITUIDS): Likewise.
7246 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7247 (__ASSUME_IPC64): Likewise.
7248 (__ASSUME_ST_INO_64_BIT): Likewise.
7249 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7250 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7251 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7252 (__ASSUME_UTIMES): Do not define.
7253 (__ASSUME_PSELECT): Likewise.
7254 (__ASSUME_PPOLL): Likewise.
7255 (__ASSUME_O_CLOEXEC): Likewise.
7256 (__ASSUME_SOCK_CLOEXEC): Likewise.
7257 (__ASSUME_IN_NONBLOCK): Likewise.
7258 (__ASSUME_PIPE2): Likewise.
7259 (__ASSUME_EVENTFD2): Likewise.
7260 (__ASSUME_SIGNALFD4): Likewise.
7261 (__ASSUME_DUP3): Likewise.
7262 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7263 (__ASSUME_UTIMES): Likewise.
7264 (__ASSUME_O_CLOEXEC): Likewise.
7265 (__ASSUME_SOCK_CLOEXEC): Likewise.
7266 (__ASSUME_IN_NONBLOCK): Likewise.
7267 (__ASSUME_PIPE2): Likewise.
7268 (__ASSUME_EVENTFD2): Likewise.
7269 (__ASSUME_SIGNALFD4): Likewise.
7270 (__ASSUME_DUP3): Likewise.
7271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7272 (__ASSUME_UTIMES): Likewise.
7273 (__ASSUME_O_CLOEXEC): Likewise.
7274 (__ASSUME_SOCK_CLOEXEC): Likewise.
7275 (__ASSUME_IN_NONBLOCK): Likewise.
7276 (__ASSUME_PIPE2): Likewise.
7277 (__ASSUME_EVENTFD2): Likewise.
7278 (__ASSUME_SIGNALFD4): Likewise.
7279 (__ASSUME_DUP3): Likewise.
7280 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7281 Likewise.
7282 (__ASSUME_UTIMES): Likewise.
7283 (__ASSUME_EVENTFD2): Likewise.
7284 (__ASSUME_SIGNALFD4): Likewise.
7285 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7286 (__ASSUME_O_CLOEXEC): Likewise.
7287 (__ASSUME_SOCK_CLOEXEC): Likewise.
7288 (__ASSUME_IN_NONBLOCK): Likewise.
7289 (__ASSUME_PIPE2): Likewise.
7290 (__ASSUME_EVENTFD2): Likewise.
7291 (__ASSUME_SIGNALFD4): Likewise.
7292 (__ASSUME_DUP3): Likewise.
7293 (__ASSUME_UTIMES): Undefine.
7294
5c521ecd
JM
7295 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7296 feclearexcept. Remove symbol versioning code.
7297 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7298 symbol versioning code.
7299 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7300 symbol versioning code.
7301 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7302 feupdateenv. Remove symbol versioning code.
7303 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7304 fegetexceptflag. Remove symbol versioning code.
7305 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7306 fesetexceptflag. Remove symbol versioning code.
7307 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7308 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7309 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7310 (__posix_fadvise64_l32): Remove prototype.
7311 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7312 code.
7313
5da9dfad
RM
73142014-05-13 Roland McGrath <roland@hack.frob.com>
7315
7316 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7317 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7318 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7319 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7320
893b4f37
SK
73212014-05-13 Sami Kerola <kerolasa@iki.fi>
7322
7323 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7324 current working directory
7325
e0db6517
RM
73262014-05-13 Roland McGrath <roland@hack.frob.com>
7327
58aa195d
RM
7328 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7329 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7330 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7331 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7332 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7333 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7334 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7335 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7337 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7338 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7339 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7340 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7341 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7343 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7344 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7345 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7347 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7349 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7350 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7351 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7352 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7353 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7354 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7355 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7356 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7357 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7358 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7359 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7360 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7361 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7362 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7363 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7364 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7365 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7366 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7367 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7368 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7369 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7370
8c6d01f0
RM
7371 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7372 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7373
7374 * sysdeps/unix/sysv/linux/arm/Makefile
7375 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7376 Add rt-aeabi_unwind_cpp_pr1.
7377 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7378 Add nptl-aeabi_unwind_cpp_pr1.
7379 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7380 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7381 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7382 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7383 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7384 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7385
7386 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7387 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7388 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7389 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7390
bba6da4e
RM
7391 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7392 Deconditionalize the code that was previously under [RESET_PID].
7393 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7394
e0db6517
RM
7395 * sysdeps/generic/exit-thread.h: New file.
7396 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7397 * include/unistd.h (__exit_thread): Remove declaration.
7398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7399 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7400 * csu/libc-start.c: Include <exit-thread.h>.
7401 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7402 * nptl/pthread_create.c: Include <exit-thread.h>.
7403 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7404 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7405 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7406 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7407 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7408 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7409 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7410 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7411 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7412 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7413 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7414 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7415 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7416 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7417 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7418 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7419 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7420
01eb16fd
AS
74212014-05-13 Andreas Schwab <schwab@suse.de>
7422
7423 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7424
637461d9
JM
74252014-05-12 Joseph Myers <joseph@codesourcery.com>
7426
7427 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7428 (__ASSUME_UTIMES): Do not condition on kernel version.
7429 (__ASSUME_PSELECT): Define unconditionally.
7430 (__ASSUME_PPOLL): Likewise.
7431 (__ASSUME_ATFCTS): Likewise.
7432 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7433 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7434 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7435 (__ASSUME_UTIMENSAT): Define unconditionally.
7436 (__ASSUME_PRIVATE_FUTEX): Likewise.
7437 (__ASSUME_FALLOCATE): Likewise.
7438 (__ASSUME_O_CLOEXEC): Likewise.
7439 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7440 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7441 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7442 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7443 (__ASSUME_IN_NONBLOCK): Likewise.
7444 (__ASSUME_PIPE2): Likewise.
7445 (__ASSUME_EVENTFD2): Likewise.
7446 (__ASSUME_SIGNALFD4): Likewise.
7447 (__ASSUME_DUP3): Likewise.
7448 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7449 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7450 (__ASSUME_AT_RANDOM): Likewise.
7451 (__ASSUME_PREADV): Likewise.
7452 (__ASSUME_PWRITEV): Likewise.
7453 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7454 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7455 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7457 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7459 (__ASSUME_O_CLOEXEC): Define unconditionally.
7460 (__ASSUME_PSELECT): Do not undefine conditionally.
7461 (__ASSUME_PPOLL): Likewise.
7462 (__ASSUME_ATFCTS): Likewise.
7463 (__ASSUME_SET_ROBUST_LIST): Likewise.
7464 (__ASSUME_UTIMENSAT): Likewise.
7465 (__ASSUME_FDATASYNC): Define unconditionally.
7466 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7467 (__ASSUME_SIGFRAME_V2): Likewise.
7468 )__ASSUME_EVENTFD2): Likewise.
7469 (__ASSUME_SIGNALFD4): Likewise.
7470 (__ASSUME_PSELECT): Do not undefine conditionally.
7471 (__ASSUME_PPOLL): Likewise.
7472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7473 (__ASSUME_PSELECT): Define unconditionally.
7474 (__ASSUME_PPOLL): Likewise.
7475 (__ASSUME_O_CLOEXEC): Likewise.
7476 (__ASSUME_SOCK_CLOEXEC): Likewise.
7477 (__ASSUME_IN_NONBLOCK): Likewise.
7478 (__ASSUME_PIPE2): Likewise.
7479 (__ASSUME_EVENTFD2): Likewise.
7480 (__ASSUME_SIGNALFD4): Likewise.
7481 (__ASSUME_DUP3): Likewise.
7482 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7483 (__ASSUME_O_CLOEXEC): Likewise.
7484 (__ASSUME_SOCK_CLOEXEC): Likewise.
7485 (__ASSUME_IN_NONBLOCK): Likewise.
7486 (__ASSUME_PIPE2): Likewise.
7487 (__ASSUME_EVENTFD2): Likewise.
7488 (__ASSUME_SIGNALFD4): Likewise.
7489 (__ASSUME_DUP3): Likewise.
7490 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7491 (__ASSUME_EVENTFD2): Likewise.
7492 (__ASSUME_SIGNALFD4): Likewise.
7493 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7494
315eb1d8
AS
74952014-05-12 Andreas Schwab <schwab@suse.de>
7496
7497 [BZ #16932]
7498 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7499 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7500 than maximum RPC packet size.
7501 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7502 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7503 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7504 (_nss_nis_getservbyport_r): Likewise.
7505
91df99f7
WN
75062014-05-12 Will Newton <will.newton@linaro.org>
7507
7508 * malloc/Makefile (tests): Add tst-mallopt.
7509 * malloc/tst-mallopt.c: New file.
7510
0a982a29
RM
75112014-05-09 Roland McGrath <roland@hack.frob.com>
7512
7513 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7514 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7515
0ded08a5
AZ
75162014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7519 (tst-tlsmod6.so): Likewise.
7520
55d4d550
RM
75212014-05-09 Roland McGrath <roland@hack.frob.com>
7522
7523 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7524
77d08aca
JM
75252014-05-09 Joseph Myers <joseph@codesourcery.com>
7526
7527 [BZ #16064]
7528 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7529 and <dl-procinfo.h>.
7530 (__fegetenv): Save SSE state in envp->__eip if supported.
7531 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7532 envp->__eip if supported.
7533 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7534 and <dl-procinfo.h>.
7535 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7536 __data_offset and __data_selector in environment to 0. Set SSE
7537 state if supported.
7538 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7539 test-fenv-sse.
7540 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7541 -mfpmath=sse.
7542 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7543
28162f4d
WN
75442014-05-09 Will Newton <will.newton@linaro.org>
7545
7546 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7547 and libc_relro_required for ARM.
7548 * sysdeps/arm/preconfigure: Regenerate.
7549
5a414ff7
DV
75502014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7551 Stefan Liebler <stli@linux.vnet.ibm.com>
7552
7553 * config.make.in (enable-lock-elision): New Makefile variable.
7554 * configure.ac: Likewise.
7555 * configure: Regenerate.
7556 * sysdeps/s390/configure.ac:
7557 Add check for gcc transactions support.
7558 * sysdeps/s390/configure: Regenerate.
7559 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7560 Build elision files if enabled.
7561 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7562 Add lock elision support for s390.
7563 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7564 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7565 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7566 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7567 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7568 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7569 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7570 Likewise.
7571 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7572 Likewise.
7573 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7574 Likewise.
7575 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7576 Likewise.
7577 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7578 (__lll_timedlock_elision, __lll_lock_elision)
7579 (__lll_unlock_elision, __lll_trylock_elision)
7580 (lll_timedlock_elision, lll_lock_elision)
7581 (lll_unlock_elision, lll_trylock_elision): Add.
7582 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7583 (pthread_mutex_t): Add lock elision support for s390.
7584
1a2f40e5
W
75852014-05-14 Wilco <wdijkstr@arm.com>
7586
7587 * sysdeps/arm/fclrexcpt.c: Cleanup.
7588 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7589 * sysdeps/arm/feenablxcpt.c: Cleanup.
7590 * sysdeps/arm/fegetenv.c: Cleanup.
7591 * sysdeps/arm/fegetexcept.c: Cleanup.
7592 * sysdeps/arm/fegetround.c: Cleanup.
7593 * sysdeps/arm/feholdexcpt.c: Cleanup.
7594 * sysdeps/arm/fesetenv.c: Cleanup.
7595 * sysdeps/arm/fesetround.c: Cleanup.
7596 * sysdeps/arm/feupdateenv.c: Cleanup.
7597 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7598 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7599 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7600 * sysdeps/arm/ftestexcept.c: Cleanup.
7601 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7602 * sysdeps/arm/setfpucw.c: Cleanup.
7603
f63c86fe
WN
76042014-05-09 Will Newton <will.newton@linaro.org>
7605
7606 * sysdeps/arm/armv7/strcmp.S: New file.
7607 * NEWS: Mention addition of ARMv7 optimized strcmp.
7608
7a1a51b5
RM
76092014-05-08 Roland McGrath <roland@hack.frob.com>
7610
95afbbe5
RM
7611 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7612 look for %.ac rather than %.in.
7613
7614 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7615 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7616 * sysdeps/mach/hurd/configure: Regenerated.
7617 * sysdeps/unix/sysv/linux/configure: Regenerated.
7618
7a1a51b5
RM
7619 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7620
5057ad3b
SE
76212014-05-07 Steve Ellcey <sellcey@mips.com>
7622
7623 [BZ# 16922]
7624 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7625 (LONG_SUB): Ditto.
7626 (PTR_SUB): Ditto.
7627
8dc97517
AS
76282014-05-07 Andreas Schwab <schwab@suse.de>
7629
7630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7631 when skipping over non-matching result from nscd.
7632
ce0c5b8f
OB
76332014-05-07 Ondřej Bílka <neleai@seznam.cz>
7634
7635 [BZ #16876]
7636 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7637
a1189263
OB
7638 [BZ #16877]
7639 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7640 nscd security class.
ce0c5b8f 7641
0f58d252
RM
76422014-05-06 Roland McGrath <roland@hack.frob.com>
7643
7644 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7645 * sysdeps/arm/unwind.h: ... here.
7646
83df9ad0
AJ
76472014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7648
ce0c5b8f
OB
7649 [BZ# 16916]
7650 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7651 Define.
83df9ad0 7652
f360f94a
VR
76532014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7654
7655 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7656 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7657 multiarch strncpy for PPC64.
7658 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7659 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7661 multiarch optimizations.
7662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7663 (__libc_ifunc_impl_list): Likewise.
7664 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7665 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7666 multiarch stpncpy for PPC64.
7667 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7668 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7669
978a41c3
AS
76702014-05-06 Andreas Schwab <schwab@suse.de>
7671
7672 [BZ #16912]
7673 * gmon/mcount.c (_MCOUNT_DECL): Use
7674 atomic_compare_and_exchange_bool_acq instead of
7675 catomic_compare_and_exchange_bool_acq.
7676
eb1ed03d
RM
76772014-05-05 Roland McGrath <roland@hack.frob.com>
7678
fe658845
RM
7679 * elf/Makefile (others, install-bin): Remove pldd.
7680 (pldd-modules): Variable removed.
7681 ($(objpfx)pldd): Target removed.
7682 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7683 (others, install-bin): Append pldd here.
7684 ($(objpfx)pldd): New target.
7685
eb1ed03d
RM
7686 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7687 to 0, so the first #if test emitted later doesn't see it undefined.
7688 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7689 * sysdeps/gnu/errlist.c: Regenerated.
7690
19c4bec0
AZ
76912014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7692
7693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7694 [libc_hidden_builtin_def]: Define to empty value.
7695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7696 [libc_hidden_builtin_def]: Likewise.
7697 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7698 [libc_hidden_builtin_def]: Likewise.
7699 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7700 [libc_hidden_builtin_def]: Likewise.
7701 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7702 __redirect_memcpy and define ifunc as default hidden symbol.
7703 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7704 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7705
7776e669
AC
77062014-05-04 Adam Conrad <adconrad@0c3.net>
7707
7708 * locale/iso-4217.def: Reintroduce XDR currency.
7709
d69aeb12
AM
77102014-05-04 Allan McRae <allan@archlinux.org>
7711
7712 * po/eo.po: Update Esperanto translation from translation project.
7713
8f1df5cf
CD
77142014-05-02 Carlos O'Donell <carlos@redhat.com>
7715
7716 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7717 and FEATURE_INDEX_MAX to 1.
7718 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7719
13e402e7
SE
77202014-05-01 Steve Ellcey <sellcey@mips.com>
7721
7722 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7723 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7724 * iconvdata/big5.c (ONE_DIRECTION): Define.
7725 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7726 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7727 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7728 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7729 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7730 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7731 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7732 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7733 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7734 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7735 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7736 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7737 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7738 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7739 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7740 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7741 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7742 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7743 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7744 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7745 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7746 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7747 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7748 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7749 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7750 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7751 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7752 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7753 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7754 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7755 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7756 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7757 * iconvdata/johab.c (ONE_DIRECTION): Define.
7758 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7759 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7760 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7761 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7762 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7763 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7764 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7765 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7766 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7767 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7768
c727f032
RM
77692014-05-01 Roland McGrath <roland@hack.frob.com>
7770
8f2f08d0
RM
7771 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7772 (_IO_JUMPS_OFFSET): Define to 0.
7773
c727f032
RM
7774 * nptl/sysdeps/pthread/bits/libc-lock.h
7775 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7776 (__libc_lock_define_initialized_recursive): Always define using
7777 initializer. Modern compilers treat uninitialized (implicit zero) and
7778 explicit zero initializers the same (i.e. put the datum in bss).
7779
a849e800
AS
77802014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7781
7782 * nscd/nscd-client.h: Include <string.h>.
7783
5331255b
DM
77842014-05-01 David S. Miller <davem@davemloft.net>
7785
7786 [BZ #16885]
7787 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7788 multiple zero bytes exist at the end of a string.
7789 Reported by Aurelien Jarno <aurelien@aurel32.net>
7790
7791 * string/test-strcmp.c (check): Add explicit test for situations where
7792 there are multiple zero bytes after the first.
7793
4fdfe821
AS
77942014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7795
7796 [BZ #16890]
7797 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7798 when compiling wprintf.
7799 * stdio-common/tstdiomisc.c (t3): New function.
7800 (main): Call it.
7801
0cdddc25
SE
78022014-05-01 Steve Ellcey <sellcey@mips.com>
7803
7804 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7805 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7806 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7807 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7808
6426d77e
SE
78092014-05-01 Steve Ellcey <sellcey@mips.com>
7810
7811 * stdlib/longlong.h: Updated from GCC.
7812
6d96f5e4
WN
78132014-05-01 Will Newton <will.newton@linaro.org>
7814 Bernard Ogden <bernie.ogden@linaro.org>
7815
7470db0c
WN
7816 * NEWS: Update fixed bug list.
7817
6d96f5e4
WN
7818 [BZ #15119]
7819 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7820
211d653c
DM
78212014-04-30 David S. Miller <davem@davemloft.net>
7822
4fa262fa
DM
7823 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7824 (libc_feholdexcept_setround_sparc_ctx): New function.
7825 (libc_fesetenv_sparc_ctx): Likewise.
7826 (libc_feupdateenv_sparc_ctx): Likewise.
7827 (libc_feholdsetround_sparc_ctx): Likewise.
7828 (libc_feholdexcept_setround_ctx): Define.
7829 (libc_feholdexcept_setroundf_ctx): Likewise.
7830 (libc_feholdexcept_setroundl_ctx): Likewise.
7831 (libc_fesetenv_ctx): Likewise.
7832 (libc_fesetenvf_ctx): Likewise.
7833 (libc_fesetenvl_ctx): Likewise.
7834 (libc_feupdateenv_ctx): Likewise.
7835 (libc_feupdateenvf_ctx): Likewise.
7836 (libc_feupdateenvl_ctx): Likewise.
7837 (libc_feresetround_ctx): Likewise.
7838 (libc_feresetroundf_ctx): Likewise.
7839 (libc_feresetroundl_ctx): Likewise.
7840 (libc_feholdsetround_ctx): Likewise.
7841 (libc_feholdsetroundf_ctx): Likewise.
7842 (libc_feholdsetroundl_ctx): Likewise.
7843
1d3d93ef
DM
7844 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7845 with __USE_GNU instead of XOPEN cpp guards.
7846
8aa583c3
DM
7847 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7848 0.
7849
211d653c
DM
7850 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7851 with XOPEN cpp guards.
7852
60c8f1f6
JB
78532014-04-30 Julian Brown <julian@codesourcery.com>
7854
7855 [BZ #16888]
7856 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7857 handling.
7858
9a461d46
JM
78592014-04-30 Joseph Myers <joseph@codesourcery.com>
7860
d0f5b3f8
JM
7861 [BZ #9894]
7862 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7863 Change to 2.6.32.
7864 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7865 * sysdeps/unix/sysv/linux/configure: Regenerated.
7866 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7867 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7868 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7869 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7870 * README: Update reference to required Linux kernel version.
7871 * manual/install.texi (Linux): Update reference to required Linux
7872 kernel headers version.
7873 * INSTALL: Regenerated.
7874
9a461d46
JM
7875 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7876 header inclusion.
7877 [POSIX] (limits.h): Likewise.
7878 [POSIX] (math.h): Likewise.
7879 [POSIX] (sys/wait.h): Likewise.
7880 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7881 function.
7882 [POSIX] (stddef.h): Do not allow header inclusion.
7883
1775babf
AZ
78842014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7885
57f41c40 7886 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7887
8f630cca
YY
78882014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7889
7890 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7891 Return immediately after lll_futex_wake.
7892
1cdeb237
SP
78932014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7894
bc8f194c
SP
7895 [BZ #16791]
7896 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7897 structure.
7898 (datahead_init_pos): Call datahead_init_common early.
7899 (datahead_init_neg): Likewise.
7900
1cdeb237
SP
7901 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7902 datahead_init_neg): New functions.
7903 * nscd/aicache.c (addhstaiX): Use them.
7904 * nscd/grpcache.c (cache_addgr): Likewise.
7905 * nscd/hstcache.c (cache_addhst): Likewise.
7906 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7907 * nscd/netgroupcache.c (do_notfound): Likewise.
7908 (addgetnetgrentX): Likewise.
7909 (addinnetgrX): Likewise.
7910 * nscd/pwdcache.c (cache_addpw): Likewise.
7911 * nscd/servicescache.c (cache_addserv): Likewise.
7912
16b293a7
SP
79132014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7914 Atsushi Onoe <atsushi@onoe.org>
7915
7916 [BZ #14308]
7917 [BZ #12994]
7918 [BZ #13651]
7919 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7920 one response is valid.
7921 * resolv/res_send.c (send_dg): Check for validity of other
7922 response if the current response is a referral.
7923
a28a9b94
SE
79242014-04-29 Steve Ellcey <sellcey@mips.com>
7925
7926 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7927
2ca180e9
SL
79282014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7929
7930 [BZ #16823]
7931 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7932 Always divide by positive zero when computing -Inf result.
7933 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7934 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7935
18f2945a
AZ
79362014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7937
7938 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7939 FPSCR if value do not change.
7940 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7941 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7942 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7943 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7944 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7945 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7946 function.
7947
5abebba4
CD
79482014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7949
7950 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7951 * sysdeps/unix/sysv/linux/hppa: Move directory from
7952 ports/systeps/unix/sysv/linux/hppa.
7953 * README: Update listing for hppa-*-linux-gnu.
7954
f7ed60c2
OB
79552014-04-28 Ondřej Bílka <neleai@seznam.cz>
7956
fff763a5
OB
7957 [BZ #16754]
7958 * manual/stdio.texi (Hook functions): Fix types of stream hook
7959 functions.
f7ed60c2
OB
7960 [BZ #16854]
7961 * socket/sys/socket.h: Fix typo in comment.
7962
df639d73
WD
79632014-04-28 Wilco <wdijkstr@arm.com>
7964
f7ed60c2 7965 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7966 * sysdeps/arm/math_private.h: New file.
7967 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7968
48332d82
L
79692014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7972 with __int128_t.
7973 (La_x86_64_retval): Likewise.
7974
e5e0d9a4
IB
79752014-04-24 Ian Bolton <ian.bolton@arm.com>
7976
7977 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7978 fpsr if value didn't change.
7979 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7980 to fpcr if value didn't change.
7981 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7982 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7983 fpsr or fpcr if value didn't change.
7984 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7985 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7986 fpcr if value didn't change.
7987 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7988 to fpsr if value didn't change.
7989
bacc75f7
SP
79902014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7991
7992 * nptl/tst-sem3.c: Use test-skeleton.c
7993 (main): Rename to do_test. Use return instead of
7994 exit.
7995 * nptl/tst-sem4.c: Use test-skeleton.c
7996 (main): Rename to do_test.
7997
a059d359
DM
79982014-04-22 David S. Miller <davem@davemloft.net>
7999
8000 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8001 (struct sigaction): New struct member __glibc_reserved0, change
8002 type of sa_flags to int.
8003
ea6c92f3
YZ
80042014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8005
8006 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8007 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8008
766c4a36
SP
80092014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8010
8011 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8012 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8013
140cc7ab
VK
80142014-04-22 Will Newton <will.newton@linaro.org>
8015 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8016
8017 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8018 (__longjmp): Add longjmp and longjmp_target SystemTap
8019 probes.
8020 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8021 (__sigsetjmp): Add setjmp SystemTap probe.
8022
c54e5cf7
CD
80232014-04-17 Carlos O'Donell <carlos@redhat.com>
8024
8025 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8026 match manual order.
8027
75ffb047
AZ
80282014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8029
8030 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8031
2cd925f7
AZ
8032 * sysdeps/powerpc/fpu/fenv_private.h
8033 (libc_feholdexcept_setroundl_ctx): Define to
8034 libc_feholdexcept_setround_ppc_ctx.
8035 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8036 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8037 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8038 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8039
39e6cd8d
IB
80402014-04-17 Ian Bolton <ian.bolton@arm.com>
8041
8042 * sysdeps/aarch64/math-tests.h: New file.
8043
f9281df9
SY
80442014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8045
8046 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8047 New.
8048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8049 Check and set bit_AVX2_Usable.
8050 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8051 macro.
8052 (bit_AVX2): Likewise.
8053 (index_AVX2_Usable): Likewise.
8054 (CPUID_AVX2): Likewise.
8055 (HAS_AVX2): Likewise.
8056
37d35007
WN
80572014-04-17 Will Newton <will.newton@linaro.org>
8058
7c677662
WN
8059 * manual/setjmp.texi (System V contexts): Add note that
8060 calling setcontext on a context created by a call to a
8061 signal handler is undefined. Update text to note that
8062 setcontext from a signal handler is possible but not
8063 recommended.
8064
37d35007 8065 [BZ #16629]
e04a4e9d
WN
8066 * stdlib/tst-setcontext.c: Include signal.h.
8067 (main): Check that the signal stack before and
8068 after swapcontext is the same.
8069
37d35007
WN
8070 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8071 Re-implement to restore registers in user code and avoid
8072 rt_sigreturn system call.
8073
423a7160
W
80742014-04-17 Wilco <wdijkstr@arm.com>
8075
8076 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8077 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8078 * math/test-fenv.c: Skip exception trap tests on targets which only
8079 support non-stop mode.
8080
bc93ab29
IB
80812014-04-17 Ian Bolton <ian.bolton@arm.com>
8082 Wilco Dijkstra <wilco.dijkstra@arm.com>
8083
8084 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8085 (libc_feholdsetround_aarch64_ctx)
8086 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8087 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8088 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8089 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8090 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8091 (libc_feresetround_noexl_ctx): Define.
8092
95fc5fa3
RH
80932014-04-16 Richard Henderson <rth@redhat.com>
8094
ddb04724
RH
8095 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8096
d77c0899
RH
8097 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8098 unwind tables.
8099
a3df56fc
RH
8100 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8101 const from the non-libc, non-ldso copy.
8102
95fc5fa3
RH
8103 * sysdeps/alpha/libm-test-ulps: Regenerate.
8104
7e0b6763
IB
81052014-04-16 Ian Bolton <ian.bolton@arm.com>
8106 Wilco Dijkstra <wilco.dijkstra@arm.com>
8107
8108 * sysdeps/aarch64/fpu/math_private.h: New file.
8109
a9ea2e0c
MS
81102014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8111
8112 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8113
ea8ba7cd
IZ
81142014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8115
7e54fd04 8116 [BZ #16275]
ea8ba7cd
IZ
8117 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8118 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8120 Intel MPX bound registers before _dl_profile_fixup.
8121 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8122 registers after _dl_profile_fixup. Save and restore bound
8123 registers bnd0/bnd1 when calling _dl_call_pltexit.
8124 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8125 (LR_BND_OFFSET): Likewise.
8126 (LRV_BND0_OFFSET): Likewise.
8127 (LRV_BND1_OFFSET): Likewise.
8128
9f2a4fbc
ST
81292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8130
8131 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8132 to...
8133 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8134 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8135 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8136 fields.
9f2a4fbc 8137
fd15a59b
ST
81382014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8139
8140 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8141
f19dfa0a
SL
81422014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8143
8144 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8145
4fa8bc3b
SL
81462014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8147
8148 [BZ #14770]
8149 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8150 * sysdeps/s390/configure: Regenerate.
8151
8ea587db
SL
8152 [BZ #16824]
8153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8154 Set round-to-nearest internally to reduce error accumulation.
8155
aa5f0ff1
AM
81562014-04-16 Alan Modra <amodra@gmail.com>
8157
8158 [BZ #16740]
8159 [BZ #16619]
8160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8161 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8162 * NEWS: Update fixed bug list.
aa5f0ff1 8163
bb9c256f
SP
81642014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
8166 * benchtests/Makefile: Depend on libraries in build directory.
8167 (bench-math): Separate out math tests.
8168 (bench-pthread): Separate out pthread tests.
8169 (bench): Include math and pthread tests.
8170
f737dfd0
CD
81712014-04-14 Carlos O'Donell <carlos@redhat.com>
8172
8173 [BZ #16831]
8174 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8175 _dl_debug_initialize.
8176
0699f766
CD
8177 * configure.ac: Remove SELinux header check.
8178 * configure: Regenerate.
8179 * nscd/selinux.c (perms): Array of const char* to permission names.
8180 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8181 default policy. Call string_to_security_class and string_to_av_perm to
8182 translate strings. Enforce default policy and call avs_has_perm with
8183 results of translated strings.
8184
809bd45f
DM
81852014-04-13 David S. Miller <davem@davemloft.net>
8186
8187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8188
89e691f2
AM
81892014-04-12 Allan McRae <allan@archlinux.org>
8190
8191 [BZ #16838]
8192 * manual/string.texi (Collation Functions): Fix qsort argument
8193 order in example.
8194 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8195
9c9daaeb
CM
81962014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8197
8198 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8199 Make the test a no-op if there are no exceptions defined.
8200
95561fb9
PP
82012014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8202
fe8d072c 8203 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8204 enable-hardcoded-path-in-tests
8205
970c602a
WN
82062014-04-11 Will Newton <will.newton@linaro.org>
8207
8208 * benchtests/Makefile (extra-objs): Add json-lib.o.
8209 (bench-func): Tidy up JSON output.
8210 * benchtests/bench-skeleton.c: Include json-lib.h.
8211 (main): Use JSON library functions to do output of
8212 benchmark results.
8213 * benchtests/bench-timing-type.c (main): Output the
8214 timing type simply, leaving formatting to the user.
8215 * benchtests/json-lib.c: New file.
8216 * benchtests/json-lib.h: Likewise.
8217
36875b06
TR
82182014-04-11 Torvald Riegel <triegel@redhat.com>
8219
8220 [BZ #15215]
8221 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8222 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8223 memory barriers. Add comments.
8224 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8225 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8226 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8227 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8228 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8229 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8230
579db35a
SL
82312014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8232
8233 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8234 * sysdeps/s390/s390-64/configure.ac: ... this ...
8235 * sysdeps/s390/configure.ac: ... to here.
8236 * sysdeps/s390/s390-32/configure: Delete file.
8237 * sysdeps/s390/s390-64/configure: Delete file.
8238 * sysdeps/s390/configure: Regenerate.
8239
c12e9f37
JAPH
82402014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8241
8242 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8243
439bda32
WN
82442014-04-11 Will Newton <will.newton@linaro.org>
8245
8246 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8247 to zero if it is not defined elsewhere. (mtrim): Test
8248 the value of MALLOC_DEBUG with #if rather than #ifdef.
8249
6a5d6ea1
TR
82502014-04-10 Torvald Riegel <triegel@redhat.com>
8251
8252 * benchtests/pthread_once-inputs: New file.
8253 * benchtests/pthread_once-source.c: New file.
8254 * benchtests/README: Update documentation.
8255
a4c75cfd
IZ
82562014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8257 H.J. Lu <hongjiu.lu@intel.com>
8258
7e54fd04 8259 [BZ #16275]
a4c75cfd
IZ
8260 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8261 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8262 * sysdeps/x86_64/configure: Regenerated.
8263 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8264 macro.
8265 (REGISTER_SAVE_RAX): Likewise.
8266 (REGISTER_SAVE_RCX): Likewise.
8267 (REGISTER_SAVE_RDX): Likewise.
8268 (REGISTER_SAVE_RSI): Likewise.
8269 (REGISTER_SAVE_RDI): Likewise.
8270 (REGISTER_SAVE_R8): Likewise.
8271 (REGISTER_SAVE_R9): Likewise.
8272 (REGISTER_SAVE_BND0): Likewise.
8273 (REGISTER_SAVE_BND1): Likewise.
8274 (REGISTER_SAVE_BND2): Likewise.
8275 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8276 bound registers when calling _dl_fixup.
8277
27822ce6
AZ
82782014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8279
8280 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8281 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8282 of its definition.
27822ce6
AZ
8283 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8284 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8285 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8286 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8287 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8288 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8289 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8290
a88ddc90
PTB
82912014-04-09 Peter Brett <peter@peter-b.co.uk>
8292
8293 [BZ #15514]
8294 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8295 pathconf(_PC_NAME_MAX).
8296
01f8eac2
AZ
82972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8298
8299 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8300 Remove macro usage.
8301 (__PTHREAD_SPINS): Move definition to ...
8302 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8303 (__PTHREAD_SPINS): ... here.
8304 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8305 (__PTHREAD_SPIN): Likewise.
8306 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8307 (__PTHREAD_SPIN): Likewise.
8308 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8309 (__PTHREAD_SPIN): Likewise.
8310 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8311 (__PTHREAD_SPIN): Likewise.
8312 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8313 (__PTHREAD_SPIN): Likewise.
8314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8315 (__PTHREAD_SPIN): Likewise.
8316 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8317 (__PTHREAD_SPIN): Likewise.
8318 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8319 (__PTHREAD_SPIN): Likewise.
8320 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8321 (__PTHREAD_SPIN): Likewise.
8322 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8323 (__PTHREAD_SPIN): Likewise.
8324 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8325 (__PTHREAD_SPIN): Likewise.
8326 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8327 (__PTHREAD_SPIN): Likewise.
8328
de21c33c
AZ
8329 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8330 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8331 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8332 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8333 imply folder.
8334 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8335 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8336 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8337 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8338 correct imply path.
8339 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8340 strlen symbol for non multi-arch builds.
8341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8342 missing hidden_def and weak_alias.
8343
862c472e
CD
83442014-04-08 Carlos O'Donell <carlos@redhat.com>
8345
8346 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8347
8667f90e
WN
83482014-04-07 Will Newton <will.newton@linaro.org>
8349
8350 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8351 and contents. [!_LIBC] Remove #ifndef and contents.
8352 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8353 * string/memccpy.c (__memccpy): Use ANSI prototype.
8354 * string/memfrob.c (memfrob): Likewise.
8355 * string/strcoll.c (STRCOLL): Likewise.
8356 * string/strlen.c (strlen): Likewise.
8357 * string/strtok.c (STRTOK): Likewise.
8358 * string/strcat.c: Remove unused #include of memcopy.h.
8359 (strcat): Use ANSI prototype.
8360 * string/strchr.c: Remove unused #include of memcopy.h.
8361 (strchr): Use ANSI prototype.
8362 * string/strcmp.c: Remove unused #include of memcopy.h.
8363 (strcmp): Use ANSI prototype.
8364 * string/strcpy.c: Remove unused #include of memcopy.h.
8365 (strcpy): Use ANSI prototype.
8366
7ffa9423
AZ
83672014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8368
8369 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8370 * config.make.in (config-extra-cppflags): Set it from
8371 libc_extra_cppflags.
8372 * configure.ac (libc_extra_cflags): Make it accumulate over
8373 configure fragments.
8374 (libc_extra_cppflags): New flag.
8375 * configure. Regenerate.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8377 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8378 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8380
8bd70862
AZ
8381 [BZ #16815]
8382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8383 result for FE_DOWNWARD rounding mode.
8384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8385 Likewise.
8386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8387
d42f3448
CM
83882014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8389
8390 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8391 in function argument name.
8392
1c21d115
DS
83932014-04-03 David Svoboda <svoboda@cert.org>
8394
8395 [BZ #5666]
8396 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8397 explicitly.
8398
fcccd512
RM
83992014-04-03 Roland McGrath <roland@hack.frob.com>
8400
8401 * elf/dl-unmap-segments.h: New file.
8402 * sysdeps/generic/ldsodefs.h
8403 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8404 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8405 * elf/dl-fptr.c: Likewise.
8406 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8407 * sysdeps/aarch64/tlsdesc.c: Likewise.
8408 * sysdeps/arm/tlsdesc.c: Likewise.
8409 * sysdeps/i386/tlsdesc.c: Likewise.
8410 * sysdeps/tile/dl-runtime.c: Likewise.
8411 * sysdeps/x86_64/tlsdesc.c: Likewise.
8412 * elf/dl-load.h: New file.
8413 * elf/dl-load.c: Include it.
8414 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8415 Macros moved to dl-load.h.
8416 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8417 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8418 Use _dl_unmap_segments in place of __munmap.
8419 Break out segment-mapping loop into ...
8420 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8421
f6488e2b
WN
84222014-04-03 Will Newton <will.newton@linaro.org>
8423
8424 * elf/dl-lookup.c (do_lookup_x): Remove comment
8425 referring to nested function and move variable
8426 declarations down to before first use.
8427
6f05bafe
JM
84282014-04-02 Joseph Myers <joseph@codesourcery.com>
8429
a84e78c8
JM
8430 [BZ #16799]
8431 [BZ #16800]
8432 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8433 with 0 numerator.
8434 * math/s_catanf.c (__catanf): Likewise.
8435 * math/s_catanh.c (__catanh): Likewise.
8436 * math/s_catanhf.c (__catanhf): Likewise.
8437 * math/s_catanhl.c (__catanhl): Likewise.
8438 * math/s_catanl.c (__catanl): Likewise.
8439 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8440 by positive zero when computing -Inf result.
8441 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8442 (catanh_test): Likewise.
8443 * sysdeps/i386/fpu/libm-test-ulps: Update.
8444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445
6f05bafe
JM
8446 [BZ #16789]
8447 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8448 instead of using underflowing value in computing result.
8449 * math/s_clog10.c (__clog10): Likewise.
8450 * math/s_clog10f.c (__clog10f): Likewise.
8451 * math/s_clog10l.c (__clog10l): Likewise.
8452 * math/s_clogf.c (__clogf): Likewise.
8453 * math/s_clogl.c (__clogl): Likewise.
8454 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8455 (clog10_test): Likewise.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8458
b0abbc21
AM
84592014-04-02 Alan Modra <amodra@gmail.com>
8460
8461 [BZ #16739]
8462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8463 output when value is near a power of two. Use int64_t for lx and
8464 remove casts. Use decimal rather than hex exponent constants.
8465 Don't use long double multiplication when double will suffice.
8466 * math/libm-test.inc (nextafter_test_data): Add tests.
8467 * NEWS: Add 16739 and 16786 to bug list.
8468
af6b1797
AM
8469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8470
483818d7
AM
8471 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8472
f6c55796
WN
84732014-04-01 Will Newton <will.newton@linaro.org>
8474
8475 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8476 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8477
13f7fe35
FW
84782014-04-01 Florian Weimer <fweimer@redhat.com>
8479
8480 [BZ #13347]
8481 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8482 * nptl/tst-setuid2.c: New file.
8483 * nptl/Makefile (xtests): Add tst-setuid2.
8484
c859b32e
AM
84852014-04-01 Alan Modra <amodra@gmail.com>
8486
8487 [BZ #16786]
8488 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8489
54fa2475
JM
84902014-03-31 Joseph Myers <joseph@codesourcery.com>
8491
8795b4a4
JM
8492 [BZ #6803]
8493 [BZ #6804]
8494 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8495 set errno as appropriate.
8496 * math/w_scalbf.c (__scalbf): Likewise.
8497 * math/w_scalbl.c (__scalbl): Likewise.
8498 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8499 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8500 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8501 Add more NaN tests.
8502
54fa2475
JM
8503 [BZ #16349]
8504 * math/w_atan2.c: Include <errno.h>.
8505 (__atan2): Set errno for result underflowing to zero.
8506 * math/w_atan2f.c: Include <errno.h>.
8507 (__atan2f): Set errno for result underflowing to zero.
8508 * math/w_atan2l.c: Include <errno.h>.
8509 (__atan2l): Set errno for result underflowing to zero.
8510 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8511 tests.
8512 * math/auto-libm-test-out: Regenerated.
8513
757d9dd5
AZ
85142014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515
8516 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8517 Encode instruction correctly in little endian.
8518 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8519 Likewise.
8520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8521 Likewise.
8522 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8523 Likewise.
8524 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8525 Likewise.
8526
d7a68734
JM
85272014-03-31 Joseph Myers <joseph@codesourcery.com>
8528
47c5adeb
JM
8529 [BZ #9894]
8530 * sysdeps/unix/sysv/linux/kernel-features.h
8531 [__sparc__ && !__arch64__ && !__sparc_v9__]
8532 (__ASSUME_SET_ROBUST_LIST): Do not define.
8533 [__sparc__ && !__arch64__ && !__sparc_v9__]
8534 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8535 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8536 Likewise.
8537 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8538 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8539 (__ASSUME_REQUEUE_PI): Likewise.
8540 (__ASSUME_SET_ROBUST_LIST): Likewise.
8541 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8542 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8543 Undefine.
8544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8545 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8546 Likewise.
8547 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8548 Likewise.
8549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8550 Likewise.
8551 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8552 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8553 Undefine.
8554 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8555 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8556 Likewise.
8557
d7a68734
JM
8558 [BZ #16648]
8559 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8560 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8561 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8562
c760f5c2
WN
85632014-03-31 Will Newton <will.newton@linaro.org>
8564
8565 * benchtests/Makefile (bench): Add ffs and ffsll to list
8566 of tests.
8567 * benchtests/ffs-inputs: New file.
8568 * benchtests/ffsll-inputs: Likewise.
8569
ea6029b1
JM
85702014-03-29 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #16770]
8573 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8574 too large before casting to int.
8575 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8576 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8577 * math/libm-test.inc (scalb_test_data): Add more tests.
8578
cf806aff
SP
85792014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8580
56737508
SP
8581 * benchtests/Makefile (DETAILED_OPT): New make option.
8582 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8583 set.
8584 * benchtests/bench-skeleton.c: Include stdbool.h.
8585 (main): Store and print timings per input.
8586 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8587 member to each argument value.
8588 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8589 (_print_arg_data): Initialize per-input timing to 0.
8590
cb5e4aad
SP
8591 * benchtests/Makefile (timing-type): New binary.
8592 (bench-clean): Also remove bench-timing-type.
8593 (bench): New target for timing-type.
8594 (bench-func): Print output in JSON format.
8595 * benchtests/bench-skeleton.c (main): Print output in JSON
8596 format.
8597 * benchtests/bench-timing-type.c: New file.
8598 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8599 (TIMING_PRINT_STATS): Remove.
8600 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8601 name separately.
8602
cf806aff
SP
8603 * benchtests/bench-modf.c: Remove.
8604 * benchtests/modf-inputs: New inputs file.
8605
289e0779
JM
86062014-03-28 Joseph Myers <joseph@codesourcery.com>
8607
8608 [BZ #16362]
8609 * math/s_clog10.c (M_PI_LOG10E): New macro.
8610 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8611 imaginary parts are 0.
8612 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8613 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8614 imaginary parts are 0.
8615 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8616 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8617 imaginary parts are 0.
8618 * math/libm-test.inc (clog10_test_data): Update expected results
8619 for when real and imaginary parts are 0.
8620
277ae3f1
PP
86212014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8622
8623 * elf/dl-load.c: Finish conversion of __builtin_expect into
8624 __glibc_{un}likely.
8625
03a7091f
JM
86262014-03-27 Joseph Myers <joseph@codesourcery.com>
8627
8628 [BZ #16348]
8629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8630 1+x for argument with exponent below -67.
8631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8632 Likewise.
8633 * math/auto-libm-test-in: Add more tests of exp.
8634 * math/auto-libm-test-out: Regenerated.
8635
ea7d8b95
SP
86362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8637
dd3022d7
SP
8638 [BZ #16759]
8639 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8640 (nscd_getnetgrent): Use it.
8641
ea7d8b95
SP
8642 [BZ #16760]
8643 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8644 of stpcpy.
8645
df5b85da
AK
86462014-03-27 Andi Kleen <ak@linux.intel.com>
8647
57f41c40
AS
8648 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8649 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8650 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8651 (lll_robust_unlock): Remove out of line section. Use cfi
8652 intrinsics.
df5b85da 8653 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8654 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8655 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8656 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8657 (lll_robust_unlock): Remove out of line section. Use cfi
8658 intrinsics.
df5b85da
AK
8659 (LLL_STUB_UNWIND_INFO*): Remove.
8660
fbd6b5a4
SP
86612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8662
8663 [BZ #16758]
8664 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8665 blank values.
8666
1b26b855
PP
86672014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8668
8669 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8670
9be36fb8
JM
86712014-03-26 Joseph Myers <joseph@codesourcery.com>
8672
8673 [BZ #16198]
8674 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8675 fnstenv.
8676 * math/test-fenv-preserve.c: New file.
8677 * math/Makefile (tests): Add test-fenv-preserve.
8678
60a2f3c1
WN
86792014-03-26 Will Newton <will.newton@linaro.org>
8680
8681 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8682
a5e5f1e2
RM
86832014-03-25 Roland McGrath <roland@hack.frob.com>
8684
8685 * scripts/versionlist.awk: Partition the version sets and emit all
8686 GLIBC_* (sorted) before all others (sorted).
8687
00f4012a
JM
86882014-03-25 Joseph Myers <joseph@codesourcery.com>
8689
8690 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8691 GLIBC_2.2.5 version.
8692
7bc5a741
AZ
86932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8694
8695 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8696 calls.
8697
7578473b
AZ
8698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8699 previous change.
8700
f3f1dab3
AZ
8701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8702
6da36183
AS
87032014-03-25 Andreas Schwab <schwab@suse.de>
8704
8705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8706 label to be used after in6ailist is initialized.
8707
f3f1dab3 87082014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8709
7578473b 8710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8711 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8712
046651c1
JM
87132014-03-25 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #16357]
8716 [BZ #16599]
8717 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8718 min_plus_half.
8719 (fp_formats): Update initializers.
8720 (init_fp_formats): Initialize new field.
8721 (output_for_one_input_case): Allow underflow for results up to
8722 min_plus_half.
8723 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8724 * math/auto-libm-test-in: Don't mark some underflows from asin and
8725 atanh as spurious.
8726 * math/auto-libm-test-out: Regenerated.
8727 * sysdeps/i386/fpu/libm-test-ulps: Update.
8728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8729
003e49ed
AS
87302014-03-25 Andreas Schwab <schwab@suse.de>
8731
8732 * libio/Makefile (tst-ftell-partial-wide-ENV)
8733 (tst-ftell-active-handler-ENV): Define.
8734
de031874
SL
87352014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8736
8737 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8738
55a81e3b
PP
87392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8740
8741 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8742
f3426898
JM
87432014-03-24 Joseph Myers <joseph@codesourcery.com>
8744
8745 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8746 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8747 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8748
a42faf59
PP
87492014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8750
8751 [BZ #16634]
a42faf59 8752 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8753 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8754 (open_path): Change from boolean 'secure' to complete flag 'mode'
8755 (_dl_map_object): Adjust.
a42faf59
PP
8756 * elf/Makefile (tests): Add tst-dlopen-aout.
8757 * elf/tst-dlopen-aout.c: New test.
8758
50936127
SL
87592014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8760
8761 [BZ #16714]
8762 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8763 (struct stat): Rename member pad0 to __glibc_reserved0.
8764
26011b5c
SL
8765 [BZ #16712]
8766 * sysdeps/s390/s390-32/bits/wordsize.h
8767 (__WORDSIZE32_SIZE_ULONG): New define.
8768 * sysdeps/s390/s390-64/bits/wordsize.h
8769 (__WORDSIZE32_SIZE_ULONG): Likewise.
8770 * sysdeps/generic/stdint.h (SIZE_MAX):
8771 Define as UL if __WORDSIZE32_SIZE_ULONG.
8772
a2d86bf1
SL
8773 [BZ #16713]
8774 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8775 (__glibc_reserved0): New variable.
8776 (sa_flags): Change type to int.
8777
78b6eebc
SL
8778 * posix/Makefile (before-compile): Use += before-compile instead
8779 of a :=.
8780
f1399b5a
SL
8781 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8782 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8783
a071766e
AS
87842014-03-20 Andreas Schwab <schwab@suse.de>
8785
8786 [BZ #16743]
8787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8788 non-matching result from nscd.
8789
27c673b8
SP
87902014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
8792 * scripts/bench.py: Moved to ...
8793 * benchtests/scripts/bench.py: ... here.
8794 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8795
44152e4b
AS
87962014-03-24 Andreas Schwab <schwab@suse.de>
8797
8798 [BZ #16002]
8799 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8800 alloca_account and account alloca use for struct in6ailist.
8801
b376a11a
JM
88022014-03-24 Joseph Myers <joseph@codesourcery.com>
8803
8804 [BZ #16284]
8805 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8806 rounding mode to recompute results that overflow to infinity or
8807 underflow to zero.
8808 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8809 bug 16284.
8810 * math/auto-libm-test-out: Regenerated.
8811 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8812 (ccosh_test): Likewise.
8813 (csin_test_data): Use plus_oflow.
8814 (csin_test): Use ALL_RM_TEST.
8815 (csinh_test_data): Use plus_oflow.
8816 (csinh_test): Use ALL_RM_TEST.
8817 * sysdeps/i386/fpu/libm-test-ulps: Update.
8818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8819
f7be7376
JM
88202014-03-21 Joseph Myers <joseph@codesourcery.com>
8821
1ca2d03e
JM
8822 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8823 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8824 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8825
f7be7376
JM
8826 [BZ #16731]
8827 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8828 when x - 1 is zero.
8829 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8830 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8831 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8832 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8833 argument is 1.
8834 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8835 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8836 zero.
8837 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8838 * sysdeps/i386/fpu/libm-test-ulps: Update.
8839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8840
fdf4534d
SP
88412014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8842
df26ea53
SP
8843 * scripts/bench.pl: Remove file.
8844 * scripts/bench.py: New benchmark script.
8845 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8846 * benchtests/README: Mention python dependency.
8847 * scripts/pylintrc: New file.
8848 * scripts/pylint: New file.
8849
fdf4534d
SP
8850 * bits/mathdef.h: Use #ifdef instead of #if.
8851 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8852 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8853 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8854 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8855 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8856 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8857
6f23d093
AZ
88582014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8860
8861 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8863 and strpbrk-ppc64 objects.
8864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8865 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8866 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8867 multiarch strpbrk for POWER7.
8868 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8869 multiarch strpbrk for PPC64.
8870 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8871 ifunc selector.
8872 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8873 strpbrk for POWER7.
8874
8c92dfff
JM
88752014-03-20 Joseph Myers <joseph@codesourcery.com>
8876
8877 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8878 (atan_test): Likewise.
8879 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8880 (atanh_test): Use ALL_RM_TEST.
8881 (atan2_test_data): Likewise.
8882 (cabs_test): Likewise.
8883 (cacosh_test): Likewise.
8884 (carg_test): Likewise.
8885 (casin_test): Likewise.
8886 (casinh_test): Likewise.
8887 (cbrt_test): Likewise.
8888 (csqrt_test): Likewise.
8889 (erf_test): Likewise.
8890 (erfc_test): Likewise.
8891 (pow10_test): Likewise.
8892 (exp2_test): Likewise.
8893 (hypot_test): Likewise.
8894 (j0_test): Likewise.
8895 (j1_test): Likewise.
8896 (lgamma_test): Likewise.
8897 (gamma_test): Likewise.
8898 (sincos_test): Likewise.
8899 (tanh_test): Likewise.
8900 (y0_test): Likewise.
8901 (y1_test): Likewise.
8902 * sysdeps/i386/fpu/libm-test-ulps: Update.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8904
6eaf95cb
AZ
89052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8906
a387428c
SP
8907 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8909 and strcspn-ppc64 objects.
8910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8911 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8912 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8913 multiarch strcspn for POWER7.
8914 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8915 multiarch strcspn for PPC64.
8916 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8917 ifunc selector.
8918 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8919 strcspn for POWER7.
8920
ae3a5dff
JM
89212014-03-20 Joseph Myers <joseph@codesourcery.com>
8922
8923 * math/gen-libm-test.pl (generate_testfile): Expect only function
8924 name as argument to AUTO_TESTS_* and pass results for all rounding
8925 modes to parse_args.
8926 (parse_auto_input): Separate inputs of automatic tests from
8927 outputs before storing in %auto_tests.
8928 * math/libm-test.inc (acos_test_data): Update call to
8929 AUTO_TESTS_f_f.
8930 (acos_test): Use ALL_RM_TEST.
8931 (acos_tonearest_test_data): Remove.
8932 (acos_test_tonearest): Likewise.
8933 (acos_towardzero_test_data): Likewise.
8934 (acos_test_towardzero): Likewise.
8935 (acos_downward_test_data): Likewise.
8936 (acos_test_downward): Likewise.
8937 (acos_upward_test_data): Likewise.
8938 (acos_test_upward): Likewise.
8939 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8940 (asin_test_data): Likewise.
8941 (asin_test): Use ALL_RM_TEST.
8942 (asin_tonearest_test_data): Remove.
8943 (asin_test_tonearest): Likewise.
8944 (asin_towardzero_test_data): Likewise.
8945 (asin_test_towardzero): Likewise.
8946 (asin_downward_test_data): Likewise.
8947 (asin_test_downward): Likewise.
8948 (asin_upward_test_data): Likewise.
8949 (asin_test_upward): Likewise.
8950 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8951 (atan_test_data): Likewise.
8952 (atanh_test_data): Likewise.
8953 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8954 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8955 (carg_test_data): Likewise.
8956 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8957 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8958 (ccosh_test_data): Likewise.
8959 (cexp_test_data): Likewise.
8960 (clog_test_data): Likewise.
8961 (clog10_test_data): Likewise.
8962 (cos_test_data): Update call to AUTO_TESTS_f_f.
8963 (cos_test): Use ALL_RM_TEST.
8964 (cos_tonearest_test_data): Remove.
8965 (cos_test_tonearest): Likewise.
8966 (cos_towardzero_test_data): Likewise.
8967 (cos_test_towardzero): Likewise.
8968 (cos_downward_test_data): Likewise.
8969 (cos_test_downward): Likewise.
8970 (cos_upward_test_data): Likewise.
8971 (cos_test_upward): Likewise.
8972 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8973 (cosh_test): Use ALL_RM_TEST.
8974 (cosh_tonearest_test_data): Remove.
8975 (cosh_test_tonearest): Likewise.
8976 (cosh_towardzero_test_data): Likewise.
8977 (cosh_test_towardzero): Likewise.
8978 (cosh_downward_test_data): Likewise.
8979 (cosh_test_downward): Likewise.
8980 (cosh_upward_test_data): Likewise.
8981 (cosh_test_upward): Likewise.
8982 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8983 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8984 (ctan_test_data): Likewise.
8985 (ctan_test): Use ALL_RM_TEST.
8986 (ctan_tonearest_test_data): Remove.
8987 (ctan_test_tonearest): Likewise.
8988 (ctan_towardzero_test_data): Likewise.
8989 (ctan_test_towardzero): Likewise.
8990 (ctan_downward_test_data): Likewise.
8991 (ctan_test_downward): Likewise.
8992 (ctan_upward_test_data): Likewise.
8993 (ctan_test_upward): Likewise.
8994 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8995 (ctanh_test): Use ALL_RM_TEST.
8996 (ctanh_tonearest_test_data): Remove.
8997 (ctanh_test_tonearest): Likewise.
8998 (ctanh_towardzero_test_data): Likewise.
8999 (ctanh_test_towardzero): Likewise.
9000 (ctanh_downward_test_data): Likewise.
9001 (ctanh_test_downward): Likewise.
9002 (ctanh_upward_test_data): Likewise.
9003 (ctanh_test_upward): Likewise.
9004 (erf_test_data): Update call to AUTO_TESTS_f_f.
9005 (erfc_test_data): Likewise.
9006 (exp_test_data): Likewise.
9007 (exp_test): Use ALL_RM_TEST.
9008 (exp_tonearest_test_data): Remove.
9009 (exp_test_tonearest): Likewise.
9010 (exp_towardzero_test_data): Likewise.
9011 (exp_test_towardzero): Likewise.
9012 (exp_downward_test_data): Likewise.
9013 (exp_test_downward): Likewise.
9014 (exp_upward_test_data): Likewise.
9015 (exp_test_upward): Likewise.
9016 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9017 (exp10_test): Use ALL_RM_TEST.
9018 (exp10_tonearest_test_data): Remove.
9019 (exp10_test_tonearest): Likewise.
9020 (exp10_towardzero_test_data): Likewise.
9021 (exp10_test_towardzero): Likewise.
9022 (exp10_downward_test_data): Likewise.
9023 (exp10_test_downward): Likewise.
9024 (exp10_upward_test_data): Likewise.
9025 (exp10_test_upward): Likewise.
9026 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9027 (expm1_test_data): Likewise.
9028 (expm1_test): Use ALL_RM_TEST.
9029 (expm1_tonearest_test_data): Remove.
9030 (expm1_test_tonearest): Likewise.
9031 (expm1_towardzero_test_data): Likewise.
9032 (expm1_test_towardzero): Likewise.
9033 (expm1_downward_test_data): Likewise.
9034 (expm1_test_downward): Likewise.
9035 (expm1_upward_test_data): Likewise.
9036 (expm1_test_upward): Likewise.
9037 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9038 (fma_test): Use ALL_RM_TEST.
9039 (fma_towardzero_test_data): Remove.
9040 (fma_test_towardzero): Likewise.
9041 (fma_downward_test_data): Likewise.
9042 (fma_test_downward): Likewise.
9043 (fma_upward_test_data): Likewise.
9044 (fma_test_upward): Likewise.
9045 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9046 (j0_test_data): Update call to AUTO_TESTS_f_f.
9047 (j1_test_data): Likewise.
9048 (jn_test_data): Update call to AUTO_TESTS_if_f.
9049 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9050 (log_test_data): Update call to AUTO_TESTS_f_f.
9051 (log10_test_data): Likewise.
9052 (log1p_test_data): Likewise.
9053 (log2_test_data): Likewise.
9054 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9055 (pow_tonearest_test_data): Likewise.
9056 (sin_test_data): Update call to AUTO_TESTS_f_f.
9057 (sin_test): Use ALL_RM_TEST.
9058 (sin_tonearest_test_data): Remove.
9059 (sin_test_tonearest): Likewise.
9060 (sin_towardzero_test_data): Likewise.
9061 (sin_test_towardzero): Likewise.
9062 (sin_downward_test_data): Likewise.
9063 (sin_test_downward): Likewise.
9064 (sin_upward_test_data): Likewise.
9065 (sin_test_upward): Likewise.
9066 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9067 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9068 (sinh_test): Use ALL_RM_TEST.
9069 (sinh_tonearest_test_data): Remove.
9070 (sinh_test_tonearest): Likewise.
9071 (sinh_towardzero_test_data): Likewise.
9072 (sinh_test_towardzero): Likewise.
9073 (sinh_downward_test_data): Likewise.
9074 (sinh_test_downward): Likewise.
9075 (sinh_upward_test_data): Likewise.
9076 (sinh_test_upward): Likewise.
9077 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9078 (sqrt_test): Use ALL_RM_TEST.
9079 (sqrt_tonearest_test_data): Remove.
9080 (sqrt_test_tonearest): Likewise.
9081 (sqrt_towardzero_test_data): Likewise.
9082 (sqrt_test_towardzero): Likewise.
9083 (sqrt_downward_test_data): Likewise.
9084 (sqrt_test_downward): Likewise.
9085 (sqrt_upward_test_data): Likewise.
9086 (sqrt_test_upward): Likewise.
9087 (tan_test_data): Update call to AUTO_TESTS_f_f.
9088 (tan_test): Use ALL_RM_TEST.
9089 (tan_tonearest_test_data): Remove.
9090 (tan_test_tonearest): Likewise.
9091 (tan_towardzero_test_data): Likewise.
9092 (tan_test_towardzero): Likewise.
9093 (tan_downward_test_data): Likewise.
9094 (tan_test_downward): Likewise.
9095 (tan_upward_test_data): Likewise.
9096 (tan_test_upward): Likewise.
9097 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9098 (tgamma_test_data): Likewise.
9099 (y0_test_data): Likewise.
9100 (y1_test_data): Likewise.
9101 (yn_test_data): Update call to AUTO_TESTS_if_f.
9102 (main): Do not call removed functions.
9103
d71aeee8
JM
91042014-03-19 Joseph Myers <joseph@codesourcery.com>
9105
9106 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9107 (ldexp_test_data): Remove.
9108 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9109 scalbn_test_data.
9110 (scalb_test): Use ALL_RM_TEST.
9111
baaf1ded
AS
91122014-03-19 Andreas Schwab <schwab@suse.de>
9113
9114 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9115
b1115e91
JM
91162014-03-19 Joseph Myers <joseph@codesourcery.com>
9117
9118 [BZ #16649]
9119 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9120 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9121 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9122 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9123 (__ASSUME_PREADV): Undefine.
9124 (__ASSUME_PWRITEV): Likewise.
9125
0283ecca
RM
91262014-03-18 Roland McGrath <roland@hack.frob.com>
9127
7d375303
RM
9128 * bits/mman-linux.h: Add comment about non-Linux use.
9129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9130 bits/mman-linux.h resting place.
9131
0283ecca
RM
9132 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9133 * bits/mman-linux.h: ... here.
9134
aebe1003
AZ
91352014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9136
9137 * conform/conformtest.pl: Add standard definition when calling C
9138 preprocessor on data files.
9139 (checknamespace): Remove unused variable.
9140
b29b6bb8
JM
91412014-03-18 Joseph Myers <joseph@codesourcery.com>
9142
9143 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9144 minus_oflow, plus_uflow and minus_uflow in expected results.
9145 * math/libm-test.inc (scalbn_test_data): Add more tests of
9146 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9147 minus_uflow.
9148 (scalbn_test): Use ALL_RM_TEST.
9149 (scalbln_test_data): Add more tests of negative arguments. Use
9150 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9151 (scalbln_test): Use ALL_RM_TEST.
9152
c8f8fa15
RM
91532014-03-18 Roland McGrath <roland@hack.frob.com>
9154
9155 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9156
fede7a5f
WN
91572014-03-18 Will Newton <will.newton@linaro.org>
9158
9159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9160 inaccurate comment.
9161
80cf0a58
JM
91622014-03-18 Joseph Myers <joseph@codesourcery.com>
9163
9164 * Makerules [!subdir] (check-abi): Exit with error status if a
9165 test failed.
9166
b3620862
JM
91672014-03-17 Joseph Myers <joseph@codesourcery.com>
9168
9169 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9170 for rint. Include results for all rounding modes.
9171 (nearbyint_test): Use ALL_RM_TEST.
9172 (rint_test_data): Include all tests used for nearbyint.
9173
788bba36
WN
91742014-03-17 Will Newton <will.newton@linaro.org>
9175
04ec140a
WN
9176 * nptl/sysdeps/pthread/pthread.h: Revert previous
9177 change.
9178
7579d8d5
WN
9179 * sysdeps/generic/ldsodefs.h: Revert previous
9180 change.
9181
c15cf13a
WN
9182 * libio/genops.c: Revert previous change.
9183 * libio/libioP.h: Likewise.
9184 * stdio-common/vfprintf.c: Likewise.
9185
d0ac1324
WN
9186 * sysdeps/generic/math_private.h: Revert previous
9187 change.
9188
9290130a
WN
9189 * sysdeps/generic/math_private.h: Check whether
9190 HAVE_RM_CTX is defined with #ifdef rather
9191 than #if.
9192
afb466fc
WN
9193 * argp/argp-fmtstream.h: Check whether
9194 __STRICT_ANSI__ is defined with #ifdef rather
9195 than #if.
9196 * argp/argp.h: Likewise.
9197
f7efd7c3
WN
9198 * libio/genops.c: Check whether
9199 _IO_JUMPS_OFFSET is defined with #ifdef rather
9200 than #if.
9201 * libio/libioP.h: Likewise.
9202 * stdio-common/vfprintf.c: Likewise.
9203
53f1bed3
WN
9204 * sysdeps/generic/ldsodefs.h: Check whether
9205 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9206 than #if.
9207
788bba36
WN
9208 * nptl/sysdeps/pthread/pthread.h: Check
9209 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9210 its value.
9211
fcd89ebe
SP
92122014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9213
ae42bbc5
SP
9214 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9215 setting O_APPEND.
9216 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9217 test case.
9218
ea33158c
SP
9219 [BZ #16680]
9220 * libio/fileops.c (_IO_file_open): Seek to end of file but
9221 don't cache the offset.
9222 (get_file_offset): Remove function.
9223 (do_ftell): Use cached offset when available.
9224 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9225 don't cache the offset.
9226 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9227 case.
9228 (do_one_test): Call it.
9229 (do_ftell_test): Fix up expected old offset for a+ mode.
9230 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9231 available.
9232
b1dbb426
SP
9233 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9234 up test status with function return status.
9235 (do_write_test): Likewise.
9236 (do_append_test): Likewise.
9237
fcd89ebe
SP
9238 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9239 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9240 Remove.
9241
9962a2d3
JM
92422014-03-17 Joseph Myers <joseph@codesourcery.com>
9243
9244 * math/gen-libm-test.pl (parse_args): Handle results specified for
9245 each rounding mode separately.
9246 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9247 tests and results from lrint_tonearest_test_data,
9248 lrint_towardzero_test_data, lrint_downward_test_data and
9249 lrint_upward_test_data.
9250 (lrint_test): Use ALL_RM_TEST.
9251 (lrint_tonearest_test_data): Remove.
9252 (lrint_test_tonearest): Likewise.
9253 (lrint_towardzero_test_data): Likewise.
9254 (lrint_test_towardzero): Likewise.
9255 (lrint_downward_test_data): Likewise.
9256 (lrint_test_downward): Likewise.
9257 (lrint_upward_test_data): Likewise.
9258 (lrint_test_upward): Likewise.
9259 (llrint_test_data): Merge in per-rounding-mode tests and results
9260 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9261 llrint_downward_test_data and llrint_upward_test_data.
9262 (llrint_test): Use ALL_RM_TEST.
9263 (llrint_tonearest_test_data): Remove.
9264 (llrint_test_tonearest): Likewise.
9265 (llrint_towardzero_test_data): Likewise.
9266 (llrint_test_towardzero): Likewise.
9267 (llrint_downward_test_data): Likewise.
9268 (llrint_test_downward): Likewise.
9269 (llrint_upward_test_data): Likewise.
9270 (llrint_test_upward): Likewise.
9271 (rint_test_data): Merge in per-rounding-mode tests and results
9272 from rint_tonearest_test_data, rint_towardzero_test_data,
9273 rint_downward_test_data and rint_upward_test_data. Add
9274 per-rounding-mode results for tests not in those arrays.
9275 (rint_test): Use ALL_RM_TEST.
9276 (rint_tonearest_test_data): Remove.
9277 (rint_test_tonearest): Likewise.
9278 (rint_towardzero_test_data): Likewise.
9279 (rint_test_towardzero): Likewise.
9280 (rint_downward_test_data): Likewise.
9281 (rint_test_downward): Likewise.
9282 (rint_upward_test_data): Likewise.
9283 (rint_test_upward): Likewise.
9284 (main): Don't call removed functions.
9285
5006148e
RM
92862014-03-14 Roland McGrath <roland@hack.frob.com>
9287
9288 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9289 "Compiled on ..." crapola. It is anti-useful.
9290
d6fe5e58
JM
92912014-03-14 Joseph Myers <joseph@codesourcery.com>
9292
9293 * scripts/evaluate-test.sh: Handle fourth argument to determine
9294 whether test run should stop on failure.
9295 * Makeconfig (stop-on-test-failure): New variable.
9296 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9297 $(stop-on-test-failure).
9298 * Makefile (tests): Give a summary of results from testing and
9299 exit with failure status if they include an ERROR or FAIL.
9300 (xtests): Likewise.
9301 * manual/install.texi (Configuring and compiling): Mention
9302 stop-on-test-failure=y.
9303 * INSTALL: Regenerated.
9304
498a2233
RM
93052014-03-14 Roland McGrath <roland@hack.frob.com>
9306
22dbc19d
RM
9307 * scripts/versionlist.awk: New file.
9308 * Makerules [$(build-shared) = yes]
9309 (postclean-generated): Add Versions.def, not Versions.def.v and
9310 Versions.def.v.i.
9311 ($(common-objpfx)Versions.def.v.i): Target removed.
9312 ($(common-objpfx)Versions.def): New target.
9313 ($(common-objpfx)Versions.all): Depend on that rather that
9314 $(common-objpfx)Versions.def.v.
9315 * Versions.def: File removed.
9316
498a2233
RM
9317 * Makeconfig (+gccwarn): Add -Wundef.
9318 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9319 a dl-sysdep.h breaking its contract.
9320 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9321 * include/stackinfo.h: New file.
9322 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9323 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9324 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9325 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9326 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9327 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9328 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9329 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9330 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9331 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9332 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9333 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9334 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9335 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9336 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9337
c7de5025
AZ
93382014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9339
9340 [BZ #16707]
9341 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9342 implementation.
9343 * math/libm-test.inc (round_test_data): Add more tests.
9344
98fb27a3
AZ
9345 [BZ #16706]
9346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9347 implementation.
9348 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9349
374f7f61
AZ
9350 [BZ #16701]
9351 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9352 implementation.
9353 * math/libm-test.inc (ceil_test_data): Add more tests.
9354
4655c291
AZ
9355 * math/libm-test.inc (trunc_test_data): Add more tests related to
9356 BZ#16414.
9357
d7329d4b
RM
93582014-03-14 Roland McGrath <roland@hack.frob.com>
9359
9360 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9361 with #if rather than #ifdef.
9362 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9363
aa4de9ce
L
93642014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9367 first. Disable AVX-512 GCC support if assembler doesn't support
9368 it.
9369 * sysdeps/x86_64/configure: Regenerated.
9370
2e03fae7
CD
93712014-03-13 Carlos O'Donell <carlos@redhat.com>
9372
9373 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9374 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9375 (__old_pthread_attr_setstack): Likewise.
9376 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9377 [!_STACK_GROWS_DOWN]: Likewise.
9378
43ca83ec
MF
93792014-03-13 Mike Frysinger <vapier@gentoo.org>
9380
9381 * config.make.in (have-bash2): Delete.
9382 * configure.ac (libc_cv_have_bash2): Delete.
9383 * configure: Regenerate.
9384 * elf/Makefile (common-ldd-rewrite): Rename to ...
9385 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9386 (sh-ldd-rewrite): Delete.
9387 (bash-ldd-rewrite): Delete.
9388 (have-bash2): Delete checks.
57f41c40
AS
9389 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9390 ldd-rewrite.
c66e48b4
MF
9391
9392 * config.make.in (have-ksh): Delete.
9393 (KSH): Delete.
9394 * configure.ac (libc_cv_have_ksh): Delete.
9395 * configure: Regenerate.
9396
b93834ef
MF
9397 * elf/Makefile: Delete $(have-ksh) check.
9398 ($(objpfx)sotruss): Change KSH to BASH.
9399 * elf/sotruss.ksh: Rename to ...
9400 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9401 function style to match POSIX. Drop ksh vim mode setting.
9402
f3a4632a
MF
9403 * manual/time.texi (Specifying the Time Zone with TZ): Change
9404 Tuesday to Thursday.
9405
5896c8bd
MF
9406 * debug/tst-longjmp_chk2.c: Update header comment.
9407 (stackoverflow_handler): Add comment. Call assert on pass value.
9408
2d63a517
IZ
94092014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9410
7e54fd04 9411 [BZ #16194]
2d63a517
IZ
9412 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9413 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9414 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9415 (La_x86_64_vector): Add zmm.
9416 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9417 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9418 ($(objpfx)tst-audit10): New target.
9419 ($(objpfx)tst-audit10.out): Likewise.
9420 (tst-audit10-ENV): New.
9421 (AVX512-CFLAGS): Likewise.
9422 (CFLAGS-tst-audit10.c): Likewise.
9423 (CFLAGS-tst-auditmod10a.c): Likewise.
9424 (CFLAGS-tst-auditmod10b.c): Likewise.
9425 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9426 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9427 * sysdeps/x86_64/configure: Regenerated.
9428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9429 AVX-512 zmm register support.
9430 (_dl_x86_64_save_sse): Likewise.
9431 (_dl_x86_64_restore_sse): Likewise.
9432 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9433 size vector registers.
9434 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9435 (ZMM_SIZE): Likewise.
9436 * sysdeps/x86_64/tst-audit10.c: New file.
9437 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9438 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9439
44c4e5d5
RM
94402014-03-13 Roland McGrath <roland@hack.frob.com>
9441
9442 * configure.ac (HAVE_EHDR_START): New check.
9443 * configure: Regenerated.
9444 * config.h.in (HAVE_EHDR_START): New #undef.
9445 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9446 assuming the lowest-addressed segment maps the start of the file.
9447
acd6e389
JM
94482014-03-13 Joseph Myers <joseph@codesourcery.com>
9449
9450 * INSTALL: Regenerated.
9451
6f918f36
WN
94522014-03-13 Will Newton <will.newton@linaro.org>
9453
9454 * manual/setjmp.texi (System V contexts): Improve
9455 clarity and grammar of documentation.
9456
798212a0
PP
94572014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9458
9459 [BZ #16381]
798212a0 9460 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9461 (tests-pie): Add tst-pie2.
798212a0
PP
9462 * elf/tst-pie2.c: New file.
9463 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9464 for ET_EXEC.
9465 * elf/rtld.c (map_doit): Load executable as lt_executable.
9466 (dl_main): Likewise.
9467
abe6d90c
JM
94682014-03-12 Joseph Myers <joseph@codesourcery.com>
9469
9470 [BZ #16642]
9471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9472 (__ASSUME_PSELECT): Undefine.
9473
dd3946c6
AZ
94742014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9475
9476 [BZ #16689]
9477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9478 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9479 static build.
9480 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9481 selector for static builds.
9482
c44496df
SP
94832014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9484
9485 [BZ #16695]
9486 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9487 key in the buffer.
9488
27c7220a
AZ
94892014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9490
57f41c40
AS
9491 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9492 IFUNC selector for static builds.
27c7220a 9493
600fa361
JM
94942014-03-11 Joseph Myers <joseph@codesourcery.com>
9495
76c96cf7
JM
9496 * sysdeps/mips/math_private.h [__mips_hard_float]
9497 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9498 libc_feresetround_mips_ctx.
9499 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9500 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9501 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9502
600fa361
JM
9503 [BZ #16677]
9504 * math/s_nextafter.c (__nextafter): Do not return value from
9505 overflowing computation.
9506 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9507 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9509 Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9511 Likewise.
9512 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9513 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9514
d7706c32
RM
95152014-03-11 Roland McGrath <roland@hack.frob.com>
9516
9517 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9518 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9519 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9520 the new mov targetting sp.
9521
4facea47
AZ
95222014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9523
9524 [BZ #16683]
9525 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9526 Define it for static builds as well.
9527 (NO_BZERO_IMPL): Likewise.
9528
e65caf1f
VR
95292014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9530
9531 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9532 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9533 multiarch strspn for PPC64.
9534 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9535 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9537 (__libc_ifunc_impl_list): Likewise.
9538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9539 multiarch optimizations
9540 * string/strspn.c (strspn): Using macro to redefine symbol name.
9541
ba9cc071
AZ
95422014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9543 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9544
9545 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9546 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9547 multiarch strncat for PPC64.
9548 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9549 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9551 (__libc_ifunc_impl_list): Likewise.
9552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9553 multiarch optimizations
9554
8b4ff974
SP
95552014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9556
9557 [BZ #16639]
9558 * nscd/nscd.service: Make service type forking.
9559
54b46a4b
AZ
95602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9561
9562 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9563 sign in non default rounding modes.
9564 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9565
e9996ef7
JM
95662014-03-08 Joseph Myers <joseph@codesourcery.com>
9567
9568 * math/libm-test.inc (ALL_RM_TEST): New macro.
9569 (ceil_test): Use ALL_RM_TEST.
9570 (cimag_test): Likewise.
9571 (conj_test): Likewise.
9572 (copysign_test): Likewise.
9573 (cproj_test): Likewise.
9574 (creal_test): Likewise.
9575 (fabs_test): Likewise.
9576 (floor_test): Likewise.
9577 (fmax_test): Likewise.
9578 (fmin_test): Likewise.
9579 (fmod_test): Likewise.
9580 (fpclassify_test): Likewise.
9581 (frexp_test): Likewise.
9582 (ilogb_test): Likewise.
9583 (isfinite_test): Likewise.
9584 (finite_test): Likewise.
9585 (isgreater_test): Likewise.
9586 (isgreaterequal_test): Likewise.
9587 (isinf_test): Likewise.
9588 (isless_test): Likewise.
9589 (islessequal_test): Likewise.
9590 (islessgreater_test): Likewise.
9591 (isnan_test): Likewise.
9592 (isnormal_test): Likewise.
9593 (issignaling_test): Likewise.
9594 (isunordered_test): Likewise.
9595 (logb_test): Likewise.
9596 (logb_downward_test_data): Remove.
9597 (logb_test_downward): Likewise.
9598 (lround_test): Use ALL_RM_TEST.
9599 (llround_test): Likewise.
9600 (modf_test): Likewise.
9601 (nexttoward_test): Likewise.
9602 (remainder_test): Likewise.
9603 (drem_test): Likewise.
9604 (remainder_tonearest_test_data): Likewise.
9605 (remainder_test_tonearest): Likewise.
9606 (drem_test_tonearest): Likewise.
9607 (remainder_towardzero_test_data): Likewise.
9608 (remainder_test_towardzero): Likewise.
9609 (drem_test_towardzero): Likewise.
9610 (remainder_downward_test_data): Likewise.
9611 (remainder_test_downward): Likewise.
9612 (drem_test_downward): Likewise.
9613 (remainder_upward_test_data): Likewise.
9614 (remainder_test_upward): Likewise.
9615 (drem_test_upward): Likewise.
9616 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9617 (round_test): Use ALL_RM_TEST.
9618 (signbit_test): Likewise.
9619 (trunc_test): Likewise.
9620 (significand_test): Likewise.
9621 (main): Don't call removed functions.
9622
bc61d27c
JM
96232014-03-07 Joseph Myers <joseph@codesourcery.com>
9624
5c780849
JM
9625 [BZ #16674]
9626 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9627 || __USE_XOPEN2K8].
9628 (ILL_ILLOPN): Likewise.
9629 (ILL_ILLADR): Likewise.
9630 (ILL_ILLTRP): Likewise.
9631 (ILL_PRVOPC): Likewise.
9632 (ILL_PRVREG): Likewise.
9633 (ILL_COPROC): Likewise.
9634 (ILL_BADSTK): Likewise.
9635 (FPE_INTDIV): Likewise.
9636 (FPE_INTOVF): Likewise.
9637 (FPE_FLTDIV): Likewise.
9638 (FPE_FLTOVF): Likewise.
9639 (FPE_FLTUND): Likewise.
9640 (FPE_FLTRES): Likewise.
9641 (FPE_FLTINV): Likewise.
9642 (FPE_FLTSUB): Likewise.
9643 (SEGV_MAPERR): Likewise.
9644 (SEGV_ACCERR): Likewise.
9645 (BUS_ADRALN): Likewise.
9646 (BUS_ADRERR): Likewise.
9647 (BUS_OBJERR): Likewise.
9648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9649 (TRAP_TRACE): Likewise.
9650 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9651 __USE_XOPEN2K8].
9652 (CLD_KILLED): Likewise.
9653 (CLD_DUMPED): Likewise.
9654 (CLD_TRAPPED): Likewise.
9655 (CLD_STOPPED): Likewise.
9656 (CLD_CONTINUED): Likewise.
9657 (POLL_IN): Likewise.
9658 (POLL_OUT): Likewise.
9659 (POLL_MSG): Likewise.
9660 (POLL_ERR): Likewise.
9661 (POLL_PRI): Likewise.
9662 (POLL_HUP): Likewise.
9663 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9664 Likewise.
9665 (ILL_ILLOPN): Likewise.
9666 (ILL_ILLADR): Likewise.
9667 (ILL_ILLTRP): Likewise.
9668 (ILL_PRVOPC): Likewise.
9669 (ILL_PRVREG): Likewise.
9670 (ILL_COPROC): Likewise.
9671 (ILL_BADSTK): Likewise.
9672 (FPE_INTDIV): Likewise.
9673 (FPE_INTOVF): Likewise.
9674 (FPE_FLTDIV): Likewise.
9675 (FPE_FLTOVF): Likewise.
9676 (FPE_FLTUND): Likewise.
9677 (FPE_FLTRES): Likewise.
9678 (FPE_FLTINV): Likewise.
9679 (FPE_FLTSUB): Likewise.
9680 (SEGV_MAPERR): Likewise.
9681 (SEGV_ACCERR): Likewise.
9682 (BUS_ADRALN): Likewise.
9683 (BUS_ADRERR): Likewise.
9684 (BUS_OBJERR): Likewise.
9685 (BUS_MCEERR_AR): Likewise.
9686 (BUS_MCEERR_AO): Likewise.
9687 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9688 (TRAP_TRACE): Likewise.
9689 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9690 __USE_XOPEN2K8].
9691 (CLD_KILLED): Likewise.
9692 (CLD_DUMPED): Likewise.
9693 (CLD_TRAPPED): Likewise.
9694 (CLD_STOPPED): Likewise.
9695 (CLD_CONTINUED): Likewise.
9696 (POLL_IN): Likewise.
9697 (POLL_OUT): Likewise.
9698 (POLL_MSG): Likewise.
9699 (POLL_ERR): Likewise.
9700 (POLL_PRI): Likewise.
9701 (POLL_HUP): Likewise.
9702 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9703 (ILL_ILLOPN): Likewise.
9704 (ILL_ILLADR): Likewise.
9705 (ILL_ILLTRP): Likewise.
9706 (ILL_PRVOPC): Likewise.
9707 (ILL_PRVREG): Likewise.
9708 (ILL_COPROC): Likewise.
9709 (ILL_BADSTK): Likewise.
9710 (FPE_INTDIV): Likewise.
9711 (FPE_INTOVF): Likewise.
9712 (FPE_FLTDIV): Likewise.
9713 (FPE_FLTOVF): Likewise.
9714 (FPE_FLTUND): Likewise.
9715 (FPE_FLTRES): Likewise.
9716 (FPE_FLTINV): Likewise.
9717 (FPE_FLTSUB): Likewise.
9718 (SEGV_MAPERR): Likewise.
9719 (SEGV_ACCERR): Likewise.
9720 (BUS_ADRALN): Likewise.
9721 (BUS_ADRERR): Likewise.
9722 (BUS_OBJERR): Likewise.
9723 (BUS_MCEERR_AR): Likewise.
9724 (BUS_MCEERR_AO): Likewise.
9725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9726 (TRAP_TRACE): Likewise.
9727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9728 __USE_XOPEN2K8].
9729 (CLD_KILLED): Likewise.
9730 (CLD_DUMPED): Likewise.
9731 (CLD_TRAPPED): Likewise.
9732 (CLD_STOPPED): Likewise.
9733 (CLD_CONTINUED): Likewise.
9734 (POLL_IN): Likewise.
9735 (POLL_OUT): Likewise.
9736 (POLL_MSG): Likewise.
9737 (POLL_ERR): Likewise.
9738 (POLL_PRI): Likewise.
9739 (POLL_HUP): Likewise.
9740 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9741 Likewise.
9742 (ILL_ILLOPN): Likewise.
9743 (ILL_ILLADR): Likewise.
9744 (ILL_ILLTRP): Likewise.
9745 (ILL_PRVOPC): Likewise.
9746 (ILL_PRVREG): Likewise.
9747 (ILL_COPROC): Likewise.
9748 (ILL_BADSTK): Likewise.
9749 (ILL_BADIADDR): Likewise.
9750 (ILL_BREAK): Likewise.
9751 (FPE_INTDIV): Likewise.
9752 (FPE_INTOVF): Likewise.
9753 (FPE_FLTDIV): Likewise.
9754 (FPE_FLTOVF): Likewise.
9755 (FPE_FLTUND): Likewise.
9756 (FPE_FLTRES): Likewise.
9757 (FPE_FLTINV): Likewise.
9758 (FPE_FLTSUB): Likewise.
9759 (FPE_DECOVF): Likewise.
9760 (FPE_DECDIV): Likewise.
9761 (FPE_DECERR): Likewise.
9762 (FPE_INVASC): Likewise.
9763 (FPE_INVDEC): Likewise.
9764 (SEGV_MAPERR): Likewise.
9765 (SEGV_ACCERR): Likewise.
9766 (SEGV_PSTKOVF): Likewise.
9767 (BUS_ADRALN): Likewise.
9768 (BUS_ADRERR): Likewise.
9769 (BUS_OBJERR): Likewise.
9770 (BUS_MCEERR_AR): Likewise.
9771 (BUS_MCEERR_AO): Likewise.
9772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9773 (TRAP_TRACE): Likewise.
9774 (TRAP_BRANCH): Likewise.
9775 (TRAP_HWBKPT): Likewise.
9776 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9777 __USE_XOPEN2K8].
9778 (CLD_KILLED): Likewise.
9779 (CLD_DUMPED): Likewise.
9780 (CLD_TRAPPED): Likewise.
9781 (CLD_STOPPED): Likewise.
9782 (CLD_CONTINUED): Likewise.
9783 (POLL_IN): Likewise.
9784 (POLL_OUT): Likewise.
9785 (POLL_MSG): Likewise.
9786 (POLL_ERR): Likewise.
9787 (POLL_PRI): Likewise.
9788 (POLL_HUP): Likewise.
9789 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9790 (ILL_ILLOPN): Likewise.
9791 (ILL_ILLADR): Likewise.
9792 (ILL_ILLTRP): Likewise.
9793 (ILL_PRVOPC): Likewise.
9794 (ILL_PRVREG): Likewise.
9795 (ILL_COPROC): Likewise.
9796 (ILL_BADSTK): Likewise.
9797 (FPE_INTDIV): Likewise.
9798 (FPE_INTOVF): Likewise.
9799 (FPE_FLTDIV): Likewise.
9800 (FPE_FLTOVF): Likewise.
9801 (FPE_FLTUND): Likewise.
9802 (FPE_FLTRES): Likewise.
9803 (FPE_FLTINV): Likewise.
9804 (FPE_FLTSUB): Likewise.
9805 (SEGV_MAPERR): Likewise.
9806 (SEGV_ACCERR): Likewise.
9807 (BUS_ADRALN): Likewise.
9808 (BUS_ADRERR): Likewise.
9809 (BUS_OBJERR): Likewise.
9810 (BUS_MCEERR_AR): Likewise.
9811 (BUS_MCEERR_AO): Likewise.
9812 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9813 (TRAP_TRACE): Likewise.
9814 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9815 __USE_XOPEN2K8].
9816 (CLD_KILLED): Likewise.
9817 (CLD_DUMPED): Likewise.
9818 (CLD_TRAPPED): Likewise.
9819 (CLD_STOPPED): Likewise.
9820 (CLD_CONTINUED): Likewise.
9821 (POLL_IN): Likewise.
9822 (POLL_OUT): Likewise.
9823 (POLL_MSG): Likewise.
9824 (POLL_ERR): Likewise.
9825 (POLL_PRI): Likewise.
9826 (POLL_HUP): Likewise.
9827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9828 (ILL_ILLOPN): Likewise.
9829 (ILL_ILLADR): Likewise.
9830 (ILL_ILLTRP): Likewise.
9831 (ILL_PRVOPC): Likewise.
9832 (ILL_PRVREG): Likewise.
9833 (ILL_COPROC): Likewise.
9834 (ILL_BADSTK): Likewise.
9835 (FPE_INTDIV): Likewise.
9836 (FPE_INTOVF): Likewise.
9837 (FPE_FLTDIV): Likewise.
9838 (FPE_FLTOVF): Likewise.
9839 (FPE_FLTUND): Likewise.
9840 (FPE_FLTRES): Likewise.
9841 (FPE_FLTINV): Likewise.
9842 (FPE_FLTSUB): Likewise.
9843 (SEGV_MAPERR): Likewise.
9844 (SEGV_ACCERR): Likewise.
9845 (BUS_ADRALN): Likewise.
9846 (BUS_ADRERR): Likewise.
9847 (BUS_OBJERR): Likewise.
9848 (BUS_MCEERR_AR): Likewise.
9849 (BUS_MCEERR_AO): Likewise.
9850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9851 (TRAP_TRACE): Likewise.
9852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9853 __USE_XOPEN2K8].
9854 (CLD_KILLED): Likewise.
9855 (CLD_DUMPED): Likewise.
9856 (CLD_TRAPPED): Likewise.
9857 (CLD_STOPPED): Likewise.
9858 (CLD_CONTINUED): Likewise.
9859 (POLL_IN): Likewise.
9860 (POLL_OUT): Likewise.
9861 (POLL_MSG): Likewise.
9862 (POLL_ERR): Likewise.
9863 (POLL_PRI): Likewise.
9864 (POLL_HUP): Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9866 (ILL_ILLOPN): Likewise.
9867 (ILL_ILLADR): Likewise.
9868 (ILL_ILLTRP): Likewise.
9869 (ILL_PRVOPC): Likewise.
9870 (ILL_PRVREG): Likewise.
9871 (ILL_COPROC): Likewise.
9872 (ILL_BADSTK): Likewise.
9873 (FPE_INTDIV): Likewise.
9874 (FPE_INTOVF): Likewise.
9875 (FPE_FLTDIV): Likewise.
9876 (FPE_FLTOVF): Likewise.
9877 (FPE_FLTUND): Likewise.
9878 (FPE_FLTRES): Likewise.
9879 (FPE_FLTINV): Likewise.
9880 (FPE_FLTSUB): Likewise.
9881 (SEGV_MAPERR): Likewise.
9882 (SEGV_ACCERR): Likewise.
9883 (BUS_ADRALN): Likewise.
9884 (BUS_ADRERR): Likewise.
9885 (BUS_OBJERR): Likewise.
9886 (BUS_MCEERR_AR): Likewise.
9887 (BUS_MCEERR_AO): Likewise.
9888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9889 (TRAP_TRACE): Likewise.
9890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9891 __USE_XOPEN2K8].
9892 (CLD_KILLED): Likewise.
9893 (CLD_DUMPED): Likewise.
9894 (CLD_TRAPPED): Likewise.
9895 (CLD_STOPPED): Likewise.
9896 (CLD_CONTINUED): Likewise.
9897 (POLL_IN): Likewise.
9898 (POLL_OUT): Likewise.
9899 (POLL_MSG): Likewise.
9900 (POLL_ERR): Likewise.
9901 (POLL_PRI): Likewise.
9902 (POLL_HUP): Likewise.
9903 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9904 (ILL_ILLOPN): Likewise.
9905 (ILL_ILLADR): Likewise.
9906 (ILL_ILLTRP): Likewise.
9907 (ILL_PRVOPC): Likewise.
9908 (ILL_PRVREG): Likewise.
9909 (ILL_COPROC): Likewise.
9910 (ILL_BADSTK): Likewise.
9911 (ILL_DBLFLT): Likewise.
9912 (ILL_HARDWALL): Likewise.
9913 (FPE_INTDIV): Likewise.
9914 (FPE_INTOVF): Likewise.
9915 (FPE_FLTDIV): Likewise.
9916 (FPE_FLTOVF): Likewise.
9917 (FPE_FLTUND): Likewise.
9918 (FPE_FLTRES): Likewise.
9919 (FPE_FLTINV): Likewise.
9920 (FPE_FLTSUB): Likewise.
9921 (SEGV_MAPERR): Likewise.
9922 (SEGV_ACCERR): Likewise.
9923 (BUS_ADRALN): Likewise.
9924 (BUS_ADRERR): Likewise.
9925 (BUS_OBJERR): Likewise.
9926 (BUS_MCEERR_AR): Likewise.
9927 (BUS_MCEERR_AO): Likewise.
9928 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9929 (TRAP_TRACE): Likewise.
9930 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9931 __USE_XOPEN2K8].
9932 (CLD_KILLED): Likewise.
9933 (CLD_DUMPED): Likewise.
9934 (CLD_TRAPPED): Likewise.
9935 (CLD_STOPPED): Likewise.
9936 (CLD_CONTINUED): Likewise.
9937 (POLL_IN): Likewise.
9938 (POLL_OUT): Likewise.
9939 (POLL_MSG): Likewise.
9940 (POLL_ERR): Likewise.
9941 (POLL_PRI): Likewise.
9942 (POLL_HUP): Likewise.
9943 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9944 (ILL_ILLOPN): Likewise.
9945 (ILL_ILLADR): Likewise.
9946 (ILL_ILLTRP): Likewise.
9947 (ILL_PRVOPC): Likewise.
9948 (ILL_PRVREG): Likewise.
9949 (ILL_COPROC): Likewise.
9950 (ILL_BADSTK): Likewise.
9951 (FPE_INTDIV): Likewise.
9952 (FPE_INTOVF): Likewise.
9953 (FPE_FLTDIV): Likewise.
9954 (FPE_FLTOVF): Likewise.
9955 (FPE_FLTUND): Likewise.
9956 (FPE_FLTRES): Likewise.
9957 (FPE_FLTINV): Likewise.
9958 (FPE_FLTSUB): Likewise.
9959 (SEGV_MAPERR): Likewise.
9960 (SEGV_ACCERR): Likewise.
9961 (BUS_ADRALN): Likewise.
9962 (BUS_ADRERR): Likewise.
9963 (BUS_OBJERR): Likewise.
9964 (BUS_MCEERR_AR): Likewise.
9965 (BUS_MCEERR_AO): Likewise.
9966 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9967 (TRAP_TRACE): Likewise.
9968 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9969 __USE_XOPEN2K8].
9970 (CLD_KILLED): Likewise.
9971 (CLD_DUMPED): Likewise.
9972 (CLD_TRAPPED): Likewise.
9973 (CLD_STOPPED): Likewise.
9974 (CLD_CONTINUED): Likewise.
9975 (POLL_IN): Likewise.
9976 (POLL_OUT): Likewise.
9977 (POLL_MSG): Likewise.
9978 (POLL_ERR): Likewise.
9979 (POLL_PRI): Likewise.
9980 (POLL_HUP): Likewise.
9981 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9982 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9983
bc61d27c
JM
9984 [BZ #16670]
9985 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9986 before #include of <time.h>.
9987 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9988 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9989 (test-xfail-UNIX98/sched.h/conform): Likewise.
9990
302949e2
MS
99912014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9992
9993 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9994 error absence of trapping exception support.
9995 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9996
a00f522a
JM
99972014-03-07 Joseph Myers <joseph@codesourcery.com>
9998
6f99f280
JM
9999 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10000 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10001 * timezone/Makefile (testdata): Move definition above include of
10002 Rules.
10003 (test-zones): New variable.
10004 (tests-special): Add zone files.
10005 (build-testdata): Use $(evaluate-test).
10006
0b20a9e8
JM
10007 * elf/Makefile (tests-special): Rename tests to end with .out.
10008 ($(objpfx)noload-mem): Likewise.
10009 ($(objpfx)tst-leaks1-mem): Likewise.
10010 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10011 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10012 $(objpfx)test-iconvconfig.out.
10013 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10014 set -e inside subshell and redirect output to file.
10015 * iconvdata/Makefile (generated): Rename tests to end with .out.
10016 Correct type.
10017 (tests-special): Rename tests to end with .out.
10018 ($(objpfx)mtrace-tst-loading): Likewise.
10019 * intl/Makefile (generated): Likewise.
10020 (tests-special): Likewise.
10021 ($(objpfx)mtrace-tst-gettext): Likewise.
10022 * misc/Makefile (generated): Likewise.
10023 (tests-special): Likewise.
10024 ($(objpfx)tst-error1-mem): Likewise.
10025 * nptl/Makefile (tests-special): Likewise.
10026 ($(objpfx)tst-stack3-mem): Likewise.
10027 (generated): Likewise.
10028 * posix/Makefile (generated): Likewise.
10029 (tests-special): Likewise.
10030 (xtests-special): Likewise.
10031 ($(objpfx)tst-fnmatch-mem): Likewise.
10032 ($(objpfx)bug-regex2-mem): Likewise.
10033 ($(objpfx)bug-regex14-mem): Likewise.
10034 ($(objpfx)bug-regex21-mem): Likewise.
10035 ($(objpfx)bug-regex31-mem): Likewise.
10036 ($(objpfx)tst-vfork3-mem): Likewise.
10037 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10038 ($(objpfx)tst-pcre-mem): Likewise.
10039 ($(objpfx)tst-boost-mem): Likewise.
10040 ($(objpfx)bug-ga2-mem): Likewise.
10041 ($(objpfx)bug-glob2-mem): Likewise.
10042 * resolv/Makefile (generate): Likewise.
10043 (tests-special): Likewise.
10044 (xtests-special): Likewise.
10045 (generated): Likewise.
10046 ($(objpfx)mtrace-tst-leaks): Likewise.
10047 ($(objpfx)mtrace-tst-leaks2): Likewise.
10048
265d52ab
JM
10049 * scripts/merge-test-results.sh: New file.
10050 * Makefile (tests-special-notdir): New variable.
10051 (tests): Run merge-test-results.sh.
10052 (xtests): Likewise.
10053 * Rules (tests-special-notdir): New variable.
10054 (xtests-special-notdir): Likewise.
10055 (tests): Run merge-test-results.sh
10056 (xtests): Likewise.
10057
54ee292d
JM
10058 * Makeconfig (test-xfail-name): New variable.
10059 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10060 compute variable name for expected failures.
10061 * conform/Makefile (conformtest-headers-data): New variable.
10062 (conformtest-standards): Likewise.
10063 (conformtest-headers-ISO): Likewise.
10064 (conformtest-headers-ISO99): Likewise.
10065 (conformtest-headers-ISO11): Likewise.
10066 (conformtest-headers-POSIX): Likewise.
10067 (conformtest-headers-XPG3): Likewise.
10068 (conformtest-headers-XPG4): Likewise.
10069 (conformtest-headers-UNIX98): Likewise.
10070 (conformtest-headers-XOPEN2K): Likewise.
10071 (conformtest-headers-POSIX2008): Likewise.
10072 (conformtest-headers-XOPEN2K8): Likewise.
10073 (conformtest-header-list-base): Likewise.
10074 (conformtest-header-list-tests): Likewise.
10075 (conformtest-header-base): Likewise.
10076 (conformtest-header-tests): Likewise.
10077 (tests-special): Add $(conformtest-header-list-tests). If
10078 [$(fast-check) && !$(cross-compiling)], add
10079 $(conformtest-header-tests) instead of
10080 $(objpfx)run-conformtest.out.
10081 (generated): Add $(conformtest-header-list-base). If
10082 [$(fast-check) && !$(cross-compiling)], add
10083 $(conformtest-header-base). Remove previous setting.
10084 ($(conformtest-header-list-tests)): New target.
10085 (test-xfail-run-conformtest): Remove variable.
10086 ($(objpfx)run-conformtest.out): Remove target.
10087 (test-xfail-ISO11/complex.h/conform): New variable.
10088 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10089 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10090 (test-xfail-XPG3/varargs.h/conform): Likewise.
10091 (test-xfail-XPG4/varargs.h/conform): Likewise.
10092 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10093 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10094 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10095 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10096 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10097 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10098 (test-xfail-XPG3/ftw.h/conform): Likewise.
10099 (test-xfail-XPG3/grp.h/conform): Likewise.
10100 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10101 (test-xfail-XPG3/limits.h/conform): Likewise.
10102 (test-xfail-XPG3/pwd.h/conform): Likewise.
10103 (test-xfail-XPG3/search.h/conform): Likewise.
10104 (test-xfail-XPG3/signal.h/conform): Likewise.
10105 (test-xfail-XPG3/stdio.h/conform): Likewise.
10106 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10107 (test-xfail-XPG3/string.h/conform): Likewise.
10108 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10109 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10110 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10111 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10112 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10113 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10114 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10115 (test-xfail-XPG3/termios.h/conform): Likewise.
10116 (test-xfail-XPG3/time.h/conform): Likewise.
10117 (test-xfail-XPG3/unistd.h/conform): Likewise.
10118 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10119 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10120 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10121 (test-xfail-XPG4/netdb.h/conform): Likewise.
10122 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10123 (test-xfail-XPG4/signal.h/conform): Likewise.
10124 (test-xfail-XPG4/stdio.h/conform): Likewise.
10125 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10126 (test-xfail-XPG4/stropts.h/conform): Likewise.
10127 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10128 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10129 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10130 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10131 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10132 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10133 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10134 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10135 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10136 (test-xfail-XPG4/termios.h/conform): Likewise.
10137 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10138 (test-xfail-XPG4/unistd.h/conform): Likewise.
10139 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10140 (test-xfail-POSIX/sched.h/conform): Likewise.
10141 (test-xfail-POSIX/signal.h/conform): Likewise.
10142 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10143 (test-xfail-POSIX/tar.h/conform): Likewise.
10144 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10145 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10146 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10147 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10148 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10149 (test-xfail-UNIX98/sched.h/conform): Likewise.
10150 (test-xfail-UNIX98/signal.h/conform): Likewise.
10151 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10152 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10153 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10154 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10155 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10156 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10157 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10158 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10159 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10160 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10161 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10162 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10163 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10164 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10165 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10166 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10167 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10168 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10169 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10170 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10171 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10172 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10173 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10174 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10175 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10176 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10177 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10178 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10179 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10180 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10181 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10182 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10183 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10184 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10185 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10186 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10187 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10188 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10189 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10190 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10191 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10192 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10193 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10194 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10195 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10196 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10197 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10198 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10199 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10200 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10201 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10202 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10203 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10204 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10205 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10206 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10207 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10208 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10209 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10210 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10211 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10212 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10213 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10214 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10215 (conformtest-cc-flags): Likewise.
10216 ($(conformtest-header-tests): New target.
10217 * conform/check-header-lists.sh: New file.
10218 * conform/run-conformtest.sh: Remove.
10219
a00f522a
JM
10220 * conform/conformtest.pl: Allow ' and \ in values given for
10221 constants.
10222 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10223 inclusion.
10224 [POSIX] (sys/types.h): Likewise.
10225 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10226 inclusion.
10227 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10228 inclusion.
10229 * conform/data/signal.h-data (SIGIO): Remove expectation.
10230 [XPG3] (SIGBUS): Do not expect.
10231 [POSIX || XPG3] (SIGPOLL): Likewise.
10232 [POSIX || XPG3] (SIGPROF): Likewise.
10233 [POSIX || XPG3] (SIGSYS): Likewise.
10234 [XPG3] (SIGTRAP): Likewise.
10235 [POSIX || XPG3] (SIGURG): Likewise.
10236 [POSIX || XPG3] (SIGVTALRM): Likewise.
10237 [POSIX || XPG3] (SIGXCPU): Likewise.
10238 [POSIX || XPG3] (SIGXFSZ): Likewise.
10239 [POSIX] (SA_SIGINFO): Expect.
10240 [XPG3] (siginfo_t): Do not expect type or contents.
10241 [POSIX] (si_pid): Do not expect element.
10242 [POSIX] (si_uid): Likewise.
10243 [POSIX] (si_addr): Likewise.
10244 [POSIX] (si_status): Likewise.
10245 [POSIX] (si_band): Likewise.
10246 [XPG4] (si_value): Likewise.
10247 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10248 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10249 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10250 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10251 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10252 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10253 [POSIX || XPG3] (ILL_COPROC): Likewise.
10254 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10255 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10256 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10257 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10258 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10259 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10260 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10261 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10262 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10263 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10264 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10265 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10266 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10267 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10268 [POSIX || XPG3] (CLD_EXITED): Likewise.
10269 [POSIX || XPG3] (CLD_KILLED): Likewise.
10270 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10271 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10272 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10273 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10274 [POSIX || XPG3] (POLL_IN): Likewise.
10275 [POSIX || XPG3] (POLL_OUT): Likewise.
10276 [POSIX || XPG3] (POLL_MSG): Likewise.
10277 [POSIX || XPG3] (POLL_ERR): Likewise.
10278 [POSIX || XPG3] (POLL_PRI): Likewise.
10279 [POSIX || XPG3] (POLL_HUP): Likewise.
10280 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10281 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10282 (SIG*): Do not allow.
10283 [XPG3] (si_*): Likewise.
10284 [XPG3] (SI_*): Likewise.
10285 [XPG3 || XPG4] (sigev_*): Likewise.
10286 [XPG3 || XPG4] (SIGEV_*): Likewise.
10287 [XPG3 || XPG4] (sival_*): Likewise.
10288 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10289 [POSIX || XPG3] (BUS_*): Likewise.
10290 [POSIX || XPG3] (CLD_*): Likewise.
10291 [POSIX || XPG3] (FPE_*): Likewise.
10292 [POSIX || XPG3] (ILL_*): Likewise.
10293 [POSIX || XPG3] (POLL_*): Likewise.
10294 [POSIX || XPG3] (SEGV_*): Likewise.
10295 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10296 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10297 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10298 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10299 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10300 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10301 Specify type and value.
10302 (TVERSLEN): Likewise.
10303 (REGTYPE): Likewise.
10304 (AREGTYPE): Likewise.
10305 (LNKTYPE): Likewise.
10306 (SYMTYPE): Likewise.
10307 (CHRTYPE): Likewise.
10308 (BLKTYPE): Likewise.
10309 (DIRTYPE): Likewise.
10310 (FIFOTYPE): Likewise.
10311 (CONTTYPE): Likewise.
10312 (TSUID): Likewise.
10313 (TSGID): Likewise.
10314 (TSVTX): Likewise.
10315 (TUREAD): Likewise.
10316 (TUWRITE): Likewise.
10317 (TUEXEC): Likewise.
10318 (TGREAD): Likewise.
10319 (TGWRITE): Likewise.
10320 (TGEXEC): Likewise.
10321 (TOREAD): Likewise.
10322 (TOWRITE): Likewise.
10323 (TOEXEC): Likewise.
10324 [POSIX] (TSVTX): Expect constant.
10325
aa97dee1
JM
103262014-03-06 Joseph Myers <joseph@codesourcery.com>
10327
f214606a
JM
10328 * Makefile (tests): Change dependencies to ....
10329 (tests-special): ... additions to this variable.
10330 (tests): Depend on $(tests-special).
10331 * Makerules (check-abi-list): New variable.
10332 (check-abi): Depend on $(check-abi-list).
10333 [$(subdir) = elf] (tests-special): Add
10334 $(objpfx)check-abi-libc.out.
10335 [$(build-shared) = yes && subdir] (tests-special): Add
10336 $(check-abi-list).
10337 [$(build-shared) = yes && subdir] (tests): Do not depend on
10338 check-abi.
10339 * Rules (tests): Depend on $(tests-special).
10340 (xtests): Depend on $(xtests-special).
10341 * catgets/Makefile (tests): Change dependencies to ....
10342 (tests-special): ... additions to this variable.
10343 * conform/Makefile (tests): Change dependencies to ....
10344 (tests-special): ... additions to this variable.
10345 * elf/Makefile (tests): Change dependencies to ....
10346 (tests-special): ... additions to this variable.
10347 * grp/Makefile (tests): Change dependencies to ....
10348 (tests-special): ... additions to this variable.
10349 * iconv/Makefile (xtests): Change dependencies to ....
10350 (xtests-special): ... additions to this variable.
10351 * iconvdata/Makefile (tests): Change dependencies to ....
10352 (tests-special): ... additions to this variable.
10353 * intl/Makefile (tests): Change dependencies to ....
10354 (tests-special): ... additions to this variable. Also add
10355 $(objpfx)tst-gettext.out.
10356 * io/Makefile (tests): Change dependencies to ....
10357 (tests-special): ... additions to this variable.
10358 * libio/Makefile (tests): Change dependencies to ....
10359 (tests-special): ... additions to this variable.
10360 * malloc/Makefile (tests): Change dependencies to ....
10361 (tests-special): ... additions to this variable.
10362 * misc/Makefile (tests): Change dependencies to ....
10363 (tests-special): ... additions to this variable.
10364 * nptl/Makefile (tests): Change dependencies to ....
10365 (tests-special): ... additions to this variable.
10366 * nptl_db/Makefile (tests): Change dependencies to ....
10367 (tests-special): ... additions to this variable.
10368 * posix/Makefile (tests): Change dependencies to ....
10369 (tests-special): ... additions to this variable.
10370 (xtests): Change dependencies to ....
10371 (xtests-special): ... additions to this variable.
10372 * resolv/Makefile (tests): Change dependencies to ....
10373 (tests-special): ... additions to this variable.
10374 (xtests): Change dependencies to ....
10375 (xtests-special): ... additions to this variable.
10376 * stdio-common/Makefile (tests): Change dependencies to ....
10377 (tests-special): ... additions to this variable.
10378 (do-tst-unbputc): Remove target.
10379 (do-tst-printf): Likewise.
10380 * stdlib/Makefile (tests): Change dependencies to ....
10381 (tests-special): ... additions to this variable.
10382 * string/Makefile (tests): Change dependencies to ....
10383 (tests-special): ... additions to this variable.
10384 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10385 (tests-special): ... additions to this variable.
10386
81700b53
JM
10387 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10388 whole file.
10389 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10390 whole file.
10391 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10392 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10393
2ea18461
JM
10394 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10395 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10396 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10397 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10398 * conform/data/libgen.h-data [XPG3]: Likewise.
10399 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10400 * conform/data/ndbm.h-data [XPG3]: Likewise.
10401 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10402 * conform/data/netdb.h-data [XPG3]: Likewise.
10403 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10404 * conform/data/poll.h-data [XPG3]: Likewise.
10405 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10406 * conform/data/strings.h-data [XPG3]: Likewise.
10407 * conform/data/stropts.h-data [XPG3]: Likewise.
10408 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10409 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10410 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10411 Likewise.
10412 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10413 * conform/data/sys/time.h-data [XPG3]: Likewise.
10414 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10415 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10416 * conform/data/sys/un.h-data [XPG3]: Likewise.
10417 * conform/data/syslog.h-data [XPG3]: Likewise.
10418 * conform/data/ucontext.h-data [XPG3]: Likewise.
10419 * conform/data/utmpx.h-data [XPG3]: Likewise.
10420 * conform/data/varargs.h-data [UNIX98]: Enable file.
10421
355bc986
JM
10422 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10423
215db402
JM
10424 * math/libm-test.inc (struct test_f_f_data): Move expected results
10425 into structure for each rounding mode.
10426 (struct test_ff_f_data): Likewise.
10427 (struct test_ff_f_data_nexttoward): Likewise.
10428 (struct test_fi_f_data): Likewise.
10429 (struct test_fl_f_data): Likewise.
10430 (struct test_if_f_data): Likewise.
10431 (struct test_fff_f_data): Likewise.
10432 (struct test_c_f_data): Likewise.
10433 (struct test_f_f1_data): Likewise.
10434 (struct test_fF_f1_data): Likewise.
10435 (struct test_ffI_f1_data): Likewise.
10436 (struct test_c_c_data): Likewise.
10437 (struct test_cc_c_data): Likewise.
10438 (struct test_f_i_data): Likewise.
10439 (struct test_ff_i_data): Likewise.
10440 (struct test_f_l_data): Likewise.
10441 (struct test_f_L_data): Likewise.
10442 (struct test_fFF_11_data): Likewise.
10443 (RM_): New macro.
10444 (RM_FE_DOWNWARD): Likewise.
10445 (RM_FE_TONEAREST): Likewise.
10446 (RM_FE_TOWARDZERO): Likewise.
10447 (RM_FE_UPWARD): Likewise.
10448 (RUN_TEST_LOOP_f_f): Update references to expected results.
10449 (RUN_TEST_LOOP_2_f): Likewise.
10450 (RUN_TEST_LOOP_fff_f): Likewise.
10451 (RUN_TEST_LOOP_c_f): Likewise.
10452 (RUN_TEST_LOOP_f_f1): Likewise.
10453 (RUN_TEST_LOOP_fF_f1): Likewise.
10454 (RUN_TEST_LOOP_fI_f1): Likewise.
10455 (RUN_TEST_LOOP_ffI_f1): Likewise.
10456 (RUN_TEST_LOOP_c_c): Likewise.
10457 (RUN_TEST_LOOP_cc_c): Likewise.
10458 (RUN_TEST_LOOP_f_i): Likewise.
10459 (RUN_TEST_LOOP_f_i_tg): Likewise.
10460 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10461 (RUN_TEST_LOOP_f_b): Likewise.
10462 (RUN_TEST_LOOP_f_b_tg): Likewise.
10463 (RUN_TEST_LOOP_f_l): Likewise.
10464 (RUN_TEST_LOOP_f_L): Likewise.
10465 (RUN_TEST_LOOP_fFF_11): Likewise.
10466 * math/gen-libm-test.pl (parse_args): Output four copies of
10467 expected results for each test.
10468
67737b8f
JM
10469 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10470 (__ASSUME_UTIMES): Remove.
10471 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10472 (__ASSUME_UTIMES): Likewise.
10473
aa97dee1
JM
10474 * math/gen-auto-libm-tests.c: Update comment on output format.
10475 (output_for_one_input_case): Generate before-rounding and
10476 after-rounding information as conditions on output flags not
10477 floating-point format.
10478 * math/auto-libm-test-out: Regenerated.
10479 * math/gen-libm-test.pl (cond_value): New function.
10480 (or_cond_value): Use cond_value.
10481 (generate_testfile): Handle conditional exceptions.
10482
e6b6a857
JM
104832014-03-05 Joseph Myers <joseph@codesourcery.com>
10484
2f0a0f44
JM
10485 * math/libm-test.inc (max_valid_error): New variable.
10486 (init_max_error): Take new argument specifying whether function
10487 results are exactly determined. Set max_valid_error and bound
10488 other variables for errors based on this argument.
10489 (set_max_error): Do not record results above max_valid_error.
10490 (check_float_internal): Only accept errors of up to 0.5ulps if
10491 also at most max_valid_error.
10492 (START): Take new argument EXACT and pass it to init_max_error.
10493 (acos_test): Update call to START.
10494 (acos_test_tonearest): Likewise.
10495 (acos_test_towardzero): Likewise.
10496 (acos_test_downward): Likewise.
10497 (acos_test_upward): Likewise.
10498 (acosh_test): Likewise.
10499 (asin_test): Likewise.
10500 (asin_test_tonearest): Likewise.
10501 (asin_test_towardzero): Likewise.
10502 (asin_test_downward): Likewise.
10503 (asin_test_upward): Likewise.
10504 (asinh_test): Likewise.
10505 (atan_test): Likewise.
10506 (atanh_test): Likewise.
10507 (atan2_test): Likewise.
10508 (cabs_test): Likewise.
10509 (cacos_test): Likewise.
10510 (cacosh_test): Likewise.
10511 (carg_test): Likewise.
10512 (casin_test): Likewise.
10513 (casinh_test): Likewise.
10514 (catan_test): Likewise.
10515 (catanh_test): Likewise.
10516 (cbrt_test): Likewise.
10517 (ccos_test): Likewise.
10518 (ccosh_test): Likewise.
10519 (ceil_test): Likewise.
10520 (cexp_test): Likewise.
10521 (cimag_test): Likewise.
10522 (clog_test): Likewise.
10523 (clog10_test): Likewise.
10524 (conj_test): Likewise.
10525 (copysign_test): Likewise.
10526 (cos_test): Likewise.
10527 (cos_test_tonearest): Likewise.
10528 (cos_test_towardzero): Likewise.
10529 (cos_test_downward): Likewise.
10530 (cos_test_upward): Likewise.
10531 (cosh_test): Likewise.
10532 (cosh_test_tonearest): Likewise.
10533 (cosh_test_towardzero): Likewise.
10534 (cosh_test_downward): Likewise.
10535 (cosh_test_upward): Likewise.
10536 (cpow_test): Likewise.
10537 (cproj_test): Likewise.
10538 (creal_test): Likewise.
10539 (csin_test): Likewise.
10540 (csinh_test): Likewise.
10541 (csqrt_test): Likewise.
10542 (ctan_test): Likewise.
10543 (ctan_test_tonearest): Likewise.
10544 (ctan_test_towardzero): Likewise.
10545 (ctan_test_downward): Likewise.
10546 (ctan_test_upward): Likewise.
10547 (ctanh_test): Likewise.
10548 (ctanh_test_tonearest): Likewise.
10549 (ctanh_test_towardzero): Likewise.
10550 (ctanh_test_downward): Likewise.
10551 (ctanh_test_upward): Likewise.
10552 (erf_test): Likewise.
10553 (erfc_test): Likewise.
10554 (exp_test): Likewise.
10555 (exp_test_tonearest): Likewise.
10556 (exp_test_towardzero): Likewise.
10557 (exp_test_downward): Likewise.
10558 (exp_test_upward): Likewise.
10559 (exp10_test): Likewise.
10560 (exp10_test_tonearest): Likewise.
10561 (exp10_test_towardzero): Likewise.
10562 (exp10_test_downward): Likewise.
10563 (exp10_test_upward): Likewise.
10564 (pow10_test): Likewise.
10565 (exp2_test): Likewise.
10566 (expm1_test): Likewise.
10567 (expm1_test_tonearest): Likewise.
10568 (expm1_test_towardzero): Likewise.
10569 (expm1_test_downward): Likewise.
10570 (expm1_test_upward): Likewise.
10571 (fabs_test): Likewise.
10572 (fdim_test): Likewise.
10573 (floor_test): Likewise.
10574 (fma_test): Likewise.
10575 (fma_test_towardzero): Likewise.
10576 (fma_test_downward): Likewise.
10577 (fma_test_upward): Likewise.
10578 (fmax_test): Likewise.
10579 (fmin_test): Likewise.
10580 (fmod_test): Likewise.
10581 (fpclassify_test): Likewise.
10582 (frexp_test): Likewise.
10583 (hypot_test): Likewise.
10584 (ilogb_test): Likewise.
10585 (isfinite_test): Likewise.
10586 (finite_test): Likewise.
10587 (isgreater_test): Likewise.
10588 (isgreaterequal_test): Likewise.
10589 (isinf_test): Likewise.
10590 (isless_test): Likewise.
10591 (islessequal_test): Likewise.
10592 (islessgreater_test): Likewise.
10593 (isnan_test): Likewise.
10594 (isnormal_test): Likewise.
10595 (issignaling_test): Likewise.
10596 (isunordered_test): Likewise.
10597 (j0_test): Likewise.
10598 (j1_test): Likewise.
10599 (jn_test): Likewise.
10600 (ldexp_test): Likewise.
10601 (lgamma_test): Likewise.
10602 (gamma_test): Likewise.
10603 (lrint_test): Likewise.
10604 (lrint_test_tonearest): Likewise.
10605 (lrint_test_towardzero): Likewise.
10606 (lrint_test_downward): Likewise.
10607 (lrint_test_upward): Likewise.
10608 (llrint_test): Likewise.
10609 (llrint_test_tonearest): Likewise.
10610 (llrint_test_towardzero): Likewise.
10611 (llrint_test_downward): Likewise.
10612 (llrint_test_upward): Likewise.
10613 (log_test): Likewise.
10614 (log10_test): Likewise.
10615 (log1p_test): Likewise.
10616 (log2_test): Likewise.
10617 (logb_test): Likewise.
10618 (logb_test_downward): Likewise.
10619 (lround_test): Likewise.
10620 (llround_test): Likewise.
10621 (modf_test): Likewise.
10622 (nearbyint_test): Likewise.
10623 (nextafter_test): Likewise.
10624 (nexttoward_test): Likewise.
10625 (pow_test): Likewise.
10626 (pow_test_tonearest): Likewise.
10627 (pow_test_towardzero): Likewise.
10628 (pow_test_downward): Likewise.
10629 (pow_test_upward): Likewise.
10630 (remainder_test): Likewise.
10631 (drem_test): Likewise.
10632 (remainder_test_tonearest): Likewise.
10633 (drem_test_tonearest): Likewise.
10634 (remainder_test_towardzero): Likewise.
10635 (drem_test_towardzero): Likewise.
10636 (remainder_test_downward): Likewise.
10637 (drem_test_downward): Likewise.
10638 (remainder_test_upward): Likewise.
10639 (drem_test_upward): Likewise.
10640 (remquo_test): Likewise.
10641 (rint_test): Likewise.
10642 (rint_test_tonearest): Likewise.
10643 (rint_test_towardzero): Likewise.
10644 (rint_test_downward): Likewise.
10645 (rint_test_upward): Likewise.
10646 (round_test): Likewise.
10647 (scalb_test): Likewise.
10648 (scalbn_test): Likewise.
10649 (scalbln_test): Likewise.
10650 (signbit_test): Likewise.
10651 (sin_test): Likewise.
10652 (sin_test_tonearest): Likewise.
10653 (sin_test_towardzero): Likewise.
10654 (sin_test_downward): Likewise.
10655 (sin_test_upward): Likewise.
10656 (sincos_test): Likewise.
10657 (sinh_test): Likewise.
10658 (sinh_test_tonearest): Likewise.
10659 (sinh_test_towardzero): Likewise.
10660 (sinh_test_downward): Likewise.
10661 (sinh_test_upward): Likewise.
10662 (sqrt_test): Likewise.
10663 (sqrt_test_tonearest): Likewise.
10664 (sqrt_test_towardzero): Likewise.
10665 (sqrt_test_downward): Likewise.
10666 (sqrt_test_upward): Likewise.
10667 (tan_test): Likewise.
10668 (tan_test_tonearest): Likewise.
10669 (tan_test_towardzero): Likewise.
10670 (tan_test_downward): Likewise.
10671 (tan_test_upward): Likewise.
10672 (tanh_test): Likewise.
10673 (tgamma_test): Likewise.
10674 (trunc_test): Likewise.
10675 (y0_test): Likewise.
10676 (y1_test): Likewise.
10677 (yn_test): Likewise.
10678 (significand_test): Likewise.
10679
e6b6a857
JM
10680 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10681 individual tests in comment.
10682 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10683 (prev_max_error): New variable.
10684 (prev_real_max_error): Likewise.
10685 (prev_imag_max_error): Likewise.
10686 (compare_ulp_data): Don't refer to test names in comment.
10687 (find_test_ulps): Remove function.
10688 (find_function_ulps): Likewise.
10689 (find_complex_function_ulps): Likewise.
10690 (init_max_error): Take function name as argument. Look up ulps
10691 for that function.
10692 (print_ulps): Remove function.
10693 (print_max_error): Use prev_max_error instead of calling
10694 find_function_ulps.
10695 (print_complex_max_error): Use prev_real_max_error and
10696 prev_imag_max_error instead of calling find_complex_function_ulps.
10697 (check_float_internal): Take max_ulp parameter instead of calling
10698 find_test_ulps. Don't call print_ulps.
10699 (check_float): Update call to check_float_internal.
10700 (check_complex): Update calls to check_float_internal.
10701 (START): Pass argument to init_max_error.
10702 * math/gen-libm-test.pl (%results): Don't include "kind"
10703 information.
10704 (parse_ulps): Don't handle ulps of individual tests.
10705 (print_ulps_file): Likewise.
10706 (output_ulps): Likewise.
10707 * math/README.libm-test: Update.
10708 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10709 individual tests.
10710 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10711 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10712 * sysdeps/arm/libm-test-ulps: Likewise.
10713 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10714 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10715 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10716 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10717 * sysdeps/microblaze/libm-test-ulps: Likewise.
10718 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10719 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10721 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10722 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10723 * sysdeps/sh/libm-test-ulps: Likewise.
10724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10725 * sysdeps/tile/libm-test-ulps: Likewise.
10726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10727
45adef3c
JM
107282014-03-04 Joseph Myers <joseph@codesourcery.com>
10729
10730 * math/libm-test.inc (print_complex_max_error): Check separately
10731 whether real and imaginary errors are within allowed range and
10732 pass 0 to print_complex_function_ulps instead of value within
10733 allowed range.
10734
000232b9
SP
107352014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10736
d4b17258
SP
10737 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10738 formatting.
10739 (get_handles_fopen): Likewise.
10740 (do_write_test): Likewise.
10741
091eff71
SP
10742 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10743
fa3cd248
SP
10744 * libio/fileops.c (do_ftell): Use cached offset when
10745 available.
10746 * libio/iofwide.c (do_ftell_wide): Likewise.
10747 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10748 _IO_file_attach.
10749 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10750
000232b9
SP
10751 [BZ #16532]
10752 * libio/libioP.h (get_file_offset): New function.
10753 * libio/fileops.c (get_file_offset): Likewise.
10754 (do_ftell): Likewise.
10755 (_IO_new_file_seekoff): Split out ftell logic.
10756 * libio/wfileops.c (do_ftell_wide): Likewise.
10757 (_IO_wfile_seekoff): Split out ftell logic.
10758 * libio/tst-ftell-active-handler.c: New test case.
10759 * libio/Makefile (tests): Add it.
10760
116f4d1a
RM
107612014-03-03 Roland McGrath <roland@hack.frob.com>
10762
10763 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10764 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10765
532a6035
SP
107662014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10767
10768 [BZ #16639]
10769 * nscd/connections.c (nscd_init): Call do_exit.
10770 (start_threads): Call do_exit and notify_parent.
10771 (begin_drop_privileges): Call do_exit.
10772 (finish_drop_privileges): Likewise.
10773 * nscd/selinux.c (preserve_capabilities): Likewise.
10774 (install_real_capabilities): Likewise.
10775 (nscd_selinux_enabled): Likewise.
10776 (avc_create_thread): Likewise.
10777 (avc_alloc_lock): Likewise.
10778 (nscd_avc_init): Likewise.
10779 * nscd/nscd.c (parent_fd): New static variable.
10780 (main): Create a pipe between parent and child processes.
10781 Skip closing parent_fd.
10782 (monitor_child): New function.
10783 (do_exit): Likewise.
10784 (notify_parent): Likewise.
10785 * nscd/nscd.h (notify_parent): Likewise.
10786 (do_exit): Likewise.
10787
d6285c9f
CD
107882014-03-03 Carlos O'Donell <carlos@redhat.com>
10789
10790 * malloc/malloc.c (__libc_calloc): Revert last change.
10791
2b85d2a0
AZ
107922014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10793
10794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10795
c7debbdf
RS
107962014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10797
10798 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10800 implementation.
10801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10802 (__libc_ifunc_impl_list): Likewise.
10803 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10804 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10805 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10806 * string/strrchr.c: Define STRRCHR.
10807
235eed86
OB
108082014-02-28 Ondřej Bílka <neleai@seznam.cz>
10809
10810 * benchtest/bench-strtok.c (simple_strtok): Delete.
10811 (strtok_string): Use as benchmark.
10812 * string/strtok (STRTOK): New macro.
10813
8e25d1e7
CD
108142014-02-28 Carlos O'Donell <carlos@redhat.com>
10815
ef563f92
CD
10816 * manual/threads.texi: Add header and standard comments to all
10817 functions.
10818
8e25d1e7
CD
10819 * elf/dl-lookup.c (check_match): New function.
10820 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10821 (do_lookup_x): Remove nested function check_match. Use non-nested
10822 function check_match.
10823
ff71cc37
RM
108242014-02-28 Roland McGrath <roland@hack.frob.com>
10825
f08e9a26
RM
10826 * csu/Makefile (generated, before-compile): Use += rather than =.
10827 * catgets/Makefile (generated, generated-dirs): Likewise.
10828 * debug/Makefile (generated): Likewise.
10829 * dlfcn/Makefile (generated): Likewise.
10830 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10831 * iconvdata/Makefile (before-compile, generated): Likewise.
10832 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10833 * libio/Makefile (generated): Likewise.
10834 * malloc/Makefile (generated): Likewise.
10835 * manual/Makefile (generated, generated-dirs): Likewise.
10836 * misc/Makefile (generated): Likewise.
10837 * posix/Makefile (generated): Likewise.
10838 * resolv/Makefile (generated): Likewise.
10839 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10840 * timezone/Makefile (generated, generated-dirs): Likewise.
10841
ff71cc37
RM
10842 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10843
fe13a20c
AZ
108442014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10845
57f41c40
AS
10846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10847 power8 implementation.
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10849 file: POWER8 llround ifunc implementation.
10850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10851 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10852 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10853 POWER8 llround implementation.
10854
57f41c40
AS
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10856 power8 implementation.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10858 file: POWER8 llrint ifunc implementation.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10860 Add POWER8 implementation.
1ad8950a
AZ
10861 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10862 POWER8 llrint implementation.
10863
57f41c40
AS
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10865 power8 implementation.
10866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10867 file: POWER8 finite ifunc implementation.
10868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10869 Add POWER8 implementation.
cac626d6
AZ
10870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10871 Likewise.
10872 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10873 POWER8 finite implementation.
10874 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10875
57f41c40
AS
10876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10877 power8 implementation.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10879 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10881 POWER8 implementation.
10882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10883 Likewise.
57f41c40
AS
10884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10885 isinf implementation.
4393fc11
AZ
10886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10887
57f41c40
AS
10888 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10889 (INIT_ARCH): Add hwcap2 initialization.
10890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10891 power8 implementation.
10892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10893 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10895 POWER8 implementation.
10896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10897 Likewise.
57f41c40
AS
10898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10899 isnan implementation.
487972ae
AZ
10900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10901
7d92b787
JY
109022014-02-27 Joey Ye <joey.ye@arm.com>
10903
10904 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10905 (_FP_NANFRAC_Q): Set to zero.
10906
1cadc858
SP
109072014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10908
10909 [BZ #16623]
10910 * math/auto-libm-test-in: New test inputs.
10911 * math/auto-libm-test-out: Regenerate.
10912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10913 and DA.
10914 (__cos): Likewise.
10915 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10916
f8c17e79
JM
109172014-02-27 Joseph Myers <joseph@codesourcery.com>
10918
10919 * scripts/evaluate-test.sh: Take new argument indicating whether
10920 failure is expected.
10921 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10922 indicating whether failure is expected.
10923 * conform/Makefile (test-xfail-run-conformtest): New variable.
10924 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10925 level.
10926 * posix/Makefile (test-xfail-annexc): New variable.
10927 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10928
a5f891ac
JM
109292014-02-26 Joseph Myers <joseph@codesourcery.com>
10930
10931 * argp/Makefile: Include Makeconfig immediately after defining
10932 subdir.
10933 * assert/Makefile: Likewise.
10934 * benchtests/Makefile: Likewise.
10935 * catgets/Makefile: Likewise.
10936 * conform/Makefile: Likewise.
10937 * crypt/Makefile: Likewise.
10938 * csu/Makefile: Likewise.
10939 (all): Remove target.
10940 * ctype/Makefile: Include Makeconfig immediately after defining
10941 subdir.
10942 * debug/Makefile: Likewise.
10943 * dirent/Makefile: Likewise.
10944 * dlfcn/Makefile: Likewise.
10945 * gmon/Makefile: Likewise.
10946 * gnulib/Makefile: Likewise.
10947 * grp/Makefile: Likewise.
10948 * gshadow/Makefile: Likewise.
10949 * hesiod/Makefile: Likewise.
10950 * hurd/Makefile: Likewise.
10951 (all): Remove target.
10952 * iconvdata/Makefile: Include Makeconfig immediately after
10953 defining subdir.
10954 * inet/Makefile: Likewise.
10955 * intl/Makefile: Likewise.
10956 * io/Makefile: Likewise.
10957 * libio/Makefile: Likewise.
10958 (all): Remove target.
10959 * locale/Makefile: Include Makeconfig immediately after defining
10960 subdir.
10961 * login/Makefile: Likewise.
10962 * mach/Makefile: Likewise.
10963 (all): Remove target.
10964 * malloc/Makefile: Include Makeconfig immediately after defining
10965 subdir.
10966 (all): Remove target.
10967 * manual/Makefile: Include Makeconfig immediately after defining
10968 subdir.
10969 * math/Makefile: Likewise.
10970 * misc/Makefile: Likewise.
10971 * nis/Makefile: Likewise.
10972 * nss/Makefile: Likewise.
10973 * po/Makefile: Likewise.
10974 (all): Remove target.
10975 * posix/Makefile: Include Makeconfig immediately after defining
10976 subdir.
10977 * pwd/Makefile: Likewise.
10978 * resolv/Makefile: Likewise.
10979 * resource/Makefile: Likewise.
10980 * rt/Makefile: Likewise.
10981 * setjmp/Makefile: Likewise.
10982 * shadow/Makefile: Likewise.
10983 * signal/Makefile: Likewise.
10984 * socket/Makefile: Likewise.
10985 * soft-fp/Makefile: Likewise.
10986 * stdio-common/Makefile: Likewise.
10987 * stdlib/Makefile: Likewise.
10988 * streams/Makefile: Likewise.
10989 * string/Makefile: Likewise.
10990 * sunrpc/Makefile: Likewise.
10991 (all): Remove target.
10992 * sysvipc/Makefile: Include Makeconfig immediately after defining
10993 subdir.
10994 * termios/Makefile: Likewise.
10995 * time/Makefile: Likewise.
10996 * timezone/Makefile: Likewise.
10997 (all): Remove target.
10998 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10999 subdir.
11000 * wctype/Makefile: Likewise.
11001
5b456e9d
SE
110022014-02-26 Steve Ellcey <sellcey@mips.com>
11003
11004 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11005 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11006 (libc_feholdexcept_setround_mips): Ditto.
11007 (libc_feholdsetround): New.
11008 (libc_feholdsetroundf): New.
11009 (libc_feholdsetroundl): New.
11010 (libc_feupdateenv_test_mips): New.
11011 (libc_feupdateenv_test): New.
11012 (libc_feupdateenv_testf): New.
11013 (libc_feupdateenv_testl): New.
11014 (libc_feresetround): New.
11015 (libc_feresetroundf): New.
11016 (libc_feresetroundl): New.
11017 (libc_fetestexcept_mips): New.
11018 (libc_fetestexcept): New.
11019 (libc_fetestexceptf): New.
11020 (libc_fetestexceptl): New.
11021 (HAVE_RM_CTX): New.
11022 (libc_feholdexcept_setround_mips_ctx): New.
11023 (libc_feholdexcept_setround_ctx): New.
11024 (libc_feholdexcept_setroundf_ctx): New.
11025 (libc_feholdexcept_setroundl_ctx): New.
11026 (libc_fesetenv_mips_ctx): New.
11027 (libc_fesetenv_ctx): New.
11028 (libc_fesetenv_ctxf): New.
11029 (libc_fesetenv_ctxl): New.
11030 (libc_feupdateenv_mips_ctx): New.
11031 (libc_feupdateenv_ctx): New.
11032 (libc_feupdateenvf_ctx): New.
11033 (libc_feupdateenvl_ctx): New.
11034 (libc_feholdsetround_mips_ctx): New.
11035 (libc_feholdsetround_ctx): New.
11036 (libc_feholdsetroundf_ctx): New.
11037 (libc_feholdsetroundl_ctx): New.
11038 (libc_feresetround_mips_ctx): New.
11039 (libc_feresetround_ctx): New.
11040 (libc_feresetroundf_ctx): New.
11041 (libc_feresetroundl_ctx): New.
11042
085d0e35
CD
110432014-02-26 Carlos O'Donell <carlos@redhat.com>
11044
f067bf1f
CD
11045 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11046
085d0e35
CD
11047 * manual/ipc.texi: New file.
11048 * manual/Makefile (chapters): Add ipc.
11049 * manual/job.texi: Add "Inter-Process Communication" to next.
11050 * manual/process.texi: Add "Inter-Process Communication" to prev.
11051
86e58c08
AZ
110522014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053
11054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11055
4248f0da
OB
110562014-02-26 Ondřej Bílka <neleai@seznam.cz>
11057
11058 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11059
cf822e3c
OB
11060 * manual/arith.texi: Fix spaces after sentences.
11061 * manual/charset.texi: Likewise.
11062 * manual/errno.texi: Likewise.
11063 * manual/install.texi: Likewise.
11064 * manual/llio.texi: Likewise.
11065 * manual/locale.texi: Likewise.
11066 * manual/maint.texi: Likewise.
11067 * manual/math.texi: Likewise.
11068 * manual/memory.texi: Likewise.
11069 * manual/message.texi: Likewise.
11070 * manual/probes.texi: Likewise.
11071 * manual/resource.texi: Likewise.
11072 * manual/signal.texi: Likewise.
11073 * manual/socket.texi: Likewise.
11074 * manual/stdio.texi: Likewise.
11075 * manual/string.texi: Likewise.
11076 * manual/time.texi: Likewise.
11077 * manual/users.texi: Likewise.
11078
ade40b10
CD
110792014-02-25 Carlos O'Donell <carlos@redhat.com>
11080
11081 [BZ #16632]
11082 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11083 _DEFAULT_SOURCE is defined.
11084
d0503676
CD
110852014-02-25 Ulrich Drepper <drepper@gmail.com>
11086 Carlos O'Donell <carlos@redhat.com>
11087
11088 [BZ #16613]
11089 * elf/dl-tls.c (_dl_count_modids): New function.
11090 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11091 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11092 audit library and increment generation counter.
11093 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11094 * elf/tst-audit9.c: New file.
11095 * elf/tst-auditmod9a.c: New file.
11096 * elf/tst-auditmod9b.c: New file.
11097 * elf/Makefile: Add rules to build and run tst-audit9.
11098
4cbf380c
FW
110992014-02-25 Florian Weimer <fweimer@redhat.com>
11100
11101 [BZ #15347]
11102 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11103
80a56cc3
WN
111042014-02-25 Will Newton <will.newton@linaro.org>
11105
11106 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11107 (__longjmp): Restore sp and lr before restoring callee
11108 saved registers. Add longjmp and longjmp_target
11109 SystemTap probe point.
11110 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11111 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11112 Define to zero to match jmpbuf layout.
11113 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11114 (__sigsetjmp): Save sp and lr before saving callee
11115 saved registers. Add setjmp SystemTap probe point.
11116
3ea0f74e
SL
111172014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11118
11119 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11120
b04acb26
AS
111212014-02-24 Andreas Schwab <schwab@suse.de>
11122
11123 [BZ #15804]
11124 * elf/pldd.c (wait_for_ptrace_stop): New function.
11125 (main): Call it after attaching.
11126
098ad55c
RM
111272014-02-22 Roland McGrath <roland@hack.frob.com>
11128
d4ec6ae1
RM
11129 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11130 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11131 Versions files is now verboten.
11132 * hurd/Versions (libc: GLIBC_2.0):
11133 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11134 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11135 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11136 * mach/Versions: Likewise.
11137
098ad55c
RM
11138 * csu/Versions: Remove unused %include.
11139 * resolv/Versions: Likewise.
11140
acd7f096
JM
111412014-02-21 Joseph Myers <joseph@codesourcery.com>
11142
f0881698
JM
11143 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11144 ($(objpfx)check-local-headers.out): Likewise.
11145 ($(objpfx)begin-end-check.out): Likewise.
11146 * Makerules (check-abi-%.out): Likewise.
11147 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11148 ($(objpfx)test2.cat): Likewise.
11149 ($(objpfx)de/libc.cat): Likewise.
11150 ($(objpfx)test-gencat.out): Likewise.
11151 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11152 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11153 ($(objpfx)noload-mem): Likewise.
11154 ($(objpfx)tst-pathopt.out): Likewise.
11155 ($(objpfx)tst-rtld-load-self.out): Likewise.
11156 ($(objpfx)tst-array1-cmp.out): Likewise.
11157 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11158 ($(objpfx)tst-array2-cmp.out): Likewise.
11159 ($(objpfx)tst-array3-cmp.out): Likewise.
11160 ($(objpfx)tst-array4-cmp.out): Likewise.
11161 ($(objpfx)tst-array5-cmp.out): Likewise.
11162 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11163 ($(objpfx)check-textrel.out): Likewise.
11164 ($(objpfx)check-execstack.out): Likewise.
11165 ($(objpfx)check-localplt.out): Likewise.
11166 ($(objpfx)order2-cmp.out): Likewise.
11167 ($(objpfx)tst-leaks1-mem): Likewise.
11168 ($(objpfx)tst-leaks1-static-mem): Likewise.
11169 ($(objpfx)tst-initorder-cmp.out): Likewise.
11170 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11171 ($(objpfx)tst-unused-dep.out): Likewise.
11172 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11174 * iconv/Makefile (test-iconvconfig): Likewise.
11175 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11176 ($(objpfx)iconv-test.out): Likewise.
11177 ($(objpfx)tst-tables.out): Likewise.
11178 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11179 ($(objpfx)tst-gettext.out): Likewise.
11180 ($(objpfx)tst-translit.out): Likewise.
11181 ($(objpfx)tst-gettext2.out): Likewise.
11182 ($(objpfx)tst-gettext4.out): Likewise.
11183 ($(objpfx)tst-gettext6.out): Likewise.
11184 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11185 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11186 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11187 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11188 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11189 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11190 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11191 ($(objpfx)wordexp-tst.out): Likewise.
11192 ($(objpfx)annexc.out): Likewise.
11193 ($(objpfx)tst-fnmatch-mem): Likewise.
11194 ($(objpfx)bug-regex2-mem): Likewise.
11195 ($(objpfx)bug-regex14-mem): Likewise.
11196 ($(objpfx)bug-regex21-mem): Likewise.
11197 ($(objpfx)bug-regex31-mem): Likewise.
11198 ($(objpfx)tst-vfork3-mem): Likewise.
11199 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11200 ($(objpfx)tst-pcre-mem): Likewise.
11201 ($(objpfx)tst-boost-mem): Likewise.
11202 ($(objpfx)tst-getconf.out): Likewise.
11203 ($(objpfx)bug-ga2-mem): Likewise.
11204 ($(objpfx)bug-glob2-mem): Likewise.
11205 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11206 ($(objpfx)mtrace-tst-leaks2): Likewise.
11207 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11208 ($(objpfx)tst-printf.out): Likewise.
11209 ($(objpfx)tst-setvbuf1.out): Likewise.
11210 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11211 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11212 ($(objpfx)tst-fmtmsg.out): Likewise.
11213 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11214 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11215
acd7f096
JM
11216 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11217 * bits/sigaction.h [__USE_MISC]: Likewise.
11218 * bits/waitstatus.h: Update #endif comments.
11219 * ctype/ctype.h: Likewise.
11220 * dirent/dirent.h: Likewise.
11221 [__USE_MISC]: Remove redundant conditionals.
11222 * grp/grp.h: Update #endif comments.
11223 [__USE_GNU]: Remove redundant conditionals.
11224 [__USE_MISC]: Likewise.
11225 * inet/netinet/in.h [__USE_GNU]: Likewise.
11226 * io/sys/stat.h [__USE_MISC]: Likewise.
11227 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11228 * libio/bits/stdio.h: Update #endif comments.
11229 [__USE_MISC]: Remove redundant conditionals.
11230 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11231 * libio/stdio.h: Update #endif comments.
11232 [__USE_MISC]: Remove redundant conditionals.
11233 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11234 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11235 * math/math.h: Update #else and #endif comments.
11236 [__USE_MISC]: Remove redundant conditionals.
11237 * misc/sys/uio.h: Update #endif comments.
11238 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11239 * posix/glob.h [__USE_MISC]: Likewise.
11240 * posix/sys/types.h: Update #endif comments.
11241 [__USE_MISC]: Remove redundant conditionals.
11242 * posix/sys/wait.h: Update #endif comments.
11243 [__USE_MISC]: Remove redundant conditionals.
11244 * posix/unistd.h: Update #endif comments.
11245 [__USE_MISC]: Remove redundant conditionals.
11246 * pwd/pwd.h [__USE_GNU]: Likewise.
11247 [__USE_MISC]: Likewise.
11248 * resolv/netdb.h [__USE_GNU]: Likewise.
11249 * signal/signal.h: Update #endif comments.
11250 [__USE_MISC]: Remove redundant conditionals.
11251 * stdlib/stdlib.h: Update #else and #endif comments.
11252 [__USE_MISC]: Remove redundant conditionals.
11253 [__USE_GNU]: Likewise.
11254 * string/bits/string2.h [__USE_MISC]: Likewise.
11255 * string/string.h: Update #endif comments.
11256 [__USE_MISC]: Remove redundant conditionals.
11257 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11258 Likewise.
11259 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11260 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11261 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11262 Likewise.
11263 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11264 Likewise.
11265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11266 comments.
11267 [__USE_MISC]: Remove redundant conditionals.
11268 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11269 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11270 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11271 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11272 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11273 Likewise.
11274 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11275 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11276 Likewise.
11277 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11278 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11279 Likewise.
11280 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11281 Likewise.
11282 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11284 Likewise.
11285 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11288 * sysdeps/x86/bits/string.h: Update #endif comments.
11289 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11290 conditionals.
11291 * time/sys/time.h: Update #endif comments.
11292 * time/time.h: Likewise.
11293 [__USE_MISC]: Remove redundant conditionals.
11294
a5d82e4e
YG
112952014-02-21 Yury Gribov <y.gribov@samsung.com>
11296
11297 [BZ #16600]
11298 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11299
9a80491d
AS
113002014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11301
11302 * Versions.def (librt): Add GLIBC_2.17.
11303
105fa381
AC
113042014-02-21 Adam Conrad <adconrad@0c3.net>
11305
11306 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11307 synonym for _SYS_AUXV_H to allow direct inclusion.
11308 * sysdeps/sparc/bits/hwcap.h: Likewise.
11309 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11310 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11311 * sysdeps/sparc/sysdep.h: Likewise.
11312
b8cd1c4e
SP
113132014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11314
11315 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11316
bd939d23
RS
113172014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11318
11319 * benchtests/bench-strrchr.c: Print length instead of position.
11320
5d7b57ca
JM
113212014-02-20 Joseph Myers <joseph@codesourcery.com>
11322
bc688c10
JM
11323 [BZ #16611]
11324 * sysdeps/unix/sysv/linux/kernel-features.h
11325 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11326 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11327 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11328 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11329 Likewise.
11330 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11331 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11332 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11333 (__ASSUME_SENDMMSG): Define instead of using previous
11334 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11335 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11336 (__ASSUME_SENDMMSG_SYSCALL): Define.
11337 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11338 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11339 Likewise.
11340 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11341 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11342 Likewise.
11343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11344 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11345 Likewise.
11346 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11347 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11348 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11349 [__ASSUME_SENDMMSG]: Change conditionals to
11350 [__ASSUME_SENDMMSG_SOCKETCALL].
11351 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11352 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11353 Define.
11354 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11355 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11356 Likewise.
11357 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11358 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11359 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11360 [!__ASSUME_SENDMMSG]: Change conditional to
11361 [!__ASSUME_SENDMMSG_SOCKETCALL].
11362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11363 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11364 Define.
11365
0e31b18c
JM
11366 [BZ #16610]
11367 * sysdeps/unix/sysv/linux/kernel-features.h
11368 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11369 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11370 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11371 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11372 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11373 [__i386__ || __sparc__]
11374 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11375 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11376 (__ASSUME_RECVMMSG): Define instead of using previous
11377 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11378 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11379 (__ASSUME_RECVMMSG_SYSCALL): Define.
11380 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11381 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11382 Likewise.
11383 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11384 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11385 Likewise.
11386 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11387 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11388 Likewise.
11389 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11390 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11391 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11392 [__ASSUME_RECVMMSG]: Change condition to
11393 [__ASSUME_RECVMMSG_SOCKETCALL].
11394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11395 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11396 Define.
11397 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11400 Likewise.
11401 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11402 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11403 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11404 [!__ASSUME_RECVMMSG]: Change condition to
11405 [!__ASSUME_RECVMMSG_SOCKETCALL].
11406 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11407 (__ASSUME_RECVMMSG_SYSCALL): Define.
11408
dd481ccf
JM
11409 [BZ #16609]
11410 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11411 __powerpc__ || __s390__ || __sh__ || __sparc__]
11412 (__ASSUME_SOCKETCALL): Define.
11413 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11414 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11415 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11416 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11417 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11418 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11419 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11420 (__ASSUME_ACCEPT4): Define instead of using previous
11421 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11422 __powerpc__ || __sparc__ || __s390__)] condition.
11423 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11424 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11425 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11426 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11427 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11428 [!__ASSUME_ACCEPT4]: Change condition to
11429 [!__ASSUME_ACCEPT4_SOCKETCALL].
11430 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11431 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11432 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11434 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11435 __ASSUME_ACCEPT4_SYSCALL.
11436 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11437 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11438 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11439 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11440 __ASSUME_ACCEPT4_SYSCALL.
11441 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11442 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11443 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11444 [__ASSUME_ACCEPT4]: Change condition to
11445 [__ASSUME_ACCEPT4_SOCKETCALL].
11446 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11447 (__ASSUME_SOCKETCALL): Define.
11448 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11449 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11450 (__ASSUME_SOCKETCALL): Define.
11451 (__ASSUME_ACCEPT4): Remove.
11452 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11453 Define.
11454 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11455 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11458 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11459
5d7b57ca
JM
11460 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11461 macro.
11462 (HWCAP_ARM_LPAE): Likewise.
11463 (HWCAP_ARM_EVTSTRM): Likewise.
11464 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11465 Add vpfd32, lpae and evtstrm.
11466 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11467 Increase to 22.
11468
63689d61
JM
114692014-02-19 Joseph Myers <joseph@codesourcery.com>
11470
11471 * math/auto-libm-test-in: Add tests of clog10.
11472 * math/auto-libm-test-out: Regenerated.
11473 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11474 * sysdeps/i386/fpu/libm-test-ulps: Update.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11476
ab09bf61
AS
114772014-02-18 Andreas Schwab <schwab@suse.de>
11478
11479 [BZ #16574]
11480 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11481 Store non-zero if the second buffer was newly allocated.
11482 (send_dg): Likewise.
11483 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11484 to send_vc and send_dg.
11485 (res_nsend): Pass NULL for ansp2_malloced.
11486 * resolv/res_query.c (__libc_res_nquery): Add parameter
11487 answerp2_malloced and pass it down to __libc_res_nsend.
11488 (res_nquery): Pass additional NULL to __libc_res_nquery.
11489 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11490 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11491 second answer buffer if answerp2_malloced was set.
11492 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11493 (__libc_res_nquerydomain): Add parameter
11494 answerp2_malloced and pass it down to __libc_res_nquery.
11495 (res_nquerydomain): Pass additional NULL to
11496 __libc_res_nquerydomain.
11497 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11498 additional NULL to __libc_res_nsend and __libc_res_nquery.
11499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11500 additional NULL to __libc_res_nsearch.
11501 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11502 parameter of __libc_res_nsearch to check for separately allocated
11503 second buffer.
11504 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11505 __libc_res_nquery.
11506 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11507 additional NULL to __libc_res_nquery.
11508 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11509 __libc_res_nsearch.
11510 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11511 * include/resolv.h: Update prototypes of __libc_res_nquery,
11512 __libc_res_nsearch, __libc_res_nsend.
11513
a4fb7861
JM
115142014-02-18 Joseph Myers <joseph@codesourcery.com>
11515
c6af2d89
JM
11516 * math/auto-libm-test-in: Add tests of fma.
11517 * math/auto-libm-test-out: Regenerated.
11518 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11519 (fma_towardzero_test_data): Likewise.
11520 (fma_downward_test_data): Likewise.
11521 (fma_upward_test_data): Likewise.
11522 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11523 mpc_mode.
11524 (rounding_modes): Add values for new field.
11525 (func_calc_method): Add value mpfr_fff_f.
11526 (func_calc_desc): Add mpfr_fff_f union field.
11527 (test_function): Add field exact_args.
11528 (FUNC): Add macro argument EXACT_ARGS.
11529 (FUNC_mpfr_f_f): Update call to FUNC.
11530 (FUNC_mpfr_f_f): Likewise.
11531 (FUNC_mpfr_ff_f): Likewise.
11532 (FUNC_mpfr_if_f): Likewise.
11533 (FUNC_mpc_c_f): Likewise.
11534 (FUNC_mpc_c_c): Likewise.
11535 (test_functions): Add fma. Update calls to FUNC.
11536 (handle_input_arg): Add argument exact_args.
11537 (add_test): Update call to handle_input_arg.
11538 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11539 (output_for_one_input_case): Update call to calc_generic_results.
11540 Recalculate exact zero results in each rounding mode.
11541
a4fb7861
JM
11542 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11543 non-negative before setting low bit.
11544 * math/auto-libm-test-in: Mark one asin test possibly having
11545 spurious underflow.
11546 * math/auto-libm-test-out: Regenerated.
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549
ef114eaf
DH
115502014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11551
2b7f4f2c
SP
11552 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11553 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11554 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11555 * README: Add missing listing for microblaze*-*-linux-gnu.
11556
8125aedc
AM
115572014-02-16 Ondřej Bílka <neleai@seznam.cz>
11558
11559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11560 duplicate code
11561
c70a4b1d
MF
115622014-02-16 Mike Frysinger <vapier@gentoo.org>
11563
11564 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11565 * sysdeps/unix/sysv/linux/ia64: Move directory from
11566 ports/sysdeps/unix/sysv/linux/ia64.
11567 * README: Update listing for ia64-*-linux-gnu.
11568
591aeaf7
TD
115692014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11570 Joseph Myers <joseph@codesourcery.com>
11571
11572 * Makeconfig (test-name): New variable.
11573 (evaluate-test): Likewise.
11574 * Makerules (do-test-clean): Remove .test-result files.
11575 (common-mostlyclean): Likewise.
11576 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11577 * scripts/evaluate-test.sh: New file.
11578
6e89caf1
JM
115792014-02-14 Joseph Myers <joseph@codesourcery.com>
11580
7f98f180
JM
11581 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11582 separate $(objpfx)tst-fopenloc-cmp.out and
11583 $(objpfx)tst-fopenloc-mem.out targets.
11584 (tests): Update dependencies.
11585 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11586 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11587 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11588 (tst-rxspencer-no-utf8-ARGS): New variable.
11589 (tst-rxspencer-no-utf8-ENV): Likewise.
11590 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11591 instead of $(objpfx)tst-rxspencer-mem.
11592 ($(objpfx)tst-rxspencer-mem): Change target to
11593 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11594 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11595 * posix/tst-rxspencer-no-utf8.c: New file.
11596
6e89caf1
JM
11597 * elf/Makefile ($(objpfx)order.out): Remove rule.
11598 [$(run-built-tests) = yes] (tests): Depend on
11599 $(objpfx)order-cmp.out.
11600 ($(objpfx)order-cmp.out): New rule.
11601 [$(run-built-tests) = yes] (tests): Depend on
11602 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11603 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11604 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11605 $(objpfx)tst-array5-static-cmp.out.
11606 ($(objpfx)tst-array1.out): Remove rule.
11607 ($(objpfx)tst-array1-cmp.out): New rule.
11608 ($(objpfx)tst-array1-static.out): Remove rule.
11609 ($(objpfx)tst-array1-static-cmp.out): New rule.
11610 ($(objpfx)tst-array2.out): Remove rule.
11611 ($(objpfx)tst-array2-cmp.out): New rule.
11612 ($(objpfx)tst-array3.out): Remove rule.
11613 ($(objpfx)tst-array3-cmp.out): New rule.
11614 ($(objpfx)tst-array4.out): Remove rule.
11615 ($(objpfx)tst-array4-cmp.out): New rule.
11616 ($(objpfx)tst-array5.out): Remove rule.
11617 ($(objpfx)tst-array5-cmp.out): New rule.
11618 ($(objpfx)tst-array5-static.out): Remove rule.
11619 ($(objpfx)tst-array5-static-cmp.out): New rule.
11620 [$(run-built-tests) = yes] (tests): Depend on
11621 $(objpfx)order2-cmp.out.
11622 ($(objpfx)order2.out): Remove rule.
11623 ($(objpfx)order2-cmp.out): New rule.
11624 ($(objpfx)tst-initorder.out): Remove rule.
11625 [$(run-built-tests) = yes] (tests): Depend on
11626 $(objpfx)tst-initorder-cmp.out.
11627 ($(objpfx)tst-initorder-cmp.out): New rule.
11628 ($(objpfx)tst-initorder2.out): Remove rule.
11629 [$(run-built-tests) = yes] (tests): Depend on
11630 $(objpfx)tst-initorder2-cmp.out.
11631 ($(objpfx)tst-initorder2-cmp.out): New rule.
11632 [$(run-built-tests) = yes] (tests): Depend on
11633 $(objpfx)tst-unused-dep-cmp.out.
11634 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11635 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11636 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11637 on $(objpfx)tst-setvbuf1-cmp.out.
11638 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11639 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11640 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11641 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11642 ($(objpfx)tst-svc.out): Remove rule.
11643 ($(objpfx)tst-svc-cmp.out): New rule.
11644
ed9a38e2
JM
116452014-02-13 Joseph Myers <joseph@codesourcery.com>
11646
11647 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11648 * ctype/ctype.h [__USE_MISC]: Likewise.
11649 * dirent/dirent.h [__USE_MISC]: Likewise.
11650 * grp/grp.h [__USE_MISC]: Likewise.
11651 * io/fcntl.h [__USE_MISC]: Likewise.
11652 * io/sys/stat.h [__USE_MISC]: Likewise.
11653 * libio/stdio.h [__USE_MISC]: Likewise.
11654 * posix/unistd.h [__USE_MISC]: Likewise.
11655 * pwd/pwd.h [__USE_MISC]: Likewise.
11656 * stdlib.h [__USE_MISC]: Likewise.
11657 * string/bits/string2.h [__USE_MISC]: Likewise.
11658 * string/string.h [__USE_MISC]: Likewise.
11659 * time/time.h [__USE_MISC]: Likewise.
11660
d6680619
AS
116612014-02-13 Andreas Schwab <schwab@suse.de>
11662
11663 [BZ #16574]
11664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11665 second answer buffer if it was separately allocated.
11666
ace614b8
JM
116672014-02-12 Joseph Myers <joseph@codesourcery.com>
11668
743151ae
JM
11669 * sysdeps/mips/math-tests.h: Include <features.h>.
11670 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11671 (ROUNDING_TESTS_long_double): Do not define.
11672 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11673 (EXCEPTION_TESTS_long_double): Likewise.
11674 * sysdeps/mips/mips64/libm-test-ulps: Update.
11675
498afc54
JM
11676 * include/features.h (__USE_BSD): Remove macro definitions.
11677 (__USE_SVID): Likewise.
11678 (_BSD_SOURCE): Likewise.
11679 (_SVID_SOURCE): Likewise.
11680 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11681 from definition of _DEFAULT_SOURCE.
11682 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11683 [_DEFAULT_SOURCE].
11684 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11685 * bits/mman.h [__USE_BSD]: Likewise.
11686 * bits/termios.h [__USE_BSD]: Likewise.
11687 * bits/waitstatus.h [__USE_BSD]: Likewise.
11688 * ctype/ctype.h [__USE_SVID]: Likewise.
11689 * dirent/dirent.h [__USE_BSD]: Likewise.
11690 * grp/grp.h [__USE_SVID]: Likewise.
11691 [__USE_BSD]: Likewise.
11692 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11693 * io/fcntl.h [__USE_BSD]: Likewise.
11694 * io/ftw.h [__USE_BSD]: Likewise.
11695 * io/sys/stat.h [__USE_BSD]: Likewise.
11696 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11697 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11698 * libio/stdio.h [__USE_SVID]: Likewise.
11699 [__USE_BSD]: Likewise.
11700 * math/math.h [__USE_SVID]: Likewise.
11701 [__USE_BSD]: Likewise.
11702 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11703 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11704 * misc/search.h [__USE_SVID]: Likewise.
11705 * misc/sys/mman.h [__USE_BSD]: Likewise.
11706 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11707 * misc/sys/uio.h [__USE_BSD]: Likewise.
11708 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11709 * posix/glob.h [__USE_BSD]: Likewise.
11710 * posix/regex.h [__USE_BSD]: Likewise.
11711 * posix/sys/types.h [__USE_BSD]: Likewise.
11712 [__USE_SVID]: Likewise.
11713 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11714 * posix/sys/wait.h [__USE_BSD]: Likewise.
11715 [__USE_SVID]: Likewise.
11716 * posix/unistd.h [__USE_BSD]: Likewise.
11717 [__USE_SVID]: Likewise.
11718 * pwd/pwd.h [__USE_SVID]: Likewise.
11719 * resolv/netdb.h [__USE_BSD]: Likewise.
11720 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11721 * signal/signal.h [__USE_BSD]: Likewise.
11722 [__USE_SVID]: Likewise.
11723 * socket/sys/socket.h [__USE_BSD]: Likewise.
11724 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11725 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11726 [__USE_SVID]: Likewise.
11727 * string/bits/string2.h [__USE_BSD]: Likewise.
11728 [__USE_SVID]: Likewise.
11729 * string/bits/string3.h [__USE_BSD]: Likewise.
11730 * string/endian.h [__USE_BSD]: Likewise.
11731 * string/string.h [__USE_SVID]: Likewise.
11732 [__USE_BSD]: Likewise.
11733 * string/strings.h [__USE_BSD]: Likewise.
11734 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11735 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11736 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11737 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11738 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11739 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11740 Likewise.
11741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11742 Likewise.
11743 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11744 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11745 Likewise.
11746 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11747 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11750 Likewise.
11751 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11752 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11753 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11754 Likewise.
11755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11756 Likewise.
11757 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11758 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11759 * termios/termios.h [__USE_BSD]: Likewise.
11760 * time/sys/time.h [__USE_BSD]: Likewise.
11761 * time/time.h [__USE_BSD]: Likewise.
11762 [__USE_SVID]: Likewise.
11763
dd7b064c
JM
11764 * Makefile (subdir_targets): Remove subdir_lint.out.
11765
a2c4c199
JM
11766 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11767 (do-tst-printf): Likewise.
11768 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11769 $(objpfx)tst-printf.out.
11770
8756f740
JM
11771 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11772
1b6dd3f1
JM
11773 * Makerules (check-abi-%): Change target to
11774 $(objpfx)check-abi-%.out.
11775 (check-abi target): Update dependencies.
11776 (check-abi-pattern variable): Redirect output of diff to $@.
11777 (check-abi variable): Likewise.
11778 * elf/Makefile (check-abi): Update dependencies.
11779
ace614b8
JM
11780 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11781 unused.
11782 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11783 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11784 subnormal range.
11785 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11786 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11787 value has largest subnormal exponent.
11788 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11789 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11790 * sysdeps/aarch64/soft-fp/sfp-machine.h
11791 (_FP_TININESS_AFTER_ROUNDING): New macro.
11792 * sysdeps/alpha/soft-fp/sfp-machine.h
11793 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11794 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11795 Likewise.
11796 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11797 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11798 * sysdeps/mips/soft-fp/sfp-machine.h
11799 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11800 * sysdeps/powerpc/soft-fp/sfp-machine.h
11801 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11802 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11803 Likewise.
11804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11805 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11806 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11807 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11808 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11809 Likewise.
11810
fbfdf9cb
DAS
118112014-02-12 Dylan Alex Simon <dylan@dylex.net>
11812
11813 [BZ #16545]
11814 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11815 model 1.
11816
68b7efaa
RH
118172014-02-12 Richard Henderson <rth@redhat.com>
11818
c70a4b1d 11819 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11820 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11821 * sysdeps/unix/sysv/linux/alpha: Move directory from
11822 ports/sysdeps/unix/sysv/linux/alpha.
11823 * README: Update listing for alpha-*-linux-gnu.
11824
cb4a2928
JM
118252014-02-11 Joseph Myers <joseph@codesourcery.com>
11826
c941736c
JM
11827 * include/features.h: Update comment documenting feature test
11828 macros.
11829 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11830 _DEFAULT_SOURCE.
11831 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11832 (_SVID_SOURCE): Likewise.
11833 (_DEFAULT_SOURCE): Update description of default features.
11834 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11835 with _GNU_SOURCE.
11836 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11837 (S_ISVTX): Likewise.
11838 * manual/math.texi (Mathematical Constants): Likewise.
11839 * manual/signal.texi (Interrupted Primitives): Likewise.
11840 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11841 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11842 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11843 Don't refer to _SVID_SOURCE in warning text.
11844
e8d8d7ec
JM
11845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11846
cb4a2928
JM
11847 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11848 already defined.
11849 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11850 * sysdeps/mips/dl-lookup.c: Remove.
11851 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11852
7e6424e3
AK
118532014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11854
11855 [BZ #16447]
11856 * math/auto-libm-test-in: Add testcase for expl.
11857 * math/auto-libm-test-out: Regenerate.
11858 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11859 calculation of unsafe.
11860 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11861
75eff3fe
MS
118622014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11863
11864 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11865 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11866 ports/sysdeps/unix/sysv/linux/aarch64.
11867 * README: Update listing for aarch64*-*-linux-gnu.
11868
d35f1e80
WN
118692014-02-11 Will Newton <will.newton@linaro.org>
11870
11871 * manual/probes.texi (Mathematical Function Probes): Use
11872 "triggered" instead of "hit".
11873
7b3436d4
WN
11874 * manual/probes.texi (Internal Probes): Add documentation
11875 of setjmp, longjmp and longjmp_target probes.
11876
b4f12ca3
WN
11877 * include/stap-probe.h: Add comment about probe argument
11878 format.
11879
c13a72b7
WN
11880 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11881 definition. (tr_where, tr_freehook, tr_mallochook,
11882 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11883
195b8165
DM
118842014-02-11 David S. Miller <davem@davemloft.net>
11885
11886 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11887 processing int_tests.
11888
2ad7600b
JM
118892014-02-10 Joseph Myers <joseph@codesourcery.com>
11890
11891 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11892 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11893 * sysdeps/unix/sysv/linux/mips: Move directory from
11894 ports/sysdeps/unix/sysv/linux/mips.
11895 * README: Update listing for mips-*-linux-gnu and
11896 mips64-*-linux-gnu.
11897
73588a72
AS
118982014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11899
11900 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11901 * sysdeps/unix/sysv/linux/m68k: Move directory from
11902 ports/sysdeps/unix/sysv/linux/m68k.
11903 * README: Update listing for m68k-*-linux-gnu.
11904
4372980f
CM
119052014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11906
11907 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11908 * sysdeps/unix/sysv/linux/generic: Move directory from
11909 ports/sysdeps/unix/sysv/linux/generic.
11910 * sysdeps/unix/sysv/linux/tile: Move directory from
11911 ports/sysdeps/unix/sysv/linux/tile.
11912 * README: Update listing for tile*-*-linux-gnu.
11913
a1ffb40e
OB
119142014-02-10 Ondřej Bílka <neleai@seznam.cz>
11915
57f41c40
AS
11916 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11917 __builtin_expect.
a1ffb40e
OB
11918 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11919 * catgets/open_catalog.c (__open_catalog): Likewise.
11920 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11921 * debug/confstr_chk.c: Likewise.
11922 * debug/fread_chk.c (__fread_chk): Likewise.
11923 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11924 * debug/getgroups_chk.c: Likewise.
11925 * debug/mbsnrtowcs_chk.c: Likewise.
11926 * debug/mbsrtowcs_chk.c: Likewise.
11927 * debug/mbstowcs_chk.c: Likewise.
11928 * debug/memcpy_chk.c: Likewise.
11929 * debug/memmove_chk.c: Likewise.
11930 * debug/mempcpy_chk.c: Likewise.
11931 * debug/memset_chk.c: Likewise.
11932 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11933 * debug/strcat_chk.c (__strcat_chk): Likewise.
11934 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11935 * debug/strncat_chk.c (__strncat_chk): Likewise.
11936 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11937 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11938 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11939 * debug/wcpncpy_chk.c: Likewise.
11940 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11941 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11942 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11943 * debug/wcsncpy_chk.c: Likewise.
11944 * debug/wcsnrtombs_chk.c: Likewise.
11945 * debug/wcsrtombs_chk.c: Likewise.
11946 * debug/wcstombs_chk.c: Likewise.
11947 * debug/wmemcpy_chk.c: Likewise.
11948 * debug/wmemmove_chk.c: Likewise.
11949 * debug/wmempcpy_chk.c: Likewise.
11950 * debug/wmemset_chk.c: Likewise.
11951 * dirent/scandirat.c (SCANDIRAT): Likewise.
11952 * dlfcn/dladdr1.c (dladdr1): Likewise.
11953 * dlfcn/dladdr.c (dladdr): Likewise.
11954 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11955 * dlfcn/dlerror.c (__dlerror): Likewise.
11956 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11957 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11958 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11959 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11960 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11961 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11962 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11963 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11964 Likewise.
11965 * elf/dl-conflict.c: Likewise.
11966 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11967 * elf/dl-dst.h: Likewise.
11968 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11969 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11970 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11971 * elf/dl-init.c (call_init, _dl_init): Likewise.
11972 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11973 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11974 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11975 Likewise.
a1ffb40e
OB
11976 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11977 Likewise.
11978 * elf/dl-minimal.c (__libc_memalign): Likewise.
11979 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11980 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11981 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11982 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11983 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11984 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11985 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11986 * elf/dl-writev.h (_dl_writev): Likewise.
11987 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11988 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11989 (dl_main): Likewise.
a1ffb40e
OB
11990 * elf/setup-vdso.h (setup_vdso): Likewise.
11991 * grp/compat-initgroups.c (compat_call): Likewise.
11992 * grp/fgetgrent.c (fgetgrent): Likewise.
11993 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11994 * grp/putgrent.c (putgrent): Likewise.
11995 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11996 Likewise.
11997 * hurd/hurdinit.c: Likewise.
11998 * iconvdata/8bit-gap.c (struct): Likewise.
11999 * iconvdata/ansi_x3.110.c : Likewise.
12000 * iconvdata/big5.c : Likewise.
12001 * iconvdata/big5hkscs.c : Likewise.
12002 * iconvdata/cp1255.c: Likewise.
12003 * iconvdata/cp1258.c : Likewise.
12004 * iconvdata/cp932.c : Likewise.
12005 * iconvdata/euc-cn.c: Likewise.
12006 * iconvdata/euc-jisx0213.c : Likewise.
12007 * iconvdata/euc-jp.c: Likewise.
12008 * iconvdata/euc-jp-ms.c : Likewise.
12009 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12010 * iconvdata/gb18030.c : Likewise.
12011 * iconvdata/gbbig5.c (const): Likewise.
12012 * iconvdata/gbgbk.c: Likewise.
12013 * iconvdata/gbk.c : Likewise.
12014 * iconvdata/ibm1364.c : Likewise.
12015 * iconvdata/ibm930.c : Likewise.
12016 * iconvdata/ibm932.c: Likewise.
12017 * iconvdata/ibm933.c : Likewise.
12018 * iconvdata/ibm935.c : Likewise.
12019 * iconvdata/ibm937.c : Likewise.
12020 * iconvdata/ibm939.c : Likewise.
12021 * iconvdata/ibm943.c: Likewise.
12022 * iconvdata/iso_11548-1.c: Likewise.
12023 * iconvdata/iso-2022-cn.c : Likewise.
12024 * iconvdata/iso-2022-cn-ext.c : Likewise.
12025 * iconvdata/iso-2022-jp-3.c: Likewise.
12026 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12027 * iconvdata/iso-2022-kr.c : Likewise.
12028 * iconvdata/iso646.c (gconv_end): Likewise.
12029 * iconvdata/iso_6937-2.c : Likewise.
12030 * iconvdata/iso_6937.c : Likewise.
12031 * iconvdata/iso8859-1.c: Likewise.
12032 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12033 * iconvdata/shift_jisx0213.c : Likewise.
12034 * iconvdata/sjis.c : Likewise.
12035 * iconvdata/t.61.c : Likewise.
12036 * iconvdata/tcvn5712-1.c : Likewise.
12037 * iconvdata/tscii.c: Likewise.
12038 * iconvdata/uhc.c : Likewise.
12039 * iconvdata/unicode.c (gconv_end): Likewise.
12040 * iconvdata/utf-16.c (gconv_end): Likewise.
12041 * iconvdata/utf-32.c (gconv_end): Likewise.
12042 * iconvdata/utf-7.c (base64): Likewise.
12043 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12044 * iconv/gconv_close.c (__gconv_close): Likewise.
12045 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12046 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12047 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12048 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12049 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12050 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12051 * iconv/iconv.c (iconv): Likewise.
12052 * iconv/iconv_close.c: Likewise.
12053 * iconv/loop.c (SINGLE): Likewise.
12054 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12055 * include/atomic.h: Likewise.
12056 * inet/inet6_option.c (option_alloc): Likewise.
12057 * intl/bindtextdom.c (set_binding_values): Likewise.
12058 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12059 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12060 * intl/localealias.c (read_alias_file): Likewise.
12061 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12062 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12063 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12064 * libio/fmemopen.c (fmemopen): Likewise.
12065 * libio/iofgets.c (_IO_fgets): Likewise.
12066 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12067 * libio/iofgetws.c (fgetws): Likewise.
12068 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12069 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12070 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12071 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12072 * locale/findlocale.c (_nl_find_locale): Likewise.
12073 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12074 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12075 Likewise.
12076 * locale/setlocale.c (setlocale): Likewise.
12077 * login/programs/pt_chown.c (main): Likewise.
12078 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12079 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12080 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12081 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12082 * math/e_exp2l.c: Likewise.
12083 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12084 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12085 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12086 * math/s_catan.c (__catan): Likewise.
12087 * math/s_catanf.c (__catanf): Likewise.
12088 * math/s_catanh.c (__catanh): Likewise.
12089 * math/s_catanhf.c (__catanhf): Likewise.
12090 * math/s_catanhl.c (__catanhl): Likewise.
12091 * math/s_catanl.c (__catanl): Likewise.
12092 * math/s_ccosh.c (__ccosh): Likewise.
12093 * math/s_ccoshf.c (__ccoshf): Likewise.
12094 * math/s_ccoshl.c (__ccoshl): Likewise.
12095 * math/s_cexp.c (__cexp): Likewise.
12096 * math/s_cexpf.c (__cexpf): Likewise.
12097 * math/s_cexpl.c (__cexpl): Likewise.
12098 * math/s_clog10.c (__clog10): Likewise.
12099 * math/s_clog10f.c (__clog10f): Likewise.
12100 * math/s_clog10l.c (__clog10l): Likewise.
12101 * math/s_clog.c (__clog): Likewise.
12102 * math/s_clogf.c (__clogf): Likewise.
12103 * math/s_clogl.c (__clogl): Likewise.
12104 * math/s_csin.c (__csin): Likewise.
12105 * math/s_csinf.c (__csinf): Likewise.
12106 * math/s_csinh.c (__csinh): Likewise.
12107 * math/s_csinhf.c (__csinhf): Likewise.
12108 * math/s_csinhl.c (__csinhl): Likewise.
12109 * math/s_csinl.c (__csinl): Likewise.
12110 * math/s_csqrt.c (__csqrt): Likewise.
12111 * math/s_csqrtf.c (__csqrtf): Likewise.
12112 * math/s_csqrtl.c (__csqrtl): Likewise.
12113 * math/s_ctan.c (__ctan): Likewise.
12114 * math/s_ctanf.c (__ctanf): Likewise.
12115 * math/s_ctanh.c (__ctanh): Likewise.
12116 * math/s_ctanhf.c (__ctanhf): Likewise.
12117 * math/s_ctanhl.c (__ctanhl): Likewise.
12118 * math/s_ctanl.c (__ctanl): Likewise.
12119 * math/w_pow.c: Likewise.
12120 * math/w_powf.c: Likewise.
12121 * math/w_powl.c: Likewise.
12122 * math/w_scalb.c (sysv_scalb): Likewise.
12123 * math/w_scalbf.c (sysv_scalbf): Likewise.
12124 * math/w_scalbl.c (sysv_scalbl): Likewise.
12125 * misc/error.c (error_tail): Likewise.
12126 * misc/pselect.c (__pselect): Likewise.
12127 * nis/nis_callback.c (__nis_create_callback): Likewise.
12128 * nis/nis_call.c (__nisfind_server): Likewise.
12129 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12130 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12131 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12132 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12133 * nis/nis_lookup.c (nis_lookup): Likewise.
12134 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12135 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12136 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12137 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12138 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12139 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12140 * nis/nss_compat/compat-initgroups.c (add_group)
12141 (internal_getgrent_r): Likewise.
12142 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12143 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12144 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12145 (internal_getspnam_r): Likewise.
12146 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12147 (_nss_nis_getaliasbyname_r): Likewise.
12148 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12149 (_nss_nis_getntohost_r): Likewise.
12150 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12151 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12152 (_nss_nis_getgrgid_r): Likewise.
12153 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12154 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12155 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12156 (_nss_nis_gethostbyname4_r): Likewise.
12157 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12158 (initgroups_netid): Likewise.
a1ffb40e 12159 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12160 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12161 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12162 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12163 (_nss_nis_getprotobynumber_r): Likewise.
12164 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12165 (_nss_nis_getsecretkey): Likewise.
12166 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12167 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12168 (_nss_nis_getpwuid_r): Likewise.
12169 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12170 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12171 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12172 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12173 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12174 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12175 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12176 Likewise.
57f41c40
AS
12177 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12178 (_nss_nisplus_getntohost_r): Likewise.
12179 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12180 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12181 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12182 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12183 Likewise.
57f41c40
AS
12184 * nis/nss_nisplus/nisplus-initgroups.c
12185 (_nss_nisplus_initgroups_dyn): Likewise.
12186 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12187 (_nss_nisplus_getnetbyaddr_r): Likewise.
12188 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12189 (_nss_nisplus_getprotobynumber_r): Likewise.
12190 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12191 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12192 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12193 Likewise.
57f41c40
AS
12194 * nis/nss_nisplus/nisplus-service.c
12195 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12196 (_nss_nisplus_getservbyport_r): Likewise.
12197 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12198 (_nss_nisplus_getspnam_r): Likewise.
12199 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12200 Likewise.
a1ffb40e
OB
12201 * nscd/aicache.c (addhstaiX): Likewise.
12202 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12203 * nscd/connections.c (register_traced_file, send_ro_fd)
12204 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12205 (main_loop_epoll): Likewise.
a1ffb40e
OB
12206 * nscd/grpcache.c (addgrbyX): Likewise.
12207 * nscd/hstcache.c (addhstbyX): Likewise.
12208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12209 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12210 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12211 (addinnetgrX): Likewise.
12212 * nscd/nscd-client.h (__nscd_acquire_maplock)
12213 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12214 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12215 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12217 Likewise.
12218 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12220 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12221 (__nscd_get_map_ref): Likewise.
a1ffb40e 12222 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12223 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12224 Likewise.
a1ffb40e
OB
12225 * nscd/pwdcache.c (addpwbyX): Likewise.
12226 * nscd/selinux.c (preserve_capabilities): Likewise.
12227 * nscd/servicescache.c (addservbyX): Likewise.
12228 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12229 * posix/fnmatch.c (fnmatch): Likewise.
12230 * posix/getopt.c (_getopt_internal_r): Likewise.
12231 * posix/glob.c (glob, glob_in_dir): Likewise.
12232 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12233 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12234 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12235 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12236 * resolv/res_init.c: Likewise.
12237 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12238 * resolv/res_query.c (__libc_res_nquery): Likewise.
12239 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12240 Likewise.
12241 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12242 * stdio-common/perror.c (perror): Likewise.
12243 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12244 * stdio-common/tmpnam.c (tmpnam): Likewise.
12245 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12246 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12247 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12248 Likewise.
a1ffb40e
OB
12249 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12250 * stdlib/putenv.c (putenv): Likewise.
12251 * stdlib/setenv.c (__add_to_environ): Likewise.
12252 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12253 * stdlib/strtol_l.c (INTERNAL): Likewise.
12254 * string/memmem.c (memmem): Likewise.
12255 * string/strerror.c (strerror): Likewise.
12256 * string/strnlen.c (__strnlen): Likewise.
12257 * string/test-memmem.c (simple_memmem): Likewise.
12258 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12259 * sunrpc/pm_getport.c (__get_socket): Likewise.
12260 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12261 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12262 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12263 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12264 Likewise.
12265 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12266 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12267 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12268 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12269 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12270 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12271 Likewise.
12272 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12273 Likewise.
a1ffb40e
OB
12274 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12275 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12277 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12278 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12280 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12281 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12282 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12283 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12284 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12285 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12286 Likewise.
12287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12288 Likewise.
12289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12290 Likewise.
12291 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12295 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12296 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12297 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12306 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12307 Likewise.
a1ffb40e
OB
12308 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12309 Likewise.
12310 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12311 Likewise.
12312 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12313 Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12316 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12317 Likewise.
12318 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12319 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12320 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12321 * sysdeps/posix/sleep.c: Likewise.
12322 * sysdeps/posix/tempname.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12324 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12325 Likewise.
57f41c40
AS
12326 * sysdeps/powerpc/powerpc32/dl-machine.h
12327 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12328 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12329 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12330 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12331 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12332 Likewise.
12333 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12334 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12335 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12336 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12337 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12338 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12339 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12340 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12341 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12342 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12343 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12344 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12345 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12347 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12348 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12349 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12350 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12351 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12352 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12353 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12354 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12356 Likewise.
12357 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12358 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12359 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12360 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12361 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12362 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12363 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12364 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12365 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12366 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12367 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12368 Likewise.
12369 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12370 (__posix_fallocate64_l64): Likewise.
12371 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12372 (posix_fallocate): Likewise.
57f41c40
AS
12373 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12374 Likewise.
a1ffb40e 12375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12376 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12377 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12378 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12379 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12380 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12381 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12382 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12383 (__posix_fallocate64_l64): Likewise.
12384 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12385 Likewise.
12386 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12387 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12388 (__get_clockfreq): Likewise.
a1ffb40e
OB
12389 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12390 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12391 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12395 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12396 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12399 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12400 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12402 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12403 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12404 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12405 Likewise.
12406 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12407 (posix_fallocate): Likewise.
12408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12409 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12410 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12411 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12412 (elf_machine_rela, elf_machine_rela_relative)
12413 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12414 * time/asctime.c (asctime_internal): Likewise.
12415 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12416 * time/tzset.c (__tzset_parse_tz): Likewise.
12417 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12418 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12419 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12420 * wcsmbs/wcsmbsload.h: Likewise.
12421
f3d338c9
OB
12422 [BZ #15894]
12423 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12424
57f41c40
AS
12425 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12426 (arena_get2): Remove THREAD_STATS conditionals.
12427 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12428 (__malloc_stats, int): Likewise.
bdfe308a 12429
d674667c
MF
124302014-02-08 Mike Frysinger <vapier@gentoo.org>
12431
12432 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12433 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12434
6349768c
MF
12435 * manual/setjmp.texi: Fix typos/grammar errors.
12436
0b7c7473
MF
12437 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12438 Only return early when n is <= 0. Delete unused return statement.
12439
ac8cc9e3
MF
12440 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12441 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12442 * debug/tst-longjmp_chk3.c: New file.
12443
c5bb8e23
MF
12444 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12445 (test_main): Replace code with set_fortify_handler call.
12446 * debug/test-strcpy_chk.c: Likewise.
12447 * debug/tst-chk1.c: Likewise.
12448 * debug/tst-longjmp_chk.c: Likewise.
12449 * test-skeleton.c: Include fcntl.h & paths.h
12450 (set_fortify_handler): Define.
12451
10444e42
MF
12452 * debug/tst-longjmp_chk.c: Add header comment and include
12453 ../test-skeleton.c.
12454 (do_test): Mark static.
12455 (TEST_FUNCTION): Define.
12456
1e805e8d
MF
12457 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12458 (IP_PMTUDISC_INTERFACE): Likewise.
12459 (IP_MULTICAST_IF): Likewise.
12460 (IP_MULTICAST_TTL): Likewise.
12461 (IP_MULTICAST_LOOP): Likewise.
12462 (IP_ADD_MEMBERSHIP): Likewise.
12463 (IP_DROP_MEMBERSHIP): Likewise.
12464 (IP_UNBLOCK_SOURCE): Likewise.
12465 (IP_BLOCK_SOURCE): Likewise.
12466 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12467 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12468 (IP_MSFILTER): Likewise.
12469 (MCAST_JOIN_GROUP): Likewise.
12470 (MCAST_BLOCK_SOURCE): Likewise.
12471 (MCAST_UNBLOCK_SOURCE): Likewise.
12472 (MCAST_LEAVE_GROUP): Likewise.
12473 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12474 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12475 (MCAST_MSFILTER): Likewise.
12476 (IP_MULTICAST_ALL): Likewise.
12477 (IP_UNICAST_IF): Likewise.
12478
73f79bb7
MF
12479 * timezone/Makefile: Delete $(have-ksh) check.
12480 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12481 * timezone/tzselect.ksh: Add +x mode bits.
12482
8da79b60
MF
12483 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12484 (ANON_INODE_FS_MAGIC): Likewise.
12485 (BDEVFS_MAGIC): Likewise.
12486 (BINFMTFS_MAGIC): Likewise.
12487 (BTRFS_TEST_MAGIC): Likewise.
12488 (CRAMFS_MAGIC_WEND): Likewise.
12489 (DEBUGFS_MAGIC): Likewise.
12490 (ECRYPTFS_SUPER_MAGIC): Likewise.
12491 (EXT3_SUPER_MAGIC): Likewise.
12492 (EXT4_SUPER_MAGIC): Likewise.
12493 (FUTEXFS_SUPER_MAGIC): Likewise.
12494 (HOSTFS_SUPER_MAGIC): Likewise.
12495 (HUGETLBFS_MAGIC): Likewise.
12496 (MINIX3_SUPER_MAGIC): Likewise.
12497 (MTD_INODE_FS_MAGIC): Likewise.
12498 (NILFS_SUPER_MAGIC): Likewise.
12499 (OPENPROM_SUPER_MAGIC): Likewise.
12500 (PIPEFS_MAGIC): Likewise.
12501 (PSTOREFS_MAGIC): Likewise.
12502 (QNX6_SUPER_MAGIC): Likewise.
12503 (RAMFS_MAGIC): Likewise.
12504 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12505 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12506 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12507 (SECURITYFS_MAGIC): Likewise.
12508 (SELINUX_MAGIC): Likewise.
12509 (SMACK_MAGIC): Likewise.
12510 (SOCKFS_MAGIC): Likewise.
12511 (SQUASHFS_MAGIC): Likewise.
12512 (STACK_END_MAGIC): Likewise.
12513 (TMPFS_MAGIC): Likewise.
12514 (USBDEVICE_SUPER_MAGIC): Likewise.
12515 (V9FS_MAGIC): Likewise.
12516 (XENFS_SUPER_MAGIC): Likewise.
12517 (CRAMFS_MAGIC): Fix typo in comment.
12518 (EXT2_SUPER_MAGIC): Update comment.
12519 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12520
464263cc
JM
125212014-02-08 Joseph Myers <joseph@codesourcery.com>
12522
c6bfe5c4
JM
12523 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12524 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12525 * sysdeps/unix/sysv/linux/arm: Move directory from
12526 ports/sysdeps/unix/sysv/linux/arm.
12527 * README: Update listing for arm-*-linux-gnueabi.
12528
464263cc
JM
12529 * README: Remove mention of am33.
12530
32749f6c
RM
125312014-02-07 Roland McGrath <roland@hack.frob.com>
12532
12533 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12534 than the comma operator, to avoid "rhs of comma has no effect"
12535 compiler warnings.
12536 (__sigfillset, __sigandset, __sigorset): Likewise.
12537 * include/signal.h (__sigemptyset): Likewise.
12538 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12539
d5b396c1
AM
125402014-02-07 Allan McRae <allan@archlinux.org>
12541
12542 * version.h (RELEASE): Set to "development".
12543 (VERSION): Set to "2.19.90"
12544 * NEWS: Add 2.20 section.
12545
3bfff2ed
CD
125462014-02-06 Carlos O'Donell <carlos@redhat.com>
12547
12548 [BZ #16529]
12549 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12550
ee7cc385
SP
125512014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12552
12553 * manual/contrib.texi: Update entry for Carlos O'Donell,
12554 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12555
f877c4f2
CD
125562014-02-05 Carlos O'Donell <carlos@rehdat.com>
12557
27e839f6
CD
12558 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12559
f877c4f2
CD
12560 * sysdeps/unix/sysv/linux/kernel-features.h
12561 [__LINUX_KERNEL_VERSION >= 0x020621]
12562 (__ASSUME_PROC_PID_TASK_COMM): Define.
12563
68159946
SP
125642014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12565
ba17cdbd
SP
12566 [BZ #16398]
12567 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12568 conversion when destination buffer does not have enough space.
12569 * libio/tst-ftell-partial-wide.c: New test case.
12570 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12571
68159946
SP
12572 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12573 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12574 Leonard and Allan McRae.
12575
2b528732
DM
125762014-02-04 David S. Miller <davem@davemloft.net>
12577
12578 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12579 32-bit.
12580
0ff82463
AZ
125812014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12582
57f41c40
AS
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12584 New file
c01603f7
AZ
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12586 New file
57f41c40
AS
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12588 New file.
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12590 New file.
c01603f7
AZ
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12592 New file.
57f41c40
AS
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12594 New file.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12596 New file.
c01603f7
AZ
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12598 New file.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12600 New file.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12602 New file.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12604 New file.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12606 New file.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12608 New file.
12609
126102014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12611
0ff82463
AZ
12612 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12613 * shlib-versions: Likewise.
12614
1695c773
AZ
126152014-02-04 Roland McGrath <roland@hack.frob.com>
12616 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12617
12618 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12619 (abilist-pattern): New variable, set to %-le.abilist.
12620
12621 * Makerules (abilist-pattern): New variable.
12622 (vpath): Use $(abilist-pattern) in place of %.abilist.
12623 (check-abi-% pattern rule): Likewise.
12624 (check-abi, update-abi): Likewise.
12625
6c0ce4b4
EW
126262014-02-04 Eric Wong <normalperson@yhbt.net>
12627
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12629
481e3524
CD
126302014-02-03 Carlos O'Donell <carlos@redhat.com>
12631
12632 * manual/startup.texi: Add next, previous, and top entries for
12633 the `Program Arguments' and `Environment Variables' nodes.
12634
375592d3
AO
126352014-02-03 Alexandre Oliva <aoliva@redhat.com>
12636
12637 * manual/macros.texi: Add comments before MTASC-safety macros.
12638
f54838ba
AO
12639 * manual/users.texi: Document MTASC-safety properties.
12640
57f41c40
AS
12641 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12642 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12643 @deftypefun, and add @safety note.
12644 * manual/signal.texi: Move comments that analyze the above
12645 functions to their home place.
12646
fd3daba4
AM
126472014-02-03 Allan McRae <allan@archlinux.org>
12648
12649 * po/sl.po: Update Slovenian translation from translation project.
12650
597636d7
AO
126512014-02-02 Alexandre Oliva <aoliva@redhat.com>
12652
12653 * manual/time.texi (timegm): Add missing blank after @c.
12654 Reported by Joseph Myers <joseph@codesourcery.com>.
12655
ee196e3c
AO
126562014-02-01 Alexandre Oliva <aoliva@redhat.com>
12657
12658 * manual/check-safety.sh: New.
12659 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12660
f8d529d5
AO
12661 * manual/terminal.texi: Document MTASC-safety properties.
12662
de55fdf4
AO
12663 * manual/filesys.texi: Document MTASC-safety properties.
12664
c3299c08
AO
12665 * manual/errno.texi: Document MTASC-safety properties.
12666
06e90b14
AO
12667 * manual/intro.texi: Document safety identifiers and
12668 conditionals.
12669
1acd4371
AO
12670 * manual/string.texi (wcstok): Fix prototype.
12671 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12672
23e5b8cb
AO
12673 * manual/time.texi: Document MTASC-safety properties.
12674
11087373
AO
12675 * manual/string.texi: Document MTASC-safety properties.
12676
5da2c93d
AO
12677 * manual/threads.texi: Document MTASC-safety properties.
12678
171e9210
AO
12679 * manual/stdio.texi: Document MTASC-safety properties.
12680
d9e02532
AO
12681 * manual/syslog.texi: Document MTASC-safety properties.
12682
6af8bab7
AO
12683 * manual/sysinfo.texi: Document MTASC-safety properties.
12684
663b02d7
AO
12685 * manual/startup.texi: Document MTASC-safety properties.
12686
973f180b
AO
12687 * manual/socket.texi: Document MTASC-safety properties.
12688
8f3c25c8
AO
12689 * manual/signal.texi: Document MTASC-safety properties.
12690
542210fb
AO
126912014-01-31 Alexandre Oliva <aoliva@redhat.com>
12692
12693 * manual/setjmp.texi: Document MTASC-safety properties.
12694
433c45a2
AO
12695 * manual/search.texi: Document MTASC-safety properties.
12696
c8ce789c
AO
12697 * manual/resource.texi: Document MTASC-safety properties.
12698
19f5d29c
AO
12699 * manual/process.texi: Document MTASC-safety properties.
12700
e2dfb7f4
AO
12701 * manual/platform.texi: Document MTASC-safety properties.
12702
8c1413f5
AO
12703 * manual/pipe.texi: Document MTASC-safety properties.
12704
03483ada
AO
12705 * manual/pattern.texi: Document MTASC-safety properties.
12706
29e7e2df
AO
12707 * manual/message.texi: Document MTASC-safety properties.
12708
9f529d7c
AO
12709 [BZ #12751]
12710 * manual/memory.texi: Document MTASC-safety properties.
12711
27aaa791
AO
12712 * manual/math.texi: Document MTASC-safety properties.
12713
f2d58726
AO
12714 * manual/locale.texi: Document MTASC-safety properties.
12715
2cc3615c
AO
12716 * manual/llio.texi: Document MTASC-safety properties.
12717
d9f0ec97
AO
12718 * manual/libdl.texi: New.
12719
e7c4409a
AO
12720 * manual/lang.texi: Document MTASC-safety properties.
12721
27bdc63c
AO
12722 * manual/job.texi: Document MTASC-safety properties.
12723
a7b90ea9
AO
12724 * manual/getopt.texi: Document MTASC-safety properties.
12725
c49130e3
AO
12726 * manual/ctype.texi: Document MTASC-safety properties.
12727
0d23a5c1
MR
127282014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12729
12730 [BZ #16046]
12731 * csu/libc-tls.c (static_map): Remove variable.
12732 (__libc_setup_tls): Use main executable's link map for TLS data.
12733 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12734 casing for LM_ID_BASE and GL(dl_nns).
12735 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12736 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12737 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12738 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12739 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12740 member.
12741 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12742 l_phnum members.
12743
0037bb60
AO
127442014-01-30 Alexandre Oliva <aoliva@redhat.com>
12745
12746 * manual/debug.texi: Document MTASC-safety properties.
12747
409e00bd
L
127482014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 [BZ #16510]
12751 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12752 of __x86_64__ when disabling x87 inline functions.
12753
86e60666
AO
127542014-01-29 Alexandre Oliva <aoliva@redhat.com>
12755
12756 * manual/charset.texi: Document MTASC-safety properties.
12757
76167637
AO
12758 * manual/crypt.texi: Document MTASC-safety properties.
12759
e567f2a0
AO
12760 * manual/conf.texi: Document MTASC-safety properties.
12761
b719dafd
AO
12762 * manual/arith.texi: Document MTASC-safety properties.
12763
4a16c662
AO
12764 * manual/argp.texi: Document MTASC-safety properties.
12765
0a57b83e
AO
12766 * manual/macros.texi: Introduce macros to document multi
12767 thread, asynchronous signal and asynchronous cancellation
12768 safety properties.
12769 * manual/intro.texi: Introduce the properties themselves.
12770
feab2397
KK
127712014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12772
12773 * sysdeps/sh/sh4/Makefile: New file.
12774
1c0d11bc
AS
127752014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12776
12777 * math/gen-libm-test.pl ($srcdir): New variable.
12778 ($auto_input): Use it.
12779
af37a8a3
SP
127802014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12781
d7b00f98
SP
12782 [BZ #16506]
12783 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12784 access beyond array bounds when parsing netgroups file.
12785
af37a8a3
SP
12786 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12787 the old buffer before realloc.
12788
0c00f062
AM
127892014-01-27 Allan McRae <allan@archlinux.org>
12790
12791 * po/fr.po: Update French translation from translation project.
12792
7d69a1b0
KK
127932014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12794
12795 * sysdeps/sh/libm-test-ulps: Regenerate.
12796
6e697ff7
DM
127972014-01-24 David S. Miller <davem@davemloft.net>
12798
12799 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12800
9cadb35c
KK
128012014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12802
12803 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12804 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12805
5d41dadf
SP
128062013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
12808 [BZ #16474]
12809 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12810 string pointers after reallocation.
12811
0bad441c
KK
128122014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12813
12814 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12815 __SH4A__ instead of __SH_FPU_ANY__.
12816
7007c661
KK
128172014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12818
12819 * sysdeps/sh/fpu_control.h: New file.
12820 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12821 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12822 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12823 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12824 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12825 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12826 * sysdeps/sh/sys/ucontext.h: Remove.
12827 * sysdeps/sh/sys: Remove directory.
12828
0f0c35e4
AK
128292014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12830
12831 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12832 s390/sys/ucontext.h.
12833 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12835
4959e284
L
128362014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12837
12838 [BZ #15605]
12839 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12840
d98720e0
AZ
128412014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12842
12843 [BZ#16431]
12844 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12845 Adjust the vDSO correctly for internal calls.
12846 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12847
91cbd0bc
AM
128482014-01-20 Allan McRae <allan@archlinux.org>
12849
12850 * po/ca.po: Update Catalan translation from translation project.
12851
7a02cfad
MF
128522014-01-16 Mike Frysinger <vapier@gentoo.org>
12853
12854 * sysdeps/s390/sotruss-lib.c: New file.
12855
736c304a
AZ
128562014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12857
12858 [BZ#16430]
6e077ee5 12859 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12860 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12861 local calls issues by not having a PLT stub required for IFUNC calls.
12862 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12863
94d0cea0
JM
128642014-01-16 Joseph Myers <joseph@codesourcery.com>
12865
12866 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12867 * math/test-fpucw-static.c: Likewise.
12868
980cb518
SP
128692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12870
12871 [BZ #16453]
12872 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12873
2393fc01
AZ
128742014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12875
12876 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12877 implementation for powerpc.
12878
d359bcc2
OB
128792014-01-15 Ondřej Bílka <neleai@seznam.cz>
12880
12881 [BZ #14782]
12882 * sysdeps/posix/system.c (__libc_system): Do not enable
12883 asynchronous cancellation.
12884
7beb48cb
AK
128852014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12886
12887 [BZ #16427]
12888 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12889 handling only for numbers special also in the IEEE case.
12890
c20d5bf5
AK
128912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12892
12893 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12894
e83bd4ee
AM
128952014-01-11 Allan McRae <allan@archlinux.org>
12896
76d0ea69
AM
12897 * po/bg.po: Update Bulgarian translation from translation project.
12898
e83bd4ee
AM
12899 * po/de.po: Update German translation from translation project.
12900
bc2ba20a
RM
129012014-01-10 Roland McGrath <roland@hack.frob.com>
12902
12903 * sysdeps/generic/gcc-compat.h: New file.
12904
649ecea2
SP
129052014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 * benchtests/asin-inputs: Correct slow inputs.
12908 * benchtests/acos-inputs: Likewise.
12909
1b19c006
AM
129102014-01-10 Allan McRae <allan@archlinux.org>
12911
a46dab08
AM
12912 * po:sv.po: Update Swedish translation from translation project.
12913
421df74a
AM
12914 * po/vi.po: Update Vietnamese translation from translation project.
12915
d61c51a7
AM
12916 * po/eo.po: Update Esperanto translation from translation project.
12917
0339a319
AM
12918 * po/cs.po: Update Czech translation from translation project.
12919
94ad3e99
AM
12920 * po/nl.po: Update Dutch translation from translation project.
12921
e349ca71
AM
12922 * po/pl.po: Update Polish translation from translation project.
12923
ddf930c1
AM
12924 * po/ru.po: Update Russian translation from translation project.
12925
1b19c006
AM
12926 * po/uk.po: Update Ukrainian translation from translation project.
12927
9f236c49
BM
129282014-01-08 Brooks Moses <bmoses@google.com>
12929
12930 * elf/dl-load.c: Fix comment typo.
12931
cd6701cf
CD
129322014-01-08 Carlos O'Donell <carlos@redhat.com>
12933
12934 * po/header.pot: Rename to...
12935 * po/pot.header: ... this.
12936 * po/Makefile: Use pot.header.
12937
66671c84
YK
129382014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12939 Maxim Kuvyrkov <maxim@kugelworks.com>
12940
12941 [BZ #16394]
cd6701cf
CD
12942 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12943 SRC and DEST against LEN.
66671c84 12944
38f34581
AZ
129452014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12946
12947 [BZ #16414]
12948 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12949 implementation.
12950 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12951
129522014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12953
12954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12955
4c327f2a
JM
129562014-01-08 Joseph Myers <joseph@codesourcery.com>
12957
12958 [BZ #16408]
12959 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12960 for large positive arguments.
12961
b821f414
JM
129622014-01-07 Joseph Myers <joseph@codesourcery.com>
12963
1f0f2067
JM
12964 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12965
a5a326f6
JM
12966 * math/auto-libm-test-in: Mark various tests with
12967 xfail-rounding:ldbl-128ibm.
12968 * math/auto-libm-test-out: Regenerated.
12969
b821f414
JM
12970 [BZ #16407]
12971 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12972 Increase overflow threshold.
12973
94c8a4bc
OB
129742014-01-07 Ondřej Bílka <neleai@seznam.cz>
12975
12976 [BZ #14286]
12977 * stdio-common/vfprintf.c: Check for integer overflow.
12978
87ded0c3
AK
129792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12980
12981 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12982 the first argument and return value of __tls_get_addr_internal.
12983
c5eebdd0
AK
129842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12985
12986 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12987 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12988
05d138ef
AK
129892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12990
12991 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12992 * sysdeps/s390/rtld-global-offsets.sym: New file.
12993 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12994 GLIBC_2.19 symbol.
12995 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12996 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12997 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12998 ... this.
12999 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13000 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13001 ... this.
13002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13003 Regenerate.
13004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13005 Regenerate.
13006 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13007 halfs of GPRs for high_gprs contexts.
13008 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13009 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13010 field.
13011 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13012 uc_flags field.
13013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13014 64 bit versions:
13015 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13016 for high GPRs (uc_high_gprs) and for future extensions
13017 (__reserved).
13018 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13019 for future extensions (__reserved).
13020 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13021 64 bit versions:
13022 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13023 SC_HIGHGPRS offset definition.
13024 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13025 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13026
93a45ff1
AK
13027 * Versions.def: Add GLIBC_2.19 for libpthread.
13028 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13029 siglongjmp for libpthread with GLIBC_2.19 symver.
13030 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13031 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13032 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13033 * sysdeps/s390/__longjmp.c: New file.
13034 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13035 * sysdeps/s390/longjmp.c: New file.
13036 * sysdeps/s390/setjmp.S: New file.
13037 * sysdeps/s390/sigjmp.S: New file.
13038 * sysdeps/s390/v1-longjmp.c: New file.
13039 * sysdeps/s390/v1-setjmp.h: New file.
13040 * sysdeps/s390/v1-sigjmp.c: New file.
13041 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13042 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13043 GLIBC_2.19 version.
13044 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13045 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13046 versioned symbols for ____longjmp_chk.
13047 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13048 Likewise.
13049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13050 Regenerate.
13051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13052 Regenerate.
13053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13054 Regenerate.
13055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13056 Regenerate.
13057 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13058 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13059 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13060 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13061 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13062 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13063 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13064 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13065 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13066 * sysdeps/s390/rtld-__longjmp.c: New file.
13067 * sysdeps/s390/rtld-setjmp.S: New file.
13068
eb3fc44b
JM
130692014-01-06 Joseph Myers <joseph@codesourcery.com>
13070
13071 [BZ #16400]
13072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13073 Return -__logl (x) for small positive arguments without evaluating
13074 a polynomial.
13075
9341dde4
MF
130762014-01-06 Mike Frysinger <vapier@gentoo.org>
13077
13078 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13079 Rename to ...
13080 (__ptrace_peeksiginfo_args): ... this.
13081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13084
4cff0293
AM
130852014-01-06 Allan McRae <allan@archlinux.org>
13086
13087 * inet/netinet/in.h: Fix typo in comment.
13088
75595dcf
AJ
130892014-01-05 Andreas Jaeger <aj@suse.de>
13090
13091 * sysdeps/i386/fpu/libm-test-ulps: Update.
13092
79c1e109
AM
130932014-01-05 Allan McRae <allan@archlinux.org>
13094
dd804818
AM
13095 * po/libc.pot: Regenerated.
13096
79c1e109
AM
13097 * malloc/memusagestat.c: Fix gettext call formatting.
13098
0c813d1f
SK
130992014-01-04 Sami Kerola <kerolasa@iki.fi>
13100
13101 * nscd/nscd.c: Improve usage() output.
13102
20f4a8d9
MF
131032014-01-04 Mike Frysinger <vapier@gentoo.org>
13104
13105 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13106 * sysdeps/unix/sysv/linux/configure: Regenerated.
13107 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13108 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13109
22562bb2
JM
131102014-01-03 Joseph Myers <joseph@codesourcery.com>
13111
13112 [BZ #16390]
13113 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13114 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13115
d7ad2d9b
AZ
131162014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13117
13118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13119 extra tokens at end of #undef directive.
13120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13121 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13123
7dd009d8
JM
131242014-01-03 Joseph Myers <joseph@codesourcery.com>
13125
24db925a
JM
13126 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13127
7dd009d8
JM
13128 * math/auto-libm-test-in: Mark various tests with
13129 xfail-rounding:ldbl-128ibm.
13130 * math/auto-libm-test-out: Regenerated.
13131
396e3ecf
JM
131322014-01-02 Joseph Myers <joseph@codesourcery.com>
13133
819e5d50
JM
13134 [BZ #16386]
13135 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13136 numbers with subnormal high part when calculating exponent.
13137
90b6a1e5
JM
13138 [BZ #16385]
13139 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13140 fabs.
13141
396e3ecf
JM
13142 [BZ #16384]
13143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13144 M_LN2l.
13145 (__ieee754_acoshl): Use __log1pl not __log1p.
13146
6c8dbf00
OB
131472013-01-02 Ondřej Bílka <neleai@seznam.cz>
13148
57f41c40
AS
13149 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13150 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13151 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13152 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13153 (reused_arena, arena_get2): Convert to GNU style.
13154 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13155 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13156 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13157 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13158 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13159 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13160 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13161 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13162 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13163 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13164 * malloc/malloc.h: Likewise.
57f41c40
AS
13165 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13166 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13167 * malloc/mcheck.h: Likewise.
57f41c40
AS
13168 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13169 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13170 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13171 * malloc/morecore.c (__default_morecore): Likewise.
13172 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13173 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13174 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13175 (print_and_abort): Likewise.
6c8dbf00
OB
13176 * malloc/obstack.h: Likewise.
13177 * malloc/set-freeres.c (__libc_freeres): Likewise.
13178 * malloc/tst-mallocstate.c (main): Likewise.
13179 * malloc/tst-mtrace.c (main): Likewise.
13180 * malloc/tst-realloc.c (do_test): Likewise.
13181
d4124212
SP
131822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13183
9a3c6a6f
SP
13184 [BZ #16366]
13185 * nscd/netgroupcache.c (do_notfound): New function.
13186 (addgetnetgrentX): Use it.
13187
d4124212
SP
13188 [BZ # 16365]
13189 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13190 NSS_STATUS_NOTFOUND.
13191
97b9a009
JM
131922014-01-01 Joseph Myers <joseph@codesourcery.com>
13193
13194 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13196
d4697bc9
AM
131972014-01-01 Allan McRae <allan@archlinux.org>
13198
ddb3687f
AM
13199 * scripts/update-copyrights: Update configure input file suffix.
13200
88726d48
AM
13201 * NEWS: Update copyright year.
13202 * catgets/gencat.c: Likewise.
13203 * csu/version.c: Likewise.
13204 * debug/catchsegv.sh: Likewise.
13205 * debug/pcprofiledump.c: Likewise.
13206 * debug/xtrace.sh: Likewise.
13207 * elf/ldconfig.c: Likewise.
13208 * elf/ldd.bash.in: Likewise.
13209 * elf/pldd.c: Likewise.
13210 * elf/sotruss.ksh: Likewise.
13211 * elf/sprof.c: Likewise.
13212 * iconv/iconv_prog.c: Likewise.
13213 * iconv/iconvconfig.c: Likewise.
13214 * locale/programs/locale.c: Likewise.
13215 * locale/programs/localedef.c: Likewise.
13216 * login/programs/pt_chown.c: Likewise.
13217 * malloc/memusage.sh: Likewise.
13218 * malloc/memusagestat.c: Likewise.
13219 * malloc/mtrace.pl: Likewise.
13220 * manual/libc.texinfo: Likewise.
13221 * nscd/nscd.c: Likewise.
13222 * nss/getent.c: Likewise.
13223 * nss/makedb.c: Likewise.
13224 * posix/getconf.c: Likewise.
13225 * scripts/test-installation.pl: Likewise.
13226
d4697bc9
AM
13227 * All files with FSF copyright notices: Update copyright dates
13228 using scripts/update-copyrights.
13229 * intl/plural.c: Regenerated.
13230 * locale/programs/charmap-kw.h: Likewise.
13231 * locale/programs/locfile-kw.h: Likewise.
13232
c8590f9d
MF
132332013-12-31 Mike Frysinger <vapier@gentoo.org>
13234
13235 * sysdeps/unix/sysv/linux/configure: Regenerated.
13236 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13237 the linux/fanotify.h header.
13238 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13239 HAVE_LINUX_FANOTIFY_H is defined.
13240
b19221b9
SP
132412013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13242
dd1d85e5
SP
13243 * benchtests/cos-inputs: New inputs.
13244 * benchtests/sin-inputs: Likewise.
13245
1acbb90f
SP
13246 * benchtests/atan-inputs: New inputs. Fix name of multiple
13247 precision fallback inputs.
13248
4c012ed3
SP
13249 * benchtests/atanh-inputs: New inputs.
13250 * benchtests/tanh-inputs: Likewise.
13251
eff98324
SP
13252 * benchtests/acosh-inputs: New inputs.
13253 * benchtests/asinh-inputs: Likewise.
13254
ce641152
SP
13255 * benchtests/cosh-inputs: New inputs.
13256 * benchtests/sinh-inputs: Likewise.
13257
b19221b9
SP
13258 * benchtests/acos-inputs: Add more inputs.
13259 * benchtests/asin-inputs: Likewise.
13260
030a4976 132612013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13262
030a4976 13263 [BZ #16375]
9dcc8f11
VS
13264 * manual/arith.texi: Fix spelling.
13265 * manual/charset.texi: Likewise.
13266 * manual/errno.texi: Likewise.
13267 * manual/filesys.texi: Likewise.
13268 * manual/lang.texi: Likewise.
13269 * manual/llio.texi: Likewise.
13270 * manual/locale.texi: Likewise.
13271 * manual/message.texi: Likewise.
13272 * manual/resource.texi: Likewise.
13273 * manual/search.texi: Likewise.
13274 * manual/setjmp.texi: Likewise.
13275 * manual/stdio.texi: Likewise.
13276 * manual/string.texi: Likewise.
13277 * manual/sysinfo.texi: Likewise.
13278 * manual/time.texi: Likewise.
13279
11520a57
CD
132802013-12-27 Carlos O'Donell <carlos@redhat.com>
13281
13282 * po/sl.po: New file.
13283
471103ae
MF
132842013-12-27 Mike Frysinger <vapier@gentoo.org>
13285
13286 * .gitignore: Add core/.gdbinit/.gdb_history.
13287
6c9642ed
AM
132882013-12-27 Allan McRae <allan@archlinux.org>
13289
13290 [BZ #16369]
13291 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13292 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13293
3f637079
BM
132942013-12-24 Brooks Moses <bmoses@google.com>
13295
13296 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13297 all compilers that claim C++98 compliance, not just GCC.
13298 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13299 Likewise.
13300
abc26e99
MK
133012013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13302
13303 * NEWS: Restore accidentally deleted bug-fix entries.
13304
362b47fe
MK
133052013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13306 Ondřej Bílka <neleai@seznam.cz>
13307
13308 [BZ #15073]
13309 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13310 have_lock.
362b47fe 13311
b9bcbbcb
OB
133122013-12-23 Ondřej Bílka <neleai@seznam.cz>
13313
13314 [BZ #12986]
13315 * manual/stdio.texi (String Input Conversions): Clarify that character
13316 classes are not supported.
13317
fb55fcd2
AZ
133182013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319
13320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13321
ef7344f0
JM
133222013-12-22 Joseph Myers <joseph@codesourcery.com>
13323
4f40e4b3
JM
13324 [BZ #16337]
13325 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13326 Calculate results for small negative arguments directly rather
13327 than using reflection formula with special underflow handling.
13328
ef7344f0
JM
13329 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13330 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13331 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13332 (fchflags): Likewise.
13333 (revoke): Likewise.
13334 (setlogin): Likewise.
13335 (sigaltstack): Likewise.
13336 (wait4): Likewise.
13337 (sigblock): Remove.
13338 (sigsetmask): Likewise.
13339 (wait3): Likewise.
13340 (waitpid): Likewise.
13341 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13342 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13343 file.
13344 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13345 * sysdeps/unix/bsd/Makefile: ... here.
13346 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13347 * sysdeps/unix/bsd/Versions: ... here.
13348 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13349 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13350 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13351 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13352 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13353 * sysdeps/unix/bsd/sigblock.c: ... here.
13354 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13355 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13356 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13357 * sysdeps/unix/bsd/sigvec.c: ... here.
13358 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13359 * sysdeps/unix/bsd/tcdrain.c: ... here.
13360 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13361 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13362 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13363 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13364 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13365 * sysdeps/unix/bsd/wait.c: ... here.
13366 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13367 * sysdeps/unix/bsd/wait3.c: ... here.
13368 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13369 * sysdeps/unix/bsd/waitpid.c: ... here.
13370
5b0626b9
JM
133712013-12-21 Joseph Myers <joseph@codesourcery.com>
13372
13373 [BZ #16356]
13374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13375 round-to-nearest for [!USE_AS_EXPM1L].
13376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13377 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13378 more tests of exp and exp10. Expect some exp10 tests to miss
13379 exceptions or fail in directed rounding modes.
13380 * math/auto-libm-test-out: Regenerated.
13381 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13382 (exp10_test_tonearest): New function.
13383 (exp10_towardzero_test_data): New array.
13384 (exp10_test_towardzero): New function.
13385 (exp10_downward_test_data): New array.
13386 (exp10_test_downward): New function.
13387 (exp10_upward_test_data): New array.
13388 (exp10_test_upward): New function.
13389 (main): Call the new functions.
13390 * sysdeps/i386/fpu/libm-test-ulps: Update.
13391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13392
7fda5682
JM
133932013-12-20 Joseph Myers <joseph@codesourcery.com>
13394
31e3a405
JM
13395 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13396 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13397 * math/auto-libm-test-out: Regenerated.
13398 * math/libm-test.inc (acosh_test_data): Add more tests.
13399 (atanh_test_data): Likewise.
13400 (ceil_test_data): Likewise.
13401 (copysign_test_data): Likewise.
13402 * sysdeps/i386/fpu/libm-test-ulps: Update.
13403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404
85bff96a
JM
13405 * timezone/checktab.awk: Update from tzcode 2013i.
13406 * timezone/private.h: Likewise.
13407 * timezone/scheck.c: Likewise.
13408 * timezone/tzfile.h: Likewise.
13409 * timezone/tzselect.ksh: Likewise.
13410 * timezone/zdump.c: Likewise.
13411 * timezone/zic.c: Likewise.
13412
b7867a3b
JM
13413 * math/auto-libm-test-in: Add tests of cpow.
13414 * math/auto-libm-test-out: Regenerated.
13415 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13417 mpc_cc_c.
13418 (func_calc_desc): Add mpc_cc_c union field.
13419 (test_functions): Add cpow.
13420 (special_fill_2pi): New function.
13421 (special_real_inputs): Add 2pi.
13422 (calc_generic_results): Handle mpc_cc_c.
13423 * sysdeps/i386/fpu/libm-test-ulps: Update.
13424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13425
7fda5682
JM
13426 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13427 csqrt, ctan and ctanh.
13428 * math/auto-libm-test-out: Regenerated.
13429 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13430 (TEST_COND_x86): Likewise.
13431 (ccos_test_data): Use AUTO_TESTS_c_c.
13432 (ccosh_test_data): Likewise.
13433 (cexp_test_data): Likewise.
13434 (clog_test_data): Likewise.
13435 (csqrt_test_data): Likewise.
13436 (ctan_test_data): Likewise.
13437 (ctan_tonearest_test_data): Likewise.
13438 (ctan_towardzero_test_data): Likewise.
13439 (ctan_downward_test_data): Likewise.
13440 (ctan_upward_test_data): Likewise.
13441 (ctanh_test_data): Likewise.
13442 (ctanh_tonearest_test_data): Likewise.
13443 (ctanh_towardzero_test_data): Likewise.
13444 (ctanh_downward_test_data): Likewise.
13445 (ctanh_upward_test_data): Likewise.
13446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13447 mpc_c_c.
13448 (func_calc_desc): Add mpc_c_c union field.
13449 (FUNC_mpc_c_c): New macro.
13450 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13451 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13452 ctanh.
13453 (special_fill_min_subnorm_p120): New function.
13454 (special_real_inputs): Add min_subnorm_p120.
13455 (calc_generic_results): Handle mpc_c_c.
13456 * sysdeps/i386/fpu/libm-test-ulps: Update.
13457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13458
5ff8d60e
SP
134592013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13460
57f41c40
AS
13461 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13462 (do_sin_slow): New functions.
13463 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13464 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13465
84ba214c
SP
13466 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13467 Use M to change sign of result instead of X. Assume X is
13468 positive.
13469 (csloww1): Likewise.
13470 (__sin): Adjust.
13471 (__cos): Adjust.
13472
975195e4
SP
13473 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13474 arguments A and DA.
13475 (__sin): Adjust.
13476 (__cos): Likewise.
13477
5ff8d60e
SP
13478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13479 (__cos): Likewise.
13480 (sloww1): Don't adjust sign of DX.
13481 (csloww1): Likewise.
13482 (sloww2): Use X directly and don't adjust sign of DX.
13483 (csloww2): Likewise.
13484
eb983568
JM
134852013-12-19 Joseph Myers <joseph@codesourcery.com>
13486
64a17f1a
JM
13487 * math/auto-libm-test-in: Add tests of cabs and carg.
13488 * math/auto-libm-test-out: Regenerated.
13489 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13490 (carg_test_data): Likewise.
13491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13492 mpc_c_f.
13493 (func_calc_desc): Add mpc_c_f union field.
13494 (test_functions): Add cabs and carg.
13495 (calc_generic_results): Handle mpc_c_f.
13496
eb983568
JM
13497 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13498 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13499 as a macro and a compat symbol.
13500 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13501 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13502 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13503 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13504 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13505 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13506 not use .hidden.
13507 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13508 Likewise.
13509 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13510 Likewise.
13511 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13512 Likewise.
13513 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13514 Likewise.
13515 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13516 Likewise.
13517 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13518 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13519 from GLIBC_2.3.2.
13520
6eeb678a
AZ
135212013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13522
13523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13524
6f6fc482
JM
135252013-12-19 Joseph Myers <joseph@codesourcery.com>
13526
21fea2e2
JM
13527 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13528 trailing whitespace removed.
13529 * scripts/config.guess: Update to version 2013-11-29.
13530 * scripts/config.sub: Update to version 2013-10-01.
13531
6f6fc482
JM
13532 * math/auto-libm-test-in: Add tests of sincos.
13533 * math/auto-libm-test-out: Regenerated.
13534 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13536 mpfr_f_11.
13537 (func_calc_desc): Add mpfr_f_11 union field.
13538 (test_functions): Add sincos.
13539 (calc_generic_results): Handle mpfr_f_11.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542
83f5c32d
AS
135432013-12-19 Andreas Schwab <schwab@suse.de>
13544
13545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13546 CALL_MCOUNT.
13547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13548 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13549 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13550
c688b419
JM
135512013-12-19 Joseph Myers <joseph@codesourcery.com>
13552
335ee092
JM
13553 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13554 * sysdeps/i386/fpu/libm-test-ulps: Update.
13555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13556
f88acd39
JM
13557 [BZ #16293]
13558 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13559 round-to-nearest mode when using frndint.
13560 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13561 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13562 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13563 Likewise.
13564 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13565 sinh test to fail.
13566 * math/auto-libm-test-out: Regenerated.
13567 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13568 (TEST_COND_x86): Likewise.
13569 (expm1_tonearest_test_data): New array.
13570 (expm1_test_tonearest): New function.
13571 (expm1_towardzero_test_data): New array.
13572 (expm1_test_towardzero): New function.
13573 (expm1_downward_test_data): New array.
13574 (expm1_test_downward): New function.
13575 (expm1_upward_test_data): New array.
13576 (expm1_test_upward): New function.
13577 (main): Run the new test functions.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13580
c688b419
JM
13581 * include/features.h: Update comment documenting feature test
13582 macros. Mention _DEFAULT_SOURCE in comment.
13583 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13584 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13585 _BSD_SOURCE and _SVID_SOURCE.
13586 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13587 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13588 !_SVID_SOURCE]: Likewise.
13589 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13590 (__USE_POSIX_IMPLICITLY): Define.
13591 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13592 (_POSIX_SOURCE): Undefine and redefine.
13593 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13594 (_POSIX_C_SOURCE): Likewise.
13595 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13596 (Feature Test Macros): Update documentation of default features.
13597
9f6e964c
RS
135982013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13599
13600 * benchtests/Makefile: Add bench-strtok.
13601 * benchtests/bench-strtok.c: New file: strtok benchtest.
13602
ee0a148a
AM
136032013-12-19 Allan McRae <allan@archlinux.org>
13604
13605 * manual/install.texi: Suppress menu for plain text output.
13606 * INSTALL: Regenerated.
13607
b9ab448f
BM
136082013-12-18 Brooks Moses <bmoses@google.com>
13609
13610 [BZ #15846]
13611 * misc/getauxval.c: Include errno.h.
13612 (__getauxval): Set errno to ENOENT if the requested type is not
13613 found.
13614 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13615 don't declare with __attribute_const__.
13616 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13617 * manual/startup.texi: Document that getauxval sets errno.
13618
23776487
JM
136192013-12-18 Joseph Myers <joseph@codesourcery.com>
13620
f889953b
JM
13621 * math/auto-libm-test-in: Add tests of jn and yn.
13622 * math/auto-libm-test-out: Regenerated.
13623 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13624 (yn_test_data): Likewise.
13625 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13626 mpfr_if_f.
13627 (func_calc_desc): Add mpfr_if_f union field.
13628 (FUNC_mpfr_if_f): New macro.
13629 (test_functions): Add jn and yn.
13630 (calc_generic_results): Assert type of second input for
13631 mpfr_ff_f. Handle mpfr_if_f.
13632 (output_for_one_input_case): Disable all checking for arguments
13633 fitting floating-point types in case of an integer argument.
13634 * sysdeps/i386/fpu/libm-test-ulps: Update.
13635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13636
23776487
JM
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13638 Don't expect fegetround reference in libm.so.
13639
cb756c6d
MS
136402013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13641
13642 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13643 $(config-cflags-nofma).
13644
2dec468f
JM
136452013-12-18 Joseph Myers <joseph@codesourcery.com>
13646
5953eb3a
JM
13647 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13648 * math/auto-libm-test-out: Regenerated.
13649
2dec468f
JM
13650 [BZ #16338]
13651 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13652 to determine exponent and adjust argument to have exponent of -1.
13653 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13654 log2.
13655 * math/auto-libm-test-out: Regenerated.
13656 * sysdeps/i386/fpu/libm-test-ulps: Update.
13657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13658
4d84e6ad
OB
136592013-12-18 Ondřej Bílka <neleai@seznam.cz>
13660
13661 * manual/probes.texi: Remove cases when per-thread arenas are
13662 disabled.
13663
1818483b
AS
136642013-12-18 Andreas Schwab <schwab@suse.de>
13665
13666 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13667 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13668 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13669 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13670 * sysdeps/i386/i686/multiarch/Makefile: Update.
13671 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13672
25de95bf
JM
136732013-12-17 Joseph Myers <joseph@codesourcery.com>
13674
13675 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13676 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13677
674762d9
PE
136782013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13679
ed27ed83 13680 [BZ #15968]
0748546f
PE
13681 Support TZ transition times < 00:00:00.
13682 This is needed for version-3 tz-format files; it supports time
13683 stamps past 2037 for America/Godthab (the only entry in the tz
13684 database for which this change is relevant).
13685 * manual/time.texi (TZ Variable): Document transition times
13686 from -167:59:59 through -00:00:01.
13687 * time/tzset.c (tz_rule): Time of day is now signed.
13688 (__tzset_parse_tz): Parse negative time of day.
13689
4480e934
PE
13690 Document TZ transition times >= 25:00:00.
13691 * manual/time.texi (TZ Variable): Document transition times from
13692 25:00:00 through 167:59:59. These are already supported, and this
13693 support will help with version-3 tz-format files.
13694
69947401
PE
13695 * manual/time.texi (TZ Variable): Modernize North America example
13696 to reflect current (i.e., 2007-and-later) daylight saving rules.
13697
674762d9
PE
13698 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13699
7011c262
JM
137002013-12-17 Joseph Myers <joseph@codesourcery.com>
13701
2fc6557e
JM
13702 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13703 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13706 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13707 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13708 * sysdeps/unix/bsd/clock.c: Likewise.
13709 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13710 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13711 * sysdeps/unix/bsd/init-posix.c: Likewise.
13712 * sysdeps/unix/bsd/poll.c: Likewise.
13713 * sysdeps/unix/bsd/ptsname.c: Likewise.
13714 * sysdeps/unix/bsd/seekdir.c: Likewise.
13715 * sysdeps/unix/bsd/setegid.c: Likewise.
13716 * sysdeps/unix/bsd/seteuid.c: Likewise.
13717 * sysdeps/unix/bsd/setgid.c: Likewise.
13718 * sysdeps/unix/bsd/setrgid.c: Likewise.
13719 * sysdeps/unix/bsd/setruid.c: Likewise.
13720 * sysdeps/unix/bsd/setsid.c: Likewise.
13721 * sysdeps/unix/bsd/setuid.c: Likewise.
13722 * sysdeps/unix/bsd/sigaction.c: Likewise.
13723 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13724 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13725 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13726 * sysdeps/unix/bsd/telldir.c: Likewise.
13727 * sysdeps/unix/bsd/times.c: Likewise.
13728 * sysdeps/unix/bsd/usleep.c: Likewise.
13729
029c7b25
JM
13730 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13731 ($(objpfx)libbsd-compat.a): Remove rule.
13732
7011c262
JM
13733 * include/features.h (__FAVOR_BSD): Do not define.
13734 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13735 features conflicting with POSIX.
13736 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13737 (_BSD_SOURCE): Remove description of not being a subset of other
13738 feature test macros.
13739 * manual/job.texi (getpgrp): Do not document BSD version.
13740 (getpgid): Do not document by reference to BSD getpgrp.
13741 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13742 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13743 * signal/signal.h [__FAVOR_BSD]: Likewise.
13744 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13745 instead of making contents conditional on [__FAVOR_BSD].
13746 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13747
affb6f78
AZ
137482013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13749
13750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13751
c88769dd
JM
137522013-12-17 Joseph Myers <joseph@codesourcery.com>
13753
6432a540
JM
13754 [BZ #16314]
13755 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13756 values below 2**-450, not 2**-500.
13757 * math/auto-libm-test-in: Don't allow spurious underflow from
13758 hypot.
13759 * math/auto-libm-test-out: Regenerated.
13760
c88769dd
JM
13761 [BZ #16316]
13762 [BZ #16330]
13763 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13764 values of ha and hb and sort them after adjusting subnormal
13765 arguments.
13766 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13767 Likewise.
13768 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13769 values of ea and eb and sort them after adjusting subnormal
13770 arguments.
13771 * math/auto-libm-test-in: Do not expect some hypot tests of
13772 subnormals to fail. Add more hypot tests.
13773 * math/auto-libm-test-out: Regenerated.
13774
29618f6b
KK
137752013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13776
13777 [BZ #13304]
13778 * sysdeps/sh/s_fma.c: New file.
13779 * sysdeps/sh/s_fmaf.c: New file.
13780 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13781 version.
13782 * sysdeps/sh/Implies: Add sh/soft-fp.
13783
eacfdfbf
RM
137842013-12-16 Roland McGrath <roland@hack.frob.com>
13785
13786 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13787 level of indirection to members `objname', `errstring', `malloced'.
13788 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13789 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13790 it as the __longjmp argument (just pass 1 instead).
13791 (_dl_catch_error): Initialize C with argument pointers and address of
13792 volatile local ERRCODE rather than copying values out of C at return.
13793
ff362e5b
JM
137942013-12-16 Joseph Myers <joseph@codesourcery.com>
13795
13796 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13797 * math/auto-libm-test-out: Regenerated.
13798 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13799 (hypot_test_data): Likewise.
13800 (pow_test_data): Likewise.
13801 (pow_tonearest_test_data): Likewise.
13802 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13803 mpfr_ff_f.
13804 (func_calc_desc): Add mpfr_ff_f union field.
13805 (FUNC_mpfr_ff_f): New macro.
13806 (test_functions): Add atan2, hypot and pow.
13807 (special_fill_min): New function.
13808 (special_fill_minus_min): Likewise.
13809 (special_fill_min_subnorm): Likewise.
13810 (special_fill_minus_min_subnorm): Likewise.
13811 (special_real_inputs): Add min, -min, min_subnorm and
13812 -min_subnorm.
13813 (calc_generic_results): Handle mpfr_ff_f.
13814 * sysdeps/i386/fpu/libm-test-ulps: Update.
13815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13816
5764c27f
WN
138172013-12-16 Will Newton <will.newton@linaro.org>
13818
13819 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13820 (Aligned Memory Blocks): Add documentation for aligned_alloc
13821 and suggest it as an alternative to posix_memalign.
13822 (Hooks for Malloc): Document __memalign_hook is also called
13823 for aligned_alloc. (Summary of Malloc): Add summary for
13824 aligned alloc. Document __memalign_hook is also called
13825 for aligned_alloc.
13826
0a096e44
WN
138272013-12-16 Will Newton <will.newton@linaro.org>
13828
13829 * manual/memory.texi (Malloc Examples): Clarify default
13830 alignment documentation. Suggest posix_memalign rather
13831 than memalign or valloc.
13832 (Aligned Memory Blocks): Remove suggestion to use memalign
13833 or valloc. Remove obsolete comment about BSD.
13834 Document memalign errno values and mark the function obsolete.
13835 Document posix_memalign returned error codes. Mark valloc
13836 as obsolete. (Hooks for Malloc): __memalign_hook is also
13837 called for posix_memalign and valloc.
13838 (Summary of Malloc): Add posix_memalign to function summary.
13839 __memalign_hook is also called for posix_memalign and valloc.
13840
8d561986
SP
138412013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13842
13843 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13844 TAYLOR_SIN.
13845 (__sin): Adjust.
13846 (__cos): Likewise.
13847 (sloww): Use mynumber union. Expand ternary operator into
13848 if-else statements.
13849 (cslow): use mynumber union.
13850
73616a74
AM
138512013-12-16 Allan McRae <allan@archlinux.org>
13852
9e8ac24b
AM
13853 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13854 * configure: Regenerated.
13855
6f8e37eb
AM
13856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13857
8894bad3
AM
13858 [BZ #14120]
13859 * configure.ac: Added --enable-maintainer-mode. Check for
13860 autoconf when enabled.
13861 * configure: Regenerated.
13862
73616a74
AM
13863 * nscd/nscd.service: New file.
13864 * nscd/nscd.tmpfiles: New file.
13865
584b18eb
OB
138662013-12-14 Ondřej Bílka <neleai@seznam.cz>
13867
13868 [BZ #12100]
13869 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13870 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13871 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13872 (strstr): Add __strstr_sse2_unaligned ifunc.
13873 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13874 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13875 (strcasestr): Remove __strcasestr_sse42 ifunc.
13876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13879
8a5c7897
KK
138802013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13881
13882 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13883 * sysdeps/sh/bits/fenv.h: ... here.
13884 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13885
fd712ef3
AZ
138862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13887
13888 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13889
42fcb46c
AZ
13890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13891 hypotf multiarch implementations.
13892 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13893 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13894 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13895 multiarch hypot for PPC64.
13896 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13899 multiarch hypotf for PPC64.
13900
83efded4
AZ
13901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13902 modff multiarch implementations.
13903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13906 multiarch modf for PPC64.
13907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13910 multiarch modff for PPC64.
13911
43e246d2
AZ
13912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13913 and logl multiarch implementations.
13914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13917 multiarch logb for PPC64.
13918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13921 multiarch logb for PPC64.
13922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13925 multiarch logb for PPC64.
13926
8fdad123
AZ
13927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13928 isinff multiarch implementation.
13929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13930 file.
13931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13933 multiarch isinf for PPC64.
13934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13935 file.
13936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13937 multiarch isinff for PPC64.
13938
1481d706
AZ
13939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13940 finitef multiarch implementation.
13941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13942 file.
13943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13945 multiarch finite for PPC64.
13946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13947 file.
13948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13949 multiarch finitef for PPC64.
13950
5ccd5fc8
AZ
13951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13952 lrint multiarch implementation.
13953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13954 file.
13955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13957 multiarch llrint for PPC64.
13958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13959 multiarch lrint for PPC64.
13960
2568f3fa
AZ
13961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13962 copysignf multiarch implementation.
13963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13964 file.
13965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13966 file.
13967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13968 multiarch copysign for PPC64.
13969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13970 multiarch copysignf for PPC64.
13971
1cb341fd
AZ
13972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13973 multiarch implementation.
13974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13975 file.
13976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13977 file.
13978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13979 file.
13980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13981 file.
13982 multiarch llround for PPC64.
13983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13984 multiarch trunc for PPC64.
13985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13986 multiarch truncf for PPC64.
13987
59a3e194
AZ
13988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13989 multiarch implementation.
13990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13991 file.
13992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13993 file.
13994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13995 file.
13996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13997 file.
13998 multiarch llround for PPC64.
13999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14000 multiarch round for PPC64.
14001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14002 multiarch roundf for PPC64.
14003
357fd3b4
AZ
14004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14005 multiarch implementation.
14006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14007 file.
14008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14009 file.
14010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14011 file.
14012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14013 file.
14014 multiarch llround for PPC64.
14015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14016 multiarch floor for PPC64.
14017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14018 multiarch floorf for PPC64.
14019
96770f12
AZ
14020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14021 multiarch implementation.
14022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14023 file.
14024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14025 file.
14026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14027 file.
14028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14029 file.
14030 multiarch llround for PPC64.
14031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14032 multiarch ceil for PPC64.
14033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14034 multiarch ceilf for PPC64.
14035
c3627f6e
AZ
14036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14037 multiarch implementation.
14038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14039 file.
14040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14041 file.
14042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14043 file.
14044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14045 multiarch llround for PPC64.
14046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14047 multiarch lround for PPC64.
14048
b2284ad7
AZ
14049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14050 multiarch implementation.
14051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14054 file.
14055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14058 multiarch isnan for PPC64.
14059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14060 multiarch isnanf for PPC64.
14061
69bbc63d
AZ
14062 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14063 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14064 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14065 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14066 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14068
c24517c9
AZ
14069 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14070 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14071 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14073
a52374e8
AZ
14074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14075 multiarch implementations.
14076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14077 (__libc_ifunc_impl_list): Likewise.
14078 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14079 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14081 multiarch stpcpy for PPC64.
14082
7f5ec113
AZ
14083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14084 multiarch implementations.
14085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14086 (__libc_ifunc_impl_list): Likewise.
14087 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14088 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14089 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14090 multiarch strcpy for PPC64.
14091
e28bcd42
AZ
14092 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14093 redefine function name.
14094 (_wordcopy_fwd_dest_aligned): Likewise.
14095 (_wordcopy_bwd_aligned): Likewise.
14096 (_wordcopy_bwd_dest_aligned): Likewise.
14097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14098 multiarch implementations.
14099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14100 (__libc_ifunc_impl_list): Likewise.
14101 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14102 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14103 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14104 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14105 multiarch wcscpy for PPC64.
14106
92cacfce
AZ
14107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14108 multiarch implementations.
14109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14110 (__libc_ifunc_impl_list): Likewise.
14111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14113 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14114 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14115 multiarch wcscpy for PPC64.
14116
7b714620
AZ
14117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14118 multiarch implementations.
14119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14120 (__libc_ifunc_impl_list): Likewise.
14121 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14122 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14123 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14124 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14125 multiarch wcsrchr for PPC64.
14126
16fd2ae3
AZ
14127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14128 multiarch implementations.
14129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14130 (__libc_ifunc_impl_list): Likewise.
14131 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14132 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14133 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14134 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14135 multiarch wcschr for PPC64.
14136
9ee2969b
AZ
14137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14138 multiarch implementations.
14139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14140 (__libc_ifunc_impl_list): Likewise.
14141 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14142 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14143 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14144 multiarch strchrnul for PPC64.
14145
372dc060
AZ
14146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14147 implementations.
14148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14149 (__libc_ifunc_impl_list): Likewise.
14150 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14151 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14152 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14153 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14154 strchr for PPC64.
14155
24c2c3b9
AZ
14156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14157 implementations.
14158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14159 (__libc_ifunc_impl_list): Likewise.
14160 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14161 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14162 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14163 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14164 strncmp for PPC64.
14165
1c92d9a0
AZ
14166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14167 multiarch implementations.
14168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14169 (__libc_ifunc_impl_list): Likewise.
14170 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14171 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14172 strncasecmp for PPC64.
14173 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14174 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14175 multiarch strncasecmp_l for PPC64.
14176
17de3ee3
AZ
14177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14178 multiarch implementations.
14179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14180 (__libc_ifunc_impl_list): Likewise.
14181 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14182 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14183 multiarch strcasecmp for PPC64.
14184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14185 file.
14186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14187 multiarch strcasecmp_l for PPC64.
14188
62982bf9
AZ
14189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14190 implementations.
14191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14192 (__libc_ifunc_impl_list): Likewise.
14193 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14194 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14195 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14196 strnlen for PPC64.
14197
a65f4904
AZ
14198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14199 implementations.
14200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14201 (__libc_ifunc_impl_list): Likewise.
14202 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14203 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14204 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14205 strlen for PPC64.
14206
1fd005ad
AZ
14207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14208 implementations.
14209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14210 (__libc_ifunc_impl_list): Likewise.
14211 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14212 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14213 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14214 rawmemrchr for PPC64.
14215
cd05ba91
AZ
14216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14217 implementation.
14218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14219 (__libc_ifunc_impl_list): Likewise.
14220 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14221 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14222 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14223 memrchr for PPC64.
14224
870f8676
AZ
14225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14226 implementation.
14227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14228 (__libc_ifunc_impl_list): Likewise.
14229 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14230 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14231 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14232 memchr for PPC64.
14233
f00be62b
AZ
14234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14235 implementation.
14236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14237 (__libc_ifunc_impl_list): Likewise.
14238 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14239 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14240 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14241 mempcpy for PPC64.
14242
8a29a3d0
AZ
14243 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14244 avoid cretion of __bzero symbol.
14245 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14246 Likewise.
14247 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14248 Likewise.
14249 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14250 Likewise.
14251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14252 multiarch implementations.
14253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14254 (__libc_ifunc_impl_list): Likewise.
14255 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14256 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14257 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14258 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14259 bzero for PPC32.
14260 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14261 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14262 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14263 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14264 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14265 memset for PPC64.
14266 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14267
07253fcf
AZ
14268 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14270 implementations.
14271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14272 (__libc_ifunc_impl_list): Likewise.
14273 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14274 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14275 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14276 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14277 memcmp for PPC64.
14278
b5beafbc
AZ
14279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14280 multiarch for POWER/PPC64.
14281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14282 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14289 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14290 memcpy for PPC64.
14291
5e6a4d4b
AZ
14292 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14293 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14294 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14296 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14297 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14298 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14299 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14300 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14301 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14302 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14303 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14304 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14305 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14306 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14314
ddfab6dc
KK
143152013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14316
14317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14318
19b5525e
SP
143192013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 * benchtests/Makefile (bench): Add exp2 and log2.
14322 (LDLIBS-bench-exp2): Add -lm.
14323 (LDLIBS-bench-log2): Likewise.
14324 * benchtests/exp2-inputs: New inputs file.
14325 * benchtests/log2-inputs: New inputs file.
14326 * benchtests/log-inputs: Add new inputs.
14327 * benchtests/tan-inputs: Likewise.
14328
196f7f5d
SP
143292013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14330
7a74607f
SP
14331 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14332 definition...
57f41c40
AS
14333 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14334 (csloww2): ... from here.
7a74607f 14335
196f7f5d
SP
14336 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14337 instead of structures.
14338 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14339 (POLYNOMIAL): Likewise.
14340 (TAYLOR_SLOW): Likewise.
14341 (__sin): Likewise.
14342 (__cos): Likewise.
14343 (slow1): Likewise.
14344 (slow2): Likewise.
14345 (sloww): Likewise.
14346 (sloww1); Likewise.
14347 (sloww2): Likewise.
14348 (bsloww1): Likewise.
14349 (bsloww2): Likewise.
14350 (cslow2): Likewise.
14351 (csloww): Likewise.
14352 (csloww1): Likewise.
14353 (csloww2): Likewise.
14354
0dfa665c
OB
143552013-12-10 Ondřej Bílka <neleai@seznam.cz>
14356
14357 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14358 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14359 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14360 * malloc/hooks.c (realloc_check): Likewise.
14361
5782a80f
OB
14362 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14363 * malloc/arena.c: Remove PER_THREAD conditional.
14364 [!PER_THREAD]: Remove code.
14365 (ptmalloc_unlock_all2): Likewise.
14366 (ptmalloc_init): Likewise.
14367 (_int_new_arena): Likewise.
14368 (arena_get2): Likewise.
14369 * malloc/hooks.c (__malloc_get_state): Likewise.
14370 (__malloc_set_state): Likewise.
14371 * malloc/malloc.c: Likewise.
14372 (struct malloc_state): Likewise.
14373 (struct malloc_par): Likewise.
14374 (__libc_realloc): Likewise.
14375 (__libc_mallopt): Likewise.
14376
aeb95445
AZ
143772013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14378
14379 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14380
e8349efd
OB
143812013-12-09 Ondřej Bílka <neleai@seznam.cz>
14382
14383 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14384 macro to a function. Check for zero perturb_byte.
14385 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14386
f3eeb3fc 14387 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14388 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14389 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14390 force_reg by atomic_forced_read.
14391 * malloc/arena.c (ptmalloc_init): Likewise.
14392 * malloc/hooks.c (top_check): Likewise.
14393
be2f9009
AZ
143942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14395
14396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14397
e7b914bd
MT
143982013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14399
14400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14401
9f0be4f8
JM
144022013-12-08 Joseph Myers <joseph@codesourcery.com>
14403
14404 * math/auto-libm-test-in: Add tests of lgamma.
14405 * math/auto-libm-test-out: Regenerated.
14406 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14407 (M_LOG_2_SQRT_PIl): Likewise.
14408 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14409 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14410 mpfr_f_f1.
14411 (func_calc_desc): Add mpfr_f_f1 union field.
14412 (ARGS1): New macro.
14413 (ARGS2): Likewise.
14414 (ARGS3): Likewise.
14415 (ARGS4): Likewise.
14416 (RET1): Likewise.
14417 (RET2): Likewise.
14418 (CALC): Likewise.
14419 (FUNC): Likewise.
14420 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14421 (test_functions): Add lgamma.
14422 (calc_generic_results): Handle mpfr_f_f1.
14423 * sysdeps/i386/fpu/libm-test-ulps: Update.
14424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14425
24eeafdb
AZ
144262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14427
14428 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14429 __mpn_add_n for PowerPC64/POWER7.
14430 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14431 __mpn_sub_n for PowerPC64/POWER7.
14432
4a2c0fd4
AZ
14433 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14434 __mpn_addmul_1 for PowerPC64.
14435 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14436 __mpn_submul_1 for PowerPC64.
14437 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14438 for PowerPC64.
14439 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14440 for PowerPC64.
14441
4b5b548c
FS
144422013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14443
14444 [BZ #15089]
14445 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14446
0a3ac0aa
AZ
144472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14448
14449 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14450
ccdc8438
AZ
14451 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14452 add multiarch folders.
14453 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14454 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14455 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14456 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14457 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14458 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14459 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14460 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14461 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14462 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14463 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14470
2e973d99
AZ
14471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14472 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14474 New file.
14475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14476 New file.
14477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14478 multiarch __ieee754_hypot for PowerPC32.
14479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14480 New file.
14481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14482 New file.
14483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14484 multiarch __ieee754_hypotf for PowerPC32.
14485
2d9470b2
AZ
14486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14487 long_double_symbol only if __logbl is defined.
14488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14489 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14491 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14493 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14495 path for implementation.
14496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14497 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14499 logb, and logbl multiarch implementations for PowerPC32.
14500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14501 file.
14502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14503 file.
14504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14505 multiarch logb for PowerPC32.
14506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14507 file.
14508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14509 file.
14510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14511 multiarch logbf for PowerPC32.
14512 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14514 file.
14515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14516 multiarch logbl implementation for PowerPC32.
14517
5212ffce
AZ
14518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14519 and modff multiarch implementations.
14520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14521 New file.
14522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14523 New file.
14524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14525 multiarch modf for PowerPC32.
14526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14527 New file.
14528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14529 New file.
14530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14531 multiarch modff for PowerPC32.
14532
79dccf31
AZ
14533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14534 and lrintf multiarch implementations.
14535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14536 New file.
14537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14538 New file.
14539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14540 multiarch lrint for PowerPC32.
14541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14542 file: multiarch lrintf for PowerPC32.
14543
deb66480
AZ
14544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14545 and lroundf multiarch implementations.
14546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14547 New file.
14548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14549 New file.
14550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14551 New file.
14552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14553 multiarch lround for PowerPC32.
14554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14555 file: multiarch lroundf for PowerPC32.
14556
264b036b
AZ
14557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14558 copysign and copysignf multiarch implementations.
14559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14560 New file.
14561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14562 New file.
14563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14564 file: multiarch copysign for PowerPC32.
14565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14566 file: multiarch copysignf for PowerPC32.
14567
d47db6c9
AZ
14568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14569 and truncf multiarch implementations.
14570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14571 New file.
14572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14573 file.
14574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14575 multiarch trunc for PowerPC32.
14576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14577 New file.
14578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14579 New file.
14580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14581 multiarch truncf for PowerPC32.
14582
ddb60b5a
AZ
14583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14584 and roundf multiarch implementations.
14585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14586 New file.
14587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14588 file.
14589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14590 multiarch round for PowerPC32.
14591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14592 New file.
14593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14594 New file.
14595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14596 multiarch roundf for PowerPC32.
14597
bedcf49b
AZ
14598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14599 and floorf multiarch implementations.
14600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14601 New file.
14602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14603 file.
14604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14605 multiarch floor for PowerPC32.
14606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14607 New file.
14608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14609 New file.
14610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14611 multiarch floorf for PowerPC32.
14612
35ae5b40
AZ
14613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14614 and ceilf multiarch implementations.
14615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14616 New file.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14618 file.
14619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14620 multiarch ceil for PowerPC32.
14621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14622 New file.
14623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14624 file.
14625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14626 multiarch ceilf for PowerPC32.
14627
ae1a4cd9
AZ
14628 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14629 is defined.
14630 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14631 FINITEF is defined.
14632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14633 and finitef multiarch implementations.
14634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14635 New file.
14636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14637 file.
14638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14639 multiarch finite for PowerPC32.
14640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14641 New file.
14642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14643 file: multiarch finitef for PowerPC32.
14644
64fffd65
AZ
14645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14646 and isinff multiarch implementations.
14647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14648 file.
14649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14650 file.
14651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14652 multiarch isinf for PowerPC32.
14653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14654 New file.
14655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14656 multiarch isinff for PowerPC32.
14657
8e4e7ba2
AZ
14658 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14659 alias when __isnan is defined.
14660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14661 and isnanf multiarch implementations.
14662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14663 file.
14664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14665 file.
14666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14667 file.
14668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14669 file.
14670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14671 multiarch isnan for PowerPC32.
14672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14673 New file.
14674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14675 New file.
14676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14677 multiarch isnanf for PowerPC32.
14678
ddba588e
AZ
14679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14680 and sqrtf multiarch implementations.
14681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14682 file.
14683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14684 file.
14685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14686 multiarch sqrt for PowerPC32.
14687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14688 file.
14689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14690 file.
14691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14692 multiarch sqrtf for PowerPC32.
14693
0f96a2f0
AZ
14694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14695 and llroundf multiarch implementations.
14696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14697 New file.
14698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14699 New file.
14700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14701 New file.
14702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14703 file: multiarch llround for PowerPC32.
14704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14705 file: multiarch llroundf for PowerPC32.
14706
c9b5d79e
AZ
14707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14708 multiarch PowerPC32 fpu implementations.
14709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14710 New file.
14711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14712 New file.
14713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14714 multiarch llrint for PowerPC32.
14715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14716 New file.
14717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14718 New file.
14719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14720 file.
14721
9cbb3aab
AZ
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14723
ea5a72f8
AZ
14724 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14725 file.
14726 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14727 file.
14728 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14729 file.
14730 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14731 multiarch wordcopy for PPC32.
14732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14733 wordcopy objects.
14734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14735 (__libc_ifunc_impl_list): Likewise.
14736 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14737 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14739 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14741 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14742
93be09e7
AZ
14743 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14745 file.
14746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14747 file.
14748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14749 file.
14750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14751 multiarch wcscpy for PPC32.
14752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14753 multiarch objects.
14754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14755 (__libc_ifunc_impl_list): Likewise.
14756 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14757 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14758 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14759 sysdeps/powerpc/power6/wcscpy.c.
14760
bb04e529
AZ
14761 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14763 file.
14764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14765 file.
14766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14767 file.
14768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14769 multiarch wcsrchr for PPC32.
14770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14771 multiarch objects.
14772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14773 (__libc_ifunc_impl_list): Likewise.
14774 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14775 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14776 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14777 sysdeps/powerpc/power6/wcsrchr.c.
14778
05b5cd1c
AZ
14779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14780 file.
14781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14782 file.
14783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14785 multiarch wcschr for PPc32.
14786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14787 multiarch objects.
14788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14789 (__libc_ifunc_impl_list): Likewise.
14790 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14791 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14792 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14793 sysdeps/powerpc/power6/wcschr.c.
14794
ba964147
AZ
14795 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14796 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14797 file.
14798 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14799 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14800 file: multiarch strchr for PPC32.
14801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14802 multiarch objects.
14803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14804 (__libc_ifunc_impl_list): Likewise.
14805
31c81aaa
AZ
14806 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14807 name.
14808 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14809 file.
14810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14811 file.
14812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14813 multiarch strchrnul for PPC32.
14814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14815 multiarch objects.
14816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14817 (__libc_ifunc_impl_list): Likewise.
14818
0d0607d9
AZ
14819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14820 file.
14821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14822 multiarch strncasecmp for PPC32.
14823 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14824 file.
14825 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14826 multiarch strncasecmp_l for PPC32.
14827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14828 strncasecmp multiarch objects.
14829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14830 (__libc_ifunc_impl_list): Likewise.
14831
4dfd5c86
AZ
14832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14833 file.
14834 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14835 multiarch strncasecmp for PPC32.
14836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14837 New file.
14838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14839 multiarch strcasecmp_l for PPC32.
14840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14841 multiarch objects.
14842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14843 (__libc_ifunc_impl_list): Likewise.
14844
a19e01a3
AZ
14845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14846 file.
14847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14848 file.
14849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14850 multiarch strncmp for PPC32.
14851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14852 multiarch objects.
14853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14854 (__libc_ifunc_impl_list): Likewise.
14855
ae9cf7a2
AZ
14856 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14857 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14858 file.
14859 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14860 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14862 multiarch objects.
14863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14864 (__libc_ifunc_impl_list): Likewise.
14865
3148bb7d
AZ
14866 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14867 file.
14868 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14869 file.
14870 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14872 multiarch objects.
14873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14874 (__libc_ifunc_impl_list): Likewise.
14875
7af8b946
AZ
14876 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14877 file.
14878 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14879 file.
14880 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14881 multiarch rawmemchr for PPC32.
14882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14883 multiarch objects.
14884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14885 (__libc_ifunc_impl_list): Likewise.
14886
03a6aa6a
AZ
14887 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14888 file.
14889 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14890 file.
14891 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14892 file: memrchr multiarch for PPC32.
14893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14894 multiarch objects.
14895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14896 (__libc_ifunc_impl_list): Likewise.
14897
1c62e6d9
AZ
14898 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14899 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14900 file.
14901 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14902 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14903 multiarch memchr for PPC32.
14904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14905 multiarch objects.
14906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14907 (__libc_ifunc_impl_list): Likewise.
14908
87da8bdb
AZ
14909 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14910 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14911 file.
14912 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14913 file.
14914 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14915 file: multiarch mempcpy for PPC32.
14916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14917 multiarch objects.
14918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14919 (__libc_ifunc_impl_list): Likewise.
14920
20ed4714
AZ
14921 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14922 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14923 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14924 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14925 multiarch bzero for PPC32.
14926 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14927 file.
14928 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14929 file.
14930 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14931 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14932 file: multiarch memset for PPC32.
14933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14935 memset multiarch objects.
14936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14937 (__libc_ifunc_impl_list): Likewise.
14938
ab3e3a46
AZ
14939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14940 file.
14941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14943 memcmp for PPC32.
14944 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14946 multiarch objects.
14947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14948 (__libc_ifunc_impl_list): Likewise.
14949
930de6f0
AZ
14950 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14952 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14953 file.
14954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14955 file.
14956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14957 file.
14958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14959 multiarch memcpy for PPC32.
14960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14961 multiarch objects.
14962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14963 (__libc_ifunc_impl_list): Likewise.
14964
4c628e00
AZ
14965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14966 support multiarch for POWER/PPC32.
14967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14968 Likewise.
14969 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14971 Implies file to make multiarch folder appers before the fpu and
14972 default folder for power4 configuration.
14973
f4479220
SP
149742013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14975
14976 * scripts/bench.pl: Append volatile keyword to type.
14977
8517800f
KK
149782013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14979
14980 * sysdeps/sh/sotruss-lib.c: New file.
14981 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14982
180138f1
AZ
149832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14984
14985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14986
bbf37bdc
JM
149872013-12-05 Joseph Myers <joseph@codesourcery.com>
14988
e47cc4e0
JM
14989 [BZ #6810]
14990 * math/w_tgamma.c: Include <errno.h>.
14991 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14992 * math/w_tgammaf.c: Include <errno.h>.
14993 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14994 * math/w_tgammal.c: Include <errno.h>.
14995 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14996 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14997 underflow. Add more tgamma tests.
14998 * math/auto-libm-test-out: Regenerated.
14999 * sysdeps/i386/fpu/libm-test-ulps: Update.
15000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15001
bbf37bdc
JM
15002 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15003 sin, sinh, tan, tanh, tgamma, y0 and y1.
15004 * math/auto-libm-test-out: Regenerated.
15005 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15006 (TEST_COND_x86): Likewise.
15007 (M_E2l): Remove macro.
15008 (M_E3l): Likewise.
15009 (M_2_SQRT_PIl): Likewise.
15010 (M_SQRT_PIl): Likewise.
15011 (M_1_DIV_El): Likewise.
15012 (log_test_data): Use AUTO_TESTS_f_f.
15013 (log10_test_data): Likewise.
15014 (log1p_test_data): Likewise.
15015 (log2_test_data): Likewise.
15016 (sin_test_data): Likewise.
15017 (sin_tonearest_test_data): Likewise.
15018 (sin_towardzero_test_data): Likewise.
15019 (sin_downward_test_data): Likewise.
15020 (sin_upward_test_data): Likewise.
15021 (sinh_test_data): Likewise.
15022 (sinh_tonearest_test_data): Likewise.
15023 (sinh_towardzero_test_data): Likewise.
15024 (sinh_downward_test_data): Likewise.
15025 (sinh_upward_test_data): Likewise.
15026 (tan_test_data): Likewise.
15027 (tan_tonearest_test_data): Likewise.
15028 (tan_towardzero_test_data): Likewise.
15029 (tan_downward_test_data): Likewise.
15030 (tan_upward_test_data): Likewise.
15031 (tanh_test_data): Likewise.
15032 (tgamma_test_data): Likewise.
15033 (y0_test_data): Likewise.
15034 (y1_test_data): Likewise.
15035 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15036 (special_real_inputs): Add pi/4.
15037 * sysdeps/i386/fpu/libm-test-ulps: Update.
15038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15039
eb5ad6b9
AZ
150402013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15041
15042 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15043 "longjmp_target" static probes.
15044 (__longjmp): Rename to __longjmp_symbol.
15045 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15047 on which longjmp to generate.
15048 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15050 probe.
15051 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15052 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15053 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15055 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15056 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15058 __longjmp_symbol based on which __longjmp to generate.
15059 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15060 probe.
15061 (setjmp): Rename to setjmp_symbol.
15062 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15063 (_setjmp): Rename to _setjmp_symbol.
15064 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15065 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15066 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15067 which setjmp to generate.
15068 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15069 "longjmp_target" static probes.
15070
d136c6dc
SP
150712013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15072
9298ecba
SP
15073 * benchtests/README: Add note about output arguments.
15074 * benchtests/bench-sincos.c: Remove file.
15075 * benchtests/sincos-inputs: New file.
15076 * scripts/bench.pl: Identify output arguments and define
15077 static variables for them.
15078
232983e9
SP
15079 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15080
d136c6dc
SP
15081 [BZ #15941]
15082 * Makefile (INSTALL): Add install-plain.texi as the primary
15083 dependency.
15084 * manual/install-plain.texi: New file.
15085 * manual/install.texi: Include node directive only for
15086 non-plaintext output.
15087
699ff837
JM
150882013-12-04 Joseph Myers <joseph@codesourcery.com>
15089
ab07cea8
JM
15090 * stdlib/longlong.h: Update from GCC.
15091
699ff837
JM
15092 [BZ #6807]
15093 [BZ #15901]
15094 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15095 * math/w_j0f.c (y0f): Likewise.
15096 * math/w_j0l.c (__y0l): Likewise.
15097 * math/w_j1.c (y1): Likewise.
15098 * math/w_j1f.c (y1f): Likewise.
15099 * math/w_j1l.c (__y1l): Likewise
15100 * math/w_jn.c (yn): Likewise.
15101 * math/w_jnf.c (ynf): Likewise.
15102 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15103 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15104 value for Bessel function domain errors outside _SVID_ mode.
15105 Adjust sign of return value for yn (negative integer, 0).
15106 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15107 by zero in return for negative x and set sign appropriately for
15108 negative n.
15109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15111 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15112 expectations in error cases.
15113 (y1_test_data): Likewise.
15114 (yn_test_data): Likewise.
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15117
5b118558
UW
151182013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15119
15120 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15121 "64" to "64-v1". Add "64-v2".
15122 (abi-64-options): Rename to ...
15123 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15124 (abi-64-condition): Rename to ...
15125 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15126 (abi-64-ld-soname): Rename to ...
15127 (abi-64-v1-ld-soname): ... this.
15128 (abi-64-v2-options): Define.
15129 (abi-64-v2-condition): Likewise.
15130 (abi-64-v2-ld-soname): Likewise.
15131 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15132 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15136
61cd8fe4
UW
151372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15138 Alan Modra <amodra@gmail.com>
15139
15140 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15141 New versions for use with the ELFv2 ABI.
15142 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15143 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15144 declaration.
15145 (struct La_ppc64v2_retval): Likewise.
15146 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15147 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15148 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15149 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15150 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15151 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15152 Do not save or restore CR.
15153 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15154 (_dl_profile_resolve): Do no save or restore CR. Support extended
15155 return values for ELFv2 ABI. Fix location of FPR return registers.
15156 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15157 updated values for _CALL_ELF == 2.
15158 (La_regs, La_retval, int_retval): Likewise.
15159
8b8a692c
UW
151602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15161
15162 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15163 (FRAME_MIN_SIZE_PARM): Likewise.
15164 (FRAME_BACKCHAIN): Likewise.
15165 (FRAME_CR_SAVE): Likewise.
15166 (FRAME_LR_SAVE): Likewise.
15167 (FRAME_TOC_SAVE): Likewise.
15168 (FRAME_PARM_SAVE): Likewise.
15169 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15170 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15171 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15172 (call_mcount_parm_offset): New macro.
15173 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15174 (PROF): Use symbolic stack frame offsets.
15175 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15176 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15177 Redefine in terms of FRAME_MIN_SIZE.
15178 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15179 (_dl_profile_resolve): Likewise. Update comment.
15180 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15181 symbols stack frame offsets.
15182 (__sigsetjmp): Likewise.
15183 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15184 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15185 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15186 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15187
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15189 (FRAME_BACKCHAIN): Remove.
15190 (FRAME_CR_SAVE): Likewise.
15191 (FRAME_LR_SAVE): Likewise.
15192 (FRAME_COMPILER_DW): Likewise.
15193 (FRAME_LINKER_DW): Likewise.
15194 (FRAME_TOC_SAVE): Likewise.
15195 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15196 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15197 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15198 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15200 (CHECK_SP): Use symbolic stack frame offsets.
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15202 zone" instead of caller's parameter save area for temp storage.
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15204 Likewise. Also, use symbolic stack frame offsets.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15206 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15207 our own stack frame instead of the caller's.
15208 (__socket): Use symbolic stack frame offsets.
15209
122b66de
UW
152102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15211 Alan Modra <amodra@gmail.com>
15212
15213 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15214 Define.
57f41c40
AS
15215 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15216 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15217 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15218 New function.
15219 (elf_machine_fixup_plt): Call it.
15220 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15221 reloc arguments.
15222 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15224 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15225 r2 before calling target.
15226
696caf1d
UW
152272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15228 Alan Modra <amodra@gmail.com>
15229
15230 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15231 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15232 versions of macros to support ELFv2 ABI.
15233 (LOCALENTRY): New macro.
15234 (ENTRY, EALIGN): Use it.
15235 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15236 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15237 fall through into ENTRY entry point.
15238 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15239 Only define if _CALL_ELF != 2.
15240
15241 (elf_machine_matches_host): Verify ABI version matches.
15242 (RTLD_START): Use LOCALENTRY.
15243 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15244 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15245 (PLT_ENTRY_WORDS): New macro.
15246 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15247 (elf_machine_runtime_setup): Support ELFv2 ABI.
15248 (elf_machine_fixup_plt): Likewise.
15249 (elf_machine_plt_conflict): Likewise.
15250 (resolve_ifunc): Likewise.
15251 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15252 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15253 Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15255 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15257 (makecontext): Support ELFv2 ABI.
15258 * elf/elf.h (EF_PPC64_ABI): Define.
15259
d31beafa
UW
152602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15261
57f41c40
AS
15262 * sysdeps/powerpc/powerpc64/sysdep.h
15263 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15264 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15265 (ENTRY) [ASSEMBLER]: ... but instead here ...
15266 (EALIGN) [ASSEMBLER]: ... and here.
15267 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15268 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15269 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15270 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15271 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15272 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15273 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15274 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15276 Use PPC64_LOAD_FUNCPTR.
15277
b525166b
UW
15278 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15279
7ec07d9a
AM
152802013-12-04 Alan Modra <amodra@gmail.com>
15281
15282 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15283 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15284 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15285 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15286
15287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15288 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15289 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15290 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15291 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15292 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15293
5162e7dd
UW
152942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15295
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15297 (__makecontext): Fix incorrect CFI when backtracing out of
15298 context created via makecontext.
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15300 (__setcontext): Fix incorrect CFI during switch to new context.
15301 (__novec_setcontext): Likewise.
15302
19e3372b
OB
153032013-12-04 Ondřej Bílka <neleai@seznam.cz>
15304
15305 [BZ #4772]
15306 * time/strptime_l.c (__strptime_internal): Allow modifiers
15307 in strptime.
15308 * time/tst-strptime.c (day_tests): Add testcase.
15309
ecaf142d
SP
153102013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15311
15312 * scripts/bench.pl: Skip over blank lines.
15313
fbf964ae
PE
153142013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15315
15316 [BZ #926]
15317 * manual/time.texi (Calendar Time): Clarify what timezone functions
15318 use.
15319
fa60a674
AZ
153202013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15321
15322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15323
d674f0ef
OB
153242013-12-04 Ondřej Bílka <neleai@seznam.cz>
15325
15326 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15327 implementation.
15328 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15329 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15330 * debug/memset_chk.c (__memset_chk): Likewise.
15331 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15332 * debug/strncpy_chk.c: Likewise.
15333
17dea188
JM
153342013-12-03 Joseph Myers <joseph@codesourcery.com>
15335
749008ff
JM
15336 [BZ #15268]
15337 [BZ #15425]
15338 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15339 (__ieee754_exp): For possibly underflowing results, check size of
15340 result and force underflow exception if required.
15341 * math/auto-libm-test-in: Add more tests of exp.
15342 * math/auto-libm-test-out: Regenerated.
15343 * sysdeps/i386/fpu/libm-test-ulps: Update.
15344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15345
17dea188
JM
15346 [BZ #16283]
15347 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15348 * math/w_exp2f.c (__exp2f): Likewise.
15349 * math/w_exp2l.c (__exp2l): Likewise.
15350 * math/auto-libm-test-in: Do not allow missing errno on exp2
15351 underflow.
15352 * math/auto-libm-test-out: Regenerated.
15353
b20de2c3
OB
153542013-12-03 Ondřej Bílka <neleai@seznam.cz>
15355
15356 [BZ #16274]
15357 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15358 handle filename validation.
15359 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15360 (do_open): Delete.
15361
d8e2dbe3
JM
153622013-12-03 Joseph Myers <joseph@codesourcery.com>
15363
34e16df5
JM
15364 [BZ #6786]
15365 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15366 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15367 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15368 <float.h>.
15369 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15371 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15373 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15375 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15376 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15377 Add more erfc tests.
15378 * math/auto-libm-test-out: Regenerated.
15379 * sysdeps/i386/fpu/libm-test-ulps: Update.
15380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15381
d8e2dbe3
JM
15382 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15383 exp2, expm1, j0 and j1.
15384 * math/auto-libm-test-out: Regenerated.
15385 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15386 (erfc_test_data): Likewise.
15387 (exp_test_data): Likewise.
15388 (exp_tonearest_test_data): Likewise.
15389 (exp_towardzero_test_data): Likewise.
15390 (exp_downward_test_data): Likewise.
15391 (exp_upward_test_data): Likewise.
15392 (exp10_test_data): Likewise.
15393 (exp2_test_data): Likewise.
15394 (expm1_test_data): Likewise.
15395 (j0_test_data): Likewise.
15396 (j1_test_data): Likewise.
15397 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15398 (input_flag_type): Add flag_xfail_rounding.
15399 (input_flags): Add xfail-rounding.
15400 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15401 (output_for_one_input_case): Handle flag_xfail_rounding.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404
18d14251
AJ
154052013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15406
3d2e6075 15407 [BZ #16289]
18d14251
AJ
15408 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15409 division by 0.
15410
520d437b
SP
154112013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
15413 [BZ #16195]
15414 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15415 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15416 (STAP_PROBE0): New macro.
15417 (STAP_PROBE1): Likewise.
15418 (STAP_PROBE2): Likewise.
15419 (STAP_PROBE3): Likewise.
15420 (STAP_PROBE4): Likewise.
15421
416e0145
OB
154222013-12-02 Ondřej Bílka <neleai@seznam.cz>
15423
15424 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15425
9d17796a
SE
154262013-12-02 Steve Ellcey <sellcey@mips.com>
15427
15428 * benchtests/Makefile (bench): Add sqrt.
15429 (LDLIBS-bench-sqrt): New.
15430 * benchtests/sqrt-input: New.
15431
f524d6a8
PS
154322013-12-02 Pavel Simerda <psimerda@redhat.com>
15433
639a0ef8
PS
15434 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15435 (GAIH_EAI): Likewise.
15436 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15437 (gaih_inet): Likewise.
15438 (getaddrinfo): Don't use GAIH_EAI.
15439
f524d6a8
PS
15440 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15441 (struct gaih): Remove definition.
15442
df3aedaf
SP
154432013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15444
15445 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15446 Use HERRNOP directly.
15447
1ab19dec
AZ
154482013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15449
b42ad38d 15450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15451
176b0c79
JM
154522013-11-30 Joseph Myers <joseph@codesourcery.com>
15453
15454 * math/gen-auto-libm-tests.c (test_functions): Add more
15455 single-argument functions.
15456 (special_fill_pi_2): New function.
15457 (special_fill_minus_pi_2): Likewise.
15458 (special_fill_pi_6): Likewise.
15459 (special_fill_minus_pi_6): Likewise.
15460 (special_fill_pi_3): Likewise.
15461 (special_fill_2pi_3): Likewise.
15462 (special_fill_e): Likewise.
15463 (special_fill_1_e): Likewise.
15464 (special_fill_e_minus_1): Likewise.
15465 (special_real_inputs): Add more special inputs.
15466 (output_for_one_input_case): Do not require ERANGE on underflow to
15467 zero if round-to-nearest result does not underflow to zero, unless
15468 exact results required.
15469 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15470 atan, atanh, cbrt, cos and cosh.
15471 * math/auto-libm-test-out: Regenerated.
15472 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15473 (acos_tonearest_test_data): Likewise.
15474 (acos_towardzero_test_data): Likewise.
15475 (acos_downward_test_data): Likewise.
15476 (acos_upward_test_data): Likewise.
15477 (acosh_test_data): Likewise.
15478 (asin_test_data): Likewise.
15479 (asin_tonearest_test_data): Likewise.
15480 (asin_towardzero_test_data): Likewise.
15481 (asin_upward_test_data): Likewise.
15482 (asinh_test_data): Likewise.
15483 (atan_test_data): Likewise.
15484 (atanh_test_data): Likewise.
15485 (cbrt_test_data): Likewise.
15486 (cos_test_data): Likewise.
15487 (cos_tonearest_test_data): Likewise.
15488 (cos_towardzero_test_data): Likewise.
15489 (cos_downward_test_data): Likewise.
15490 (cos_upward_test_data): Likewise.
15491 (cosh_test_data): Likewise.
15492 (cosh_tonearest_test_data): Likewise.
15493 (cosh_towardzero_test_data): Likewise.
15494 (cosh_downward_test_data): Likewise.
15495 (cosh_upward_test_data): Likewise.
15496 * sysdeps/i386/fpu/libm-test-ulps: Update.
15497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15498
ffb536d0
JM
154992013-11-29 Joseph Myers <joseph@codesourcery.com>
15500
2a77a467
JM
15501 [BZ #6787]
15502 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15503 * math/w_exp10f.c (__exp10f): Likewise.
15504 * math/w_exp10l.c (__exp10l): Likewise.
15505 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15506 errno settings in existing tests.
15507
ea3bc4e8
JM
15508 [BZ #14032]
15509 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15510 precision control set to double precision.
15511 * sysdeps/i386/fpu/w_sqrt.c: New file.
15512 * math/auto-libm-test-in: Add more tests.
15513 * math/auto-libm-test-out: Update.
15514
0712c9d8
JM
15515 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15516 (sqrt_test_tonearest): New function.
15517 (sqrt_towardzero_test_data): New variable.
15518 (sqrt_test_towardzero): New function.
15519 (sqrt_downward_test_data): New variable.
15520 (sqrt_test_downward): New function.
15521 (sqrt_upward_test_data): New variable.
15522 (sqrt_test_upward): New function.
15523 (main): Call the new functions.
15524
ffb536d0
JM
15525 * math/gen-auto-libm-tests.c: New file.
15526 * math/auto-libm-test-in: Likewise.
15527 * math/auto-libm-test-out: New generated file.
15528 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15529 variables.
15530 (%beautify): Add generated representations of zero.
15531 (top level): Set $auto_input and call parse_auto_input.
15532 (beautify): Remove trailing "f" from hex float constants.
15533 (parse_args): Handle XFAIL_TEST.
15534 (convert_condition): New function.
15535 (or_value): Likewise.
15536 (or_cond_value): Likewise.
15537 (generate_testfile): Handle AUTO_TESTS_* lines.
15538 (parse_auto_input): New function.
15539 * math/libm-test.inc (XFAIL_TEST): New macro.
15540 (ERRNO_UNCHANGED): Update value.
15541 (ERRNO_EDOM): Likewise.
15542 (ERRNO_ERANGE): Likewise.
15543 (IGNORE_RESULT): Likewise.
15544 (TEST_COND_flt_32): New macro.
15545 (TEST_COND_dbl_64): Likewise.
15546 (TEST_COND_ldbl_96_intel): Likewise.
15547 (TEST_COND_ldbl_96_m68k): Likewise.
15548 (TEST_COND_ldbl_128): Likewise.
15549 (TEST_COND_ldbl_128ibm): Likewise.
15550 (TEST_COND_long32): Likewise.
15551 (TEST_COND_long64): Likewise.
15552 (TEST_COND_before_rounding): Likewise.
15553 (TEST_COND_after_rounding): Likewise.
15554 (enable_test): Handle XFAIL_TEST flag.
15555 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15556 with finite results.
15557 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15558 auto-libm-test-out.
15559
acd98a8e
AK
155602013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15561 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15562
15563 [BZ #16214]
15564 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15565 __tls_get_addr_internal instead of __tls_get_offset in order to
15566 avoid GOT pointer dependency. Make rtld export
15567 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15568 __tls_get_addr since we are a __tls_get_offset platform.
15569 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15570 GOT pointer being set up before.
15571 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15572
3c1c46a6
JM
155732013-11-28 Joseph Myers <joseph@codesourcery.com>
15574
7475aef5
JM
15575 * manual/math.texi (Errors in Math Functions): Document accuracy
15576 goals.
15577
8bca7cd8
JM
15578 [BZ #15004]
15579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15580 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15595
91a1f3fe
JM
15596 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15597 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15598 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15599 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15600 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15601 Likewise.
15602 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15603 Likewise.
15604 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15605 Likewise.
15606 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15607 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15608 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15609 atomic-feupdateenv and flt-rounds.
15610 * sysdeps/powerpc/nofpu/Versions (libc): Add
15611 __atomic_feholdexcept, __atomic_feclearexcept,
15612 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15613 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15614 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15615 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15616 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15617 here.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15619 Update.
15620
c5df7609
JM
15621 * manual/arith.texi (FP Exceptions): Document that exceptions may
15622 not be raised when matherr is used.
15623 (Math Error Reporting): Document overflow in directed rounding
15624 modes. Document that errno may not be set when finite values are
15625 returned on overflow. Document intent to set errno on underflow
15626 only for underflow to zero.
15627
3c1c46a6
JM
15628 [BZ #16271]
15629 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15630 round-to-nearest then adjust result for other rounding modes.
15631 * include/fenv.h (fegetround): Use libm_hidden_proto.
15632 * math/fegetround.c (fegetround): Use libm_hidden_def.
15633 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15634 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15635 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15636 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15637 Likewise.
15638 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15639 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15640 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15641 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15642
5a4c6d53
SP
156432013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15644
15645 [BZ #16077]
15646 * nss/Versions (libnss_files): Add
15647 _nss_files_gethostbyname3_r.
15648 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15649 New function.
15650 (HOST_DB_LOOKUP): Remove macro.
15651 (_nss_files_gethostbyname_r): Implement function without the
15652 HOST_DB_LOOKUP macro.
15653 (_nss_files_gethostbyname2_r): Likewise.
15654
897b98ba
OB
156552013-11-28 Ondřej Bílka <neleai@seznam.cz>
15656
15657 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15658
6f476861
UB
156592013-11-26 Uros Bizjak <ubizjak@gmail.com>
15660
15661 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15662 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15663 warning.
15664
bd12ab55
AZ
156652013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15666
15667 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15668 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15669 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15670 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15671 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15672 __fe_nomask_env_priv and attribute_hidden.
15673 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15674 (libc_feupdateenv_test_ppc): Likewise.
15675 (libc_feresetround_ppc): Likewise.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15677 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15678 compat_symbol macro.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15680 (__fe_nomask_env): Likewise.
15681 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15682
52bb6543
OB
156832013-11-26 Ondřej Bílka <neleai@seznam.cz>
15684
15685 * string/Makefile: Remove ifunc tests.
15686 * string/test-string.h: Define TEST_IFUNC.
15687 * string/test-bcopy-ifunc.c: Remove.
15688 * string/test-bzero-ifunc.c: Likewise.
15689 * string/test-memccpy-ifunc.c: Likewise.
15690 * string/test-memchr-ifunc.c: Likewise.
15691 * string/test-memcmp-ifunc.c: Likewise.
15692 * string/test-memcpy-ifunc.c: Likewise.
15693 * string/test-memmem-ifunc.c: Likewise.
15694 * string/test-memmove-ifunc.c: Likewise.
15695 * string/test-mempcpy-ifunc.c: Likewise.
15696 * string/test-memrchr-ifunc.c: Likewise.
15697 * string/test-memset-ifunc.c: Likewise.
15698 * string/test-rawmemchr-ifunc.c: Likewise.
15699 * string/test-stpcpy-ifunc.c: Likewise.
15700 * string/test-stpncpy-ifunc.c: Likewise.
15701 * string/test-strcasecmp-ifunc.c: Likewise.
15702 * string/test-strcasestr-ifunc.c: Likewise.
15703 * string/test-strcat-ifunc.c: Likewise.
15704 * string/test-strchr-ifunc.c: Likewise.
15705 * string/test-strchrnul-ifunc.c: Likewise.
15706 * string/test-strcmp-ifunc.c: Likewise.
15707 * string/test-strcpy-ifunc.c: Likewise.
15708 * string/test-strcspn-ifunc.c: Likewise.
15709 * string/test-strlen-ifunc.c: Likewise.
15710 * string/test-strncasecmp-ifunc.c: Likewise.
15711 * string/test-strncat-ifunc.c: Likewise.
15712 * string/test-strncmp-ifunc.c: Likewise.
15713 * string/test-strncpy-ifunc.c: Likewise.
15714 * string/test-strnlen-ifunc.c: Likewise.
15715 * string/test-strpbrk-ifunc.c: Likewise.
15716 * string/test-strrchr-ifunc.c: Likewise.
15717 * string/test-strspn-ifunc.c: Likewise.
15718 * string/test-strstr-ifunc.c: Likewise.
15719
ab260039 157202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15721
15722 * benchtests/Makefile: Remove ifunc tests.
15723 * benchtests/bench-string.h: Define TEST_IFUNC.
15724 * benchtests/bench-bcopy-ifunc.c: Remove.
15725 * benchtests/bench-bzero-ifunc.c: Likewise.
15726 * benchtests/bench-memccpy-ifunc.c: Likewise.
15727 * benchtests/bench-memchr-ifunc.c: Likewise.
15728 * benchtests/bench-memcmp-ifunc.c: Likewise.
15729 * benchtests/bench-memcpy-ifunc.c: Likewise.
15730 * benchtests/bench-memmem-ifunc.c: Likewise.
15731 * benchtests/bench-memmove-ifunc.c: Likewise.
15732 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15733 * benchtests/bench-memrchr-ifunc.c: Likewise.
15734 * benchtests/bench-memset-ifunc.c: Likewise.
15735 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15736 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15737 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15738 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15739 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15740 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15741 * benchtests/bench-strcat-ifunc.c: Likewise.
15742 * benchtests/bench-strchr-ifunc.c: Likewise.
15743 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15744 * benchtests/bench-strcmp-ifunc.c: Likewise.
15745 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15746 * benchtests/bench-strcpy-ifunc.c: Likewise.
15747 * benchtests/bench-strcspn-ifunc.c: Likewise.
15748 * benchtests/bench-strlen-ifunc.c: Likewise.
15749 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15750 * benchtests/bench-strncat-ifunc.c: Likewise.
15751 * benchtests/bench-strncmp-ifunc.c: Likewise.
15752 * benchtests/bench-strncpy-ifunc.c: Likewise.
15753 * benchtests/bench-strnlen-ifunc.c: Likewise.
15754 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15755 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15756 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15757 * benchtests/bench-strspn-ifunc.c: Likewise.
15758 * benchtests/bench-strstr-ifunc.c: Likewise.
15759
157602013-11-26 Ondřej Bílka <neleai@seznam.cz>
15761
ab260039
OB
15762 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15763
d1d9eaf4 157642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15765
d1d9eaf4
OB
15766 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15767 * rt/aio.h: Likewise.
15768 * sysdeps/gnu/bits/utmp.h: Likewise.
15769 * sysdeps/gnu/bits/utmpx.h: Likewise.
15770 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15771 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15772 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15773 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15774 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15775 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15776 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15777 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15778 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15779 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15780 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15781 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15782 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15784 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15785 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15786 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15787 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15788 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15789 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15790 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15791 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15792 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15794 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15798 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15799 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15801 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15802 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15803 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15804 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15806 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15807 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15808 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15810 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15811 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15812
a7624ed9
CD
158132013-11-25 Carlos O'Donell <carlos@redhat.com>
15814
15815 [BZ #16245]
15816 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15817 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15818
63cfe52b
JM
158192013-11-25 Joseph Myers <joseph@codesourcery.com>
15820
15821 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15822 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15823 Likewise.
15824
41e8926a
AZ
158252013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15826
15827 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15828 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15829 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15830 (__fesetround): Remove define.
15831 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15832 rounding and exceptions handling.
15833 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15834 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15835 (__fe_nomask_env): Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15837 __fegetround instead of fegetround.
15838 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15840
6851bd4d
RM
158412013-11-21 Roland McGrath <roland@hack.frob.com>
15842
070906ff
RM
15843 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15844 it's there.
15845
6851bd4d
RM
15846 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15847
84ae135d
MI
158482013-11-21 Meador Inge <meadori@codesourcery.com>
15849
15850 [BZ #11157]
15851 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15852 (encrypt_r): Likewise.
15853 * malloc/obstack.h (obstack_free): Likewise.
15854 * posix/unistd.h (encrypt): Likewise.
15855
daf75146
GM
158562013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15857
15858 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15859 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15860 DL_CALL_DT_FINI() that call the functions directly.
15861 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15862 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15863 * elf/dl-fini.c: Likewise.
15864
10ad46bc
OB
158652013-11-20 Ondřej Bílka <neleai@seznam.cz>
15866
15867 * malloc/hooks.c (memalign_check): Add alignment rounding.
15868 * malloc/malloc.c (_mid_memalign): New function.
15869 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15870 Implement by calling _mid_memalign.
15871 * manual/probes.texi (Memory Allocation Probes): Remove
15872 memory_valloc_retry and memory_pvalloc_retry.
15873
f3fd2628
SP
158742013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15875
4712799f
SP
15876 * locale/programs/locarchive.c (open_archive): Add const
15877 qualifier to ARCHIVEFNAME and copy default fname to
15878 DEFAULT_FNAME.
15879
0417b20f
SP
15880 [BZ #15601]
15881 * libio/tst-widetext.input: Rename Oriya to Odia.
15882 * locale/iso-639.def: Likewise.
15883
f3fd2628
SP
15884 * manual/probes.texi (Mathematical Function Probes): Add
15885 documentation for sin, cos, asin and acos probes.
15886 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15887 (__sin32): Add slowasin probe.
15888 (__cos32): Add slowacos probe.
15889 (__mpsin): Add slowsin probe.
15890 (__mpcos): Add slowcos probe.
15891
73c1ce4f
JM
158922013-11-19 Joseph Myers <joseph@codesourcery.com>
15893
15894 [BZ #15483]
15895 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15896 thread-local __sim_exceptions_thread and global
15897 __sim_exceptions_global.
15898 (__sim_disabled_exceptions): Change to thread-local
15899 __sim_disabled_exceptions_thread and global
15900 __sim_disabled_exceptions_global.
15901 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15902 and global __sim_round_mode_global.
15903 (__simulate_exceptions): Use thread-local floating-point state and
15904 set global state from it as needed.
15905 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15906 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15907 __sim_round_mode_thread.
15908 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15909 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15910 and global __sim_exceptions_global.
15911 (__sim_disabled_exceptions): Change to thread-local
15912 __sim_disabled_exceptions_thread and global
15913 __sim_disabled_exceptions_global.
15914 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15915 and global __sim_round_mode_global.
15916 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15917 (SIM_SET_GLOBAL): Likewise.
15918 * sysdeps/powerpc/soft-fp/sfp-machine.h
15919 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15920 __sim_round_mode_thread.
15921 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15922 __sim_disabled_exceptions_thread.
15923 (__sim_exceptions): Change to __sim_exceptions_thread.
15924 (__sim_disabled_exceptions): Change to
15925 __sim_disabled_exceptions_thread.
15926 (__sim_round_mode): Change to __sim_round_mode_thread.
15927 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15928 thread-local floating-point state and set global state from it as
15929 needed.
15930 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15931 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15932 (__sim_disabled_exceptions): Remove extern declaration.
15933 (feenableexcept): Use thread-local floating-point state and set
15934 global state from it as needed.
15935 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15936 extern declaration.
15937 (__sim_disabled_exceptions): Likewise.
15938 (__sim_round_mode): Likewise.
15939 (__fegetenv): Use thread-local floating-point state.
15940 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15941 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15942 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15943 floating-point state and set global state from it as needed.
15944 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15945 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15946 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15947 Likewise.
15948 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15949 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15950 Likewise.
15951 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15952 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15953 Use __sim_round_mode_thread.
15954 * math/test-fenv-tls.c: New file.
15955 * math/Makefile (tests): Add test-fenv-tls.
15956 ($(objpfx)test-fenv-tls): Depend on
15957 $(common-objpfx)nptl/libpthread.so.
15958
b5449b12
AS
159592013-11-19 Andreas Schwab <schwab@suse.de>
15960
15961 * locale/programs/locale.c (show_info): Decode wordarray elements.
15962 * locale/categories.def (LC_MONETARY): Add element for
15963 _NL_MONETARY_CRNCYSTR.
15964 * locale/C-monetary.c (conversion_rate): New variable.
15965 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15966 element.
15967
e186536b
CM
159682013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15969
15970 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15971 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15972
5c349950
PP
159732013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15974
15975 * elf/Makefile (tst-auxv): New test.
15976 * elf/tst-auxv.c: New
15977 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15978
699df45b
JM
159792013-11-18 Joseph Myers <joseph@codesourcery.com>
15980
15981 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15982 (hidden_proto): Caller changed.
15983 (hidden_tls_proto): New macro.
15984 (libc_hidden_tls_proto): Likewise.
15985 (rtld_hidden_tls_proto): Likewise.
15986 (libm_hidden_tls_proto): Likewise.
15987 (libresolv_hidden_tls_proto): Likewise.
15988 (librt_hidden_tls_proto): Likewise.
15989 (libdl_hidden_tls_proto): Likewise.
15990 (libnss_files_hidden_tls_proto): Likewise.
15991 (libnsl_hidden_tls_proto): Likewise.
15992 (libnss_nisplus_hidden_tls_proto): Likewise.
15993 (libutil_hidden_tls_proto): Likewise.
15994
b7589107
OB
159952013-11-18 Ondřej Bílka <neleai@seznam.cz>
15996
15997 [BZ #10253]
15998 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15999 (decompose_rpath): Defer expansion to fillin_rpath.
16000 (_dl_init_paths): Pass linkmap to fillin_rpath.
16001
250c23bd
RS
160022013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16003
16004 * benchtests/Makefile: Add strsep.
16005 * benchtests/bench-strsep.c: New file: strsep benchtest.
16006 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16007
a7931fcf
AS
160082013-11-18 Andreas Schwab <schwab@suse.de>
16009
16010 * locale/programs/locale.c (show_info) [case byte]: Check for
16011 '\377' instead of '\177'.
16012 * locale/C-monetary.c (not_available): Always use "\377".
16013 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16014 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16015 detect unavailable sign_posn locale elements.
16016 * locale/localeconv.c (__localeconv): For grouping and
16017 mon_grouping handle "\177" and "\377" like no grouping.
16018 (INT_ELEM): New macro. Use it to set all numeric members.
16019 * locale/programs/ld-monetary.c (monetary_read)
16020 <tok_mon_grouping>: Normalize single -1 to the empty string.
16021 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16022 Likewise.
16023
728dab0e
OB
160242013-11-07 Ondřej Bílka <neleai@seznam.cz>
16025
16026 [BZ #16055]
16027 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16028 when we match (nil).
16029 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16030
66294491
JM
160312013-11-16 Joseph Myers <joseph@codesourcery.com>
16032
ce665817
JM
16033 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16034 (NO_TEST_INLINE): Update value.
16035 (ERRNO_UNCHANGED): Likewise.
16036 (ERRNO_EDOM): Likewise.
16037 (ERRNO_ERANGE): Likewise.
16038 (IGNORE_RESULT): Likewise.
16039 (check_float_internal): Check signs of NaN results if
16040 TEST_NAN_SIGN used.
16041 (check_complex): Pass TEST_NAN_SIGN flag through to second
16042 check_float_internal call.
16043 (copysign_test_data): Add tests with quiet NaNs as second
16044 argument. Use TEST_NAN_SIGN.
16045 (fabs_test_data): Add test of negative quiet NaN argument. Use
16046 TEST_NAN_SIGN.
16047 (signbit_test_data): Add tests of quiet NaN argument.
16048 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16049
ee1466a9
JM
16050 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16051 $ignore_result.
16052 (parse_args): Handle function results specified as IGNORE.
16053 * math/libm-test.inc (IGNORE_RESULT): New macro.
16054 (check_float_internal): Do not check numerical result if flag
16055 IGNORE_RESULT set.
16056 (check_complex): Pass through IGNORE_RESULT to second
16057 check_float_internal call.
16058 (check_int): Do not check numerical result if flag IGNORE_RESULT
16059 set.
16060 (check_long): Likewise.
16061 (check_bool): Likewise.
16062 (check_longlong): Likewise.
16063 (lrint_test_data): Add tests of infinite and NaN arguments.
16064 (lrint_tonearest_test_data): Likewise.
16065 (lrint_towardzero_test_data): Likewise.
16066 (lrint_downward_test_data): Likewise.
16067 (lrint_upward_test_data): Likewise.
16068 (llrint_test_data): Likewise.
16069 (llrint_tonearest_test_data): Likewise.
16070 (llrint_towardzero_test_data): Likewise.
16071 (llrint_downward_test_data): Likewise.
16072 (llrint_upward_test_data): Likewise.
16073 (lround_test_data): Likewise.
16074 (llround_test_data): Likewise.
16075
14407b7e
JM
16076 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16077 (ERRNO_UNCHANGED): Update value.
16078 (ERRNO_EDOM): Likewise.
16079 (ERRNO_ERANGE): Likewise.
16080 (NO_TEST_INLINE_FLOAT): New macro.
16081 (NO_TEST_INLINE_DOUBLE): Likewise.
16082 (enable_test): New function.
16083 (RUN_TEST_f_f): Check enable_test before running test.
16084 (RUN_TEST_2_f): Likewise.
16085 (RUN_TEST_fff_f): Likewise.
16086 (RUN_TEST_c_f): Likewise.
16087 (RUN_TEST_f_f1): Likewise.
16088 (RUN_TEST_fF_f1): Likewise.
16089 (RUN_TEST_fI_f1): Likewise.
16090 (RUN_TEST_ffI_f1): Likewise.
16091 (RUN_TEST_c_c): Likewise.
16092 (RUN_TEST_cc_c): Likewise.
16093 (RUN_TEST_f_i): Likewise.
16094 (RUN_TEST_f_i_tg): Likewise.
16095 (RUN_TEST_ff_i_tg): Likewise.
16096 (RUN_TEST_f_b): Likewise.
16097 (RUN_TEST_f_b_tg): Likewise.
16098 (RUN_TEST_f_l): Likewise.
16099 (RUN_TEST_f_L): Likewise.
16100 (RUN_TEST_fFF_11): Likewise.
16101 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16102 conditionals.
16103 (cosh_test_data): Likewise.
16104 (exp_test_data): Likewise.
16105 (expm1_test_data): Likewise.
16106 (hypot_test_data): Likewise.
16107 (pow_test_data): Likewise.
16108 (sinh_test_data): Likewise.
16109 (tanh_test_data): Likewise.
16110 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16111 flags argument.
16112
ca07f197
JM
16113 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16114 tests with quiet NaN input and output.
16115 (acosh_test_data): Likewise.
16116 (asin_test_data): Likewise.
16117 (asinh_test_data): Likewise.
16118 (atan_test_data): Likewise.
16119 (atanh_test_data): Likewise.
16120 (atan2_test_data): Likewise.
16121 (cbrt_test_data): Likewise.
16122 (cos_test_data): Likewise.
16123 (cosh_test_data): Likewise.
16124 (erf_test_data): Likewise.
16125 (erfc_test_data): Likewise.
16126 (exp_test_data): Likewise.
16127 (exp10_test_data): Likewise.
16128 (exp2_test_data): Likewise.
16129 (expm1_test_data): Likewise.
16130 (hypot_test_data): Likewise.
16131 (j0_test_data): Likewise.
16132 (j1_test_data): Likewise.
16133 (jn_test_data): Likewise.
16134 (lgamma_test_data): Likewise.
16135 (log_test_data): Likewise.
16136 (log10_test_data): Likewise.
16137 (log1p_test_data): Likewise.
16138 (log2_test_data): Likewise.
16139 (pow_test_data): Likewise.
16140 (scalb_test_data): Likewise.
16141 (sin_test_data): Likewise.
16142 (sincos_test_data): Likewise.
16143 (sinh_test_data): Likewise.
16144 (tan_test_data): Likewise.
16145 (tanh_test_data): Likewise.
16146 (tgamma_test_data): Likewise.
16147 (y0_test_data): Likewise.
16148 (y1_test_data): Likewise.
16149 (yn_test_data): Likewise.
16150
66294491
JM
16151 [BZ #16167]
16152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16153 argument being NaN and avoid computations with second argument in
16154 that case.
16155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16156 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16157 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16158
1820b143
CL
161592013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16160
16161 * locale/iso-639.def: Add Chitwani Tharu (the).
16162
714bd261
AS
161632013-11-14 Andreas Schwab <schwab@suse.de>
16164
16165 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16166 word instead of empty string.
16167
7ab44563
AZ
161682013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16169
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16171 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16173 (__fe_nomask_env): Likewise.
16174
e8470ea2
SE
161752013-11-13 Steve Ellcey <sellcey@mips.com>
16176
16177 * benchtests/bench-timing.h: Include time.h.
16178
17c1d9f0
L
161792013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16180
16181 [BZ #15997]
16182 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16183 to 3.4.0 for x32.
16184 * sysdeps/unix/sysv/linux/configure: Regenerated.
16185
9310c284
JM
161862013-11-13 Joseph Myers <joseph@codesourcery.com>
16187
16188 [BZ #16151]
16189 * stdlib/strtod_l.c (round_and_return): Do not consider
16190 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16191 exponent one less than half the least subnormal exponent.
16192 * stdlib/test-strtod-round-data: Add more tests.
16193 * stdlib/tst-strtod-round.c (tests): Regenerated.
16194
7a2ad8cf
AZ
161952013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196
16197 [BZ #14143]
16198 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16199 (__fe_mask_env): Likewise.
16200 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16201 libm_hidden_proto and add function prototype.
16202 (__fe_mask_env): Add function prototype.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16204 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16206 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16208 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16209
50727aa7
MS
162102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16211
b2f386c1 16212 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16213 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16214
a615be46
MS
162152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16216
16217 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16218 of htab_find_slot().
16219
7ddace62
DM
162202013-11-11 David S. Miller <davem@davemloft.net>
16221
16222 [BZ #16150]
16223 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16224 symbol in the non-vis3 case in static builds.
16225 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16226 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16227 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16228 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16229
9182aa67
JK
162302013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16231
16232 [BZ #387]
16233 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16234 it is empty.
16235
450a2e2d
AZ
162362013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237
b2f386c1
SP
16238 * benchtests/Makefile: Add bench-strtod.
16239 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16240
8ec3f656
AS
162412013-11-11 Andreas Schwab <schwab@suse.de>
16242
16243 [BZ #16153]
16244 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16245 terminating NUL in key length.
16246
76a9b998
AZ
162472013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16248
16249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16250 Add artificial ODP entry for vDSO symbol for PPC64.
16251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16252 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16253
e4368156
OB
162542013-11-07 Ondřej Bílka <neleai@seznam.cz>
16255
16256 [BZ #15374]
16257 * nss/getent.c (services_keys): Recognize services starting with digit.
16258
8d6bb57c
DM
162592013-11-06 David S. Miller <davem@davemloft.net>
16260
16261 [BZ #15985]
16262 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16263 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16264
e256c421
WN
162652013-11-06 Will Newton <will.newton@linaro.org>
16266
16267 * manual/memory.texi (Malloc Examples): Remove register
16268 keyword from examples.
16269
f6e12daa 162702013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16271
f6e12daa 16272 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16273
9d880655
AS
162742013-11-04 Joseph Myers <joseph@codesourcery.com>
16275
fd2f9486 16276 [BZ #6981]
9d880655
AS
16277 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16278 depending on [__GCC_IEC_559 > 0].
16279 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16280 depending on [__GCC_IEC_559_COMPLEX > 0].
16281
ae129d3c
CL
162822013-11-03 Chris Leonard <cjl@sugarlabs.org>
16283
16284 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16285 to iso-639.def.
16286
4a15c2a4 162872013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16288
16289 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16290
8b35e35d
OB
162912013-11-01 Ondřej Bílka <neleai@seznam.cz>
16292
16293 [BZ #16112]
16294 * malloc/malloc (malloc_info): Do not handle first bin as
16295 special case.
16296
1d70fd6c
CL
162972013-11-01 Chris Leonard <cjl@sugarlabs.org>
16298
16299 * locale/iso-639.def: Add Central Nahuatl (nhn).
16300
8c5c2600
BH
163012013-11-01 Bruno Haible <bruno@clisp.org>
16302
16303 [BZ #7003]
16304 * manual/math.texi (BSD Random): Specify range upper bound as
16305 in POSIX.
16306
da5579c2
CL
163072013-10-31 Chris Leonard <cjl@sugarlabs.org>
16308
16309 * locale/iso-639.def: Add Meadow Mari (mhr).
16310
5d30d853
OB
163112013-10-31 Ondřej Bílka <neleai@seznam.cz>
16312
16313 [BZ #14752], [BZ #15763]
16314 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16315 Validate name.
16316 * rt/tst_shm.c: Add test for escaping directory.
16317
a4966c61
AS
163182013-10-31 Andreas Schwab <schwab@suse.de>
16319
8a43e768 16320 [BZ #15917]
a4966c61
AS
16321 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16322 followed by 'x' as part of digit sequence.
16323 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16324
28d708c4
MAP
163252013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16326
16327 [BZ #16037]
16328 * configure.ac: allow GNU Make 4.0 and greater.
16329 * configure: Regenerated.
16330
a56ee40b
WN
163312013-10-30 Will Newton <will.newton@linaro.org>
16332
16333 [BZ #16038]
16334 * malloc/hooks.c (memalign_check): Limit alignment to the
16335 maximum representable power of two.
16336 * malloc/malloc.c (__libc_memalign): Likewise.
16337 * malloc/tst-memalign.c (do_test): Add test for very
16338 large alignment values.
16339 * malloc/tst-posix_memalign.c (do_test): Likewise.
16340
c6e4925d
OB
163412013-10-30 Ondřej Bílka <neleai@seznam.cz>
16342
16343 [BZ #11087]
16344 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16345 (munmap_chunk): Likewise.
16346 (mremap_chunk): Likewise.
16347
163482013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16349
8a43e768 16350 [BZ #15799]
bbea82f7
OB
16351 * stdlib/div.c (div): Remove obsolete code.
16352 * stdlib/ldiv.c (ldiv): Likewise.
16353 * stdlib/lldiv.c (lldiv): Likewise.
16354
977f4b31
SP
163552013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16356
16357 [BZ #16071]
16358 * nss/nss_files/files-XXX.c (get_contents_ret): New
16359 enumerator.
16360 (get_contents): New function.
16361 (internal_getent): Use it. Expand size of LINEBUFLEN.
16362
cb8a6dbd
MF
163632013-10-30 Mike Frysinger <vapier@gentoo.org>
16364
16365 * configure.in: Moved to ...
16366 * configure.ac: ... here. Change reference to configure.in
16367 to configure.ac.
16368 * sysdeps/arm/preconfigure.ac: ... here.
16369 configure.in to configure.ac.
16370 * sysdeps/gnu/configure.in: Moved to ...
16371 * sysdeps/gnu/configure.ac: ... here.
16372 * sysdeps/i386/configure.in: Moved to ...
16373 * sysdeps/i386/configure.ac: ... here.
16374 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16375 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16376 * sysdeps/mach/configure.in: Moved to ...
16377 * sysdeps/mach/configure.ac: ... here.
16378 * sysdeps/mach/hurd/configure.in: Moved to ...
16379 * sysdeps/mach/hurd/configure.ac: ... here.
16380 * sysdeps/powerpc/configure.in: Moved to ...
16381 * sysdeps/powerpc/configure.ac: ... here.
16382 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16383 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16384 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16385 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16386 * sysdeps/s390/s390-32/configure.in: Moved to ...
16387 * sysdeps/s390/s390-32/configure.ac: ... here.
16388 * sysdeps/s390/s390-64/configure.in: Moved to ...
16389 * sysdeps/s390/s390-64/configure.ac: ... here.
16390 * sysdeps/sh/configure.in: Moved to ...
16391 * sysdeps/sh/configure.ac: ... here.
16392 * sysdeps/sparc/configure.in: Moved to ...
16393 * sysdeps/sparc/configure.ac: ... here.
16394 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16395 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16396 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16397 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16398 * sysdeps/x86_64/configure.in: Moved to ...
16399 * sysdeps/x86_64/configure.ac: ... here.
16400 * sysdeps/x86_64/preconfigure.in: Moved to ...
16401 * sysdeps/x86_64/preconfigure.ac: ... here.
16402 * aclocal.m4: Change reference to configure.in to configure.ac.
16403 * config.h.in: Likewise.
16404 * manual/install.texi: Likewise.
16405 * manual/maint.texi: Likewise.
16406 * Makefile: Likewise.
16407 * malloc/Makefile: Likewise.
16408 * nscd/Makefile: Likewise.
16409 * Makeconfig: Change reference to configure.in and
16410 preconfigure.in to configure.ac and preconfigure.ac
16411 respectively.
16412 * INSTALL: Regenerated.
16413 * configure: Likewise.
16414 * sysdeps/gnu/configure: Likewise.
16415 * sysdeps/i386/configure: Likewise.
16416 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16417 * sysdeps/mach/configure: Likewise.
16418 * sysdeps/mach/hurd/configure: Likewise.
16419 * sysdeps/powerpc/configure: Likewise.
16420 * sysdeps/powerpc/powerpc32/configure: Likewise.
16421 * sysdeps/powerpc/powerpc64/configure: Likewise.
16422 * sysdeps/s390/s390-32/configure: Likewise.
16423 * sysdeps/s390/s390-64/configure: Likewise.
16424 * sysdeps/sh/configure: Likewise.
16425 * sysdeps/sparc/configure: Likewise.
16426 * sysdeps/unix/sysv/linux/configure: Likewise.
16427 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16428 * sysdeps/x86_64/configure: Likewise.
16429 * sysdeps/x86_64/preconfigure: Likewise.
16430
36a4953a
AS
164312013-10-29 Andreas Schwab <schwab@suse.de>
16432
16433 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16434
c79a1204
SP
164352013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16436
dfa1b402
SP
16437 * benchtests/pow-inputs: Add new inputs.
16438
54f73d9c
SP
16439 * benchtests/exp-inputs: Add new inputs.
16440
c79a1204
SP
16441 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16442 conditional check for return value.
16443 (__cos32): Likewise.
16444
67beb545 164452013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16446
16447 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16448 to provide a boost for large inputs with word alignment.
16449 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16450 implementation based on optimized PPC64 strcpy.
16451 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16452 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16453 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16454 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16455
151659f6
OB
164562013-10-25 Ondřej Bílka <neleai@seznam.cz>
16457
482a077e 16458 [BZ #2801]
151659f6
OB
16459 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16460
10b0f26b
OB
164612013-10-25 Ondřej Bílka <neleai@seznam.cz>
16462
16463 [BZ #14876]
16464 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16465 * time/tst-strptime.c (day_tests): Add testcase.
16466
ca42d35e
OB
164672013-10-25 Ondřej Bílka <neleai@seznam.cz>
16468
482a077e 16469 [BZ #14029]
ca42d35e
OB
16470 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16471
52e6d801
FB
164722013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16473
16474 [BZ #16074]
16475 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16476 MAP_FAILED on error.
16477
7cbcdb36
SP
164782013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16479
16480 [BZ #16072]
16481 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16482 heap for large requests.
16483
894f3f10
AM
164842013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16485
16486 [BZ #9954]
16487 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16488 result if the result has no associated interface.
16489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16490 interface for all 127.X.Y.Z addresses.
16491
b85545a6
CL
164922013-10-24 Chris Leonard <cjl@sugarlabs.org>
16493
16494 * locale/iso-639.def: Add Ligurian (lij)
16495
d1f23d46
OB
164962013-10-21 Ondřej Bílka <neleai@seznam.cz>
16497
16498 [BZ #15825]
16499 * sunrpc/rpc_main.c: Document rpcgen -5.
16500
4db5b08f
MS
165012013-10-19 Michael Stahl <mstahl@redhat.com>
16502
16503 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16504
a471e96a
OB
165052013-10-19 Ondřej Bílka <neleai@seznam.cz>
16506
d1f23d46 16507 [BZ #10278]
a471e96a
OB
16508 * posix/glob.c: Match only directories when trailing slash is present.
16509 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16510 (main): Add testcase.
16511
45c30c61
OB
165122013-10-19 Ondřej Bílka <neleai@seznam.cz>
16513
16514 [BZ #15670]
16515 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16516
484c12fb
CD
165172013-10-18 Carlos O'Donell <carlos@redhat.com>
16518
3d7dc513
CD
16519 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16520 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16521 AUTH_DES and cindex for FIPS 140-2.
16522 (DES Encryption): Add cindex FIPS 46-3.
16523
484c12fb
CD
16524 * locale/locarchive.h (struct locarhandle): Add fname.
16525 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16526 if an optional argument was specified to --list-archive,
16527 otherwise NULL.
16528 * locale/programs/locarchive.c (show_archive_content): Take new
16529 argument fname and pass it via ah.fname to open_archive.
16530 * locale/programs/localedef.h: Update decl.
16531 (open_archive): If AH->fname is non-null, open that file
16532 rather than the default file name, and don't ignore ENOENT.
16533 (create_archive): Set AH.fname to NULL.
16534 (delete_locales_from_archive): Likewise.
16535 (add_locales_to_archive): Likewise.
16536 * locale/programs/locfile.c (write_all_categories): Likewise.
16537
3c8325fb
JM
165382013-10-18 Joseph Myers <joseph@codesourcery.com>
16539 Aldy Hernandez <aldyh@redhat.com>
16540
16541 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16542 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16543 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16544 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16545 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16546 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16547 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16548 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16549 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16550 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16551 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16552 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16553 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16554 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16555 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16556 Likewise.
16557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16558 Likewise.
16559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16560 Likewise.
16561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16562 Likewise.
16563 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16564 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16565 Likewise.
16566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16567 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16568 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16569 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16570 Likewise.
16571 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16572 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16573 * sysdeps/powerpc/preconfigure: Likewise.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16575 Likewise.
16576 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16577 Replace contents of file by #include of <fenv_libc.h>.
16578 * sysdeps/powerpc/soft-fp/sfp-machine.h
16579 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16580 and <sys/prctl.h>.
16581 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16594 Allow copysignl PLT reference to be missing.
16595
5abe0682
RS
165962013-10-18 Richard Sandiford <richard@codesourcery.com>
16597 Joseph Myers <joseph@codesourcery.com
16598
16599 [BZ #15948]
16600 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16601 single character.
16602 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16603
c7738d08
SP
166042013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16605
16606 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16607 * elf/tst-tls1.c: Likewise.
16608 * elf/tst-tls10.h: Likewise.
16609 * elf/tst-tls14.c: Likewise.
16610 * elf/tst-tls2.c: Likewise.
16611 * elf/tst-tls3.c: Likewise.
16612 * elf/tst-tls4.c: Likewise.
16613 * elf/tst-tls5.c: Likewise.
16614 * elf/tst-tls6.c: Likewise.
16615 * elf/tst-tls7.c: Likewise.
16616 * elf/tst-tls8.c: Likewise.
16617 * elf/tst-tls9.c: Likewise.
16618 * elf/tst-tlsmod1.c: Likewise.
16619 * elf/tst-tlsmod13.c: Likewise.
16620 * elf/tst-tlsmod13a.c: Likewise.
16621 * elf/tst-tlsmod14a.c: Likewise.
16622 * elf/tst-tlsmod16a.c: Likewise.
16623 * elf/tst-tlsmod16b.c: Likewise.
16624 * elf/tst-tlsmod2.c: Likewise.
16625 * elf/tst-tlsmod3.c: Likewise.
16626 * elf/tst-tlsmod4.c: Likewise.
16627 * elf/tst-tlsmod5.c: Likewise.
16628 * elf/tst-tlsmod6.c: Likewise.
16629
0bfcf2c7
OB
166302013-10-18 Ondřej Bílka <neleai@seznam.cz>
16631
16632 [BZ #12486]
16633 * malloc/malloc.c: remove checks for statistics.
16634
264aad1e
OB
166352013-10-17 Ondřej Bílka <neleai@seznam.cz>
16636
16637 [BZ #15277]
16638 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16639 * inet/tst-network.c: Add testcase.
16640
b957ced8
AS
166412013-10-17 Andreas Schwab <schwab@suse.de>
16642
16643 [BZ #15218]
16644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16645 to determine canonical name.
16646
c5d5d574
OB
166472013-10-17 Ondřej Bílka <neleai@seznam.cz>
16648
16649 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16650 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16673 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16674 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16676 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16679 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16681 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16690 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16695 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16696 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16704 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16706 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16707
e5c2c2d0
JM
167082013-10-17 Joseph Myers <joseph@codesourcery.com>
16709
16710 [BZ #16041]
16711 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16712 make result into a quiet NaN.
16713
51ca9e29
JM
167142013-10-16 Joseph Myers <joseph@codesourcery.com>
16715
16716 * soft-fp/adddf3.c: Fix horizontal whitespace.
16717 * soft-fp/addsf3.c: Likewise.
16718 * soft-fp/addtf3.c: Likewise.
16719 * soft-fp/divdf3.c: Likewise.
16720 * soft-fp/divsf3.c: Likewise.
16721 * soft-fp/divtf3.c: Likewise.
16722 * soft-fp/double.h: Likewise.
16723 * soft-fp/eqdf2.c: Likewise.
16724 * soft-fp/eqsf2.c: Likewise.
16725 * soft-fp/eqtf2.c: Likewise.
16726 * soft-fp/extenddftf2.c: Likewise.
16727 * soft-fp/extended.h: Likewise.
16728 * soft-fp/extendsfdf2.c: Likewise.
16729 * soft-fp/extendsftf2.c: Likewise.
16730 * soft-fp/extendxftf2.c: Likewise.
16731 * soft-fp/fixdfdi.c: Likewise.
16732 * soft-fp/fixdfsi.c: Likewise.
16733 * soft-fp/fixdfti.c: Likewise.
16734 * soft-fp/fixsfdi.c: Likewise.
16735 * soft-fp/fixsfsi.c: Likewise.
16736 * soft-fp/fixsfti.c: Likewise.
16737 * soft-fp/fixtfdi.c: Likewise.
16738 * soft-fp/fixtfsi.c: Likewise.
16739 * soft-fp/fixtfti.c: Likewise.
16740 * soft-fp/fixunsdfdi.c: Likewise.
16741 * soft-fp/fixunsdfsi.c: Likewise.
16742 * soft-fp/fixunsdfti.c: Likewise.
16743 * soft-fp/fixunssfdi.c: Likewise.
16744 * soft-fp/fixunssfsi.c: Likewise.
16745 * soft-fp/fixunssfti.c: Likewise.
16746 * soft-fp/fixunstfdi.c: Likewise.
16747 * soft-fp/fixunstfsi.c: Likewise.
16748 * soft-fp/fixunstfti.c: Likewise.
16749 * soft-fp/floatdidf.c: Likewise.
16750 * soft-fp/floatdisf.c: Likewise.
16751 * soft-fp/floatditf.c: Likewise.
16752 * soft-fp/floatsidf.c: Likewise.
16753 * soft-fp/floatsisf.c: Likewise.
16754 * soft-fp/floatsitf.c: Likewise.
16755 * soft-fp/floattidf.c: Likewise.
16756 * soft-fp/floattisf.c: Likewise.
16757 * soft-fp/floattitf.c: Likewise.
16758 * soft-fp/floatundidf.c: Likewise.
16759 * soft-fp/floatundisf.c: Likewise.
16760 * soft-fp/floatunditf.c: Likewise.
16761 * soft-fp/floatunsidf.c: Likewise.
16762 * soft-fp/floatunsisf.c: Likewise.
16763 * soft-fp/floatunsitf.c: Likewise.
16764 * soft-fp/floatuntidf.c: Likewise.
16765 * soft-fp/floatuntisf.c: Likewise.
16766 * soft-fp/floatuntitf.c: Likewise.
16767 * soft-fp/fmadf4.c: Likewise.
16768 * soft-fp/fmasf4.c: Likewise.
16769 * soft-fp/fmatf4.c: Likewise.
16770 * soft-fp/gedf2.c: Likewise.
16771 * soft-fp/gesf2.c: Likewise.
16772 * soft-fp/getf2.c: Likewise.
16773 * soft-fp/ledf2.c: Likewise.
16774 * soft-fp/lesf2.c: Likewise.
16775 * soft-fp/letf2.c: Likewise.
16776 * soft-fp/muldf3.c: Likewise.
16777 * soft-fp/mulsf3.c: Likewise.
16778 * soft-fp/multf3.c: Likewise.
16779 * soft-fp/negdf2.c: Likewise.
16780 * soft-fp/negsf2.c: Likewise.
16781 * soft-fp/negtf2.c: Likewise.
16782 * soft-fp/op-1.h: Likewise.
16783 * soft-fp/op-2.h: Likewise.
16784 * soft-fp/op-4.h: Likewise.
16785 * soft-fp/op-8.h: Likewise.
16786 * soft-fp/op-common.h: Likewise.
16787 * soft-fp/quad.h: Likewise.
16788 * soft-fp/single.h: Likewise.
16789 * soft-fp/soft-fp.h: Likewise.
16790 * soft-fp/sqrtdf2.c: Likewise.
16791 * soft-fp/sqrtsf2.c: Likewise.
16792 * soft-fp/sqrttf2.c: Likewise.
16793 * soft-fp/subdf3.c: Likewise.
16794 * soft-fp/subsf3.c: Likewise.
16795 * soft-fp/subtf3.c: Likewise.
16796 * soft-fp/truncdfsf2.c: Likewise.
16797 * soft-fp/trunctfdf2.c: Likewise.
16798 * soft-fp/trunctfsf2.c: Likewise.
16799 * soft-fp/trunctfxf2.c: Likewise.
16800 * soft-fp/unorddf2.c: Likewise.
16801 * soft-fp/unordsf2.c: Likewise.
16802 * soft-fp/unordtf2.c: Likewise.
16803
9ebb0332
JM
168042013-10-15 Joseph Myers <joseph@codesourcery.com>
16805
16806 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16807 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16808
4b1a6d8b
OB
168092013-10-15 Ondřej Bílka <neleai@seznam.cz>
16810
16811 * elf/dl-libc.c: Clear initfini list after freeing.
16812
1e145589
JM
168132013-10-14 Joseph Myers <joseph@codesourcery.com>
16814
16815 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16816 * soft-fp/addsf3.c: Likewise.
16817 * soft-fp/addtf3.c: Likewise.
16818 * soft-fp/divdf3.c: Likewise.
16819 * soft-fp/divsf3.c: Likewise.
16820 * soft-fp/divtf3.c: Likewise.
16821 * soft-fp/double.h: Likewise.
16822 * soft-fp/eqdf2.c: Likewise.
16823 * soft-fp/eqsf2.c: Likewise.
16824 * soft-fp/eqtf2.c: Likewise.
16825 * soft-fp/extenddftf2.c: Likewise.
16826 * soft-fp/extended.h: Likewise.
16827 * soft-fp/extendsfdf2.c: Likewise.
16828 * soft-fp/extendsftf2.c: Likewise.
16829 * soft-fp/extendxftf2.c: Likewise.
16830 * soft-fp/fixdfdi.c: Likewise.
16831 * soft-fp/fixdfsi.c: Likewise.
16832 * soft-fp/fixdfti.c: Likewise.
16833 * soft-fp/fixsfdi.c: Likewise.
16834 * soft-fp/fixsfsi.c: Likewise.
16835 * soft-fp/fixsfti.c: Likewise.
16836 * soft-fp/fixtfdi.c: Likewise.
16837 * soft-fp/fixtfsi.c: Likewise.
16838 * soft-fp/fixtfti.c: Likewise.
16839 * soft-fp/fixunsdfdi.c: Likewise.
16840 * soft-fp/fixunsdfsi.c: Likewise.
16841 * soft-fp/fixunsdfti.c: Likewise.
16842 * soft-fp/fixunssfdi.c: Likewise.
16843 * soft-fp/fixunssfsi.c: Likewise.
16844 * soft-fp/fixunssfti.c: Likewise.
16845 * soft-fp/fixunstfdi.c: Likewise.
16846 * soft-fp/fixunstfsi.c: Likewise.
16847 * soft-fp/fixunstfti.c: Likewise.
16848 * soft-fp/floatdidf.c: Likewise.
16849 * soft-fp/floatdisf.c: Likewise.
16850 * soft-fp/floatditf.c: Likewise.
16851 * soft-fp/floatsidf.c: Likewise.
16852 * soft-fp/floatsisf.c: Likewise.
16853 * soft-fp/floatsitf.c: Likewise.
16854 * soft-fp/floattidf.c: Likewise.
16855 * soft-fp/floattisf.c: Likewise.
16856 * soft-fp/floattitf.c: Likewise.
16857 * soft-fp/floatundidf.c: Likewise.
16858 * soft-fp/floatundisf.c: Likewise.
16859 * soft-fp/floatunsidf.c: Likewise.
16860 * soft-fp/floatunsisf.c: Likewise.
16861 * soft-fp/floatuntidf.c: Likewise.
16862 * soft-fp/floatuntisf.c: Likewise.
16863 * soft-fp/floatuntitf.c: Likewise.
16864 * soft-fp/fmadf4.c: Likewise.
16865 * soft-fp/fmasf4.c: Likewise.
16866 * soft-fp/fmatf4.c: Likewise.
16867 * soft-fp/gedf2.c: Likewise.
16868 * soft-fp/gesf2.c: Likewise.
16869 * soft-fp/getf2.c: Likewise.
16870 * soft-fp/ledf2.c: Likewise.
16871 * soft-fp/lesf2.c: Likewise.
16872 * soft-fp/letf2.c: Likewise.
16873 * soft-fp/muldf3.c: Likewise.
16874 * soft-fp/mulsf3.c: Likewise.
16875 * soft-fp/multf3.c: Likewise.
16876 * soft-fp/negdf2.c: Likewise.
16877 * soft-fp/negsf2.c: Likewise.
16878 * soft-fp/negtf2.c: Likewise.
16879 * soft-fp/op-1.h: Likewise.
16880 * soft-fp/op-2.h: Likewise.
16881 * soft-fp/op-4.h: Likewise.
16882 * soft-fp/op-8.h: Likewise.
16883 * soft-fp/op-common.h: Likewise.
16884 * soft-fp/quad.h: Likewise.
16885 * soft-fp/single.h: Likewise.
16886 * soft-fp/soft-fp.h: Likewise.
16887 * soft-fp/sqrtdf2.c: Likewise.
16888 * soft-fp/sqrtsf2.c: Likewise.
16889 * soft-fp/sqrttf2.c: Likewise.
16890 * soft-fp/subdf3.c: Likewise.
16891 * soft-fp/subsf3.c: Likewise.
16892 * soft-fp/subtf3.c: Likewise.
16893 * soft-fp/truncdfsf2.c: Likewise.
16894 * soft-fp/trunctfdf2.c: Likewise.
16895 * soft-fp/trunctfsf2.c: Likewise.
16896 * soft-fp/trunctfxf2.c: Likewise.
16897 * soft-fp/unorddf2.c: Likewise.
16898 * soft-fp/unordsf2.c: Likewise.
16899 * soft-fp/unordtf2.c: Likewise.
16900
17c48a60
OB
169012013-10-14 Ondřej Bílka <neleai@seznam.cz>
16902
16903 [BZ #15672]
16904 * misc/error.c (error_tail): Fix possible buffer overflow.
16905
cabba934
OB
169062013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16907
16908 [BZ #13028]
16909 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16910 address.
16911
94bf958a
PM
169122013-10-14 P. J. McDermott <pj@pehjota.net>
16913
16914 [BZ #832]
16915 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16916 testing pipefail option.
16917
71b4dea7
JM
169182013-10-12 Joseph Myers <joseph@codesourcery.com>
16919
16920 * soft-fp/double.h: Indent preprocessor directives inside #if.
16921 * soft-fp/extended.h: Likewise.
16922 * soft-fp/op-2.h: Likewise.
16923 * soft-fp/op-4.h: Likewise.
16924 * soft-fp/op-common.h: Likewise.
16925 * soft-fp/quad.h: Likewise.
16926 * soft-fp/single.h: Likewise.
16927 * soft-fp/soft-fp.h: Likewise.
16928
55602758
YC
169292013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16930
16931 * iconv/iconv_prog.c: Fix typos.
16932 * stdio-common/psiginfo-data.h: Likewise.
16933
9cd83302
RT
169342013-10-12 Reuben Thomas <rrt@sc3d.org>
16935
16936 [BZ #15764]
16937 * locale/setlocale.c: Fix typo.
16938
99fd9f47
JM
169392013-10-12 Joseph Myers <joseph@codesourcery.com>
16940
b7ea74f0
JM
16941 [BZ #16036]
16942 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16943 signaling NaN arguments.
16944 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16945 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16946
8a509447
JM
16947 [BZ #14910]
16948 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16949 unordered operands.
16950 * soft-fp/gesf2.c (__gesf2): Likewise.
16951 * soft-fp/getf2.c (__getf2): Likewise.
16952 * soft-fp/ledf2.c (__ledf2): Likewise.
16953 * soft-fp/lesf2.c (__lesf2): Likewise.
16954 * soft-fp/letf2.c (__letf2): Likewise.
16955
98998e9f
JM
16956 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16957 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16958 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16959 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16960 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16961 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16962 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16963 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16964 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16965 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16966 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16967 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16968 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16969 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16970 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16971 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16972 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16973 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16974 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16975 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16976 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16977 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16978 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16979 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16980 * soft-fp/floattidf.c (__floattidf): Likewise.
16981 * soft-fp/floattisf.c (__floattisf): Likewise.
16982 * soft-fp/floattitf.c (__floattitf): Likewise.
16983 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16984 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16985 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16986 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16987 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16988 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16989 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16990 * soft-fp/gesf2.c (__gesf2): Likewise.
16991 * soft-fp/getf2.c (__getf2): Likewise.
16992 * soft-fp/ledf2.c (__ledf2): Likewise.
16993 * soft-fp/lesf2.c (__lesf2): Likewise.
16994 * soft-fp/letf2.c (__letf2): Likewise.
16995
8edc4a11
JM
16996 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16997 Undefine and redefine.
16998 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16999 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17000 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17001 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17002 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17003 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17004 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17005 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17006 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17007 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17008 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17009 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17010 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17011 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17012 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17013
8399acaf
JM
17014 [BZ #16032]
17015 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17016 without decrementing exponent if mantissa >= that for the
17017 denominator, not >.
17018 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17019 denominator, not >. Decrement exponent in < case instead of
17020 incrementing in >= case.
17021 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17022 without decrementing exponent if mantissa >= that for the
17023 denominator, not >.
17024
99fd9f47
JM
17025 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17026 computing saturated result for unsigned overflow.
17027
10e1cf6b
SP
170282013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17029 Jeff Law <law@redhat.com>
17030
17031 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17032 (atan2Mp): Add systemtap probe marker.
17033 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17034 (__ieee754_log): Add systemtap probe marker.
17035 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17036 (atanMp): Add systemtap probe marker.
17037 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17038 (tanMp): Add systemtap probe marker.
17039 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17040 (__slowexp): Add systemtap probe marker.
17041 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17042 (__slowpow): Add systemtap probe marker.
17043 * manual/probes.texi: Document probes.
17044
3d110c7c
EB
170452013-10-11 Eric Biggers <ebiggers3@gmail.com>
17046
17047 [BZ #15362]
17048 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17049 written.
17050 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17051 written.
17052 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17053 written to buffer but not flushed.
17054 * libio/iofwrite_u.c: Likewise.
17055 * libio/iopadn.c: Return bytes returned even if EOF was
17056 encountered.
17057 * libio/iowpadn.c: Likewise.
17058 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17059 if _IO_padn does not write the whole buffer.
17060 [!COMPILE_WPRINTF] (PAD): Likewise.
17061
75b4202a
DM
170622013-10-10 David S. Miller <davem@davemloft.net>
17063
17064 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17065 directory block.
17066
6c6352e6
JM
170672013-10-10 Joseph Myers <joseph@codesourcery.com>
17068
33b853c3
JM
17069 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17070 instead of FSF address.
17071 * soft-fp/fixdfti.c: Likewise.
17072 * soft-fp/fixsfti.c: Likewise.
17073 * soft-fp/fixtfti.c: Likewise.
17074 * soft-fp/fixunsdfti.c: Likewise.
17075 * soft-fp/fixunssfti.c: Likewise.
17076 * soft-fp/fixunstfti.c: Likewise.
17077 * soft-fp/floattidf.c: Likewise.
17078 * soft-fp/floattisf.c: Likewise.
17079 * soft-fp/floattitf.c: Likewise.
17080 * soft-fp/floatuntidf.c: Likewise.
17081 * soft-fp/floatuntisf.c: Likewise.
17082 * soft-fp/floatuntitf.c: Likewise.
17083 * soft-fp/trunctfxf2.c: Likewise.
17084
6c6352e6
JM
17085 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17086 * soft-fp/fixdfti.c: Likewise.
17087 * soft-fp/fixsfti.c: Likewise.
17088 * soft-fp/fixtfti.c: Likewise.
17089 * soft-fp/fixunsdfti.c: Likewise.
17090 * soft-fp/fixunssfti.c: Likewise.
17091 * soft-fp/fixunstfti.c: Likewise.
17092 * soft-fp/floattidf.c: Likewise.
17093 * soft-fp/floattisf.c: Likewise.
17094 * soft-fp/floattitf.c: Likewise.
17095 * soft-fp/floatuntidf.c: Likewise.
17096 * soft-fp/floatuntisf.c: Likewise.
17097 * soft-fp/floatuntitf.c: Likewise.
17098 * soft-fp/trunctfxf2.c: Likewise.
17099
3bf78b71
DM
171002013-10-10 David S. Miller <davem@davemloft.net>
17101
17102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17103
6f10289e
JM
171042013-10-10 Joseph Myers <joseph@codsourcery.com>
17105
bd878fc0
JM
17106 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17107 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17108 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17113
6f10289e
JM
17114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17115 for NaNs before doing comparisons on argument.
17116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17117 Likewise.
17118
321e2684
WN
171192013-10-10 Will Newton <will.newton@linaro.org>
17120
17121 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17122 passed to _int_memalign does not overflow.
17123
40fefba1
TR
171242013-10-10 Torvald Riegel <triegel@redhat.com>
17125
17126 * scripts/bench.pl: Add include-sources directive.
17127 * benchtests/README: Update documentation.
17128
2ae21ed2
JM
171292013-10-10 Joseph Myers <joseph@codesourcery.com>
17130
dcc2dd3f
JM
17131 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17132 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17133 instead of FP_INIT_ROUNDMODE.
17134 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17135 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17136
2ae21ed2
JM
17137 [BZ #16034]
17138 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17139 copy class of input value.
17140 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17141 not handle exceptions.
17142 * soft-fp/negsf2.c (__negsf2): Likewise.
17143 * soft-fp/negtf2.c (__negtf2): Likewise.
17144 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17145
cb8f9562
JM
171462013-10-09 Joseph Myers <joseph@codesourcery.com>
17147
17148 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17149 semicolon. From Linux kernel.
17150
5b60c59d
AB
171512013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17152
17153 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17154
b86835ca
YC
171552013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17156
17157 [BZ #156]
17158 * manual/socket.texi: Added statement about buffer
17159 for gethostbyname2_r.
17160
e7044ea7
OB
171612013-10-08 Ondřej Bílka <neleai@seznam.cz>
17162
17163 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17164 Use .p2align directive instead, throughout.
17165 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17166 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17167 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17170 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17171 * sysdeps/x86_64/strchr.S: Likewise.
17172 * sysdeps/x86_64/strrchr.S: Likewise.
17173
09544cbc
SP
171742013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17175
88576635
SP
17176 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17177
e7b2d1dd
SP
17178 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17179
09544cbc
SP
17180 * sysdeps/generic/math_private.h (__mpsin1): Remove
17181 declaration.
17182 (__mpcos1): Likewise.
17183 (__mpsin): New argument __range_reduce.
17184 (__mpcos): Likewise.
17185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17186 (slow): Use __mpsin and __mpcos.
17187 (slow1): Likewise.
17188 (slow2): Likewise.
17189 (sloww): Likewise.
17190 (sloww1): Likewise.
17191 (sloww2): Likewise.
17192 (bsloww): Likewise.
17193 (bsloww1): Likewise.
17194 (bsloww2): Likewise.
17195 (cslow2): Likewise.
17196 (csloww): Likewise.
17197 (csloww1): Likewise.
17198 (csloww2): Likewise.
17199 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17200 range_reduce. Merge in __mpsin1.
17201 (__mpcos): Likewise.
17202 (__mpsin1): Remove.
17203 (__mpcos1): Likewise.
17204
7602d070
JM
172052013-10-07 Joseph Myers <joseph@codesourcery.com>
17206
17207 * locale/loadlocale.c (_nl_intern_locale_data): Use
17208 LOCFILE_ALIGNED_P.
17209 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17210 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17211 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17212 obstack data is appropriately aligned.
17213 (obstack_int32_grow_fast): Likewise.
17214 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17215 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17216 (add_locale_uint32_array): Likewise.
17217
a357259b
SP
172182013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17219
17220 * benchtests/Makefile: Remove ARGLIST and RET variables.
17221 ($(objpfx)bench-%.c): Pass only function name to the script.
17222 * benchtests/README: Update documentation.
17223 * benchtests/acos-inputs: Add new directives.
17224 * benchtests/acosh-inputs: Likewise.
17225 * benchtests/asin-inputs: Likewise.
17226 * benchtests/asinh-inputs: Likewise.
17227 * benchtests/atan-inputs: Likewise.
17228 * benchtests/atanh-inputs: Likewise.
17229 * benchtests/cos-inputs: Likewise.
17230 * benchtests/cosh-inputs: Likewise.
17231 * benchtests/exp-inputs: Likewise.
17232 * benchtests/log-inputs: Likewise.
17233 * benchtests/pow-inputs: Likewise.
17234 * benchtests/rint-inputs: Likewise.
17235 * benchtests/sin-inputs: Likewise.
17236 * benchtests/sinh-inputs: Likewise.
17237 * benchtests/tan-inputs: Likewise.
17238 * benchtests/tanh-inputs: Likewise.
17239 * scripts/bench.pl: Add support for new directives.
17240
9ec1b13d
AM
172412013-10-07 Alan Modra <amodra@gmail.com>
17242
17243 * README: Fix careless merge.
17244
8b7d57cd
AM
172452013-10-05 Alan Modra <amodra@gmail.com>
17246
17247 * NEWS: Mention powerpc64le support and bugs fixed.
17248 * README: Both big-endian and little-endian powerpc64 supported.
17249
7b7bab13
ST
172502013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17251
57f41c40
AS
17252 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17253 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17254 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17255 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17256
d39baad1
RA
172572013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17258
17259 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17260 match prototype.
17261
cd78f7e7
JM
172622013-10-04 Joseph Myers <joseph@codesourcery.com>
17263
29d73d86
JM
17264 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17265 Move -mhard-float appending from
17266 ports/sysdeps/powerpc/powerpc32/Makefile.
17267 [$(with-fp) = yes] (ASFLAGS): Likewise.
17268 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17269 * sysdeps/powerpc/nofpu: Move directory from
17270 ports/sysdeps/powerpc/nofpu.
17271 * sysdeps/powerpc/soft-fp: Move directory from
17272 ports/sysdeps/powerpc/soft-fp.
17273 * sysdeps/powerpc/powerpc32/405: Move directory from
17274 ports/sysdeps/powerpc/powerpc32/405.
17275 * sysdeps/powerpc/powerpc32/440: Move directory from
17276 ports/sysdeps/powerpc/powerpc32/440.
17277 * sysdeps/powerpc/powerpc32/464: Move directory from
17278 ports/sysdeps/powerpc/powerpc32/464.
17279 * sysdeps/powerpc/powerpc32/476: Move directory from
17280 ports/sysdeps/powerpc/powerpc32/476.
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17282 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17291 * README: Update for powerpc-*-linux-gnu software floating point
17292 support in libc.
17293
e246b347
JM
17294 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17295 case to powerpc/powerpc32*.
17296 * sysdeps/unix/sysv/linux/configure: Regenerated.
17297
89c2003e
JM
17298 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17299 (_FPU_MASK_OM): Define as 0x04.
17300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17302 0x00c10080.
17303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17304 0x0000003c.
17305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17306
cd78f7e7
JM
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17308 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17309 getcontext_e500.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17311 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17312 setcontext_e500.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17314 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17315 and setcontext_e500.
17316
c755294d
CL
173172013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17318
17319 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17320
e16d221c
SP
173212013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17322
17323 * manual/threads.texi (Default Thread Attributes): Fix typo.
17324
215c7d43
WN
173252013-10-04 Will Newton <will.newton@linaro.org>
17326
17327 * malloc/Makefile: Add tst-memalign.
17328 * malloc/tst-memalign.c: New file.
17329
27d0461b
WN
17330 * malloc/tst-posix_memalign.c: Add comments.
17331 (do_test): Add comments and call free on all potentially
17332 allocated pointers. Add space after cast.
17333
1bc92709
WN
17334 * malloc/tst-pvalloc.c: Add comments.
17335 (do_test): Add comments and call free on all potentially
17336 allocated pointers. Remove duplicate check for NULL pointer.
17337 Add space after cast.
17338
66a9be9d
WN
17339 * malloc/tst-valloc.c: Add comments.
17340 (do_test): Add comments and call free on all potentially
17341 allocated pointers. Remove duplicate check for NULL pointer.
17342 Add space after cast.
17343
4cb81307
AM
173442013-10-04 Alan Modra <amodra@gmail.com>
17345
17346 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17347 Use stdint types in rather than __attribute__((mode())).
17348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17349
f8e3e9f3
AM
173502013-10-04 Alan Modra <amodra@gmail.com>
17351
17352 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17353 Correct handling of unaligned relocs for little-endian.
17354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17355
8f9ebb08
AM
173562013-10-04 Alan Modra <amodra@gmail.com>
17357
17358 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17359 * configure: Regenerate.
17360 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17361 * shlib-versions: Likewise.
17362
0edf96c2
AM
173632013-10-04 Alan Modra <amodra@gmail.com>
17364
17365 * string/tester.c (test_memrchr): Increment reported test cycle.
17366
e0f7a380
AM
173672013-10-04 Alan Modra <amodra@gmail.com>
17368
17369 * string/test-memcpy.c (do_one_test): When reporting errors, print
17370 string address and don't overrun end of string.
17371
466b0393
AM
173722013-10-04 Alan Modra <amodra@gmail.com>
17373
17374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17375 insrdi. Make better use of reg selection to speed exit slightly.
17376 Schedule entry path a little better. Remove useless "are we done"
17377 checks on entry to main loop. Handle wrapping around zero address.
17378 Correct main loop count. Handle single left-over word from main
17379 loop inline rather than by using loop_small. Remove extra word
17380 case in loop_small caused by wrong loop count. Add little-endian
17381 support.
17382 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17384 cache hint.
17385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17386 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17387 support. Avoid rlwimi.
17388 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17389
3be87c77
AM
173902013-10-04 Alan Modra <amodra@gmail.com>
17391
17392 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17393 insrdi. Formatting.
3be87c77
AM
17394 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17395 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17396 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17397 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17398 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17399 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17400
759cfef3
AM
174012013-10-04 Alan Modra <amodra@gmail.com>
17402
17403 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17406 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17410 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17411 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17412 use of regs. Use power7 mtocrf. Tidy function tails.
17413
fe6e95d7
AM
174142013-10-04 Alan Modra <amodra@gmail.com>
17415
17416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17417 Formatting. Consistently use rXXX register defines or rN defines.
17418 Use early exit labels that avoid restoring unused non-volatile regs.
17419 Make cr field use more consistent with rWORDn compares. Rename
17420 regs used as shift registers for unaligned loop, using rN defines
17421 for short lifetime/multiple use regs.
17422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17423 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17424 addi 1,1,64 to pop stack frame. Simplify return value code.
17425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17426
664318c3
AM
174272013-10-04 Alan Modra <amodra@gmail.com>
17428
17429 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17430 support. Correct typos, formatting. Optimize tail. Use insrdi
17431 rather than rlwimi.
17432 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17434 little-endian support. Correct typos.
17435 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17436 rather than rlwimi.
17437 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17438 in loop and entry code to keep "and." results.
17439 (strchr): Add little-endian support. Comment. Move cntlzd
17440 earlier in tail.
17441 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17442
43b84013
AM
174432013-10-04 Alan Modra <amodra@gmail.com>
17444
17445 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17446 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17447 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17448 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17449
8a7413f9
AM
174502013-10-04 Alan Modra <amodra@gmail.com>
17451
17452 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17453 (rTMP): Define as r11.
17454 (strcmp): Add little-endian support. Optimise tail.
17455 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17457 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17459 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17462
33ee81de
AM
174632013-10-04 Alan Modra <amodra@gmail.com>
17464
17465 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17466 little-endian support. Remove unnecessary "are we done" tests.
17467 Handle "s" wrapping around zero and extremely large "size".
17468 Correct main loop count. Handle single left-over word from main
17469 loop inline rather than by using small_loop. Correct comments.
17470 Delete "zero" tail, use "end_max" instead.
17471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17472
db9b4570
AM
174732013-10-04 Alan Modra <amodra@gmail.com>
17474
17475 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17476 support. Don't branch over align.
17477 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17478 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17479 support. Rearrange tmp reg use to suit. Comment.
17480 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17481
f7c399cf
AM
174822013-10-04 Alan Modra <amodra@gmail.com>
17483
17484 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17485
0b2c2ace
AM
174862013-10-04 Alan Modra <amodra@gmail.com>
17487
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17489 conditional form of branch and link when obtaining pc.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17491
02f04a6c
AM
174922013-10-04 Alan Modra <amodra@gmail.com>
17493
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17495 HIWORD/LOWORD.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17498
9b874b2f
AM
174992013-10-04 Alan Modra <amodra@gmail.com>
17500
17501 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17502 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17503 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17504 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17505 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17506 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17507 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17509 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17510 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17511
be1e5d31
AB
175122013-10-04 Anton Blanchard <anton@au1.ibm.com>
17513 Alistair Popple <alistair@ozlabs.au.ibm.com>
17514 Alan Modra <amodra@gmail.com>
17515
17516 [BZ #15723]
17517 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17518 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17519 _dl_hwcap access for little-endian.
17520 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17521 destroy vmx regs when saving unaligned.
17522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17524 destroy vmx regs when saving unaligned.
17525
fef13a78
AM
175262013-10-04 Alan Modra <amodra@gmail.com>
17527
17528 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17529 Don't use a union to pack hi/low value.
17530
76a66d51
AB
175312013-10-04 Anton Blanchard <anton@au1.ibm.com>
17532
17533 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17534 for little-endian.
17535 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17537 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17538 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17540
6a31fe7f
AM
175412013-10-04 Alan Modra <amodra@gmail.com>
17542
17543 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17544 constants to usual value for .cst8 section, and remove redundant
17545 high address load.
17546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17547 constant for 0x1p52. Load little-endian words of double from
17548 correct stack offsets.
17549
7b88401f
AM
175502013-10-04 Alan Modra <amodra@gmail.com>
17551
17552 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17553 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17554 words of double from correct stack offsets.
17555 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17556 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17557 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17562 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17563 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17568 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17570 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17571 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17572
9c008155
AM
175732013-10-04 Alan Modra <amodra@gmail.com>
17574
17575 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17576 64-bit int/double union.
17577 (_FPU_SETCW): Likewise.
17578 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17579 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17580
da13146d
AM
175812013-10-04 Alan Modra <amodra@gmail.com>
17582
17583 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17584 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17585
603e8410
AM
175862013-10-04 Alan Modra <amodra@gmail.com>
17587
17588 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17589 use vector int constants.
17590 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17591
4a28b3ca
AB
175922013-10-04 Anton Blanchard <anton@au1.ibm.com>
17593
17594 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17595 array with long long.
17596 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17597 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17598 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17599 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17600 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17601 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17602 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17603 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17604 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17605 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17606 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17607 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17608 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17609
2ca85d2b
AB
176102013-10-04 Anton Blanchard <anton@au1.ibm.com>
17611
17612 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17613 (__signbit): Likewise. Correct for little-endian.
17614 (__signbitl): Call __signbit.
17615 (lrint): Correct for little-endian.
17616 (lrintf): Call lrint.
17617
62a728ae
AM
176182013-10-04 Alan Modra <amodra@gmail.com>
17619
17620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17621 union 32-bit int array member with 64-bit int array.
17622 (t515, tm256): Double rather than long double.
17623 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17624
32c301df
AM
176252013-10-04 Alan Modra <amodra@gmail.com>
17626
17627 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17628 Delete.
17629 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17631 version of math_ldbl.h.
17632
650ef4bd
AM
176332013-10-04 Alan Modra <amodra@gmail.com>
17634
17635 [BZ #15734], [BZ #15735]
17636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17637 all uses of ieee875 long double macros and unions. Simplify test
17638 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17639 ldbl_extract_mantissa value for ix,iy exponents. Properly
17640 normalize after ldbl_extract_mantissa, and don't add hidden bit
17641 already handled. Don't treat low word of ieee854 mantissa like
17642 low word of IBM long double and mask off bit when testing for
17643 zero.
17644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17645 all uses of ieee875 long double macros and unions. Simplify tests
17646 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17647 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17648 two1022, instead use their values. Recognise that tests for large
17649 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17651 Rewrite all uses of ieee875 long double macros and unions. Simplify
17652 test for 0.0L and nan. Correct negation.
17653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17654 ieee875 long double macros and unions. Correct output for large
17655 magnitude x. Correct absolute value calculation.
17656 (__erfcl): Likewise.
17657 * math/libm-test.inc: Add tests for errors discovered in IBM long
17658 double versions of fmodl, remainderl, erfl and erfcl.
17659
765714ca
AM
176602013-10-04 Alan Modra <amodra@gmail.com>
17661
17662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17663 all uses of ieee854 long double macros and unions. Simplify tests
17664 for long doubles that are fully specified by the high double.
17665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17666 Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17668 Remove dead code too.
17669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17670 (__ieee754_ynl): Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17674 Remove dead code too.
17675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17677 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17679 Simplify.
17680 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17681 Simplify.
17682 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17685 Comment on variable precision.
17686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17688 Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17693 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17694
4ebd120c
AM
176952013-10-04 Alan Modra <amodra@gmail.com>
17696
17697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17699 all uses of ieee854 long double macros and unions.
17700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17706 Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17713 Simplify sign and nan test too.
17714 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17715 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17716 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17717 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17718 Likewise.
17719 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17721 Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17728
1b6adf88
AM
177292013-10-04 Alan Modra <amodra@gmail.com>
17730
17731 * stdio-common/printf_size.c (__printf_size): Don't use
17732 union ieee854_long_double in fpnum union.
17733 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17734 signbit macro to retrieve sign from long double.
17735 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17736 retrieve sign from long double.
17737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17738 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17739 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17740 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17741 * math/test-misc.c (main): Don't use union ieee854_long_double.
17742
4cf69995
AM
177432013-10-04 Alan Modra <amodra@gmail.com>
17744
17745 [BZ #15680]
17746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17748 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17749 calculation. Remove unnecessary test for denormal exponent.
17750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17751 Correct handling of denormals. Avoid undefined shift behaviour.
17752 Correct normalisation of low mantissa when low double is denormal.
17753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17754 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17755 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17756 Correct normalisation of low mantissa. Test for overflow of high
17757 mantissa and normalise.
17758 (ldbl_nearbyint): Use more readable constant for two52.
17759 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17760 (__mpn_construct_long_double): Fix test for overflow of high
17761 mantissa and correct normalisation. Avoid undefined shift.
17762
9605ca6c
AM
177632013-10-04 Alan Modra <amodra@gmail.com>
17764
17765 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17766 (union ibm_extended_long_double): Define as an array of ieee754_double.
17767 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17768 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17769 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17770 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17778
975569d0
JM
177792013-10-03 Joseph Myers <joseph@codesourcery.com>
17780
d3d23756
JM
17781 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17782 page size instead of calling getpagesize.
17783
975569d0
JM
17784 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17785 (LOCFILE_ALIGN_MASK): Likewise.
17786 (LOCFILE_ALIGN_UP): Likewise.
17787 (LOCFILE_ALIGNED_P): Likewise.
17788 * locale/programs/ld-collate.c (collate_output): Use the new
17789 macros instead of __alignof__ (int32_t).
17790 * locale/weight.h (findidx): Likewise.
17791
b1fe1f2b
OB
177922013-10-03 Ondřej Bílka <neleai@seznam.cz>
17793
17794 [BZ #431]
17795 * manual/string.texi: Fix strncat and wcsncat.
17796
5f855e35
BM
177972013-10-03 Brooks Moses <bmoses@google.com>
17798
17799 [BZ #15915]
17800 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17801 * Makerules: ...here, and adjust associated comments.
17802
3cef6009
WN
178032013-10-02 Will Newton <will.newton@linaro.org>
17804
17805 * malloc/Makefile: Add tst-pvalloc.
17806 * malloc/tst-pvalloc.c: New file.
17807
7815420b
WN
178082013-10-02 Will Newton <will.newton@linaro.org>
17809
17810 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17811 improve test coverage.
17812
4868b204
WN
178132013-10-02 Will Newton <will.newton@linaro.org>
17814
17815 * malloc/Makefile: Add tst-posix_memalign.
17816 * malloc/tst-posix_memalign.c: New file.
17817
29c793b3
EB
178182013-10-01 Eric Blake <eblake@redhat.com>
17819
17820 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17821 Use __THROWNL rather than __THROW on static functions.
17822
fd967522
PM
178232013-09-30 Petr Machata <pmachata@redhat.com>
17824
17825 * elf/elf.h (R_AARCH64_ABS16): New macro.
17826 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17827 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17828 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17829 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17830 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17831 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17832 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17833 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17834 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17835 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17836 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17837 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17838 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17839 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17840 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17841 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17842 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17843 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17844 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17845 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17846 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17847 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17848 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17849 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17850 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17851 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17852 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17853 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17854 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17855 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17856 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17857 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17858 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17859 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17860 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17861 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17862 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17863 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17864 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17865 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17866 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17867 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17868 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17869 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17870 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17871 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17872 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17873 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17874 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17875 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17876 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17877 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17878 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17879 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17880 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17881 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17882 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17883 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17884 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17885 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17886 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17887 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17888 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17889 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17890 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17891 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17892 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17893 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17894 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17895 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17896 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17897 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17898 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17899 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17900 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17901 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17902 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17903 (R_AARCH64_TLSDESC_LDR): Likewise.
17904 (R_AARCH64_TLSDESC_ADD): Likewise.
17905 (R_AARCH64_TLSDESC_CALL): Likewise.
17906
b2179107
AS
179072013-09-30 Andreas Schwab <schwab@suse.de>
17908
17909 [BZ #15048]
17910 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17911 the nss database lookup.
17912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17914
47f28d0a
MF
179152013-09-28 Mike Frysinger <vapier@gentoo.org>
17916
17917 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17918
179192013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17920
17921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17922 ${Bash-specific parameter/pattern/string} parameter expansion.
17923 * sysdeps/unix/make-syscalls.sh: Likewise.
17924
f4518a17
KK
179252013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17926
17927 * sysdeps/sh/stackguard-macros.h: New file.
17928
dc1a95c7
OB
179292013-09-26 Ondřej Bílka <neleai@seznam.cz>
17930
17931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17933 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17935 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17936 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17937
5ebbff8f
AZ
179382013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17939
17940 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17941 Fix thread ID register.
17942
4fd2cf9f
JM
179432013-09-25 Joseph Myers <joseph@codesourcery.com>
17944
17945 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17946 [POSIX || UNIX98]: Require rather than permitting all symbols from
17947 <time.h>.
17948 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17949 element of struct sched_param.
17950 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17951 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17952 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17953 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17954 constant.
17955
12c22bc4
OL
179562013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17957
17958 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17959 argument calculation.
17960
a03d8ea7
JM
179612013-09-24 Joseph Myers <joseph@codesourcery.com>
17962
17963 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17964 Expect macro.
17965 [POSIX] (pthread_attr_t): Do not require type.
17966 [POSIX] (pthread_cond_t): Likewise.
17967 [POSIX] (pthread_condattr_t): Likewise.
17968 [POSIX] (pthread_key_t): Likewise.
17969 [POSIX] (pthread_mutex_t): Likewise.
17970 [POSIX] (pthread_mutexattr_t): Likewise.
17971 [POSIX] (pthread_once_t): Likewise.
17972 [POSIX] (pthread_t): Likewise.
17973 [POSIX-based standards] (pthread_atfork): Expect function.
17974
6055173a
JM
179752013-09-24 Joseph Myers <joseph@codesourcery.com>
17976 Richard Sandiford <richard@codesourcery.com>
17977
17978 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17979 (swap_endianness_p): New extern variable.
17980 (set_big_endian): New inline function.
17981 (maybe_swap_uint32): Likewise.
17982 (maybe_swap_uint32_array): Likewise.
17983 (maybe_swap_uint32_obstack): Likewise.
17984 * locale/programs/locfile.c: Include <stdbool.h>.
17985 (swap_endianness_p): New variable.
17986 (add_locale_uint32): Call maybe_swap_uint32.
17987 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17988 (write_locale_data): Call maybe_swap_uint32_array.
17989 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17990 maybe_swap_uint32.
17991 (obstack_int32_grow_fast): Likewise.
17992 (output_weightwc): Call maybe_swap_uint32_obstack.
17993 (collate_output): Likewise.
17994 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17995 (OPT_LITTLE_ENDIAN): Likewise.
17996 (options): Add --little-endian and --big-endian options.
17997 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17998 * locale/programs/locarchive.c: Include "locfile.h".
17999 (GET): New macro.
18000 (SET): Likewise.
18001 (INC): Likewise.
18002 (create_archive): Use the new macros to access fields of
18003 structures directly mapped from or written to locale archives.
18004 (oldlocrecentcmp): Likewise.
18005 (enlarge_archive): Likewise.
18006 (insert_name): Likewise.
18007 (add_alias): Likewise.
18008 (add_locale): Likewise.
18009 (delete_locales_from_archive): Likewise.
18010 (show_archive_content): Likewise.
18011 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18012 locale data.
18013
39bf0bb4
RM
180142013-09-24 Roland McGrath <roland@hack.frob.com>
18015
18016 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18017 http://www.gnu.org/doc/freemanuals.texi.
18018 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18019
f02eed10
WN
180202013-09-24 Will Newton <will.newton@linaro.org>
18021
18022 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18023 macro.
18024
a3a6c312
JM
180252013-09-23 Joseph Myers <joseph@codesourcery.com>
18026
18027 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18028 unsigned char.
18029
107375ac
MR
180302013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18031
18032 * manual/threads.texi (POSIX Threads): Fix a typo.
18033
141f3a77
SP
180342013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18035
303e567a
SP
18036 [BZ #14547]
18037 * string/tst-strcoll-overflow.c: New test case.
18038 * string/Makefile (xtests): Add tst-strcoll-overflow.
18039 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18040 cache if string sizes may cause integer overflow.
18041
141f3a77
SP
18042 [BZ #14547]
18043 * string/strcoll_l.c (coll_seq): New members rule, idx,
18044 save_idx and back_us.
18045 (get_next_seq_nocache): New function.
18046 (do_compare_nocache): New function.
18047 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18048 when malloc fails.
18049
c61b4d41
CD
180502013-09-23 Carlos O'Donell <carlos@redhat.com>
18051
0b1f8e35
CD
18052 [BZ #15754]
18053 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18054 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18055 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18056
c61b4d41
CD
18057 [BZ #15754]
18058 * elf/Makefile (tests): Add tst-ptrguard1.
18059 (tests-static): Add tst-ptrguard1-static.
18060 (tst-ptrguard1-ARGS): Define.
18061 (tst-ptrguard1-static-ARGS): Define.
18062 * elf/tst-ptrguard1.c: New file.
18063 * elf/tst-ptrguard1-static.c: New file.
18064 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18065 * sysdeps/i386/stackguard-macros.h: Likewise.
18066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18072
180732013-09-23 Hector Marco <hecmargi@upv.es>
18074 Ismael Ripoll <iripoll@disca.upv.es>
18075 Carlos O'Donell <carlos@redhat.com>
18076
18077 [BZ #15754]
18078 * sysdeps/generic/stackguard-macros.h: Define
18079 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18080 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18081 Define __pointer_chk_guard_local.
18082 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18083 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18084
f5f4e7b4
VV
180852013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18086
18087 [BZ #15859]
18088 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18089
5bb43a43
AS
180902013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18091
18092 * include/string.h (__ffs): Declare as hidden.
18093 * string/ffs.c (__ffs): Define as hidden.
18094 * sysdeps/i386/ffs.c (__ffs): Likewise.
18095 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18096 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18097 * sysdeps/s390/ffs.c (__ffs): Likewise.
18098 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18099
3ea5be54
AO
181002013-09-20 Alexandre Oliva <aoliva@redhat.com>
18101
ffb89e53
AO
18102 * NEWS: Mention malloc probes.
18103
322dea08
AO
18104 * malloc/arena.c (new_heap): New memory_heap_new probe.
18105 (grow_heap): New memory_heap_more probe.
18106 (shrink_heap): New memory_heap_less probe.
18107 (heap_trim): New memory_heap_free probe.
18108 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18109 (systrim): New memory_sbrk_less probe.
18110 * manual/probes.texi: Document them.
18111
655673f3
AO
18112 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18113 * manual/probes.texi: Document it.
18114
35fed6f1
AO
18115 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18116 (__libc_realloc): Add memory_realloc_retry probe.
18117 (__libc_memalign): Add memory_memalign_retry probe.
18118 (__libc_valloc): Add memory_valloc_retry probe.
18119 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18120 (__libc_calloc): Add memory_calloc_retry probe.
18121 * manual/probes.texi: Document them.
18122
6999d38c
AO
18123 * malloc/arena.c (get_free_list): Add probe
18124 memory_arena_reuse_free_list.
18125 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18126 and memory_arena_reuse.
18127 (arena_get2) [!PER_THREAD]: Likewise.
18128 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18129 memory_arena_reuse_realloc.
18130 * manual/probes.texi: Document them.
18131
0653427f
AO
18132 * malloc/malloc.c (__libc_free): Add
18133 memory_mallopt_free_dyn_thresholds probe.
18134 (__libc_mallopt): Add multiple memory_mallopt probes.
18135 * manual/probes.texi: Document them.
18136
3ea5be54
AO
18137 * malloc/malloc.c: Include stap-probe.h.
18138 (__libc_mallopt): Add memory_mallopt probe.
18139 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18140 * manual/probes.texi: New.
18141 * manual/Makefile (chapters): Add probes.
18142 * manual/threads.texi: Set next node.
18143
e35696c3 181442013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18145
e35696c3
CL
18146 [BZ #15963, #13985]
18147 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18148 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18149 Add `Chinese' to `nan' entry name.
18150
4aafb73c
SP
181512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18152
18153 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18154 (POLYNOMIAL): Likewise.
18155 (TAYLOR_SINCOS): Likewise.
18156 (TAYLOR_SLOW): Likewise.
18157 (__sin): Use TAYLOR_SINCOS.
18158 (__cos): Likewise.
18159 (slow): Use TAYLOR_SLOW.
18160 (sloww): Likewise.
18161 (bsloww): Likewise.
18162 (csloww): Likewise.
18163
d84f25c7
LD
181642013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18165
18166 * stdlib/strtod_l.c: Fix buffer overrun.
18167
5eea0404
SP
181682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18169
7849ff93
SP
18170 * benchtests/Makefile (bench): Add sincos.
18171 * benchtests/bench-sincos.c: New file.
18172
cfa3c886
SP
18173 * math/libm-test.inc (cos_test_data): New test inputs.
18174 (sin_test_data): Likewise.
18175
b348e1e3
SP
18176 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18177 macro.
18178 (__sin): Use it.
18179 (__cos): Likewise.
18180 (slow1): Likewise.
18181 (slow2): Likewise.
18182 (sloww1): Likewise.
18183 (sloww2): Likewise.
18184 (bsloww1): Likewise.
18185 (bsloww2): Likewise.
18186 (cslow2): Likewise.
18187 (csloww1): Likewise.
18188 (csloww2): Likewise.
18189
6cce25f8
SP
18190 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18191 function.
18192 (__sin): Use it.
18193 (__cos): Likewise.
18194
5eea0404
SP
18195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18196 gotos.
18197 (__cos): Likewise.
18198
9c21573c
MR
181992013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18200
18201 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18202 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18203 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18204 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18205 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18206 * elf/cache.c (print_entry): Handle the new cache flags.
18207
24d22e65
JM
182082013-09-18 Joseph Myers <joseph@codesourcery.com>
18209 Aldy Hernandez <aldyh@redhat.com>
18210
18211 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18212 Change condition to [_SOFT_FLOAT].
18213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18225 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18228 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18229 declaration.
18230
d13ef066
JM
182312013-09-18 Joseph Myers <joseph@codesourcery.com>
18232
2e071de0
JM
18233 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18234 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18235 (__longjmp): Use LOAD_GP to load saved GPRs.
18236 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18237 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18238 (__sigsetjmp): Use SAVE_GP to save GPRs.
18239
d13ef066
JM
18240 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18241 Do not append -msoft-float.
18242 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18243
97a0650b
SP
182442013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18245
18246 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18247
11ca09e9
JM
182482013-09-17 Joseph Myers <joseph@codesourcery.com>
18249
18250 [BZ #15966]
18251 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18252 (_FPU_GETCW): Use initial "__" on variable and field names but not
18253 on macro parameter name.
18254 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18255 parentheses around reference to macro parameter.
18256
08ffcf34
RS
182572013-09-13 Richard Sandiford <richard@codesourcery.com>
18258
18259 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18260 prototype.
18261 (ctype_startup): Use uint32_t in cast and sizeof for
18262 ctype->charnames.
18263
ae7080d3
JL
182642013-09-11 Jia Liu <proljc@gmail.com>
18265
18266 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18267 __daddr_t_defined.
18268 [__FreeBSD__]: Likewise.
18269
5905e7b3
OB
182702013-09-11 Ondřej Bílka <neleai@seznam.cz>
18271
18272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18273 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18274 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18275 (strchr): Remove __strchr_sse42 ifunc selection.
18276 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18277 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18278
b987c776
WN
182792013-09-11 Will Newton <will.newton@linaro.org>
18280
18281 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18282 parameter to RES. Remove hardcoded 1000 value.
18283 * benchtests/bench-skeleton.c (main): Pass RES parameter
18284 to TIMING_INIT and multiply result by 1000.
18285
ddf985af
AZ
182862013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287
18288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18289
ffdd3181
AS
182902013-09-11 Andreas Schwab <schwab@suse.de>
18291
18292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18293 if not defined.
18294 (O_TMPFILE) [__USE_GNU]: Define.
18295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18296 Define.
18297
b73ed247
WN
182982013-09-11 Will Newton <will.newton@linaro.org>
18299
18300 [BZ #15857]
18301 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18302 does not overflow.
18303
55e17aad
WN
183042013-09-11 Will Newton <will.newton@linaro.org>
18305
18306 [BZ #15856]
18307 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18308 does not overflow.
18309
1159a193
WN
183102013-09-11 Will Newton <will.newton@linaro.org>
18311
18312 [BZ #15855]
18313 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18314 does not overflow.
18315
5905e7b3 183162013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18317
18318 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18323
cdfc721b
AM
183242013-09-10 Allan McRae <allan@archlinux.org>
18325
aa04af00
AM
18326 [BZ #15748]
18327 * manual/arith.texi (Parsing of Floats): Clarify
18328 cross-reference.
18329
cdfc721b
AM
18330 [BZ #15849]
18331 * manual/install.texi (Running make install): Mention
18332 --enable-pt-chown.
18333 * INSTALL: Regenerated.
18334
95e7cf29
MR
183352013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18336
18337 * csu/init-first.c (_init): Remove the !SHARED condition around
18338 FPU control word initialization.
18339 * elf/dl-support.c (_dl_fpu_control): New variable.
18340 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18341 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18342 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18343 * math/test-fpucw-static.c: New file.
18344 * math/test-fpucw-ieee.c: New file.
18345 * math/test-fpucw-ieee-static.c: New file.
18346 * math/Makefile (tests): Add `test-fpucw-ieee' and
18347 `$(tests-static)'.
18348 (tests-static): New variable.
18349 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18350 dependency to...
18351 [($(build-shared),yes)]
18352 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18353 ... this.
18354 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18355 New dependency.
18356
83e43bf0
AM
183572013-09-09 Allan McRae <allan@archlinux.org>
18358
a9f5ce09
AM
18359 [BZ #15939]
18360 * manual/string.texi (Collation Functions): Fix typo in
18361 strcoll example.
18362 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18363
34829bc2
AM
18364 [BZ #15893]
18365 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18366
3932737d
AM
18367 [BZ #15892]
18368 * libio/memstream.c (open_memstream): Fix memory leak.
18369 * libio/wmemstream.c (open_wmemstream): Likewise.
18370
83e43bf0
AM
18371 [BZ #15895]
18372 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18373
0c66b8e9
WN
183742013-09-09 Will Newton <will.newton@linaro.org>
18375
18376 * malloc/Makefile: Add tst-realloc to tests.
18377 * malloc/tst-realloc.c: New file.
18378
f6b00fd1
AM
183792013-09-09 Allan McRae <allan@archlinux.org>
18380
18381 [BZ #15844]
18382 * COPYING: Update from GNU website to fix FSF address.
18383 * COPYING.LIB: Likewise.
18384
eec55e16
DM
183852013-09-06 David S. Miller <davem@davemloft.net>
18386
18387 * po/zh_TW.po: Update Chinese (traditional) translation from
18388 translation project.
18389
1ecbb381
RS
183902013-09-06 Richard Sandiford <richard@codesourcery.com>
18391 Joseph Myers <joseph@codesourcery.com>
18392
18393 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18394 "localeinfo.h".
18395 (obstack_chunk_alloc): New macro.
18396 (obstack_chunk_free): Likewise.
18397 (record_offset): New function.
18398 (init_locale_data): Likewise.
18399 (align_locale_data): Likewise.
18400 (add_locale_empty): Likewise.
18401 (add_locale_raw_data): Likewise.
18402 (add_locale_raw_obstack): Likewise.
18403 (add_locale_string): Likewise.
18404 (add_locale_wstring): Likewise.
18405 (add_locale_uint32): Likewise.
18406 (add_locale_uint32_array): Likewise.
18407 (add_locale_char): Likewise.
18408 (start_locale_structure): Likewise.
18409 (end_locale_structure): Likewise.
18410 (start_locale_prelude): Likewise.
18411 (end_locale_prelude): Likewise.
18412 (write_locale_data): Take locale_file structure rather than an
18413 iovec.
18414 * locale/programs/locfile.h: Include "obstack.h".
18415 (struct locale_file): Change to store locale file contents instead
18416 of header.
18417 (init_locale_data): New prototype.
18418 (align_locale_data): Likewise.
18419 (add_locale_empty): Likewise.
18420 (add_locale_raw_data): Likewise.
18421 (add_locale_raw_obstack): Likewise.
18422 (add_locale_string): Likewise.
18423 (add_locale_wstring): Likewise.
18424 (add_locale_uint32): Likewise.
18425 (add_locale_uint32_array): Likewise.
18426 (add_locale_char): Likewise.
18427 (start_locale_structure): Likewise.
18428 (end_locale_structure): Likewise.
18429 (start_locale_prelude): Likewise.
18430 (end_locale_prelude): Likewise.
18431 (write_locale_data): Update prototype.
18432 * locale/programs/3level.h (struct TABLE): Remove result field.
18433 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18434 Use new locale_file interface.
18435 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18436 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18437 * locale/programs/ld-address.c (address_output): Use new
18438 locale_file interface.
18439 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18440 NO_ADD_LOCALE.
18441 (collate_finish): Don't call collseq_table_finalize.
18442 (collate_output): Use new locale_file interface.
18443 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18444 in file.
18445 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18446 (TABLE): Move defines earlier in file.
18447 (ELEMENT): Likewise.
18448 (DEFAULT): Likewise.
18449 (wctrans_table_add): Move macro and inline function earlier in
18450 file.
18451 (struct wctype_table): Move type earlier in file.
18452 (add_locale_wctype_table): New static prototype.
18453 (struct locale_ctype_t): Use logical types instead of struct iovec
18454 pointers for members.
18455 (ctype_output): Use new locale_file interface.
18456 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18457 new locale_file interface.
18458 (allocate_arrays): Update for use of new locale_file interface.
18459 * locale/programs/ld-identification.c (identification_output): Use
18460 new locale_file interface.
18461 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18462 * locale/programs/ld-messages.c (messages_output): Likewise.
18463 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18464 * locale/programs/ld-name.c (name_output): Likewise.
18465 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18466 * locale/programs/ld-paper.c (paper_output): Likewise.
18467 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18468 * locale/programs/ld-time.c (time_output): Likewise.
18469
e029e2e5
AZ
184702013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471
18472 * benchtests/Makefile: Add memrchr benchmark.
18473 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18474 benchmark as memrchr.
18475 * benchtests/bench-memrchr-ifunc.c: New file.
18476 * benchtests/bench-memrchr.c: New file.
18477
bbf6e8e4
WN
184782013-09-06 Will Newton <will.newton@linaro.org>
18479
18480 * benchtests/Makefile (string-bench): Add memcpy.
18481
6c82a2f8
CD
184822013-09-05 Carlos O'Donell <carlos@redhat.com>
18483 Cong Wang <amwang@redhat.com>
18484
e732c5f0 18485 [BZ #15850]
6c82a2f8
CD
18486 * sysdeps/unix/sysv/linux/bits/in.h
18487 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18488 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18489 before __USE_KERNEL_IPV6_DEFS uses.
18490 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18491 IPPROTO_BEETPH.
18492 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18493 sockaddr_in6, or ipv6_mreq.
18494
5430fc65
AZ
184952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18496
18497 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18498 memory access for final bytes in some large inputs.
18499 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18500
4660856c
AZ
185012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18502
18503 * string/test-memrchr.c: New file.
18504 * string/test-memrchr-ifunc.c: New file.
18505 * string/Makefile: Add new memrchr testcase.
18506
bb8ea713
MF
185072013-09-05 Mike Frysinger <vapier@gentoo.org>
18508
18509 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18510 fanotify_init returns EPERM.
18511
b92a20b5
JM
185122013-09-04 Joseph Myers <joseph@codesourcery.com>
18513
18514 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18515 errors.
18516 (top level): Treat second token from macro or constant entries for
18517 allowed headers as allowed.
18518 * include/complex.h: Condition internal declarations on
18519 [!_ISOMAC].
18520 * include/fenv.h: Condition include of <stdbool.h> and internal
18521 declarations on [!_ISOMAC].
7447ccd9
CL
18522
185232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18524
3e181dda 18525 [BZ #15923]
7447ccd9
CL
18526 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18527
3f2e46a4
JM
185282013-09-04 Joseph Myers <joseph@codesourcery.com>
18529
18530 * configure.in (--enable-versioning): Remove configure option.
18531 (libc_cv_asm_symver_directive): Remove configure test.
18532 (libc_cv_ld_version_script_option): Likewise.
18533 (VERSIONING): Remove variable and AC_SUBST.
18534 (DO_VERSIONING): Remove AC_DEFINE.
18535 * configure: Regenerated.
18536 * config.h.in (DO_VERSIONING): Remove macro.
18537 * Makerules [$(versioning) = yes]: Change conditionals to
18538 [$(build-shared) = yes].
18539 * config.make.in (versioning): Remove variable.
18540 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18541 [$(build-shared) = yes].
18542 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18543 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18544 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18545 [$(build-shared) = yes].
18546 * extra-lib.mk [$(versioning) = yes]: Likewise.
18547 * hurd/Makefile [$(versioning) = yes]: Likewise.
18548 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18549 [SHARED].
18550 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18551 [SHARED].
18552 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18553 [SHARED && !NO_HIDDEN].
18554 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18555 [SHARED].
18556 [SHARED && DO_VERSIONING]: Likewise..
18557 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18558 [$(build-shared) = yes].
18559 * manual/install.texi (--disable-versioning): Remove
18560 documentation.
18561 * INSTALL: Regenerated.
18562 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18563 to [SHARED].
18564 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18565 [$(build-shared) = yes].
18566 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18567 * sysdeps/i386/i686/multiarch/strstr-c.c
18568 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18569 [SHARED && !NO_HIDDEN].
18570 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18571 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18572 * sysdeps/powerpc/powerpc32/dl-machine.c
18573 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18574 * sysdeps/powerpc/powerpc32/sysdep.h
18575 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18576 to [SHARED && PIC && !NO_HIDDEN].
18577 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18578 conditional to [SHARED].
18579
44558701
WN
185802013-09-04 Will Newton <will.newton@linaro.org>
18581
18582 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18583 * benchtests/bench-string.h: Include bench-timing.h instead
18584 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18585 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18586 call to HP_TIMING_DIFF_INIT.
18587 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18588 instead of hp-timing.h macros.
18589 * benchtests/bench-memchr.c: Likewise.
18590 * benchtests/bench-memcmp.c: Likewise.
18591 * benchtests/bench-memcpy.c: Likewise.
18592 * benchtests/bench-memmem.c: Likewise.
18593 * benchtests/bench-memmove.c: Likewise.
18594 * benchtests/bench-memset.c: Likewise.
18595 * benchtests/bench-rawmemchr.c: Likewise.
18596 * benchtests/bench-strcasecmp.c: Likewise.
18597 * benchtests/bench-strcasestr.c: Likewise.
18598 * benchtests/bench-strcat.c: Likewise.
18599 * benchtests/bench-strchr.c: Likewise.
18600 * benchtests/bench-strcmp.c: Likewise.
18601 * benchtests/bench-strcpy.c: Likewise.
18602 * benchtests/bench-strcpy_chk.c: Likewise.
18603 * benchtests/bench-strlen.c: Likewise.
18604 * benchtests/bench-strncasecmp.c: Likewise.
18605 * benchtests/bench-strncat.c: Likewise.
18606 * benchtests/bench-strncmp.c: Likewise.
18607 * benchtests/bench-strncpy.c: Likewise.
18608 * benchtests/bench-strnlen.c: Likewise.
18609 * benchtests/bench-strpbrk.c: Likewise.
18610 * benchtests/bench-strrchr.c: Likewise.
18611 * benchtests/bench-strspn.c: Likewise.
18612 * benchtests/bench-strstr.c: Likewise.
18613
cae16d66
WN
186142013-09-04 Will Newton <will.newton@linaro.org>
18615
18616 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18617
ffa3cd7f
JM
186182013-09-03 Joseph Myers <joseph@codesourcery.com>
18619
18620 [BZ #15427]
18621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18622 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18623 * math/libm-test.inc (lgamma_test_data): Add more tests.
18624 * sysdeps/i386/fpu/libm-test-ulps: Update.
18625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18626
8f02859f
OB
186272013-09-03 Ondřej Bílka <neleai@seznam.cz>
18628
18629 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18631 Add ifunc.
18632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18633 Add strcmp-sse2-unaligned
18634 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18635
18d43716
MF
186362013-09-02 Mike Frysinger <vapier@gentoo.org>
18637
18638 * Versions.def (libc): Add GLIBC_2.19.
18639
ac444012
MF
186402013-09-02 Mike Frysinger <vapier@gentoo.org>
18641
18642 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18643 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18644
b7835e32
JM
186452013-09-02 Joseph Myers <joseph@codesourcery.com>
18646
18647 [BZ #14155]
18648 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18649 intermediate calculations in recurrence.
18650 (__ieee754_ynf): Likewise.
18651 * math/libm-test.inc (jn_test_data): Do not allow spurious
18652 underflow exception. Add more tests.
18653 (yn_test_data): Add more tests.
18654 * sysdeps/i386/fpu/libm-test-ulps: Update.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18656
8220f4f0
OB
186572013-09-02 Ondřej Bílka <neleai@seznam.cz>
18658
18659 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18660
f24a6d08
OB
186612013-08-30 Ondřej Bílka <neleai@seznam.cz>
18662
18663 * csu/init-first.c: Fix then/than typos.
18664 * locale/programs/ld-collate.c: Likewise.
18665 * locale/programs/linereader.h: Likewise.
18666 * manual/charset.texi: Likewise.
18667 * manual/filesys.texi: Likewise.
18668 * manual/stdio.texi: Likewise.
18669 * manual/string.texi: Likewise.
18670 * stdlib/fmtmsg.c: Likewise.
18671 * sysdeps/i386/stpncpy.S: Likewise.
18672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18673 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18675 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18676
382466e0
OB
186772013-08-30 Ondřej Bílka <neleai@seznam.cz>
18678
18679 * elf/dl-open.c: Fix typos.
18680 * iconvdata/gbbig5.c: Likewise.
18681 * iconvdata/iso-2022-jp.c: Likewise.
18682 * iconv/gconv_int.h: Likewise.
18683 * iconv/loop.c: Likewise.
18684 * nis/rpcsvc/nis.h: Likewise.
18685 * resolv/ns_name.c: Likewise.
18686 * stdio-common/vfscanf.c: Likewise.
18687 * streams/stropts.h: Likewise.
18688 * sunrpc/rpc_thread.c: Likewise.
18689 * sysdeps/i386/strpbrk.S: Likewise.
18690 * sysdeps/ieee754/k_standard.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18693 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18694 * sysdeps/mach/hurd/profil.c: Likewise.
18695 * sysdeps/s390/dl-procinfo.h: Likewise.
18696 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18698 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18699 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18701
0186c6e9
OB
187022013-08-30 Ondřej Bílka <neleai@seznam.cz>
18703
18704 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18706
d4e16af1
OB
187072013-08-29 Ondřej Bílka <neleai@seznam.cz>
18708
18709 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18710 aix specific files.
18711 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18712 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18714 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18715 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18716 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18717 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18718 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18719
88335980
TS
187202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18721 Roland McGrath <roland@hack.frob.com>
18722
18723 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18724 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18725
ed479b02
ST
187262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18727
18728 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18729 __executable_start symbol instead of _start.
18730
f1cc4c86
TS
187312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18732
d821f07c
TS
18733 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18734 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18735 Move macros to...
18736 * sysdeps/gnu/ldsodefs.h: ... this new file.
18737
c54290cf
TS
18738 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18739 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18740 instead of ELFOSABI_LINUX.
18741
0007fc9b 18742 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18743 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18744 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18745 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18746 Likewise.
18747 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18748 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18750 Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18752 (ibm_extended_long_double): Add ieee_nan member.
18753 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18754 (do_test): New function.
18755
f1cc4c86
TS
18756 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18757 TEST_TRUNC.
18758 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18759 functions, renamed from truncdfsf_test, trunctfsf_test,
18760 trunctfdf_test.
18761 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18762 functions.
18763 (do_test): Run all these.
18764
6f65e668
OB
187652013-08-29 Ondřej Bílka <neleai@seznam.cz>
18766
18767 * argp/argp-help.c: Fix typos.
18768 * argp/argp-parse.c: Likewise.
18769 * debug/backtracesyms.c: Likewise.
18770 * elf/elf.h: Likewise.
18771 * malloc/malloc.c: Likewise.
18772 * nis/nis_print.c: Likewise.
18773 * resolv/res_comp.c: Likewise.
18774 * stdlib/stdlib.h: Likewise.
18775 * sunrpc/clnt_tcp.c: Likewise.
18776 * sunrpc/clnt_udp.c: Likewise.
18777 * sunrpc/clnt_unix.c: Likewise.
18778 * sysdeps/unix/bsd/ptsname.c: Likewise.
18779 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18782 Likewise.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18784 Likewise.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18786 Likewise.
6f65e668
OB
18787 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18788
3a309239
SP
187892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18790
18791 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18793
3b813b29
MF
187942013-08-27 Mike Frysinger <vapier@gentoo.org>
18795
18796 [BZ #15897]
18797 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18798 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18799 ($(objpfx)bug-dl-leaf): New rule.
18800 ($(objpfx)bug-dl-leaf.so): Likewise.
18801 ($(objpfx)bug-dl-leaf.out): Likewise.
18802 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18803 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18804 * dlfcn/bug-dl-leaf.c: New test.
18805 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18806 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18807 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18808 (dlclose): Likewise.
18809 (dlmopen): Likewise.
18810
8cc3269f
RM
188112013-08-27 Roland McGrath <roland@hack.frob.com>
18812
7f9d0034
RM
18813 * include/netdb.h [!_ISOMAC]:
18814 Don't include <tls.h>.
18815 (h_errno, __libc_h_errno): Move declaration and macros out of
18816 [_LIBC_REENTRANT].
18817
fb431262
RM
18818 * include/resolv.h [_RESOLV_H_]:
18819 Don't include <tls.h>.
18820 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18821 * resolv/res_libc.c: Don't include <tls.h>.
18822 (_res): Use __attribute__ ((nocommon)) in place of
18823 __attribute__ ((section (".bss"))).
18824
bd81123a
RM
18825 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18826 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18827
c4e42566
RM
18828 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18829
f890a59b
RM
18830 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18831 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18832
18833 * resolv/res_mkquery.c: Include <sys/time.h>.
18834
5d1f0a09
RM
18835 * inet/ifreq.c: Moved to ...
18836 * sysdeps/unix/ifreq.c: ... here.
18837 * inet/ifreq.c: New file, true stub version.
18838
6fcf28b3
RM
18839 * socket/sa_len.c: New file.
18840 * socket/Makefile (aux): Add it.
18841 * sysdeps/unix/sysv/linux/Makefile
18842 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18843 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18844 and #include <socket/sa_len.c>.
18845 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18846 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18847
e041fb8b
RM
18848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18849 * bits/socket.h: ... here.
18850
8cc3269f
RM
18851 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18852 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18853 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18854
5d228a43
AS
188552013-08-27 Andreas Schwab <schwab@suse.de>
18856
45b8accc
AS
18857 [BZ #15736]
18858 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18859 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18860 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18861 * string/test-strcasecmp.c (test_main): Run tests in several
18862 locales.
18863 * string/test-strncasecmp.c (test_main): Likewise.
18864
5d228a43
AS
18865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18866 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18867 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18869 (__strncasecmp_ssse3) [PIC]: Likewise.
18870
59d112a4
RM
188712013-08-26 Roland McGrath <roland@hack.frob.com>
18872
53234cc3
RM
18873 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18874
59d112a4
RM
18875 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18876 instead of explicitly declaring xdecrypt.
18877 * nis/nss_nis/nis-publickey.c: Likewise.
18878
595aba70
SP
188792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18880
18881 [BZ #15890]
18882 * nscd/aicache.c: Include res_hconf.h.
18883 (addhstaiX): Initialize res_hconf.
18884
ffabd393
AS
188852013-08-26 Andreas Schwab <schwab@suse.de>
18886
18887 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18888 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18889
e0a69f5c
SP
188902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18891
18892 * nscd/aicache.c (addhstaiX): Fix indentation.
18893
8c12f01d
MF
188942013-08-25 Mike Frysinger <vapier@gentoo.org>
18895
18896 * configure.ac: Quote $build_pt_chown test.
18897 * configure: Regenerated.
18898
8fe89494
JM
188992013-08-23 Joseph Myers <joseph@codesourcery.com>
18900
18901 [BZ #15532]
18902 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18903 * math/s_cexpf.c (__cexpf): Likewise.
18904 * math/s_cexpl.c (__cexpl): Likewise.
18905 * math/libm-test.inc (cexp_test_data): Correct expected return
18906 value for NaN + i0. Add another test.
18907
75b181d6
DM
189082013-08-22 David S. Miller <davem@davemloft.net>
18909
18910 * po/ca.po: Update Catalan translation from translation project.
936241e4 18911 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18912
acd06bb1
JM
189132013-08-21 Joseph Myers <joseph@codesourcery.com>
18914
18915 [BZ #15797]
18916 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18917 is infinite, not alongside NaN test.
18918 * math/s_fdimf.c (__fdimf): Likewise.
18919 * math/s_fdiml.c (__fdiml): Likewise.
18920 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18921 errno is unchanged.
18922
c0c3f78a
OB
189232013-08-21 Ondřej Bílka <neleai@seznam.cz>
18924
18925 * argp/argp-help.c: Fix typos.
18926 * crypt/speeds.c: Likewise.
18927 * csu/check_fds.c: Likewise.
18928 * elf/dl-load.c: Likewise.
18929 * elf/dl-open.c: Likewise.
18930 * elf/reldep3.c: Likewise.
18931 * elf/reldep.c: Likewise.
18932 * elf/sprof.c: Likewise.
18933 * iconv/iconv_charmap.c: Likewise.
18934 * iconv/skeleton.c: Likewise.
18935 * iconv/strtab.c: Likewise.
18936 * io/lockf64.c: Likewise.
18937 * libio/libioP.h: Likewise.
18938 * resolv/gai_notify.c: Likewise.
18939 * resolv/ns_name.c: Likewise.
18940 * resolv/ns_samedomain.c: Likewise.
18941 * resolv/res_send.c: Likewise.
18942 * stdlib/random.c: Likewise.
18943 * sunrpc/rpc/xdr.h: Likewise.
18944 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18946 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18947 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18951 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18952 * sysdeps/mach/hurd/check_fds.c: Likewise.
18953 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18959 * sysdeps/pthread/aio_notify.c: Likewise.
18960 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18961 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18963 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18964 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18965
46ed1038
LD
189662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18967
18968 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18969 version if bit_Slow_SSE4_2 is set.
18970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18972
d400dcac
AZ
189732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18974
18975 [BZ #15867]
18976 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18977 trampoline stack frame information.
18978 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18980 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18981 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18982 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18983 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18984 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18985 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18986 sa_flags value.
18987 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18988 interrupting a syscall and set with option SA_SIGINFO.
18989
42c8fdd8
JM
189902013-08-20 Joseph Myers <joseph@codesourcery.com>
18991
c980f2f4
JM
18992 [BZ #15531]
18993 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18994 argument is infinite.
18995 * math/s_cprojf.c (__cprojf): Likewise.
18996 * math/s_cprojl.c (__cprojl): Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18998 * math/libm-test.inc (cproj_test_data): Add more tests.
18999
0716c4fc
JM
19000 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19001
42c8fdd8
JM
19002 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19003 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19004 size. Use __ffs to determine corresponding shift.
19005
b31469d0
JM
190062013-08-20 Joseph Myers <joseph@codesourcery.com>
19007 Roland McGrath <roland@hack.frob.com>
19008
19009 * Makefile (INSTALL): Remove trailing blank lines from output of
19010 makeinfo.
19011
4e39af6e
AK
190122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19013
19014 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19015 Align 32 bit compat elf_greg to 8 bytes.
19016
f315524e
AA
190172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19018
19019 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19020
1326ba1a
SP
190212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19022
19023 * string/strcoll_l.c (coll_seq): New structure.
19024 (get_next_seq_cached): New function.
19025 (get_next_seq): New function.
19026 (do_compare): New function.
19027 (STRCOLL): Use GNU style definition. Simplify implementation
19028 by using get_next_seq, get_next_seq_cached and do_compare.
19029
91ce4085
FW
190302013-08-16 Florian Weimer <fweimer@redhat.com>
19031
19032 [BZ #14699]
19033 CVE-2013-4237
19034 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19035 member.
19036 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19037 member.
19038 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19039 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19040 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19041 conditional.
19042 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19043 GETDENTS_64BIT_ALIGNED.
19044 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19045 * manual/filesys.texi (Reading/Closing Directory): Document
19046 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19047 strongly.
19048 * manual/conf.texi (Limits for Files): Add portability note to
19049 NAME_MAX, PATH_MAX.
19050 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19051
ca0a6bc4
AS
190522013-08-13 Andreas Schwab <schwab@suse.de>
19053
19054 [BZ #15749]
19055 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19056 of fabs.
19057 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19058 LDBL_MAX_EXP >= 16384]: Add tests for it.
19059
6c1fd795
DM
190602013-08-12 David S. Miller <davem@davemloft.net>
19061
19062 * version.h (RELEASE): Set to "development".
19063 (VERSION): Set to "2.18.90".
19064 * NEWS: Add 2.19 section.
19065
31ad488d
DM
190662013-08-03 David S. Miller <davem@davemloft.net>
19067
19068 * po/ko.po: Update Korean translation from translation project.
19069
db24e684
DM
190702013-08-01 David S. Miller <davem@davemloft.net>
19071
19072 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19073 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19074 Bilka.
19075
f723285b
DM
190762013-07-30 David S. Miller <davem@davemloft.net>
19077
19078 * po/fr.po: Update French translation from translation project.
19079
3cbc52db
DM
190802013-07-28 David S. Miller <davem@davemloft.net>
19081
30bbc0cc
DM
19082 * po/cs.po: Update Czech translation from translation project.
19083
3cbc52db
DM
19084 * po/sv.po: Update Swedish translation from translation project.
19085
d492e6d0
DM
190862013-07-27 David S. Miller <davem@davemloft.net>
19087
f1a7f492
DM
19088 * po/eo.po: Update Esperanto translation from translation project.
19089
90e62a4a
DM
19090 * po/vi.po: Update Vietnamese translation from translation project.
19091
d492e6d0
DM
19092 * po/de.po: Update German translation from translation project.
19093
d4baa62d
DM
190942013-07-26 David S. Miller <davem@davemloft.net>
19095
641aa7b4
DM
19096 * po/bg.po: Update Bulgarian translation from translation project.
19097
d4baa62d
DM
19098 * po/nl.po: Update Dutch translation from translation project.
19099 * po/pl.po: Update Polish translation from translation project.
19100 * po/ru.po: Update Russian translation from translation project.
19101
61a9dcb9
DM
191022013-07-24 David S. Miller <davem@davemloft.net>
19103
19104 * po/libc.pot: Update.
19105
7b1f8b58
AZ
191062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19107
19108 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19109 variable page size.
19110 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19111 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19112 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19113
a8fc7a03
AK
191142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19115
19116 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19117
e4608715
CD
191182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19119 Andreas Schwab <schwab@suse.de>
19120 Roland McGrath <roland@hack.frob.com>
19121 Joseph Myers <joseph@codesourcery.com>
19122 Carlos O'Donell <carlos@redhat.com>
19123
19124 [BZ #15755]
19125 * config.h.in: Define HAVE_PT_CHOWN.
19126 * config.make.in (build-pt-chown): New variable.
19127 * configure.in (--enable-pt_chown): New configure option.
19128 * configure: Regenerate.
19129 * login/Makefile: Include Makeconfig. Build pt_chown only if
19130 build-pt-chown is enabled.
19131 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19132 pt_chown to fix pty ownership.
19133 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19134 CLOSE_ALL_FDS.
19135 * manual/install.texi (Configuring and compiling): Mention
19136 --enable-pt_chown. Add @findex for grantpt.
19137 * INSTALL: Regenerate.
19138
da2d62df
DM
191392013-07-20 David S. Miller <davem@davemloft.net>
19140
19141 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19142 difference between 32-bit and 64-bit.
19143
d7e06450
CD
191442013-07-15 Carlos O'Donell <carlos@redhat.com>
19145
19146 [BZ #15711]
19147 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19148 Avoid system header dependency with -ffreestanding.
19149 ($(objpfx)bits/syscall%d): Likewise.
19150
f959cfd7
DM
191512013-07-13 David S. Miller <davem@davemloft.net>
19152
19153 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19154 underflows from atanl/atan2l due to bug 15319.
19155 (casinh_test_data): Likewise.
19156
c61f8513
DM
191572013-07-07 David S. Miller <davem@davemloft.net>
19158
19159 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19160
72c90ed0
JA
191612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19162
19163 * sysdeps/i386/fpu/libm-test-ulps: Update.
19164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19165
52dfbe13
SP
191662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19167
19168 * configure.in (--enable-lock-elision): Fix message text.
19169 * INSTALL: Regenerate.
19170 * configure: Regenerate.
19171
3f169543
AZ
191722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19173
19174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19175
521c6785
AJ
191762013-07-03 Andreas Jaeger <aj@suse.de>
19177
19178 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19179 define.
19180 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19181 (ptrace_peeksiginfo_args): Add.
19182 (__ptrace_peeksiginfo_flags): Add.
19183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19186
d2cc15cb
AM
191872013-07-03 Allan McRae <allan@archlinux.org>
19188
19189 * sysdeps/i386/fpu/libm-test-ulps: Update.
19190
3aaeeca7
DM
191912013-07-02 David S. Miller <davem@davemloft.net>
19192
19193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19194
5314ed1a
MT
191952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19196
19197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19198
67338156
JM
191992013-07-02 Joseph Myers <joseph@codesourcery.com>
19200
19201 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19203
1717da59
AK
192042013-07-02 Andi Kleen <ak@linux.intel.com>
19205
19206 * config.h.in (ENABLE_LOCK_ELISION): Add.
19207 * configure.in (--enable-lock-elision): Add option.
19208 * manual/install.texi: Document --enable lock elision.
19209 * configure: Regenerate
19210 * INSTALL: Regenerate.
19211
1c81621c
L
192122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19215 SSE4.2 strcasecmp for libc.a.
19216 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19217
77f01ab5
JM
192182013-07-02 Joseph Myers <joseph@codesourcery.com>
19219
19220 [BZ #13304]
19221 * soft-fp/op-common.h (_FP_FMA): New macro.
19222 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19223 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19224 (_FP_MUL_MEAT_1_imm): ... here.
19225 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19226 (_FP_MUL_MEAT_1_wide): ... here.
19227 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19228 (_FP_MUL_MEAT_1_hard): ... here.
19229 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19230 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19231 (_FP_MUL_MEAT_2_wide): ... here.
19232 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19233 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19234 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19235 (_FP_MUL_MEAT_2_gmp): ... here.
19236 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19237 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19238 (_FP_MUL_MEAT_4_wide): ... here.
19239 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19240 (_FP_MUL_MEAT_4_gmp): ... here.
19241 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19242 (_FP_WFRACBITS_DW_S): Likewise.
19243 (_FP_WFRACXBITS_DW_S): Likewise.
19244 (_FP_HIGHBIT_DW_S): Likewise.
19245 (FP_FMA_S): Likewise.
19246 (_FP_FRAC_HIGH_DW_S): Likewise.
19247 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19248 (_FP_WFRACBITS_DW_D): Likewise.
19249 (_FP_WFRACXBITS_DW_D): Likewise.
19250 (_FP_HIGHBIT_DW_D): Likewise.
19251 (FP_FMA_D): Likewise.
19252 (_FP_FRAC_HIGH_DW_D): Likewise.
19253 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19254 (_FP_WFRACBITS_DW_E): Likewise.
19255 (_FP_WFRACXBITS_DW_E): Likewise.
19256 (_FP_HIGHBIT_DW_E): Likewise.
19257 (FP_FMA_E): Likewise.
19258 (_FP_FRAC_HIGH_DW_E): Likewise.
19259 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19260 (_FP_WFRACBITS_DW_Q): Likewise.
19261 (_FP_WFRACXBITS_DW_Q): Likewise.
19262 (_FP_HIGHBIT_DW_Q): Likewise.
19263 (FP_FMA_Q): Likewise.
19264 (_FP_FRAC_HIGH_DW_Q): Likewise.
19265 * soft-fp/fmasf4.c: New file.
19266 * soft-fp/fmadf4.c: Likewise.
19267 * soft-fp/fmatf4.c: Likewise.
19268
6308fd9a
LD
192692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19270
19271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19272 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19273 Silvermont.
19274 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19275 macro.
19276 (index_Slow_SSE4_2): Likewise.
19277 (index_Prefer_PMINUB_for_stringop): Likewise.
19278 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19279 bit_Slow_SSE4_2 is set.
19280 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19282
89cd9569
RA
192832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19284
19285 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19286 rtld_global._dl_hwcap2.
19287 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19288 POWER8.
19289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19290 POWER8 feature descriptions defined in _dl_hwcap2.
19291 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19292 string handling for POWER8 feature bits.
19293 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19294 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19295 _dl_powerpc_cap_flags.
19296 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19297 * sysdeps/powerpc/rtld-global-offsets.sym
19298 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19299 _dl_hwcap2 in the rtld_global_ro structure.
19300
1ae8bfe0
RA
193012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19302
19303 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19304 hardware capabilities in support of AT_HWCAP2.
19305 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19306 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19307 GLRO(dl_hwcap2).
19308 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19309 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19310 explicitly the unknown a_type display mechanism is used.
19311 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19312 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19313 struct member.
19314 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19315 to macro prototype for AT_HWCAP2 support.
19316 * sysdeps/i386/dl-procinfo.h: Likewise.
19317 * sysdeps/s390/dl-procinfo.h: Likewise.
19318 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19319 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19320 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19321 return -1 for unknown a_type display fallback.
19322 * sysdeps/sparc/dl-procinfo.h: Likewise.
19323 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19324 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19325
8fbec010
JM
193262013-06-28 Joseph Myers <joseph@codesourcery.com>
19327
19328 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19329 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19330
0432680e
PY
193312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19332
19333 [BZ #12492]
19334 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19335 mprotect making __stack_prot writable.
19336
ce61a2ad
NF
193372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19338 Joseph Myers <joseph@codesourcery.com>
19339
19340 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19341 as being properly aligned.
19342
f91f1c0f
MR
193432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19344
3d0f5d0c
MR
19345 * dlfcn/modstatic5.c: New file.
19346 * dlfcn/tststatic5.c: New file.
19347 * dlfcn/Makefile (tests): Add tststatic5.
19348 (tests-static): Likewise.
19349 (modules-names): Add modstatic5.
19350 (tststatic5-ENV): New variable.
19351 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19352
f91f1c0f
MR
19353 [BZ #15022]
19354 * elf/dl-support.c (_dl_main_map): New variable.
19355 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19356 (_dl_nns, _dl_load_adds): Set to 1.
19357 (_dl_initial_searchlist): Refer to _dl_main_map.
19358 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19359 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19360 call to _dl_get_origin.
19361 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19362 around call_map.
19363 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19364 * dlfcn/modstatic3.c: New file.
19365 * dlfcn/tststatic3.c: New file.
19366 * dlfcn/tststatic4.c: New file.
19367 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19368 (tests-static): Likewise.
19369 (modules-names): Add modstatic3.
19370 (tststatic3-ENV, tststatic4-ENV): New variables.
19371 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19372 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19373
cbe7d24b
JM
193742013-06-26 Joseph Myers <joseph@codesourcery.com>
19375
19376 * configure.in (CC): Require GCC version 4.4 or later.
19377 * configure: Regenerated.
19378 * manual/install.texi (Tools for Compilation): Update GCC version
19379 requirement.
19380 * INSTALL: Regenerated.
19381
11b8a0e1
LD
193822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19383
19384 [BZ #15674]
bb5bb87c
L
19385 * string/test-memcmp.c (check2): New.
19386 (main): Call check2.
19387
11b8a0e1
LD
19388 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19389
b0037103
MR
193902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19391
19392 [BZ #15022]
19393 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19394 over to...
19395 (dl_open_worker) [!SHARED]: ... here.
19396
c18c701d
RA
193972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19398
19399 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19400
1d17fa5f
RH
194012013-06-25 Richard Henderson <rth@redhat.com>
19402
19403 * locale/programs/locarchive.c: Include <libc-internal.h>
19404
8fcb833a
JM
194052013-06-25 Joseph Myers <joseph@codesourcery.com>
19406
19407 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19408 trailing whitespace removed.
19409
17db6e8d
MF
194102013-06-24 Mike Frysinger <vapier@gentoo.org>
19411
19412 [BZ #10283]
17db6e8d
MF
19413 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19414 * locale/programs/locarchive.c: Include libc-mmap.h.
19415 (prepare_address_space): Take two new outputs (the mmap base and len).
19416 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19417 values.
19418 (create_archive): Declare new mmap base and len values for
19419 prepare_address_space, and store the result in ah.
19420 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19421 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19422 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19423 Declare new mmap base and len values for
19424 prepare_address_space, and store the result in new_ah.
19425 (open_archive): Declare new mmap base and len values for
19426 prepare_address_space, and store the result in ah.
19427 (close_archive): If ah->mmap_base is not NULL, use that and
19428 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19429 * sysdeps/generic/libc-mmap.h: New file.
19430
d605071e
MF
194312013-06-24 Mike Frysinger <vapier@gentoo.org>
19432
19433 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19434 (ALIGN_UP): Likewise.
19435 (PTR_ALIGN_DOWN): Likewise.
19436 (PTR_ALIGN_UP): Likewise.
19437
2f063a6e
RA
194382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19439
19440 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19441 entry mapped to PPC_PLATFORM_POWER8.
19442 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19443 POWER8.
19444 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19445 (_dl_string_platform): Add case for exporting platform position for
19446 POWER8.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19448 search path to sysdeps/powerpc/powerpc32/power8 directory.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19450 search path to sysdeps/powerpc/powerpc64/power8 directory.
19451 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19452 power7 directories.
19453 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19454 power7 directories.
19455
a31ee4b3
SP
194562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
a74ca98f
SP
19458 * INSTALL: Regenerate.
19459
a31ee4b3
SP
19460 * nscd/connections.c (nscd_init): Fix comment.
19461
695c378f
JM
194622013-06-22 Joseph Myers <joseph@codesourcery.com>
19463
d8412221
JM
19464 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19465
695c378f
JM
19466 [BZ #15667]
19467 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19468 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19469
d1d54715
MR
194702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19471
19472 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19473 DL_DST_REQ_STATIC.
19474 (DL_DST_REQ_STATIC): Remove macro.
19475
8fdda7af
JM
194762013-06-21 Joseph Myers <joseph@codesourcery.com>
19477
19478 [BZ #7006]
19479 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19480 with a shift of 0 bits.
19481
f3bc5e5a
MR
194822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19483
19484 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19485 $(tststatic-ENV).
19486
be09e8c9
KK
194872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19488
19489 [BZ #15655]
19490 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19491
85c2e611
AZ
194922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19493
19494 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19495 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19496 accepts -fno-tree-loop-distribute-patterns.
19497 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19498 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19499 recursive call.
19500 * string/memset.c (memset): Likewise.
19501 * string/test-memmove.c (simple_memmove): Disable loop transformation
19502 to library calls.
19503 * string/test-memset.c (simple_memset): Likewise.
19504 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19505 * benchtests/bench-memset.c (simple_memset): Likewise.
19506 * configure: Regenerated.
19507
c91e0825
JM
195082013-06-20 Joseph Myers <joseph@codesourcery.com>
19509
b8c792af
JM
19510 * math/test-misc.c (main): Ignore fesetround failure when failures
19511 of subsequent rounding tests would be ignored.
19512
c91e0825
JM
19513 [BZ #15654]
19514 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19515 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19516 * math/fegetenv.c (__fegetenv): Return 0.
19517 * math/fegetexcept.c (fegetexcept): Return 0.
19518 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19519 FE_TONEAREST.
19520 * math/feholdexcpt.c (feholdexcept): Return 0.
19521 * math/fesetenv.c (__fesetenv): Return 0.
19522 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19523 argument FE_TONEAREST.
19524 * math/feupdateenv.c (__feupdateenv): Return 0.
19525 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19526
bfcacbde
RM
195272013-06-18 Roland McGrath <roland@hack.frob.com>
19528
19529 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19530 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19531 ($(objpfx)rtld-%.os rules): Use them.
19532
e55a9b25
AZ
195332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534
19535 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19536 fields.
19537
346d65b3
RM
195382013-06-17 Roland McGrath <roland@hack.frob.com>
19539
12086fb4
RM
19540 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19541 length of target pattern, then descending length of dependency pattern.
19542 * configure.in (AWK): Require gawk 3.1.2 or newer.
19543 * manual/install.texi (Tools for Compilation): Say that we do.
19544 * configure: Regenerated.
19545
346d65b3
RM
19546 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19547 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19548 * scripts/sysd-rules.awk: ... this new script.
19549 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19550 than a glob-style pattern.
19551
1a846317
JM
195522013-06-17 Joseph Myers <joseph@codesourcery.com>
19553
19554 * math/test-misc.c (main): Do not treat incorrectly rounded
19555 conversions as failure unless ROUNDING_TESTS passes.
19556
8fc75e6f
JM
195572013-06-15 Joseph Myers <joseph@codesourcery.com>
19558
3711a167
JM
19559 [BZ #15631]
19560 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19561 restore exception state around main square root computation, then
19562 check for inexactness explicitly.
19563
8fc75e6f
JM
19564 * math/libm-test.inc (fma_test_data): Add another test.
19565
61dd6208
SP
195662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19567
adf23d2c
SP
19568 * manual/threads.texi (Non-POSIX Extensions): New document
19569 node. Document pthread_getattr_default_np and
19570 pthread_setattr_default_np.
19571
61dd6208
SP
19572 * Versions.def (libpthread): Add GLIBC_2.18.
19573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19575 Likewise.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19577 Likewise.
19578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19579 Likewise.
19580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19581 Likewise.
19582 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19583 Likewise.
19584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19585 Likewise.
19586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19587 Likewise.
19588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19589 Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19591 Likewise.
19592
d086fc7b
LD
195932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19594
19595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19596 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19597
747ef469
SP
195982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19599 H.J. Lu <hjl.tools@gmail.com>
19600
19601 [BZ #15627]
19602 * sysdeps/x86_64/rtld-memset.c: Remove file.
19603 * sysdeps/x86_64/rtld-memset.S: New file.
19604
1b2feed2
JM
196052013-06-14 Joseph Myers <joseph@codesourcery.com>
19606
19607 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19608 (test_in_one_mode): Take arguments for whether the rounding mode
19609 is supported for each floating-point type.
19610 (do_test): Pass new arguments to test_in_one_mode using
19611 ROUNDING_TESTS.
19612
a58ad3f8
RM
196132013-06-13 Roland McGrath <roland@hack.frob.com>
19614
19615 * posix/tst-waitid.c (do_test): Distinguish different instances of
19616 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19617 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19618 before entering the kernel for waitpid.
19619
c204ab28
SP
196202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19621
19622 * NEWS: Fix note on clock function precision. Text by Roland
19623 McGrath.
19624
f4a29fba
RM
196252013-06-13 Roland McGrath <roland@hack.frob.com>
19626
19627 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19628 it into place only when and if the sanity check passes.
19629
1f24b9ad
JM
196302013-06-13 Joseph Myers <joseph@codesourcery.com>
19631
19632 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19633 output for whether conversion result is exact. Take argument
19634 indicating whether type is IBM long double.
19635 (round_for_all): Change need_exact field to ibm_ld.
19636 * stdlib/tst-strtod-round.c (struct exactness): New type.
19637 (struct test): Change bool ld_ok field to struct exactness exact.
19638 (TEST): Update all definitions for change to field.
19639 (tests): Regenerate array contents.
19640 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19641 field value. Check for IBM long double here.
19642 (do_test): Update calls to test_in_one_mode.
19643
58206c68
SP
196442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19645
19646 [BZ #12515]
19647 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19648 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19649
2d6f4c5b 196502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19651
19652 [BZ #15605]
19653 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19654 generated by the compiler on loop optimizations.
19655 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19656 general definitions.
19657
94f2c076
JM
196582013-06-12 Joseph Myers <joseph@codesourcery.com>
19659
19660 * math/bug-nextafter.c: Include <math-tests.h>.
19661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19662 the relevant type.
19663 * math/bug-nexttoward.c: Include <math-tests.h>.
19664 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19665 the relevant type.
19666 * math/test-misc.c: Include <math-tests.h>.
19667 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19668 the relevant type.
19669
e0e50a0a
AJ
196702013-06-12 Andreas Jaeger <aj@suse.de>
19671
19672 * po/ia.po: Update Interlingua translation from translation
19673 project.
19674
25061094
SP
196752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19676
19677 * include/fenv.h: Include stdbool.h.
19678 (struct rm_ctx): New structure.
19679 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19680 Define macro.
19681 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19682 (SET_RESTORE_ROUNDF): Likewise.
19683 (SET_RESTORE_ROUNDL): Likewise.
19684 (SET_RESTORE_ROUND_NOEX): Likewise.
19685 (SET_RESTORE_ROUND_NOEXF): Likewise.
19686 (SET_RESTORE_ROUND_NOEXL): Likewise.
19687 (SET_RESTORE_ROUND_53BIT): Likewise.
19688 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19689 (libc_feresetround_noexf_ctx): Likewise.
19690 (libc_feresetround_noexl_ctx): Likewise.
19691 (libc_feholdsetround_53bit_ctx): Likewise.
19692 (libc_feresetround_53bit_ctx): Likewise.
19693 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19694 (libc_feholdexcept_setround_sse_ctx): New function.
19695 (libc_fesetenv_sse_ctx): Likewise.
19696 (libc_feupdateenv_sse_ctx): Likewise.
19697 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19698 (libc_feholdexcept_setround_387_ctx): Likewise.
19699 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19700 (libc_feholdsetround_387_prec_ctx): Likewise.
19701 (libc_feholdsetround_387_ctx): Likewise.
19702 (libc_feholdsetround_387_53bit_ctx): Likewise.
19703 (libc_feholdsetround_sse_ctx): Likewise.
19704 (libc_feresetround_sse_ctx): Likewise.
19705 (libc_feresetround_387_ctx): Likewise.
19706 (libc_feupdateenv_387_ctx): Likewise.
19707 (libc_feholdexcept_setroundf_ctx): Define macro.
19708 (libc_fesetenvf_ctx): Likewise.
19709 (libc_feupdateenvf_ctx): Likewise.
19710 (libc_feholdsetroundf_ctx): Likewise.
19711 (libc_feresetroundf_ctx): Likewise.
19712 (libc_feholdexcept_setround_ctx): Likewise.
19713 (libc_fesetenv_ctx): Likewise.
19714 (libc_feupdateenv_ctx): Likewise.
19715 (libc_feholdsetround_ctx): Likewise.
19716 (libc_feresetround_ctx): Likewise.
19717 (libc_feholdexcept_setroundl_ctx): Likewise.
19718 (libc_feupdateenvl_ctx): Likewise.
19719 (libc_feholdsetroundl_ctx): Likewise.
19720 (libc_feresetroundl_ctx): Likewise.
19721 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19722 (libc_feresetround_53bit_ctx): Likewise.
19723
59b30555
SP
197242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19725
19726 * locale/iso-639.def: Convert to UTF-8.
19727
f1d73d30
JM
197282013-06-11 Joseph Myers <joseph@codesourcery.com>
19729
19730 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19731 (EXCEPTION_TESTS_double): Likewise.
19732 (EXCEPTION_TESTS_long_double): Likewise.
19733 (EXCEPTION_TESTS): Likewise.
19734 * math/libm-test.inc (test_exceptions): Only test exceptions if
19735 EXCEPTION_TESTS (FLOAT).
19736
94aca5e7
SP
197372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19738
19739 * benchtests/Makefile (string-bench): Add strcpy_chk and
19740 stpcpy_chk.
19741 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19742 * benchtests/bench-stpcpy_chk.c: New file.
19743 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19744 * benchtests/bench-strcpy_chk.c: New file.
19745 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19746 code.
19747 (do_test): Likewise.
19748
fac0c5f2
RA
197492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19750
19751 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19752 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19753 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19754 with tabs where appropriate.
19755 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19756 dl-procinfo.h.
19757 [PPC_PLATFORM_PPC440]: Likewise.
19758 [PPC_PLATFORM_PPC464]: Likewise.
19759 [PPC_PLATFORM_PPC476]: Likewise.
19760 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19761 ppc464, and ppc476 platform strings merging from ports/
19762 dl-procinfo.h.
19763
f22bc486
AS
197642013-06-11 Andreas Schwab <schwab@suse.de>
19765
19766 [BZ #14991]
19767 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19768 (from_ucs4_idx): Regenerate.
19769 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19770 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19771 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19772 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19773 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19774 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19775 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19776 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19777 from FROM_LOOP and TO_LOOP specific macros.
19778 (BODY): Handle combining characters.
19779 * iconvdata/BIG5HKSCS.irreversible: Update.
19780 * iconvdata/BIG5HKSCS.precomposed: New file.
19781 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19782 characters.
19783 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19784
c1f75dc3
SP
197852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19786
4eacded2
SP
19787 * include/sys/time.h: Fix indentation and add copyright header.
19788
fec799f8
SP
19789 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19790 (do_test): Likewise.
19791 * string/test-memchr.c (do_one_test): Likewise.
19792 (do_test): Likewise.
19793 * string/test-memcmp.c (do_one_test): Likewise.
19794 (do_test): Likewise.
19795 * string/test-memcpy.c (do_one_test): Likewise.
19796 (do_test): Likewise.
19797 * string/test-memmem.c (do_one_test): Likewise.
19798 (do_test): Likewise.
19799 (do_random_tests): Likewise.
19800 * string/test-memmove.c (do_one_test): Likewise.
19801 (do_test): Likewise.
19802 * string/test-memset.c (do_one_test): Likewise.
19803 (do_test): Likewise.
19804 * string/test-rawmemchr.c (do_one_test): Likewise.
19805 (do_test): Likewise.
19806 * string/test-strcasecmp.c (do_one_test): Likewise.
19807 (do_test): Likewise.
19808 * string/test-strcasestr.c (do_one_test): Likewise.
19809 (do_test): Likewise.
19810 * string/test-strcat.c (do_one_test): Likewise.
19811 (do_test): Likewise.
19812 * string/test-strchr.c (do_one_test): Likewise.
19813 (do_test): Likewise.
19814 * string/test-strcmp.c (do_one_test): Likewise.
19815 (do_test): Likewise.
19816 * string/test-strcpy.c (do_one_test): Likewise.
19817 (do_test): Likewise.
19818 * string/test-string.h: Likewise.
19819 (test_init): Likewise.
19820 * string/test-strlen.c (do_one_test): Likewise.
19821 (do_test): Likewise.
19822 * string/test-strncasecmp.c (do_one_test): Likewise.
19823 (do_test): Likewise.
19824 * string/test-strncat.c (do_one_test): Likewise.
19825 (do_test): Likewise.
19826 * string/test-strncmp.c (do_one_test): Likewise.
19827 (do_test_limit): Likewise.
19828 (do_test): Likewise.
19829 * string/test-strncpy.c (do_one_test): Likewise.
19830 (do_test): Likewise.
19831 * string/test-strnlen.c (do_one_test): Likewise.
19832 (do_test): Likewise.
19833 * string/test-strpbrk.c (do_one_test): Likewise.
19834 (do_test): Likewise.
19835 * string/test-strrchr.c (do_one_test): Likewise.
19836 (do_test): Likewise.
19837 * string/test-strspn.c (do_one_test): Likewise.
19838 (do_test): Likewise.
19839 * string/test-strstr.c (do_one_test): Likewise.
19840 (do_test): Likewise.
19841
97020474
SP
19842 * benchtests/Makefile (string-bench): Add string benchmarks.
19843 * benchtests/bench-bcopy-ifunc.c: New file.
19844 * benchtests/bench-bcopy.c: New file.
19845 * benchtests/bench-bzero-ifunc.c: New file.
19846 * benchtests/bench-bzero.c: New file.
19847 * benchtests/bench-memccpy-ifunc.c: New file.
19848 * benchtests/bench-memccpy.c: New file.
19849 * benchtests/bench-memchr-ifunc.c: New file.
19850 * benchtests/bench-memchr.c: New file.
19851 * benchtests/bench-memcmp-ifunc.c: New file.
19852 * benchtests/bench-memcmp.c: New file.
19853 * benchtests/bench-memmem-ifunc.c: New file.
19854 * benchtests/bench-memmem.c: New file.
19855 * benchtests/bench-memmove-ifunc.c: New file.
19856 * benchtests/bench-memmove.c: New file.
19857 * benchtests/bench-mempcpy-ifunc.c: New file.
19858 * benchtests/bench-mempcpy.c: New file.
19859 * benchtests/bench-memset-ifunc.c: New file.
19860 * benchtests/bench-memset.c: New file.
19861 * benchtests/bench-rawmemchr-ifunc.c: New file.
19862 * benchtests/bench-rawmemchr.c: New file.
19863 * benchtests/bench-stpcpy-ifunc.c: New file.
19864 * benchtests/bench-stpcpy.c: New file.
19865 * benchtests/bench-stpncpy-ifunc.c: New file.
19866 * benchtests/bench-stpncpy.c: New file.
19867 * benchtests/bench-strcasecmp-ifunc.c: New file.
19868 * benchtests/bench-strcasecmp.c: New file.
19869 * benchtests/bench-strcasestr-ifunc.c: New file.
19870 * benchtests/bench-strcasestr.c: New file.
19871 * benchtests/bench-strcat-ifunc.c: New file.
19872 * benchtests/bench-strcat.c: New file.
19873 * benchtests/bench-strchr-ifunc.c: New file.
19874 * benchtests/bench-strchr.c: New file.
19875 * benchtests/bench-strchrnul-ifunc.c: New file.
19876 * benchtests/bench-strchrnul.c: New file.
19877 * benchtests/bench-strcmp-ifunc.c: New file.
19878 * benchtests/bench-strcmp.c: New file.
19879 * benchtests/bench-strcpy-ifunc.c: New file.
19880 * benchtests/bench-strcpy.c: New file.
19881 * benchtests/bench-strcspn-ifunc.c: New file.
19882 * benchtests/bench-strcspn.c: New file.
19883 * benchtests/bench-strlen-ifunc.c: New file.
19884 * benchtests/bench-strlen.c: New file.
19885 * benchtests/bench-strncasecmp-ifunc.c: New file.
19886 * benchtests/bench-strncasecmp.c: New file.
19887 * benchtests/bench-strncat-ifunc.c: New file.
19888 * benchtests/bench-strncat.c: New file.
19889 * benchtests/bench-strncmp-ifunc.c: New file.
19890 * benchtests/bench-strncmp.c: New file.
19891 * benchtests/bench-strncpy-ifunc.c: New file.
19892 * benchtests/bench-strncpy.c: New file.
19893 * benchtests/bench-strnlen-ifunc.c: New file.
19894 * benchtests/bench-strnlen.c: New file.
19895 * benchtests/bench-strpbrk-ifunc.c: New file.
19896 * benchtests/bench-strpbrk.c: New file.
19897 * benchtests/bench-strrchr-ifunc.c: New file.
19898 * benchtests/bench-strrchr.c: New file.
19899 * benchtests/bench-strspn-ifunc.c: New file.
19900 * benchtests/bench-strspn.c: New file.
19901 * benchtests/bench-strstr-ifunc.c: New file.
19902 * benchtests/bench-strstr.c: New file.
19903
c1f75dc3
SP
19904 * benchtests/Makefile: Disable parallel execution of targets.
19905 (string-bench): Add memcpy.
19906 (benchset): New variable to store a list of benchmark sets.
19907 (bench-func): Renamed from bench.
19908 (bench-set): New target.
19909 (bench): Depend on bench-func and bench-set.
19910 * benchtests/README: Add section on benchmark sets.
19911 * benchtests/bench-memcpy-ifunc.c: New file.
19912 * benchtests/bench-memcpy.c: New file.
19913 * benchtests/bench-string.h: New file.
19914
50fd745b
AS
199152013-06-11 Andreas Schwab <schwab@suse.de>
19916
19917 [BZ #15577]
19918 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19919 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19920 values in the triple.
19921 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19922 terminator in the group key.
19923
3ee7e9fe
AJ
199242013-06-11 Andreas Jaeger <aj@suse.de>
19925
19926 * po/zh_TW.po: Update Chinese (traditional) translation from
19927 translation project.
19928
89fb6835
SP
199292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19930
19931 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19932 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19933 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19934 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19935 (clock_getcpuclockid): Likewise.
19936 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19937 Add weak_alias and libc_hidden_def.
19938 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19939 * rt/clock_gettime.c (clock_gettime): Rename to
19940 __clock_gettime. Add weak_alias and libc_hidden_def.
19941 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19942 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19943 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19944 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19945 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19946 Likewise.
19947 * rt/clock_settime.c (clock_settime): Rename to
19948 __clock_settime. Add weak_alias and libc_hidden_def.
19949 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19950
0efa6f8b
JM
199512013-06-10 Joseph Myers <joseph@codesourcery.com>
19952
b8c61b4b
JM
19953 * mach/err_boot.sub: Remove trailing whitespace.
19954 * mach/err_ipc.sub: Likewise.
19955 * mach/err_mach.sub: Likewise.
19956
0efa6f8b
JM
19957 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19958 (ROUNDING_TESTS_double): Likewise.
19959 (ROUNDING_TESTS_long_double): Likewise.
19960 (ROUNDING_TESTS): Likewise.
19961 * math/libm-test.inc: Include <math-tests.h>.
19962 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19963 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19964 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19965 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19966
50b818bf
SP
199672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19968
19969 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19970 of assigning.
19971
60d2f8f3
JM
199722013-06-08 Joseph Myers <joseph@codesourcery.com>
19973
4902d2c3
JM
19974 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19975 otherwise empty TRANS lines.
19976 * sysdeps/gnu/errlist.c: Regenerated.
19977
60d2f8f3
JM
19978 * catgets/gencat.c (error_print): Use (void) in function
19979 definition.
19980 * crypt/crypt_util.c (__init_des): Likewise.
19981 * crypt/speeds.c (Stop): Likewise.
19982 (main): Likewise.
19983 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19984 * inet/ruserpass.c (token): Likewise.
19985 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19986 * intl/localealias.c (extend_alias_table): Likewise.
19987 * intl/plural-exp.c (init_germanic_plural): Likewise.
19988 * libio/fcloseall.c (__fcloseall): Likewise.
19989 * libio/genops.c (_IO_flush_all): Likewise.
19990 (_IO_flush_all_linebuffered): Likewise.
19991 (_IO_cleanup): Likewise.
19992 (_IO_iter_begin): Likewise.
19993 (_IO_iter_end): Likewise.
19994 (_IO_list_lock): Likewise.
19995 (_IO_list_unlock): Likewise.
19996 (_IO_list_resetlock): Likewise.
19997 * libio/getchar.c (getchar): Likewise.
19998 * libio/getchar_u.c (getchar_unlocked): Likewise.
19999 * libio/getwchar.c (getwchar): Likewise.
20000 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20001 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20002 * login/getpt.c (__getpt): Likewise.
20003 * login/tst-utmp.c (main): Likewise.
20004 * malloc/hooks.c (__malloc_check_init): Likewise.
20005 * malloc/malloc.c (__malloc_stats): Likewise.
20006 * malloc/mtrace.c (tr_break): Likewise.
20007 (mtrace): Likewise.
20008 (muntrace): Likewise.
20009 * misc/fstab.c (endfsent): Likewise.
20010 * misc/getclktck.c (__getclktck): Likewise.
20011 * misc/getdtsz.c (__getdtablesize): Likewise.
20012 * misc/gethostid.c (gethostid): Likewise.
20013 * misc/getpagesize.c (__getpagesize): Likewise.
20014 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20015 (__get_nprocs): Likewise.
20016 (__get_phys_pages): Likewise.
20017 (__get_avphys_pages): Likewise.
20018 * misc/getttyent.c (getttyent): Likewise.
20019 (setttyent): Likewise.
20020 (endttyent): Likewise.
20021 * misc/getusershell.c (getusershell): Likewise.
20022 (endusershell): Likewise.
20023 (setusershell): Likewise.
20024 (initshells): Likewise.
20025 * misc/hsearch.c (__hdestroy): Likewise.
20026 * misc/sync.c (sync): Likewise.
20027 * misc/syslog.c (closelog_internal): Likewise.
20028 (closelog): Likewise.
20029 * misc/ttyslot.c (ttyslot): Likewise.
20030 * misc/vhangup.c (vhangup): Likewise.
20031 * posix/fork.c (__fork): Likewise.
20032 * posix/getegid.c (__getegid): Likewise.
20033 * posix/geteuid.c (__geteuid): Likewise.
20034 * posix/getgid.c (__getgid): Likewise.
20035 * posix/getpid.c (__getpid): Likewise.
20036 * posix/getppid.c (__getppid): Likewise.
20037 * posix/getuid.c (__getuid): Likewise.
20038 * posix/pause.c (pause): Likewise.
20039 * posix/setpgrp.c (setpgrp): Likewise.
20040 * posix/setsid.c (__setsid): Likewise.
20041 * posix/test-vfork.c (noop): Likewise.
20042 * resolv/gethnamaddr.c (_endhtent): Likewise.
20043 (_gethtent): Likewise.
20044 (ht_endhostent): Likewise.
20045 (gethostent): Likewise.
20046 (dns_service): Likewise.
20047 * stdlib/drand48.c (drand48): Likewise.
20048 * stdlib/lrand48.c (lrand48): Likewise.
20049 * stdlib/mrand48.c (mrand48): Likewise.
20050 * stdlib/rand.c (rand): Likewise.
20051 * stdlib/random.c (__random): Likewise.
20052 * stdlib/setenv.c (clearenv): Likewise.
20053 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20054 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20055 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20056 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20057 (__get_nprocs): Likewise.
20058 (__get_phys_pages): Likewise.
20059 (__get_avphys_pages): Likewise.
20060 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20061 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20062 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20063 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20064 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20065 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20066 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20067 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20068 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20069 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20070 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20071 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20072 * sysdeps/posix/clock.c (clock): Likewise.
20073 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20074 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20075 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20076 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20077 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20079 (__get_nprocs_conf): Likewise.
20080 (__get_phys_pages): Likewise.
20081 (__get_avphys_pages): Likewise.
20082 * time/clock.c (clock): Likewise.
20083 * time/tzset.c (__tzname_max): Likewise.
20084
2e09a79a
JM
200852013-06-07 Joseph Myers <joseph@codesourcery.com>
20086
20087 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20088 (__bswap_32): Do not use "register".
20089 * crypt/crypt.c (_ufc_doit_r): Likewise.
20090 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20091 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20092 * gmon/gmon.c (__monstartup): Likewise.
20093 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20094 * hurd/hurdmalloc.c (more_memory): Likewise.
20095 (malloc): Likewise.
20096 (free): Likewise.
20097 (realloc): Likewise.
20098 (malloc_fork_prepare): Likewise.
20099 (malloc_fork_parent): Likewise.
20100 (malloc_fork_child): Likewise.
20101 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20102 (_svcauth_des): Likewise.
20103 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20104 * inet/inet_net.c (inet_network): Likewise.
20105 * inet/inet_netof.c (inet_netof): Likewise.
20106 * inet/rcmd.c (__validuser2_sa): Likewise.
20107 * io/fts.c (fts_open): Likewise.
20108 (fts_load): Likewise.
20109 (fts_close): Likewise.
20110 (fts_read): Likewise.
20111 (fts_children): Likewise.
20112 (fts_build): Likewise.
20113 (fts_stat): Likewise.
20114 (fts_sort): Likewise.
20115 (fts_alloc): Likewise.
20116 (fts_lfree): Likewise.
20117 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20118 (_IO_file_xsgetn): Likewise.
20119 (_IO_file_xsgetn_mmap): Likewise.
20120 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20121 (_IO_cookie_write): Likewise.
20122 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20123 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20124 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20125 * malloc/obstack.c (_obstack_begin): Likewise.
20126 (_obstack_begin_1): Likewise.
20127 (_obstack_newchunk): Likewise.
20128 (_obstack_allocated_p): Likewise.
20129 (obstack_free): Likewise.
20130 (_obstack_memory_used): Likewise.
20131 * misc/getttyent.c (getttynam): Likewise.
20132 (getttyent): Likewise.
20133 (skip): Likewise.
20134 (value): Likewise.
20135 * misc/getusershell.c (initshells): Likewise.
20136 * misc/syslog.c (__vsyslog_chk): Likewise.
20137 * misc/ttyslot.c (ttyslot): Likewise.
20138 * nis/nis_hash.c (__nis_hash): Likewise.
20139 * posix/fnmatch_loop.c (FCT): Likewise.
20140 * posix/getconf.c (print_all): Likewise.
20141 (main): Likewise.
20142 * posix/getopt.c (exchange): Likewise.
20143 * posix/glob.c (globfree): Likewise.
20144 (prefix_array): Likewise.
20145 (__glob_pattern_type): Likewise.
20146 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20147 (NS_GET32): Likewise.
20148 (NS_PUT16): Likewise.
20149 (NS_PUT32): Likewise.
20150 * resolv/gethnamaddr.c (getanswer): Likewise.
20151 (gethostbyname2): Likewise.
20152 (gethostbyaddr): Likewise.
20153 (_gethtent): Likewise.
20154 (_gethtbyname2): Likewise.
20155 (_gethtbyaddr): Likewise.
20156 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20157 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20158 * resolv/res_init.c (__res_vinit): Likewise.
20159 (net_mask): Likewise.
20160 * resolv/res_mkquery.c (outchar): Likewise.
20161 (PRINT): Likewise.
20162 * stdio-common/printf_fp.c (outchar): Likewise.
20163 (PRINT): Likewise.
20164 * stdio-common/printf_fphex.c (outchar): Likewise.
20165 (PRINT): Likewise.
20166 * stdio-common/printf_size.c (outchar): Likewise.
20167 (PRINT): Likewise.
20168 * stdio-common/test_rdwr.c (main): Likewise.
20169 * stdio-common/tfformat.c (matches): Likewise.
20170 * stdio-common/vfprintf.c (outchar): Likewise.
20171 (printf_unknown): Likewise.
20172 (buffered_vfprintf): Likewise.
20173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20174 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20175 (ReadFile): Likewise.
20176 * stdlib/qsort.c (SWAP): Likewise.
20177 (_quicksort): Likewise.
20178 * stdlib/setenv.c (__add_to_environ): Likewise.
20179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20180 * stdlib/strtol_l.c (__strtol_l): Likewise.
20181 * stdlib/tst-strtod.c (main): Likewise.
20182 * stdlib/tst-strtol.c (main): Likewise.
20183 * stdlib/tst-strtoll.c (main): Likewise.
20184 * string/bits/string2.h (__strcmp_cc): Likewise.
20185 (__strcmp_cg): Likewise.
20186 (__strcspn_c1): Likewise.
20187 (__strcspn_c2): Likewise.
20188 (__strcspn_c3): Likewise.
20189 (__strspn_c1): Likewise.
20190 (__strspn_c2): Likewise.
20191 (__strspn_c3): Likewise.
20192 (__strsep_1c): Likewise.
20193 (__strsep_2c): Likewise.
20194 (__strsep_3c): Likewise.
20195 * string/memccpy.c (__memccpy): Likewise.
20196 * string/stpcpy.c (__stpcpy): Likewise.
20197 * string/strcmp.c (strcmp): Likewise.
20198 * string/strrchr.c (strrchr): Likewise.
20199 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20200 Likewise.
20201 * sysdeps/mach/hurd/getcwd.c
20202 (_hurd_canonicalize_directory_name_internal): Likewise.
20203 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20204 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20205 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20206 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20207 Likewise, in both definitions.
20208 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20209 definitions.
20210 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20211 64] (__bswap_64): Likewise.
20212 * time/test_time.c (main): Likewise.
20213 * time/tzfile.c (__tzfile_read): Likewise.
20214 (__tzfile_compute): Likewise.
20215 * time/tzset.c (__tzset_parse_tz): Likewise.
20216 (tzset_internal): Likewise.
20217 (compute_change): Likewise.
20218 * wcsmbs/wcscat.c (__wcscat): Likewise.
20219 * wcsmbs/wcschr.c (wcschr): Likewise.
20220 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20221 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20222 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20223 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20224 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20225 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20226 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20227 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20228 * wcsmbs/wmemset.c (wmemset): Likewise.
20229
9e54314b
JM
202302013-06-06 Joseph Myers <joseph@codesourcery.com>
20231
20232 * scripts/config.guess: Update to version 2013-05-16.
20233 * scripts/config.sub: Update to version 2013-04-24.
20234 * scripts/install-sh: Update to version 2011-11-20.07.
20235 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20236 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20237
350635a5
OB
202382013-06-06 Ondřej Bílka <neleai@seznam.cz>
20239
20240 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20241 * elf/sln.c: Likewise.
20242 * hurd/hurd/ioctl.h: Likewise.
20243 * hurd/hurdmalloc.c: Likewise.
20244 * hurd/xattr.c: Likewise.
20245 * include/shlib-compat.h: Likewise.
20246 * inet/ruserpass.c: Likewise.
20247 * libio/iofgets_u.c: Likewise.
20248 * libio/iofgetws_u.c: Likewise.
20249 * locale/programs/ld-identification.c: Likewise.
20250 * locale/programs/ld-time.c: Likewise.
20251 * mach/msg-destroy.c: Likewise.
20252 * nss/nss_files/files-netgrp.c: Likewise.
20253 * resolv/res_data.c: Likewise.
20254 * soft-fp/op-1.h: Likewise.
20255 * soft-fp/op-2.h: Likewise.
20256 * soft-fp/op-4.h: Likewise.
20257 * soft-fp/op-common.h: Likewise.
20258 * stdio-common/printf_fphex.c: Likewise.
20259 * stdlib/strtod_l.c: Likewise.
20260 * sunrpc/rpc/clnt.h: Likewise.
20261 * sysdeps/generic/framestate.c: Likewise.
20262 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20263 * sysdeps/i386/bsd-setjmp.S: Likewise.
20264 * sysdeps/i386/__longjmp.S: Likewise.
20265 * sysdeps/i386/setjmp.S: Likewise.
20266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20267 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20268 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20284 * sysdeps/ieee754/support.c: Likewise.
20285 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20286 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20287 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20288 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20289 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20290 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20291 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20292 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20293 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20294 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20295 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20296 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20297 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20298 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20300 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20301 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20303
44a988af
OB
203042013-06-05 Ondřej Bílka <neleai@seznam.cz>
20305
25506f09 20306 * posix/transbug.c: Remove executable mode.
44a988af 20307
9c84384c
JM
203082013-06-05 Joseph Myers <joseph@codesourcery.com>
20309
20310 * crypt/speeds.c: Remove trailing whitespace.
20311 * dlfcn/default.c: Likewise.
20312 * elf/ifuncdep2.c: Likewise.
20313 * elf/ifuncmain1.c: Likewise.
20314 * elf/ifuncmain1vis.c: Likewise.
20315 * elf/testobj.h: Likewise.
20316 * elf/tst-stackguard1.c: Likewise.
20317 * gmon/sys/gmon.h: Likewise.
20318 * hurd/hurdmsg.c: Likewise.
20319 * hurd/new-fd.c: Likewise.
20320 * hurd/ports-get.c: Likewise.
20321 * iconvdata/ibm1008_420.c: Likewise.
20322 * inet/tst-getni1.c: Likewise.
20323 * inet/tst-getni2.c: Likewise.
20324 * libio/ioungetc.c: Likewise.
20325 * libio/wfiledoalloc.c: Likewise.
20326 * manual/libm-err-tab.pl: Likewise.
20327 * math/w_dremf.c: Likewise.
20328 * misc/ftruncate.c: Likewise.
20329 * posix/bug-glob2.c: Likewise.
20330 * posix/tst-pcre.c: Likewise.
20331 * posix/wait4.c: Likewise.
20332 * resolv/README: Likewise.
20333 * resolv/res_debug.h: Likewise.
20334 * resolv/tst-inet_ntop.c: Likewise.
20335 * setjmp/bug269-setjmp.c: Likewise.
20336 * soft-fp/extended.h: Likewise.
20337 * soft-fp/op-1.h: Likewise.
20338 * soft-fp/op-2.h: Likewise.
20339 * soft-fp/op-4.h: Likewise.
20340 * soft-fp/op-8.h: Likewise.
20341 * soft-fp/testit.c: Likewise.
20342 * stdio-common/bug16.c: Likewise.
20343 * stdlib/random.c: Likewise.
20344 * sunrpc/rpcsvc/rquota.x: Likewise.
20345 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20346 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20347 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20348 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20349 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20350 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20351 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20352 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20372 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20374 * sysdeps/ieee754/s_lib_version.c: Likewise.
20375 * sysdeps/mach/hurd/check_fds.c: Likewise.
20376 * sysdeps/mach/hurd/getsockname.c: Likewise.
20377 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20378 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20379 * sysdeps/powerpc/bits/link.h: Likewise.
20380 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20381 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20382 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20383 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20384 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20385 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20386 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20387 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20388 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20389 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20390 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20391 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20392 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20393 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20394 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20395 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20399 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20400 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20401 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20402 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20403 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20404 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20409 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20414 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20415 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20416 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20417 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20418 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20419 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20420 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20421 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20422 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20423 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20424 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20425 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20426 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20427 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20428 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20429 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20432 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20434 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20435 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20436 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20438 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20439 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20440 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20441 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20442 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20443 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20444 * sysdeps/powerpc/sysdep.h: Likewise.
20445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20446 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20447 * sysdeps/sh/dl-trampoline.S: Likewise.
20448 * sysdeps/sh/memset.S: Likewise.
20449 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20450 * sysdeps/sh/strlen.S: Likewise.
20451 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20452 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20453 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20454 * sysdeps/sparc/sparc32/rem.S: Likewise.
20455 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20456 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20457 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20458 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20459 * sysdeps/sparc/sparc32/urem.S: Likewise.
20460 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20462 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20463 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20464 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20465 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20466 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20467 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20468 * sysdeps/unix/bsd/times.c: Likewise.
20469 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20470 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20474 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20475 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20476 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20478 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20479 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20480 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20481 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20482 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20484 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20485 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20486 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20487 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20488 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20489 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20490 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20491 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20494 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20495 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20496 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20497 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20498 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20499 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20500 * sysdeps/x86_64/strcspn.S: Likewise.
20501
869378a5
RA
205022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20503
20504 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20505 generated file. Regenerate properly from gen-translit.pl.
20506 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20507 locale/C-translit.h.
20508
840e2943
AS
205092013-06-05 Andreas Schwab <schwab@suse.de>
20510
20511 [BZ #15100]
20512 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20513 week as 6 instead of -1.
20514 * time/tst-strptime.c (day_tests): Add test case.
20515
4c60cb0c
SP
205162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20517
20518 * sysdeps/generic/math_private.h
20519 (libc_feholdexcept_setround_53bit): Replace with
20520 libc_feholdsetround_53bit.
20521 (libc_feupdateenv_53bit): Replace with
20522 libc_feresetround_53bit.
20523 (SET_RESTORE_ROUND_53BIT): Adjust.
20524
d180203e
SP
205252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20526
96df079a
SP
20527 * string/test-strchrnul.c: Add copyright header.
20528
d180203e
SP
20529 * posix/tst-getaddrinfo4.c: Increase test timeout.
20530
8b0ccb2d
CD
205312013-06-03 Carlos O'Donell <carlos@redhat.com>
20532
20533 [BZ #15536]
20534 * math/libm-test.inc (MAX_EXP): Remove
20535 (MIN_EXP): Define.
20536 (ulp): Use MIN_EXP - MANT_DIG.
20537 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20538
3b3c4d40
CD
205392013-05-31 Carlos O'Donell <carlos@redhat.com>
20540
20541 * po/be.po: Revert last change.
20542 * po/zh_CN.po: Likewise.
20543 * po/header.pot: Likewise.
20544
fab7ce3f
JM
205452013-05-31 Joseph Myers <joseph@codesourcery.com>
20546
20547 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20548 link-libc-deps to empty as target-specific variable.
20549 * Makerules (link-libc-args): New variable.
20550 (libc-for-link): Likewise.
20551 (link-libc-deps): Likewise.
20552 (lib%.so): Depend on $(link-libc-deps). Link with
20553 $(link-libc-args).
20554 (build-module): Link with $(link-libc-args).
20555 (build-module-asneeded): Likewise.
20556 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20557 list of objects.
20558 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20559 target-specific variable.
20560 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20561 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20562 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20563 libc.
20564 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20565 libc and ld.so.
20566 ($(objpfx)libpcprofile.so): Likewise.
20567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20568 libc_nonshared.a.
20569 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20570 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20571 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20572 $(link-libc-deps).
20573 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20574 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20575 * login/Makefile ($(objpfx)libutil.so): Likewise.
20576 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20577 * math/Makefile ($(objpfx)libm.so): Likewise.
20578 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20579 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20580 variable instead of depending directly on libc.
20581 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20582 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20583 $(link-libc-deps).
20584 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20585 libc.
20586 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20587 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20588 ($(objpfx)libanl.so): Likewise.
20589 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20590 ld.so.
20591 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20592 $(link-libc-deps).
20593 * sysdeps/i386/fpu/Makefile: Remove file.
20594 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20595 ($(objpfx)libm.so): Remove dependency on ld.so.
20596
eca5920c
PF
205972013-05-30 Patsy Franklin <pfrankli@redhat.com>
20598
20599 [BZ # 15553]
20600 * nis/yp_xdr.c (XDRMAXNAME): Define.
20601 (XDRMAXRECORD): Define.
20602 (xdr_domainname): Use XDRMAXNAME.
20603 (xdr_mapname): Likewise.
20604 (xdr_peername): Likewise.
20605 (xdr_keydat): Use XDRMAXRECORD.
20606 (xdr_valdat): Likewise.
20607
206082013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20609
20610 [BZ #14256]
20611 * manual/errno.texi (ESTALE): Update to account for more than
20612 just NFS file systems.
20613 * sysdeps/gnu/errlist.c: Regenerated.
20614
b9375348
SP
206152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20616
20617 [BZ #15465]
20618 * elf/Makefile (tests): Add tst-null-argv.
20619 (modules-names): Add tst-null-argv-lib.
20620 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20621 (tst-null-argv-ENV): Set environment for tst-null-argv.
20622 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20623 (RTLD_PROGNAME): New macro.
20624 * elf/tst-null-argv.c: New test case.
20625 * elf/tst-null-argv-lib.c: Library for test case.
20626 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20627 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20628 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20629 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20630 * elf/dl-init.c (call_init): Likewise.
20631 (_dl_init): Likewise.
20632 * elf/dl-load.c (print_search_path): Likewise.
20633 (_dl_map_object): Likewise.
20634 * elf/dl-lookup.c (do_lookup_x): Likewise.
20635 (add_dependency): Likewise.
20636 (_dl_lookup_symbol_x): Likewise.
20637 (_dl_debug_bindings): Likewise.
20638 * elf/dl-open.c (_dl_show_scope): Likewise.
20639 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20640 * elf/dl-version.c (match_symbol): Likewise.
20641 (_dl_check_map_versions): Likewise.
20642 * elf/rtld.c (dl_main): Likewise.
20643 (print_unresolved): Use RTLD_PROGNAME.
20644 (print_missing_version): Likewise.
20645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20646 (elf_machine_rela): Likewise.
20647 * sysdeps/powerpc/powerpc32/dl-machine.c
20648 (__process_machine_rela): Likewise.
20649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20650 Likewise.
20651 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20652 Likewise.
20653 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20654 Likewise.
20655 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20657 Likewise.
20658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20659 Likewise.
20660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20661
8a9f20c8
CD
206622013-05-28 Carlos O'Donell <carlos@redhat.com>
20663
20664 * po/be.po: Add descriptive title.
20665 * po/zh_CN.po: Likewise.
20666 * po/header.pot: Likewise.
20667
0e60d68e
MF
206682013-05-28 Mike Frysinger <vapier@gentoo.org>
20669
20670 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20671 error message.
20672 (enlarge_archive): Likewise.
20673
56b672e9
BN
206742013-05-28 Ben North <ben@redfrontdoor.org>
20675
20676 * manual/arith.texi (frexp): It is the magnitude of the return
20677 value which lies in [0.5, 1), not the return value itself.
20678
5e056687
AZ
206792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680
20681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20682
2b66ef5d
TS
206832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20684
528c2405
TS
20685 * stdio-common/bug26.c (main): Correct fscanf template.
20686
07b4c13d
TS
20687 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20688 declare _dl_skip_args.
20689
ec9dd97c
TS
20690 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20691 Don't declare.
20692
2b66ef5d
TS
20693 * manual/platform.texi: Add missing @end deftypefun.
20694
4f8dfe27
JM
206952013-05-24 Joseph Myers <joseph@codesourcery.com>
20696
0323d086
JM
20697 [BZ #15529]
20698 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20699 bit of mantissa of 2^16382.
20700 * math/libm-test.inc (hypot_test_data): Add more tests.
20701
dd4259b9
JM
20702 * math/libm-test.inc: Add drem and pow10 to list of tested
20703 functions.
20704 (pow10_test): New function.
20705 (drem_test): Likewise.
20706 (drem_test_tonearest): Likewise.
20707 (drem_test_towardzero): Likewise.
20708 (drem_test_downward): Likewise.
20709 (drem_test_upward): Likewise.
20710 (main): Call the new functions.
20711
4f8dfe27
JM
20712 * math/libm-test.inc (finite_test_data): Remove.
20713 (finite_test): Run tests from isfinite_test_data.
20714 (gamma_test_data): Remove.
20715 (gamma_test): Run tests from lgamma_test_data.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20718
d116b7c4
AZ
207192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20720
20721 * manual/platform.texi: Add PowerPC PPR function set documentation.
20722 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20723 implementation.
20724
e96e3767
CD
207252013-05-24 Carlos O'Donell <carlos@redhat.com>
20726
20727 * math/libm-test.inc (MAX_EXP): Define.
20728 (ULPDIFF): Define.
20729 (ulp): New function.
20730 (check_float_internal): Use ULPDIFF.
20731 (cpow_test): Disable failing test.
20732 (check_ulp): Test ulp() implemetnation.
20733 (main): Call check_ulp before starting tests.
20734
b679a606
JM
207352013-05-24 Joseph Myers <joseph@codesourcery.com>
20736
e8bdba36
JM
20737 * math/gen-libm-test.pl (generate_testfile): Do not handle
20738 START_DATA and END_DATA.
20739 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20740 END_DATA.
20741 (acos_tonearest_test_data): Likewise.
20742 (acos_towardzero_test_data): Likewise.
20743 (acos_downward_test_data): Likewise.
20744 (acos_upward_test_data): Likewise.
20745 (acosh_test_data): Likewise.
20746 (asin_test_data): Likewise.
20747 (asin_tonearest_test_data): Likewise.
20748 (asin_towardzero_test_data): Likewise.
20749 (asin_downward_test_data): Likewise.
20750 (asin_upward_test_data): Likewise.
20751 (asinh_test_data): Likewise.
20752 (atan_test_data): Likewise.
20753 (atanh_test_data): Likewise.
20754 (atan2_test_data): Likewise.
20755 (cabs_test_data): Likewise.
20756 (cacos_test_data): Likewise.
20757 (cacosh_test_data): Likewise.
20758 (carg_test_data): Likewise.
20759 (casin_test_data): Likewise.
20760 (casinh_test_data): Likewise.
20761 (catan_test_data): Likewise.
20762 (catanh_test_data): Likewise.
20763 (cbrt_test_data): Likewise.
20764 (ccos_test_data): Likewise.
20765 (ccosh_test_data): Likewise.
20766 (ceil_test_data): Likewise.
20767 (cexp_test_data): Likewise.
20768 (cimag_test_data): Likewise.
20769 (clog_test_data): Likewise.
20770 (clog10_test_data): Likewise.
20771 (conj_test_data): Likewise.
20772 (copysign_test_data): Likewise.
20773 (cos_test_data): Likewise.
20774 (cos_tonearest_test_data): Likewise.
20775 (cos_towardzero_test_data): Likewise.
20776 (cos_downward_test_data): Likewise.
20777 (cos_upward_test_data): Likewise.
20778 (cosh_test_data): Likewise.
20779 (cosh_tonearest_test_data): Likewise.
20780 (cosh_towardzero_test_data): Likewise.
20781 (cosh_downward_test_data): Likewise.
20782 (cosh_upward_test_data): Likewise.
20783 (cpow_test_data): Likewise.
20784 (cproj_test_data): Likewise.
20785 (creal_test_data): Likewise.
20786 (csin_test_data): Likewise.
20787 (csinh_test_data): Likewise.
20788 (csqrt_test_data): Likewise.
20789 (ctan_test_data): Likewise.
20790 (ctan_tonearest_test_data): Likewise.
20791 (ctan_towardzero_test_data): Likewise.
20792 (ctan_downward_test_data): Likewise.
20793 (ctan_upward_test_data): Likewise.
20794 (ctanh_test_data): Likewise.
20795 (ctanh_tonearest_test_data): Likewise.
20796 (ctanh_towardzero_test_data): Likewise.
20797 (ctanh_downward_test_data): Likewise.
20798 (ctanh_upward_test_data): Likewise.
20799 (erf_test_data): Likewise.
20800 (erfc_test_data): Likewise.
20801 (exp_test_data): Likewise.
20802 (exp_tonearest_test_data): Likewise.
20803 (exp_towardzero_test_data): Likewise.
20804 (exp_downward_test_data): Likewise.
20805 (exp_upward_test_data): Likewise.
20806 (exp10_test_data): Likewise.
20807 (exp2_test_data): Likewise.
20808 (expm1_test_data): Likewise.
20809 (fabs_test_data): Likewise.
20810 (fdim_test_data): Likewise.
20811 (finite_test_data): Likewise.
20812 (floor_test_data): Likewise.
20813 (fma_test_data): Likewise.
20814 (fma_towardzero_test_data): Likewise.
20815 (fma_downward_test_data): Likewise.
20816 (fma_upward_test_data): Likewise.
20817 (fmax_test_data): Likewise.
20818 (fmin_test_data): Likewise.
20819 (fmod_test_data): Likewise.
20820 (fpclassify_test_data): Likewise.
20821 (frexp_test_data): Likewise.
20822 (gamma_test_data): Likewise.
20823 (hypot_test_data): Likewise.
20824 (ilogb_test_data): Likewise.
20825 (isfinite_test_data): Likewise.
20826 (isgreater_test_data): Likewise.
20827 (isgreaterequal_test_data): Likewise.
20828 (isinf_test_data): Likewise.
20829 (isless_test_data): Likewise.
20830 (islessequal_test_data): Likewise.
20831 (islessgreater_test_data): Likewise.
20832 (isnan_test_data): Likewise.
20833 (isnormal_test_data): Likewise.
20834 (issignaling_test_data): Likewise.
20835 (isunordered_test_data): Likewise.
20836 (j0_test_data): Likewise.
20837 (j1_test_data): Likewise.
20838 (jn_test_data): Likewise.
20839 (ldexp_test_data): Likewise.
20840 (lgamma_test_data): Likewise.
20841 (lrint_test_data): Likewise.
20842 (lrint_tonearest_test_data): Likewise.
20843 (lrint_towardzero_test_data): Likewise.
20844 (lrint_downward_test_data): Likewise.
20845 (lrint_upward_test_data): Likewise.
20846 (llrint_test_data): Likewise.
20847 (llrint_tonearest_test_data): Likewise.
20848 (llrint_towardzero_test_data): Likewise.
20849 (llrint_downward_test_data): Likewise.
20850 (llrint_upward_test_data): Likewise.
20851 (log_test_data): Likewise.
20852 (log10_test_data): Likewise.
20853 (log1p_test_data): Likewise.
20854 (log2_test_data): Likewise.
20855 (logb_test_data): Likewise.
20856 (logb_downward_test_data): Likewise.
20857 (lround_test_data): Likewise.
20858 (llround_test_data): Likewise.
20859 (modf_test_data): Likewise.
20860 (nearbyint_test_data): Likewise.
20861 (nextafter_test_data): Likewise.
20862 (nexttoward_test_data): Likewise.
20863 (pow_test_data): Likewise.
20864 (pow_tonearest_test_data): Likewise.
20865 (pow_towardzero_test_data): Likewise.
20866 (pow_downward_test_data): Likewise.
20867 (pow_upward_test_data): Likewise.
20868 (remainder_test_data): Likewise.
20869 (remainder_tonearest_test_data): Likewise.
20870 (remainder_towardzero_test_data): Likewise.
20871 (remainder_downward_test_data): Likewise.
20872 (remainder_upward_test_data): Likewise.
20873 (remquo_test_data): Likewise.
20874 (rint_test_data): Likewise.
20875 (rint_tonearest_test_data): Likewise.
20876 (rint_towardzero_test_data): Likewise.
20877 (rint_downward_test_data): Likewise.
20878 (rint_upward_test_data): Likewise.
20879 (round_test_data): Likewise.
20880 (scalb_test_data): Likewise.
20881 (scalbn_test_data): Likewise.
20882 (scalbln_test_data): Likewise.
20883 (signbit_test_data): Likewise.
20884 (sin_test_data): Likewise.
20885 (sin_tonearest_test_data): Likewise.
20886 (sin_towardzero_test_data): Likewise.
20887 (sin_downward_test_data): Likewise.
20888 (sin_upward_test_data): Likewise.
20889 (sincos_test_data): Likewise.
20890 (sinh_test_data): Likewise.
20891 (sinh_tonearest_test_data): Likewise.
20892 (sinh_towardzero_test_data): Likewise.
20893 (sinh_downward_test_data): Likewise.
20894 (sinh_upward_test_data): Likewise.
20895 (sqrt_test_data): Likewise.
20896 (tan_test_data): Likewise.
20897 (tan_tonearest_test_data): Likewise.
20898 (tan_towardzero_test_data): Likewise.
20899 (tan_downward_test_data): Likewise.
20900 (tan_upward_test_data): Likewise.
20901 (tanh_test_data): Likewise.
20902 (tgamma_test_data): Likewise.
20903 (trunc_test_data): Likewise.
20904 (y0_test_data): Likewise.
20905 (y1_test_data): Likewise.
20906 (yn_test_data): Likewise.
20907 (significand_test_data): Likewise.
20908
b679a606
JM
20909 * math/gen-libm-test.pl (@functions): Remove variable.
20910 (generate_testfile): Don't handle START and END lines.
20911 * math/libm-test.inc (START): New macro.
20912 (END): Likewise.
20913 (END_COMPLEX): Likewise.
20914 (acos_test): Use END macro without arguments.
20915 (acos_test_tonearest): Likewise.
20916 (acos_test_towardzero): Likewise.
20917 (acos_test_downward): Likewise.
20918 (acos_test_upward): Likewise.
20919 (acosh_test): Likewise.
20920 (asin_test): Likewise.
20921 (asin_test_tonearest): Likewise.
20922 (asin_test_towardzero): Likewise.
20923 (asin_test_downward): Likewise.
20924 (asin_test_upward): Likewise.
20925 (asinh_test): Likewise.
20926 (atan_test): Likewise.
20927 (atanh_test): Likewise.
20928 (atan2_test): Likewise.
20929 (cabs_test): Likewise.
20930 (cacos_test): Use END_COMPLEX macro without arguments.
20931 (cacosh_test): Likewise.
20932 (carg_test): Use END macro without arguments.
20933 (casin_test): Use END_COMPLEX macro without arguments.
20934 (casinh_test): Likewise.
20935 (catan_test): Likewise.
20936 (catanh_test): Likewise.
20937 (cbrt_test): Use END macro without arguments.
20938 (ccos_test): Use END_COMPLEX macro without arguments.
20939 (ccosh_test): Likewise.
20940 (ceil_test): Use END macro without arguments.
20941 (cexp_test): Use END_COMPLEX macro without arguments.
20942 (cimag_test): Use END macro without arguments.
20943 (clog_test): Use END_COMPLEX macro without arguments.
20944 (clog10_test): Likewise.
20945 (conj_test): Likewise.
20946 (copysign_test): Use END macro without arguments.
20947 (cos_test): Likewise.
20948 (cos_test_tonearest): Likewise.
20949 (cos_test_towardzero): Likewise.
20950 (cos_test_downward): Likewise.
20951 (cos_test_upward): Likewise.
20952 (cosh_test): Likewise.
20953 (cosh_test_tonearest): Likewise.
20954 (cosh_test_towardzero): Likewise.
20955 (cosh_test_downward): Likewise.
20956 (cosh_test_upward): Likewise.
20957 (cpow_test): Use END_COMPLEX macro without arguments.
20958 (cproj_test): Likewise.
20959 (creal_test): Use END macro without arguments.
20960 (csin_test): Use END_COMPLEX macro without arguments.
20961 (csinh_test): Likewise.
20962 (csqrt_test): Likewise.
20963 (ctan_test): Likewise.
20964 (ctan_test_tonearest): Likewise.
20965 (ctan_test_towardzero): Likewise.
20966 (ctan_test_downward): Likewise.
20967 (ctan_test_upward): Likewise.
20968 (ctanh_test): Likewise.
20969 (ctanh_test_tonearest): Likewise.
20970 (ctanh_test_towardzero): Likewise.
20971 (ctanh_test_downward): Likewise.
20972 (ctanh_test_upward): Likewise.
20973 (erf_test): Use END macro without arguments.
20974 (erfc_test): Likewise.
20975 (exp_test): Likewise.
20976 (exp_test_tonearest): Likewise.
20977 (exp_test_towardzero): Likewise.
20978 (exp_test_downward): Likewise.
20979 (exp_test_upward): Likewise.
20980 (exp10_test): Likewise.
20981 (exp2_test): Likewise.
20982 (expm1_test): Likewise.
20983 (fabs_test): Likewise.
20984 (fdim_test): Likewise.
20985 (finite_test): Likewise.
20986 (floor_test): Likewise.
20987 (fma_test): Likewise.
20988 (fma_test_towardzero): Likewise.
20989 (fma_test_downward): Likewise.
20990 (fma_test_upward): Likewise.
20991 (fmax_test): Likewise.
20992 (fmin_test): Likewise.
20993 (fmod_test): Likewise.
20994 (fpclassify_test): Likewise.
20995 (frexp_test): Likewise.
20996 (gamma_test): Likewise.
20997 (hypot_test): Likewise.
20998 (ilogb_test): Likewise.
20999 (isfinite_test): Likewise.
21000 (isgreater_test): Likewise.
21001 (isgreaterequal_test): Likewise.
21002 (isinf_test): Likewise.
21003 (isless_test): Likewise.
21004 (islessequal_test): Likewise.
21005 (islessgreater_test): Likewise.
21006 (isnan_test): Likewise.
21007 (isnormal_test): Likewise.
21008 (issignaling_test): Likewise.
21009 (isunordered_test): Likewise.
21010 (j0_test): Likewise.
21011 (j1_test): Likewise.
21012 (jn_test): Likewise.
21013 (ldexp_test): Likewise.
21014 (lgamma_test): Likewise.
21015 (lrint_test): Likewise.
21016 (lrint_test_tonearest): Likewise.
21017 (lrint_test_towardzero): Likewise.
21018 (lrint_test_downward): Likewise.
21019 (lrint_test_upward): Likewise.
21020 (llrint_test): Likewise.
21021 (llrint_test_tonearest): Likewise.
21022 (llrint_test_towardzero): Likewise.
21023 (llrint_test_downward): Likewise.
21024 (llrint_test_upward): Likewise.
21025 (log_test): Likewise.
21026 (log10_test): Likewise.
21027 (log1p_test): Likewise.
21028 (log2_test): Likewise.
21029 (logb_test): Likewise.
21030 (logb_test_downward): Likewise.
21031 (lround_test): Likewise.
21032 (llround_test): Likewise.
21033 (modf_test): Likewise.
21034 (nearbyint_test): Likewise.
21035 (nextafter_test): Likewise.
21036 (nexttoward_test): Likewise.
21037 (pow_test): Likewise.
21038 (pow_test_tonearest): Likewise.
21039 (pow_test_towardzero): Likewise.
21040 (pow_test_downward): Likewise.
21041 (pow_test_upward): Likewise.
21042 (remainder_test): Likewise.
21043 (remainder_test_tonearest): Likewise.
21044 (remainder_test_towardzero): Likewise.
21045 (remainder_test_downward): Likewise.
21046 (remainder_test_upward): Likewise.
21047 (remquo_test): Likewise.
21048 (rint_test): Likewise.
21049 (rint_test_tonearest): Likewise.
21050 (rint_test_towardzero): Likewise.
21051 (rint_test_downward): Likewise.
21052 (rint_test_upward): Likewise.
21053 (round_test): Likewise.
21054 (scalb_test): Likewise.
21055 (scalbn_test): Likewise.
21056 (scalbln_test): Likewise.
21057 (signbit_test): Likewise.
21058 (sin_test): Likewise.
21059 (sin_test_tonearest): Likewise.
21060 (sin_test_towardzero): Likewise.
21061 (sin_test_downward): Likewise.
21062 (sin_test_upward): Likewise.
21063 (sincos_test): Likewise.
21064 (sinh_test): Likewise.
21065 (sinh_test_tonearest): Likewise.
21066 (sinh_test_towardzero): Likewise.
21067 (sinh_test_downward): Likewise.
21068 (sinh_test_upward): Likewise.
21069 (sqrt_test): Likewise.
21070 (tan_test): Likewise.
21071 (tan_test_tonearest): Likewise.
21072 (tan_test_towardzero): Likewise.
21073 (tan_test_downward): Likewise.
21074 (tan_test_upward): Likewise.
21075 (tanh_test): Likewise.
21076 (tgamma_test): Likewise.
21077 (trunc_test): Likewise.
21078 (y0_test): Likewise.
21079 (y1_test): Likewise.
21080 (yn_test): Likewise.
21081 (significand_test): Likewise.
21082
bae143d2
OB
210832013-05-24 Ondřej Bílka <neleai@seznam.cz>
21084
21085 [BZ #15381]
21086 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21087
9323d39b
EM
210882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21089
d4ea44a0 21090 [BZ #14894]
9323d39b
EM
21091 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21092 __ppc_mdoio and __ppc_mdoom.
21093 * manual/platform.texi: Document new functions __ppc_yield,
21094 __ppc_mdoio and __ppc_mdoom.
21095
13e23af7
CD
210962013-05-22 Carlos O'Donell <carlos@redhat.com>
21097
21098 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21099 (main): Mention "tls" pseudo-hwcap is legacy.
21100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21101
351fe550
JM
211022013-05-22 Joseph Myers <joseph@codesourcery.com>
21103
21104 * math/gen-libm-test.pl (parse_args): Output only string of
21105 arguments as text for test name, not full call or descriptions of
21106 tests for extra outputs.
21107 (generate_testfile): Do not pass function name to parse_args.
21108 Generate this_func variable from START.
21109 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21110 field to arg_str.
21111 (struct test_ff_f_data): Likewise.
21112 (test_ff_f_data_nexttoward): Likewise.
21113 (struct test_fi_f_data): Likewise.
21114 (struct test_fl_f_data): Likewise.
21115 (struct test_if_f_data): Likewise.
21116 (struct test_fff_f_data): Likewise.
21117 (struct test_c_f_data): Likewise.
21118 (struct test_f_f1_data): Likewise. Remove field extra_name.
21119 (struct test_fF_f1_data): Likewise.
21120 (struct test_ffI_f1_data): Likewise.
21121 (struct test_c_c_data): Rename test_name field to arg_str.
21122 (struct test_cc_c_data): Likewise.
21123 (struct test_f_i_data): Likewise.
21124 (struct test_ff_i_data): Likewise.
21125 (struct test_f_l_data): Likewise.
21126 (struct test_f_L_data): Likewise.
21127 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21128 and extra2_name.
21129 (COMMON_TEST_SETUP): New macro.
21130 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21131 (COMMON_TEST_CLEANUP): Likewise.
21132 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21133 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21134 macros.
21135 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21136 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21137 macros.
21138 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21139 (RUN_TEST_fff_f): Take argument string. Call new setup and
21140 cleanup macros.
21141 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21142 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21143 macros.
21144 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21145 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21146 macros.
21147 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21148 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21149 cleanup macros.
21150 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21151 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21152 cleanup macros.
21153 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21154 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21155 cleanup macros.
21156 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21157 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21158 macros.
21159 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21160 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21161 macros.
21162 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21163 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21164 macros.
21165 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21166 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21167 cleanup macros.
21168 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21169 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21170 cleanup macros.
21171 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21172 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21173 macros.
21174 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21175 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21176 cleanup macros.
21177 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21178 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21179 macros.
21180 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21181 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21182 macros.
21183 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21184 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21185 cleanup macros.
21186 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21187
85118d4d
EBM
211882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21189
21190 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21191 to _sifields.sigfault.
21192 (si_addr_lsb): Define new macro.
21193 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21196
7a44c18f
CD
211972013-05-03 Carlos O'Donell <carlos at redhat.com>
21198
21199 [BZ #15441]
21200 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21201 returns -1.
21202 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21203 null return -1.
21204 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21205 loading the domain.
21206
b50a7181
JM
212072013-05-22 Joseph Myers <joseph@codesourcery.com>
21208
21209 * math/gen-libm-test.pl (parse_args): Do not include expected
21210 result in test name.
21211 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21214 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21215 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21217
051063c8
SP
212182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
3ce9e010
SP
21220 * benchtests/Makefile: Sort function entries.
21221
051063c8
SP
21222 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21223 tanh, asinh, acosh, atanh.
21224 * benchtests/acos-inputs: New file.
21225 * benchtests/acosh-inputs: New file.
21226 * benchtests/asin-inputs: New file.
21227 * benchtests/asinh-inputs: New file.
21228 * benchtests/atanh-inputs: New file.
21229 * benchtests/cosh-inputs: New file.
21230 * benchtests/log-inputs: New file.
21231 * benchtests/sinh-inputs: New file.
21232 * benchtests/tanh-inputs: New file.
21233
47c22455
DL
212342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21235
21236 [BZ #15339]
21237 * posix/tst-getaddrinfo4.c: New test.
21238 * posix/Makefile (tests): Add it.
21239
3d04f5db
SP
212402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21241
21242 [BZ #15339]
21243 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21244 when no services were used.
21245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21246 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21247
d5dd6189
AS
212482013-05-21 Andreas Schwab <schwab@suse.de>
21249
21250 [BZ #15014]
21251 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21252 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21253 successful.
21254 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21255 redundant variable declarations and reallocation of buffer when
21256 parsing as IPv6 address. Always set NSS status when called from
21257 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21258 buffer too small. Correct computation of needed size.
21259 * nss/Makefile (tests): Add test-digits-dots.
21260 * nss/test-digits-dots.c: New test.
21261
fef94eab
SP
212622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21263
21264 * benchtests/Makefile: Remove instructions for adding
21265 benchmark tests.
21266 * benchtests/README: New file to explain how to execute and
21267 enhance the benchmark tests.
21268
e39adf43
AS
212692013-05-21 Andreas Schwab <schwab@suse.de>
21270
21271 [BZ #15493]
21272 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21273 * setjmp/tst-sigsetjmp.c: New test.
21274
b2b671b6
OB
212752013-05-20 Ondřej Bílka <neleai@seznam.cz>
21276
21277 * sysdeps/x86_64/memset.S (memset): New implementation.
21278 (__bzero): Likewise.
21279 (__memset_tail): New function.
21280
2d48b41c
OB
212812013-05-20 Ondřej Bílka <neleai@seznam.cz>
21282
21283 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21284 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21285 __memcpy_sse2_unaligned ifunc selection.
21286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21287 Add memcpy-sse2-unaligned.S.
21288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21289 Add: __memcpy_sse2_unaligned.
21290
f16cc3eb
JM
212912013-05-19 Joseph Myers <joseph@codesourcery.com>
21292
3e694268
JM
21293 [BZ #15490]
21294 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21295 math_force_eval before restoring floating-point envrionment.
21296 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21298 Likewise.
21299 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21300 <math_private.h>.
21301 (__nearbyintl): Use math_force_eval before restoring
21302 floating-point environment.
21303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21304
db62a907
JM
21305 * math/gen-libm-test.pl (special_functions): Remove.
21306 (parse_args): Don't handle TEST_extra. Handle functions with no
21307 return value.
21308 * math/libm-test.inc (struct test_sincos_data): Replace with
21309 struct test_fFF_11_data.
21310 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21311 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21312 (sincos_test_data): Change element type to struct
21313 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21314 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21315 RUN_TEST_LOOP_sincos.
21316 * math/README.libm-test: Don't mention special handling of
21317 individual functions.
21318 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21321 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21324
f16cc3eb
JM
21325 * math/gen-libm-test.pl (get_variable): Remove function.
21326 (parse_args): Don't show pointer parameters to call in test
21327 names. Use "extra output N" in test names for extra outputs
21328 rather than naming variables.
21329
3779b5b6
JM
213302013-05-18 Joseph Myers <joseph@codesourcery.com>
21331
2ee094ff
JM
21332 [BZ #15488]
21333 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21334 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21335 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21336 double tests.
21337 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21338 disable.
21339 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21340 check_long_double.
21341
3779b5b6
JM
21342 * math/gen-libm-test.pl (@tests): Remove variable.
21343 ($count): Likewise.
21344 (new_test): Remove function.
21345 (show_exceptions): New function.
21346 (special_functions): Use show_exceptions instead of new_test.
21347 (parse_args): Likewise.
21348 (generate_testfile): Pass only function name in generated call to
21349 print_max_error or print_complex_max_error.
21350 (get_ulps): Do not handle complex tests specially.
21351 (output_test): Rename to ...
21352 (get_all_ulps_for_test): ... this. Return a string rather than
21353 printing to a file. Require ulps to be present.
21354 (output_ulps): Generate arrays rather than #defines.
21355 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21356 (struct ulp_data): New type.
21357 (BUILD_COMPLEX_ULP): Remove macro.
21358 (compare_ulp_data): New function.
21359 (find_ulps): Likewise.
21360 (find_test_ulps): Likewise.
21361 (find_function_ulps): Likewise.
21362 (find_complex_function_ulps): Likewise.
21363 (print_max_error): Determine allowed ulps using
21364 find_function_ulps.
21365 (print_complex_max_error): Determine allowed ulps using
21366 find_complex_function_ulps.
21367 (check_float_internal): Determine max ulps using find_test_ulps.
21368 (check_float): Do not take max_ulp parameter. Update call to
21369 check_float_internal.
21370 (check_complex): Likewise.
21371 (check_int): Do not take max_ulp parameter.
21372 (check_long): Likewise.
21373 (check_bool): Likewise.
21374 (check_longlong): Likewise.
21375 (struct test_f_f_data): Remove max_ulp field.
21376 (struct test_ff_f_data): Likewise.
21377 (struct test_ff_f_data_nexttoward): Likewise.
21378 (struct test_fi_f_data): Likewise.
21379 (struct test_fl_f_data): Likewise.
21380 (struct test_if_f_data): Likewise.
21381 (struct test_fff_f_data): Likewise.
21382 (struct test_c_f_data): Likewise.
21383 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21384 (struct test_fF_f1_data): Likewise.
21385 (struct test_ffI_f1_data): Likewise.
21386 (struct test_c_c_data): Remove max_ulp field.
21387 (struct test_cc_c_data): Likewise.
21388 (struct test_f_i_data): Likewise.
21389 (struct test_ff_i_data): Likewise.
21390 (struct test_f_l_data): Likewise.
21391 (struct test_f_L_data): Likewise.
21392 (struct test_sincos_data): Likewise.
21393 (RUN_TEST_f_f): Do not handle ulps.
21394 (RUN_TEST_LOOP_f_f): Likewise.
21395 (RUN_TEST_2_f): Likewise.
21396 (RUN_TEST_LOOP_2_f): Likewise.
21397 (RUN_TEST_fff_f): Likewise.
21398 (RUN_TEST_LOOP_fff_f): Likewise.
21399 (RUN_TEST_c_f): Likewise.
21400 (RUN_TEST_LOOP_c_f): Likewise.
21401 (RUN_TEST_f_f1): Likewise.
21402 (RUN_TEST_LOOP_f_f1): Likewise.
21403 (RUN_TEST_fF_f1): Likewise.
21404 (RUN_TEST_LOOP_fF_f1): Likewise.
21405 (RUN_TEST_fI_f1): Likewise.
21406 (RUN_TEST_LOOP_fI_f1): Likewise.
21407 (RUN_TEST_ffI_f1): Likewise.
21408 (RUN_TEST_LOOP_ffI_f1): Likewise.
21409 (RUN_TEST_c_c): Likewise.
21410 (RUN_TEST_LOOP_c_c): Likewise.
21411 (RUN_TEST_cc_c): Likewise.
21412 (RUN_TEST_LOOP_cc_c): Likewise.
21413 (RUN_TEST_f_i): Likewise.
21414 (RUN_TEST_LOOP_f_i): Likewise.
21415 (RUN_TEST_f_i_tg): Likewise.
21416 (RUN_TEST_LOOP_f_i_tg): Likewise.
21417 (RUN_TEST_ff_i_tg): Likewise.
21418 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21419 (RUN_TEST_f_b): Likewise.
21420 (RUN_TEST_LOOP_f_b): Likewise.
21421 (RUN_TEST_f_b_tg): Likewise.
21422 (RUN_TEST_LOOP_f_b_tg): Likewise.
21423 (RUN_TEST_f_l): Likewise.
21424 (RUN_TEST_LOOP_f_l): Likewise.
21425 (RUN_TEST_f_L): Likewise.
21426 (RUN_TEST_LOOP_f_L): Likewise.
21427 (RUN_TEST_sincos): Likewise.
21428 (RUN_TEST_LOOP_sincos): Likewise.
21429
8269107f
JM
214302013-05-17 Joseph Myers <joseph@codesourcery.com>
21431
bb38759d
JM
21432 [BZ #15480]
21433 [BZ #15485]
21434 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21435 main case of finite arguments, set rounding mode to FE_TONEAREST
21436 and discard exceptions.
21437 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21438 exceptions.
21439 (remainder_tonearest_test_data): New variable.
21440 (remainder_test_tonearest): New function.
21441 (remainder_towardzero_test_data): New variable.
21442 (remainder_test_towardzero): New function.
21443 (remainder_downward_test_data): New variable.
21444 (remainder_test_downward): New function.
21445 (remainder_upward_test_data): New variable.
21446 (remainder_test_upward): New function.
21447 (main): Call the new test functions.
21448
a00bdcf0
JM
21449 * math/libm-test.inc (struct test_f_f1_data): Remove field
21450 extra_init.
21451 (struct test_fF_f1_data): Likewise.
21452 (struct test_ffI_f1_data): Likewise.
21453 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21454 based on value of EXTRA_EXPECTED.
21455 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21456 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21457 EXTRA_VAR based on value of EXTRA_EXPECTED.
21458 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21459 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21460 EXTRA_VAR based on value of EXTRA_EXPECTED.
21461 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21462 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21463 EXTRA_VAR based on value of EXTRA_EXPECTED.
21464 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21465 * math/gen-libm-test.pl (parse_args): Don't output initializers
21466 for extra output values.
21467
de407f79
JM
21468 * math/libm-test.inc (check_int): Expect result to be exactly
21469 equal to expected value and do not handle ulps.
21470 (check_long): Likewise.
21471 (check_longlong): Likewise.
21472
8269107f
JM
21473 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21474 exceptions.
21475 (cimag_test_data): Likewise.
21476 (conj_test_data): Likewise.
21477 (copysign_test_data): Likewise.
21478 (cproj_test_data): Likewise.
21479 (creal_test_data): Likewise.
21480 (fabs_test_data): Likewise.
21481 (fdim_test_data): Likewise.
21482 (finite_test_data): Likewise.
21483 (floor_test_data): Likewise.
21484 (fmax_test_data): Likewise.
21485 (fmin_test_data): Likewise.
21486 (fmod_test_data): Likewise.
21487 (fpclassify_test_data): Likewise.
21488 (frexp_test_data): Likewise.
21489 (ilogb_test_data): Likewise.
21490 (isfinite_test_data): Likewise.
21491 (isgreater_test_data): Likewise.
21492 (isgreaterequal_test_data): Likewise.
21493 (isinf_test_data): Likewise.
21494 (isless_test_data): Likewise.
21495 (islessequal_test_data): Likewise.
21496 (islessgreater_test_data): Likewise.
21497 (isnan_test_data): Likewise.
21498 (isnormal_test_data): Likewise.
21499 (issignaling_test_data): Likewise.
21500 (isunordered_test_data): Likewise.
21501 (ldexp_test_data): Likewise.
21502 (lrint_test_data): Likewise.
21503 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21504 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21505 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21506 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21507 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21508 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21509 test input.
21510 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21511 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21512 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21513 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21514 that test input.
21515 (lrint_downward_test_data): Test for "inexact" exceptions.
21516 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21517 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21518 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21519 test input.
21520 (lrint_upward_test_data): Test for "inexact" exceptions.
21521 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21522 test input.
21523 (llrint_test_data): Test for "inexact" exceptions.
21524 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21525 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21526 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21527 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21528 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21529 (llrint_downward_test_data): Test for "inexact" exceptions.
21530 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21531 (llrint_upward_test_data): Test for "inexact" exceptions.
21532 (logb_test_data): Likewise.
21533 (logb_downward_test_data): Likewise.
21534 (nextafter_test_data): Likewise.
21535 (nexttoward_test_data): Likewise.
21536 (remainder_test_data): Likewise.
21537 (remquo_test_data): Likewise.
21538 (scalbn_test_data): Likewise.
21539 (scalbln_test_data): Likewise.
21540 (signbit_test_data): Likewise.
21541 (sqrt_test_data): Likewise.
21542 (significand_test_data): Likewise.
21543
48a18de1
SP
215442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21545
21546 [BZ #15424]
21547 * benchtests/bench-modf.c (struct args): Mark arg0 as
21548 volatile.
21549 * scripts/bench.pl: Mark members of struct args as volatile.
21550
13d3b41a
AZ
215512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
68191c1d 21553 [BZ # 15497]
13d3b41a
AZ
21554 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21555 negative infinity on POWER6 or lower.
21556 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21557
2848b105
MR
215582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21559
21560 [BZ #15442]
21561 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21562 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21563 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21564 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21565 (_FP_SETQNAN): New macro.
21566 (_FP_SETQNAN_SEMIRAW): Likewise.
21567 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21568 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21569 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21570 (FP_EXTEND): Use _FP_FRAC_SNANP.
21571 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21572 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21573 into account.
21574 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21575 New macro.
21576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21577 Likewise.
21578
323e5cb7
JM
215792013-05-16 Joseph Myers <joseph@codesourcery.com>
21580
c58b274f
JM
21581 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21582 with DIVIDE_BY_ZERO_EXCEPTION.
21583 (gamma_test_data): Likewise.
21584 (lgamma_test_data): Likewise.
21585 (log_test_data): Likewise.
21586 (log10_test_data): Likewise.
21587 (log2_test_data): Likewise.
21588 (tgamma_test_data): Likewise.
21589
0ab34904
JM
21590 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21591 (acos_test_tonearest): Likewise.
21592 (acos_test_towardzero): Likewise.
21593 (acos_test_downward): Likewise.
21594 (acos_test_upward): Likewise.
21595 (acosh_test): Likewise.
21596 (asin_test): Likewise.
21597 (asin_test_tonearest): Likewise.
21598 (asin_test_towardzero): Likewise.
21599 (asin_test_downward): Likewise.
21600 (asin_test_upward): Likewise.
21601 (asinh_test): Likewise.
21602 (atan_test): Likewise.
21603 (atanh_test): Likewise.
21604 (atan2_test): Likewise.
21605 (cabs_test): Likewise.
21606 (cacos_test): Likewise.
21607 (cacosh_test): Likewise.
21608 (casin_test): Likewise.
21609 (casinh_test): Likewise.
21610 (catan_test): Likewise.
21611 (catanh_test): Likewise.
21612 (cbrt_test): Likewise.
21613 (ccos_test): Likewise.
21614 (ccosh_test): Likewise.
21615 (cexp_test): Likewise.
21616 (clog_test): Likewise.
21617 (clog10_test): Likewise.
21618 (cos_test): Likewise.
21619 (cos_test_tonearest): Likewise.
21620 (cos_test_towardzero): Likewise.
21621 (cos_test_downward): Likewise.
21622 (cos_test_upward): Likewise.
21623 (cosh_test): Likewise.
21624 (cosh_test_tonearest): Likewise.
21625 (cosh_test_towardzero): Likewise.
21626 (cosh_test_downward): Likewise.
21627 (cosh_test_upward): Likewise.
21628 (cpow_test): Likewise.
21629 (csin_test): Likewise.
21630 (csinh_test): Likewise.
21631 (csqrt_test): Likewise.
21632 (ctan_test): Likewise.
21633 (ctan_test_tonearest): Likewise.
21634 (ctan_test_towardzero): Likewise.
21635 (ctan_test_downward): Likewise.
21636 (ctan_test_upward): Likewise.
21637 (ctanh_test): Likewise.
21638 (ctanh_test_tonearest): Likewise.
21639 (ctanh_test_towardzero): Likewise.
21640 (ctanh_test_downward): Likewise.
21641 (ctanh_test_upward): Likewise.
21642 (erf_test): Likewise.
21643 (erfc_test): Likewise.
21644 (exp_test): Likewise.
21645 (exp_test_tonearest): Likewise.
21646 (exp_test_towardzero): Likewise.
21647 (exp_test_downward): Likewise.
21648 (exp_test_upward): Likewise.
21649 (exp10_test): Likewise.
21650 (exp2_test): Likewise.
21651 (expm1_test): Likewise.
21652 (fmod_test): Likewise.
21653 (gamma_test): Likewise.
21654 (hypot_test): Likewise.
21655 (j0_test): Likewise.
21656 (j1_test): Likewise.
21657 (jn_test): Likewise.
21658 (lgamma_test): Likewise.
21659 (log_test): Likewise.
21660 (log10_test): Likewise.
21661 (log1p_test): Likewise.
21662 (log2_test): Likewise.
21663 (logb_test_downward): Likewise.
21664 (pow_test): Likewise.
21665 (pow_test_tonearest): Likewise.
21666 (pow_test_towardzero): Likewise.
21667 (pow_test_downward): Likewise.
21668 (pow_test_upward): Likewise.
21669 (remainder_test): Likewise.
21670 (remquo_test): Likewise.
21671 (sin_test): Likewise.
21672 (sin_test_tonearest): Likewise.
21673 (sin_test_towardzero): Likewise.
21674 (sin_test_downward): Likewise.
21675 (sin_test_upward): Likewise.
21676 (sincos_test): Likewise.
21677 (sinh_test): Likewise.
21678 (sinh_test_tonearest): Likewise.
21679 (sinh_test_towardzero): Likewise.
21680 (sinh_test_downward): Likewise.
21681 (sinh_test_upward): Likewise.
21682 (sqrt_test): Likewise.
21683 (tan_test): Likewise.
21684 (tan_test_tonearest): Likewise.
21685 (tan_test_towardzero): Likewise.
21686 (tan_test_downward): Likewise.
21687 (tan_test_upward): Likewise.
21688 (tanh_test): Likewise.
21689 (tgamma_test): Likewise.
21690 (y0_test): Likewise.
21691 (y1_test): Likewise.
21692 (yn_test): Likewise.
21693
323e5cb7
JM
21694 * math/gen-libm-test.pl (adjust_arg): Remove function.
21695 (special_function): Remove argument $in_func. Only handle
21696 generating output for tables of tests, not inside functions.
21697 (parse_args): Likewise.
21698 (generate_testfile): Remove variable $in_func. Update call to
21699 parse_args.
21700 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21701 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21702 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21703 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21704 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21705 (MAX_VALUE_INIT): Rename macro to max_value.
21706 (MIN_VALUE_INIT): Rename macro to min_value.
21707 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21708 (plus_zero): Remove variable.
21709 (minus_zero): Likewise.
21710 (plus_infty): Likewise.
21711 (minus_infty): Likewise.
21712 (qnan_value): Likewise.
21713 (max_value): Likewise.
21714 (min_value): Likewise.
21715 (min_subnorm_value): Likewise.
21716
e054f494
RA
217172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21718
21719 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21720 uint64_t or uint32_t usage.
21721 * crypt/sha256-block.c: Likewise.
21722 * crypt/sha256-crypt.c: Likewise.
21723 * crypt/sha256.c: Likewise.
21724 * crypt/sha512-block.c: Likewise.
21725 * crypt/sha512-crypt.c: Likewise.
21726 * crypt/sha512.c: Likewise.
21727 * debug/backtrace-tst.c: Likewise.
21728 * debug/pcprofiledump.c: Likewise.
21729 * elf/cache.c: Likewise.
21730 * elf/dl-cache.c: Likewise.
21731 * elf/dl-misc.c: Likewise.
21732 * elf/dl-profile.c: Likewise.
21733 * elf/dl-support.c: Likewise.
21734 * elf/ldconfig.c: Likewise.
21735 * elf/sprof.c: Likewise.
21736 * iconv/dummy-repertoire.c: Likewise.
21737 * iconv/iconv_charmap.c: Likewise.
21738 * iconv/skeleton.c: Likewise.
21739 * iconvdata/8bit-generic.c: Likewise.
21740 * iconvdata/cp737.h: Likewise.
21741 * iconvdata/cp775.h: Likewise.
21742 * iconvdata/ibm1008.h: Likewise.
21743 * iconvdata/ibm1025.h: Likewise.
21744 * iconvdata/ibm1046.h: Likewise.
21745 * iconvdata/ibm1097.h: Likewise.
21746 * iconvdata/ibm1112.h: Likewise.
21747 * iconvdata/ibm1122.h: Likewise.
21748 * iconvdata/ibm1123.h: Likewise.
21749 * iconvdata/ibm1124.h: Likewise.
21750 * iconvdata/ibm1129.h: Likewise.
21751 * iconvdata/ibm1130.h: Likewise.
21752 * iconvdata/ibm1132.h: Likewise.
21753 * iconvdata/ibm1133.h: Likewise.
21754 * iconvdata/ibm1137.h: Likewise.
21755 * iconvdata/ibm1140.h: Likewise.
21756 * iconvdata/ibm1141.h: Likewise.
21757 * iconvdata/ibm1142.h: Likewise.
21758 * iconvdata/ibm1143.h: Likewise.
21759 * iconvdata/ibm1144.h: Likewise.
21760 * iconvdata/ibm1145.h: Likewise.
21761 * iconvdata/ibm1146.h: Likewise.
21762 * iconvdata/ibm1147.h: Likewise.
21763 * iconvdata/ibm1148.h: Likewise.
21764 * iconvdata/ibm1149.h: Likewise.
21765 * iconvdata/ibm1153.h: Likewise.
21766 * iconvdata/ibm1154.h: Likewise.
21767 * iconvdata/ibm1155.h: Likewise.
21768 * iconvdata/ibm1156.h: Likewise.
21769 * iconvdata/ibm1157.h: Likewise.
21770 * iconvdata/ibm1158.h: Likewise.
21771 * iconvdata/ibm1160.h: Likewise.
21772 * iconvdata/ibm1161.h: Likewise.
21773 * iconvdata/ibm1162.h: Likewise.
21774 * iconvdata/ibm1163.h: Likewise.
21775 * iconvdata/ibm1164.h: Likewise.
21776 * iconvdata/ibm1166.h: Likewise.
21777 * iconvdata/ibm1167.h: Likewise.
21778 * iconvdata/ibm12712.h: Likewise.
21779 * iconvdata/ibm1390.h: Likewise.
21780 * iconvdata/ibm1399.h: Likewise.
21781 * iconvdata/ibm16804.h: Likewise.
21782 * iconvdata/ibm4517.h: Likewise.
21783 * iconvdata/ibm4899.h: Likewise.
21784 * iconvdata/ibm4909.h: Likewise.
21785 * iconvdata/ibm4971.h: Likewise.
21786 * iconvdata/ibm5347.h: Likewise.
21787 * iconvdata/ibm803.h: Likewise.
21788 * iconvdata/ibm856.h: Likewise.
21789 * iconvdata/ibm901.h: Likewise.
21790 * iconvdata/ibm902.h: Likewise.
21791 * iconvdata/ibm9030.h: Likewise.
21792 * iconvdata/ibm9066.h: Likewise.
21793 * iconvdata/ibm921.h: Likewise.
21794 * iconvdata/ibm922.h: Likewise.
21795 * iconvdata/ibm9448.h: Likewise.
21796 * iconvdata/isiri-3342.h: Likewise.
21797 * iconvdata/jis0201.h: Likewise.
21798 * include/link.h: Likewise.
21799 * include/netdb.h: Likewise.
21800 * inet/check_native.c: Likewise.
21801 * inet/check_pf.c: Likewise.
21802 * inet/getipv4sourcefilter.c: Likewise.
21803 * inet/getnameinfo.c: Likewise.
21804 * inet/getsourcefilter.c: Likewise.
21805 * inet/htonl.c: Likewise.
21806 * inet/setipv4sourcefilter.c: Likewise.
21807 * inet/setsourcefilter.c: Likewise.
21808 * inet/test-inet6_opt.c: Likewise.
21809 * inet/tst-network.c: Likewise.
21810 * locale/C-collate.c: Likewise.
21811 * locale/C-ctype.c: Likewise.
21812 * locale/C-time.c: Likewise.
21813 * locale/C-translit.h: Likewise.
21814 * locale/loadarchive.c: Likewise.
21815 * locale/programs/3level.h: Likewise.
21816 * locale/programs/charmap.c: Likewise.
21817 * locale/programs/charmap.h: Likewise.
21818 * locale/programs/ld-address.c: Likewise.
21819 * locale/programs/ld-collate.c: Likewise.
21820 * locale/programs/ld-ctype.c: Likewise.
21821 * locale/programs/ld-identification.c: Likewise.
21822 * locale/programs/ld-measurement.c: Likewise.
21823 * locale/programs/ld-messages.c: Likewise.
21824 * locale/programs/ld-monetary.c: Likewise.
21825 * locale/programs/ld-name.c: Likewise.
21826 * locale/programs/ld-numeric.c: Likewise.
21827 * locale/programs/ld-paper.c: Likewise.
21828 * locale/programs/ld-telephone.c: Likewise.
21829 * locale/programs/ld-time.c: Likewise.
21830 * locale/programs/linereader.c: Likewise.
21831 * locale/programs/locale.c: Likewise.
21832 * locale/programs/locarchive.c: Likewise.
21833 * locale/programs/locfile.h: Likewise.
21834 * locale/programs/repertoire.c: Likewise.
21835 * locale/programs/simple-hash.c: Likewise.
21836 * locale/programs/simple-hash.h: Likewise.
21837 * malloc/memusage.c: Likewise.
21838 * malloc/memusagestat.c: Likewise.
21839 * nis/nis_defaults.c: Likewise.
21840 * nis/nis_hash.c: Likewise.
21841 * nis/nis_print.c: Likewise.
21842 * nis/nis_xdr.c: Likewise.
21843 * nscd/connections.c: Likewise.
21844 * nscd/hstcache.c: Likewise.
21845 * nscd/nscd_gethst_r.c: Likewise.
21846 * nscd/nscd_getserv_r.c: Likewise.
21847 * nscd/nscd_helper.c: Likewise.
21848 * nscd/servicescache.c: Likewise.
21849 * nss/makedb.c: Likewise.
21850 * nss/nss_db/db-XXX.c: Likewise.
21851 * nss/nss_db/db-initgroups.c: Likewise.
21852 * nss/nss_db/db-netgrp.c: Likewise.
21853 * nss/nss_files/files-network.c: Likewise.
21854 * nss/nss_files/files-parse.c: Likewise.
21855 * posix/bug-regex5.c: Likewise.
21856 * posix/fnmatch_loop.c: Likewise.
21857 * posix/regcomp.c: Likewise.
21858 * posix/regexec.c: Likewise.
21859 * posix/tst-rfc3484-2.c: Likewise.
21860 * posix/tst-rfc3484-3.c: Likewise.
21861 * posix/tst-rfc3484.c: Likewise.
21862 * resolv/nss_dns/dns-canon.c: Likewise.
21863 * resolv/nss_dns/dns-network.c: Likewise.
21864 * resolv/res_init.c: Likewise.
21865 * resolv/res_mkquery.c: Likewise.
21866 * resolv/tst-aton.c: Likewise.
21867 * stdlib/cxa_atexit.c: Likewise.
21868 * stdlib/cxa_finalize.c: Likewise.
21869 * stdlib/gen-fpioconst.c: Likewise.
21870 * stdlib/strtol_l.c: Likewise.
21871 * string/tst-endian.c: Likewise.
21872 * sunrpc/auth_des.c: Likewise.
21873 * sunrpc/clnt_udp.c: Likewise.
21874 * sunrpc/rtime.c: Likewise.
21875 * sunrpc/svcauth_des.c: Likewise.
21876 * sunrpc/xdr.c: Likewise.
21877 * sunrpc/xdr_intXX_t.c: Likewise.
21878 * sunrpc/xdr_rec.c: Likewise.
21879 * sysdeps/generic/ldconfig.h: Likewise.
21880 * sysdeps/generic/ldsodefs.h: Likewise.
21881 * sysdeps/generic/memusage.h: Likewise.
21882 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21892 * sysdeps/posix/getaddrinfo.c: Likewise.
21893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21895 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21896 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21897 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21898 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21899 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21900 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21901 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21903 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21904 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21905 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21906 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21907 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21908 * sysdeps/x86_64/dl-tls.h: Likewise.
21909 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21910 * time/alt_digit.c: Likewise.
21911 * time/era.c: Likewise.
21912 * wcsmbs/tst-c16c32-1.c: Likewise.
21913
8c75f674
JM
219142013-05-16 Joseph Myers <joseph@codesourcery.com>
21915
21916 * math/libm-test.inc (struct test_sincos_data): New type.
21917 (RUN_TEST_LOOP_sincos): New macro.
21918 (sincos_test_data): New variable.
21919 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21920
e6e49e59
RH
219212013-05-16 Richard Henderson <rth@redhat.com>
21922
21923 * math/atest-exp2.c (LIMB64): New macro.
21924 (CONSTSZ): New macro.
21925 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21926 (hexdig): Move ...
21927 (print_mpn_fp): ... to function scope.
21928 (read_mpn_hex): Remove.
21929 (get_log2): Remove.
21930 (exp2_mpn): Use mp_log2.
21931 (main): Use mp_exp1.
21932
15c7c18d
JM
219332013-05-16 Joseph Myers <joseph@codesourcery.com>
21934
105a07df
JM
21935 * math/libm-test.inc: Remove comment about not testing "inexact"
21936 exceptions.
21937 (INEXACT_EXCEPTION): New macro.
21938 (NO_INEXACT_EXCEPTION): Likewise.
21939 (INVALID_EXCEPTION_OK): Update value.
21940 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21941 (OVERFLOW_EXCEPTION_OK): Likewise.
21942 (UNDERFLOW_EXCEPTION_OK): Likewise.
21943 (IGNORE_ZERO_INF_SIGN): Likewise.
21944 (ERRNO_UNCHANGED): Likewise.
21945 (ERRNO_EDOM): Likewise.
21946 (ERRNO_ERANGE): Likewise.
21947 (test_exceptions): Handle testing "inexact" exceptions.
21948 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21949 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21950 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21951 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21952 INEXACT_EXCEPTION.
21953 (rint_towardzero_test_data): Likewise.
21954 (rint_downward_test_data): Likewise.
21955 (rint_upward_test_data): Likewise.
21956
e9eee333
JM
21957 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21958 with OVERFLOW_EXCEPTION.
21959 (exp10_test_data): Likewise.
21960 (exp2_test_data): Likewise.
21961 (expm1_test_data): Likewise.
21962 (lgamma_test_data): Likewise.
21963 (pow_test_data): Likewise.
21964 (tgamma_test_data): Likewise.
21965 (yn_test_data): Remove duplicate test of overflow.
21966
1c38ff73
JM
21967 * math/libm-test.inc (struct test_cc_c_data): New type.
21968 (RUN_TEST_LOOP_cc_c): New macro.
21969 (cpow_test_data): New variable.
21970 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21971
15c7c18d
JM
21972 * math/libm-test.inc (struct test_f_L_data): New type.
21973 (RUN_TEST_LOOP_f_L): New macro.
21974 (llrint_test_data): New variable.
21975 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21976 (llrint_tonearest_test_data): New variable.
21977 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21978 (llrint_towardzero_test_data): New variable.
21979 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21980 (llrint_downward_test_data): New variable.
21981 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21982 (llrint_upward_test_data): New variable.
21983 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21984 (llround_test_data): New variable.
21985 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21986
f137ff13
PC
219872013-05-13 Peter Collingbourne <pcc@google.com>
21988
21989 * math/atest-exp2.c (get_log2): Remove const attribute.
21990
3608cb24
JM
219912013-05-15 Joseph Myers <joseph@codesourcery.com>
21992
21993 * math/libm-test.inc (struct test_f_l_data): New type.
21994 (RUN_TEST_LOOP_f_l): New macro.
21995 (lrint_test_data): New variable.
21996 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21997 (lrint_tonearest_test_data): New variable.
21998 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21999 (lrint_towardzero_test_data): New variable.
22000 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22001 (lrint_downward_test_data): New variable.
22002 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22003 (lrint_upward_test_data): New variable.
22004 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22005 (lround_test_data): New variable.
22006 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22007
39b1f617
PC
220082013-05-15 Peter Collingbourne <pcc@google.com>
22009
1deff3dc
PC
22010 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22011 (EXTRACT_WORDS64) Use where appropriate.
22012 (INSERT_WORDS64) Likewise.
22013
791f3ba0
PC
22014 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22015 constraints with x constraints.
22016 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22017
39b1f617
PC
22018 * malloc/obstack.c (_obstack_compat): Add initializer.
22019
12fba011
EM
220202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22021
22022 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22023 si_trapno and add si_addr_lsb to _sifields.sigfault.
22024 (si_trapno): Remove macro.
22025 (si_addr_lsb): Define new macro.
22026 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22027
d369f531
JM
220282013-05-15 Joseph Myers <joseph@codesourcery.com>
22029
b861c6c4
JM
22030 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22031 instead of TEST_f_l.
22032 (llrint_test_tonearest): Likewise.
22033 (llrint_test_towardzero): Likewise.
22034 (llrint_test_downward): Likewise.
22035 (llrint_test_upward): Likewise.
22036 (llround_test): Likewise.
22037
7abeee12
JM
22038 * math/libm-test.inc (struct test_f_i_data): Add comment.
22039 (RUN_TEST_LOOP_f_b): New macro.
22040 (RUN_TEST_LOOP_f_b_tg): Likewise.
22041 (finite_test_data): New variable.
22042 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22043 (isfinite_test_data): New variable.
22044 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22045 (isinf_test_data): New variable.
22046 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22047 (isnan_test_data): New variable.
22048 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22049 (isnormal_test_data): New variable.
22050 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22051 (issignaling_test_data): New variable.
22052 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22053 (signbit_test_data): New variable.
22054 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22055
cbe8c4d3
JM
22056 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22057 with INVALID_EXCEPTION.
22058 (acosh_test_data): Likewise.
22059 (asin_test_data): Likewise.
22060 (atanh_test_data): Likewise.
22061 (fmod_test_data): Likewise.
22062 (log_test_data): Likewise.
22063 (log10_test_data): Likewise.
22064 (log2_test_data): Likewise.
22065 (pow_test_data): Likewise.
22066 (sqrt_test_data): Likewise.
22067 (y0_test_data): Likewise.
22068 (y1_test_data): Likewise.
22069 (yn_test_data): Likewise.
22070
5575c0e5
JM
22071 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22072 function contents.
22073
d369f531
JM
22074 * math/libm-test.inc (struct test_ff_i_data): New type.
22075 (RUN_TEST_LOOP_ff_i_tg): New macro.
22076 (isgreater_test_data): New variable.
22077 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22078 (isgreaterequal_test_data): New variable.
22079 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22080 (isless_test_data): New variable.
22081 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22082 (islessequal_test_data): New variable.
22083 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22084 (islessgreater_test_data): New variable.
22085 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22086 (isunordered_test_data): New variable.
22087 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22088
781fd748
DM
220892013-05-14 David S. Miller <davem@davemloft.net>
22090
22091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22092
87aa21df
JM
220932013-05-14 Joseph Myers <joseph@codesourcery.com>
22094
5e908270
JM
22095 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22096
f71172e5
JM
22097 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22098 extra_test to int.
22099 (struct test_f_i_data): Change type of max_ulp to int.
22100
8cfa635a
JM
22101 * math/libm-test.inc (test_ffI_f1_data): New type.
22102 (RUN_TEST_LOOP_ffI_f1): New macro.
22103 (remquo_test_data): New variable.
22104 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22105
2bcb36b2
JM
22106 * setjmp/tst-setjmp-fp.c: New file.
22107 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22108 (link-libm): New variable.
22109 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22110
acbd839a
JM
22111 * math/libm-test.inc (struct test_f_i_data): New type.
22112 (RUN_TEST_LOOP_f_i): New macro.
22113 (RUN_TEST_LOOP_f_i_tg): Likewise.
22114 (fpclassify_test_data): New variable.
22115 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22116 (ilogb_test_data): New variable.
22117 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22118
e414d745
JM
22119 * math/libm-test.inc (scalbln_test): Correct function name in END
22120 call.
22121
d9c2a0fd
JM
22122 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22123 (RUN_TEST_LOOP_fI_f1): New macro.
22124 (frexp_test_data): New variable.
22125 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22126
9dc9095d
JM
22127 * math/libm-test.inc (struct test_fF_f1_data): New type.
22128 (RUN_TEST_LOOP_fF_f1): New macro.
22129 (modf_test_data): New variable.
22130 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22131
87aa21df
JM
22132 * math/libm-test.inc (struct test_f_f1_data): New type.
22133 (RUN_TEST_LOOP_f_f1): New macro.
22134 (gamma_test_data): New variable.
22135 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22136 (lgamma_test_data): New variable.
22137 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22138
141af660
CD
221392013-05-13 Carlos O'Donell <carlos@redhat.com>
22140
22141 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22142 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22143 (main): Comment "tls" pseudo-hwcap.
22144
6d33265c
JM
221452013-05-13 Joseph Myers <joseph@codesourcery.com>
22146
68fc074c
JM
22147 * math/libm-test.inc (struct test_fl_f_data): New type.
22148 (RUN_TEST_LOOP_fl_f): New variable.
22149 (scalbln_test_data): New variable.
22150 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22151
243216e1
JM
22152 * math/libm-test.inc (struct test_fi_f_data): New type.
22153 (RUN_TEST_LOOP_fi_f): New macro.
22154 (ldexp_test_data): New variable.
22155 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22156 (scalbn_test_data): New variable.
22157 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22158
6a1992e2
JM
22159 * math/libm-test.inc (struct test_c_f_data): New type.
22160 (RUN_TEST_LOOP_c_f): New macro.
22161 (cabs_test_data): New variable.
22162 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22163 (carg_test_data): New variable.
22164 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22165 (cimag_test_data): New variable.
22166 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22167 (creal_test_data): New variable.
22168 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22169
0e400df5
JM
22170 * math/libm-test.inc (struct test_if_f_data): New type.
22171 (RUN_TEST_LOOP_if_f): New macro.
22172 (jn_test_data): New variable.
22173 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22174 (yn_test_data): New variable.
22175 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22176
6d33265c
JM
22177 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22178
f98ece5f
AZ
221792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22180
22181 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22182 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22183
0f7d347b
SP
221842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22185
43fe811b
SP
22186 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22187 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22188 (bench-deps): Add bench-timing.h.
22189 * benchtests-bench-skeleton.c: Include bench-timing.h.
22190 (main): Use TIMING_* macros instead of clock_gettime.
22191 * benchtests/bench-timing.h: New file.
22192
0f7d347b
SP
22193 [BZ #14582]
22194 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22195 Renamed from _LIB_VERSION.
22196 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22197
601a3a5f
JM
221982013-05-12 Joseph Myers <joseph@codesourcery.com>
22199
4f184d30
JM
22200 * math/libm-test.inc (struct test_fff_f_data): New type.
22201 (RUN_TEST_LOOP_fff_f): New macro.
22202 (fma_test_data): New variable.
22203 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22204 (fma_towardzero_test_data): New variable.
22205 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22206 (fma_downward_test_data): New variable.
22207 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22208 (fma_upward_test_data): New variable.
22209 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22210
08198877
JM
22211 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22212 (struct test_c_c_data): New type.
22213 (RUN_TEST_LOOP_c_c): New macro.
22214 (cacos_test_data): New variable.
22215 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22216 (cacosh_test_data): New variable.
22217 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22218 (casin_test_data): New variable.
22219 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22220 (casinh_test_data): New variable.
22221 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22222 (catan_test_data): New variable.
22223 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22224 (catanh_test_data): New variable.
22225 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22226 (ccos_test_data): New variable.
22227 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22228 (ccosh_test_data): New variable.
22229 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22230 (cexp_test_data): New variable.
22231 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22232 (clog_test_data): New variable.
22233 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22234 (clog10_test_data): New variable.
22235 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22236 (conj_test_data): New variable.
22237 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22238 (cproj_test_data): New variable.
22239 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22240 (csin_test_data): New variable.
22241 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22242 (csinh_test_data): New variable.
22243 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22244 (csqrt_test_data): New variable.
22245 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22246 (ctan_test_data): New variable.
22247 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22248 (ctan_tonearest_test_data): New variable.
22249 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22250 (ctan_towardzero_test_data): New variable.
22251 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22252 (ctan_downward_test_data): New variable.
22253 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22254 (ctan_upward_test_data): New variable.
22255 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22256 (ctanh_test_data): New variable.
22257 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22258 (ctanh_tonearest_test_data): New variable.
22259 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22260 (ctanh_towardzero_test_data): New variable.
22261 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22262 (ctanh_downward_test_data): New variable.
22263 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22264 (ctanh_upward_test_data): New variable.
22265 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22266 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22267 of BUILD_COMPLEX.
22268
601a3a5f
JM
22269 * math/libm-test.inc (struct test_ff_f_data): New type.
22270 (struct test_ff_f_data_nexttoward): Likewise.
22271 (RUN_TEST_LOOP_2_f): New macro.
22272 (RUN_TEST_LOOP_ff_f): Likewise.
22273 (atan2_test_data): New variable.
22274 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22275 (copysign_test_data): New variable.
22276 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22277 (fdim_test_data): New variable.
22278 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22279 (fmax_test_data): New variable.
22280 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22281 (fmin_test_data): New variable.
22282 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22283 (fmod_test_data): New variable.
22284 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22285 (hypot_test_data): New variable.
22286 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22287 (nextafter_test_data): New variable.
22288 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22289 (nexttoward_test_data): New variable.
22290 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22291 (pow_test_data): New variable.
22292 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22293 (pow_tonearest_test_data): New variable.
22294 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22295 (pow_towardzero_test_data): New variable.
22296 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22297 (pow_downward_test_data): New variable.
22298 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22299 (pow_upward_test_data): New variable.
22300 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22301 (remainder_test_data): New variable.
22302 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22303 (scalb_test_data): New variable.
22304 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22305 * sysdeps/i386/fpu/libm-test-ulps: Update.
22306
74c57478
JM
223072013-05-11 Joseph Myers <joseph@codesourcery.com>
22308
8329e4da
JM
22309 * math/libm-test.inc (fma_test): Use max_value instead of local
22310 variable fltmax.
22311 (nextafter_test): Likewise.
22312
74c57478
JM
22313 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22314 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22315 (acos_downward_test_data): New variable.
22316 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22317 (acos_upward_test_data): New variable.
22318 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22319 (acosh_test_data): New variable.
22320 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22321 (asin_test_data): New variable.
22322 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22323 (asin_tonearest_test_data): New variable.
22324 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22325 (asin_towardzero_test_data): New variable.
22326 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22327 (asin_downward_test_data): New variable.
22328 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22329 (asin_upward_test_data): New variable.
22330 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22331 (asinh_test_data): New variable.
22332 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22333 (atan_test_data): New variable.
22334 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22335 (atanh_test_data): New variable.
22336 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22337 (cbrt_test_data): New variable.
22338 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22339 (ceil_test_data): New variable.
22340 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22341 (cos_test_data): New variable.
22342 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22343 (cos_tonearest_test_data): New variable.
22344 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22345 (cos_towardzero_test_data): New variable.
22346 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22347 (cos_downward_test_data): New variable.
22348 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22349 (cos_upward_test_data): New variable.
22350 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22351 (cosh_test_data): New variable.
22352 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22353 (cosh_tonearest_test_data): New variable.
22354 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22355 (cosh_towardzero_test_data): New variable.
22356 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22357 (cosh_downward_test_data): New variable.
22358 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22359 (cosh_upward_test_data): New variable.
22360 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22361 (erf_test_data): New variable.
22362 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22363 (erfc_test_data): New variable.
22364 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22365 (exp_test_data): New variable.
22366 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22367 (exp_tonearest_test_data): New variable.
22368 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22369 (exp_towardzero_test_data): New variable.
22370 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22371 (exp_downward_test_data): New variable.
22372 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22373 (exp_upward_test_data): New variable.
22374 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22375 (exp10_test_data): New variable.
22376 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22377 (exp2_test_data): New variable.
22378 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22379 (expm1_test_data): New variable.
22380 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22381 (fabs_test_data): New variable.
22382 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22383 (floor_test_data): New variable.
22384 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22385 (j0_test_data): New variable.
22386 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22387 (j1_test_data): New variable.
22388 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22389 (log_test_data): New variable.
22390 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22391 (log10_test_data): New variable.
22392 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22393 (log1p_test_data): New variable.
22394 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22395 (log2_test_data): New variable.
22396 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22397 (logb_test_data): New variable.
22398 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22399 (logb_downward_test_data): New variable.
22400 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22401 (nearbyint_test_data): New variable.
22402 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22403 (rint_test_data): New variable.
22404 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22405 (rint_tonearest_test_data): New variable.
22406 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22407 (rint_towardzero_test_data): New variable.
22408 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22409 (rint_downward_test_data): New variable.
22410 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22411 (rint_upward_test_data): New variable.
22412 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22413 (round_test_data): New variable.
22414 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22415 (sin_test_data): New variable.
22416 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22417 (sin_tonearest_test_data): New variable.
22418 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22419 (sin_towardzero_test_data): New variable.
22420 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22421 (sin_downward_test_data): New variable.
22422 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22423 (sin_upward_test_data): New variable.
22424 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22425 (sinh_test_data): New variable.
22426 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22427 (sinh_tonearest_test_data): New variable.
22428 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22429 (sinh_towardzero_test_data): New variable.
22430 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22431 (sinh_downward_test_data): New variable.
22432 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22433 (sinh_upward_test_data): New variable.
22434 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22435 (sqrt_test_data): New variable.
22436 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22437 (tan_test_data): New variable.
22438 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22439 (tan_tonearest_test_data): New variable.
22440 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22441 (tan_towardzero_test_data): New variable.
22442 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22443 (tan_downward_test_data): New variable.
22444 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22445 (tan_upward_test_data): New variable.
22446 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22447 (tanh_test_data): New variable.
22448 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22449 (tgamma_test_data): New variable.
22450 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22451 (trunc_test_data): New variable.
22452 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22453 (y0_test_data): New variable.
22454 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22455 (y1_test_data): New variable.
22456 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22457 (significand_test_data): New variable.
22458 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22459
7187d844
CG
224602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22461
22462 [BZ #12387]
22463 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22464
f63fae73
PT
224652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22466
22467 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22468
8a67a4b3
AJ
224692013-05-10 Andreas Jaeger <aj@suse.de>
22470
22471 [BZ #15448]
22472 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22473 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22474
51df539d
JM
224752013-05-10 Joseph Myers <joseph@codesourcery.com>
22476
22477 * math/gen-libm-test.pl (adjust_arg): New function.
22478 (special_functions): Handle generating output in both functions
22479 and arrays.
22480 (parse_args): Likewise.
22481 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22482 $in_func argument to parse_args.
22483 * math/libm-test.inc (struct test_f_f_data): New type.
22484 (IF_ROUND_INIT_): New macro.
22485 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22486 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22487 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22488 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22489 (ROUND_RESTORE_): Likewise.
22490 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22491 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22492 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22493 (ROUND_RESTORE_FE_UPWARD): Likewise.
22494 (RUN_TEST_LOOP_f_f): New macro.
22495 (acos_test_data): New variable.
22496 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22497 (acos_tonearest_test_data): New variable.
22498 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22499
5c637fe5
SP
225002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22501
22502 * benchtests/bench-skeleton.c (startup): Fix coding style.
22503
ab2b9461
JM
225042013-05-10 Joseph Myers <joseph@codesourcery.com>
22505
22506 [BZ #6809]
22507 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22508 negative infinity argument.
22509 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22510 negative infinity argument.
22511 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22512 negative infinity argument.
22513 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22514 domain errors.
22515
4c0fe6fe
FW
225162013-05-10 Florian Weimer <fweimer@redhat.com>
22517
22518 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22519 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22520 * iconv/iconv_prog.c (main): Likewise.
22521 * locale/programs/charmap-dir.c (charmap_readdir)
22522 (fopen_uncompressed): Likewise.
22523 * locale/programs/locfile.c (siblings_uncached)
22524 (write_locale_data): Use lstat64 instead of lstat.
22525 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22526 stat.
22527
a3375d29
AJ
225282013-05-10 Andreas Jaeger <aj@suse.de>
22529
22530 [BZ #15395]
22531 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22532 localization.
22533 Include <locale.h>.
22534
36129722
CD
225352013-05-09 Carlos O'Donell <carlos@redhat.com>
22536
22537 * elf/dl-close.c (_dl_close_worker): Add comments.
22538
faa7f811
JM
225392013-05-09 Joseph Myers <joseph@codesourcery.com>
22540
ed41ffef
JM
22541 [BZ #15359]
22542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22543 high part of pi/2.
22544 (__ieee754_rem_pio2l): Update comments.
22545
d0213cd0
JM
22546 [BZ #15429]
22547 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22548 high part of pi/2.
22549 (__ieee754_rem_pio2l): Update comments.
22550
0d3e777a
JM
22551 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22552 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22553
24f56066
JM
22554 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22555 M_PI_4l.
22556
faa7f811
JM
22557 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22558 (M_PI_34_LOG10El): Likewise.
22559 (M_PI2_LOG10El): Likewise.
22560 (M_PI4_LOG10El): Likewise.
22561 (M_PI_LOG10El): Likewise.
22562
e9a5e0fd
AZ
225632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22564
22565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22566
d8cd06db
JM
225672013-05-08 Joseph Myers <joseph@codesourcery.com>
22568
a0d9f9d7
JM
22569 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22570 (MINUS_ZERO_INIT): Likewise.
22571 (PLUS_INFTY_INIT): Likewise.
22572 (MINUS_INFTY_INIT): Likewise.
22573 (QNAN_VALUE_INIT): Likewise.
22574 (MAX_VALUE_INIT): Likewise.
22575 (MIN_VALUE_INIT): Likewise.
22576 (MIN_SUBNORM_VALUE_INIT): Likewise.
22577 (plus_zero): Initialize with PLUS_ZERO_INIT.
22578 (minus_zero): Initialize with MINUS_ZERO_INIT.
22579 (plus_infty): Initialize with PLUS_INFTY_INIT.
22580 (minus_infty): Initialize with MINUS_INFTY_INIT.
22581 (qnan_value): Initialize with QNAN_VALUE_INIT.
22582 (max_value): Initialize with MAX_VALUE_INIT.
22583 (min_value): Initialize with MIN_VALUE_INIT.
22584 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22585
ae08db3b
JM
22586 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22587 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22588 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22589 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22590
f44bf14a
JM
22591 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22592 (RUN_TEST_2_f): Likewise.
22593 (RUN_TEST_ff_f): Likewise.
22594 (RUN_TEST_fi_f): Likewise.
22595 (RUN_TEST_fl_f): Likewise.
22596 (RUN_TEST_fff_f): Likewise.
22597 (RUN_TEST_c_f): Likewise.
22598 (RUN_TEST_f_f1): Likewise.
22599 (RUN_TEST_fF_f1): Likewise.
22600 (RUN_TEST_fI_f1): Likewise.
22601 (RUN_TEST_ffI_f1): Likewise.
22602 (RUN_TEST_c_c): Likewise.
22603 (RUN_TEST_cc_c): Likewise.
22604 (RUN_TEST_f_i): Likewise.
22605 (RUN_TEST_f_i_tg): Likewise.
22606 (RUN_TEST_ff_i_tg): Likewise.
22607 (RUN_TEST_f_b): Likewise.
22608 (RUN_TEST_f_b_tg): Likewise.
22609 (RUN_TEST_f_l): Likewise.
22610 (RUN_TEST_f_L): Likewise.
22611 (RUN_TEST_sincos): Likewise.
22612 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22613 whether to show exceptions. Do not include ");\n" in return
22614 value.
22615 (special_functions): Output call to RUN_TEST_sincos instead of
22616 check_float calls. Update calls to new_test.
22617 (parse_args): Output call to single RUN_TEST_* macro instead of
22618 check_* calls and other assignments. Update calls to new_test.
22619
d8cd06db
JM
22620 [BZ #2546]
22621 [BZ #2560]
22622 [BZ #5159]
22623 [BZ #15426]
22624 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22625 input to result for tgamma overflow.
22626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22627 (gamma_coeff): New variable.
22628 (NCOEFF): New macro.
22629 (gamma_positive): New function.
22630 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22631 underflow here. Use gamma_positive instead of exp (lgamma) for
22632 other arguments.
22633 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22634 (gamma_coeff): New variable.
22635 (NCOEFF): New macro.
22636 (gammaf_positive): New function.
22637 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22638 underflow here. Use gamma_positive instead of exp (lgamma) for
22639 other arguments.
22640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22641 (gamma_coeff): New variable.
22642 (NCOEFF): New macro.
22643 (gammal_positive): New function.
22644 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22645 underflow here. Use gamma_positive instead of exp (lgamma) for
22646 other arguments.
22647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22648 (gamma_coeff): New variable.
22649 (NCOEFF): New macro.
22650 (gammal_positive): New function.
22651 (__ieee754_gammal_r): Handle positive infinity, overflow and
22652 underflow here. Handle NaN the same as positive infinity. Remove
22653 check x < 0xffffffff for negative integers. Use gamma_positive
22654 instead of exp (lgamma) for other arguments.
22655 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22656 (gamma_coeff): New variable.
22657 (NCOEFF): New macro.
22658 (gammal_positive): New function.
22659 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22660 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22665 * sysdeps/generic/math_private.h (__gamma_productf): New
22666 prototype.
22667 (__gamma_product): Likewise.
22668 (__gamma_productl): Likewise.
22669 * math/Makefile (libm-calls): Add gamma_product.
22670 * math/libm-test.inc (tgamma_test): Add more tests.
22671 * sysdeps/i386/fpu/libm-test-ulps: Update.
22672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22673
bb7cf681
OB
226742013-05-08 Ondřej Bílka <neleai@seznam.cz>
22675
22676 * benchtests/bench-skeleton.c (main): Preheat CPU.
22677
ba853947
AJ
226782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22679
22680 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22681
8347c74c
RM
226822013-05-07 Roland McGrath <roland@hack.frob.com>
22683
22684 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22685 and _dl_skip_args_internal.
22686
e8dd4791
CD
226872013-05-07 Carlos O'Donell <carlos@redhat.com>
22688
22689 * manual/message.texi (Message Translation): Talk about users.
22690 Message to key mapping impacts design.
22691
c7405830
RM
226922013-05-06 Roland McGrath <roland@hack.frob.com>
22693
a9173057
RM
22694 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22695
976e2f03
RM
22696 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22697
9723ffc5
RM
22698 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22699 * sysdeps/wordsize-64/glob64.c: ... here.
22700
962e6658
RM
22701 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22702 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22703 New macros.
22704
ee586a6d
RM
22705 * debug/getlogin_r_chk.c: Moved to ...
22706 * login/getlogin_r_chk.c: ... here.
22707 * debug/Makefile (routines): Move getlogin_r_chk to ...
22708 * login/Makefile (routines): ... here.
22709 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22710 * login/Versions (libc: GLIBC_2.4): ... here.
22711
355f9165
RM
22712 * io/poll.c (__poll): Renamed from poll.
22713 Add libc_hidden_def.
22714 (poll): Define as weak alias.
22715
bd9ffde6
RM
22716 * debug/ptsname_r_chk.c: Moved to ...
22717 * login/ptsname_r_chk.c: ... here.
22718 * debug/Makefile (routines): Move ptsname_r_chk to ...
22719 * login/Makefile (routines): ... here.
22720 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22721 * login/Versions (libc: GLIBC_2.4): ... here.
22722
8fb16a04
RM
22723 * posix/getlogin.c: Moved to ...
22724 * login/getlogin.c: ... here.
22725 * posix/getlogin_r.c: Moved to ...
22726 * login/getlogin_r.c: ... here.
22727 * posix/getlogin_r.c: Moved to ...
22728 * login/getlogin_r.c: ... here.
22729 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22730 * login/Makefile (routines): ... here.
22731 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22732 * login/Versions (libc: GLIBC_2.0): ... here.
22733
b99b892f
RM
22734 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22735 (setrlimit): Define as weak alias.
22736
c7405830
RM
22737 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22738 Call __ names for open, ftruncate, and close.
22739 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22740 (truncate): Define as weak alias.
22741
5bf96de5
JM
227422013-05-06 Joseph Myers <joseph@codesourcery.com>
22743
9ea3513c
JM
22744 * math/gen-libm-test.pl (parse_args): Initialize x before each
22745 test of frexp, modf and remquo.
22746
5bf96de5
JM
22747 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22748 test signgam value.
22749
16e616a7
AZ
227502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22751
22752 [BZ #15418]
22753 [BZ #15419]
22754 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22755 internal tests.
22756 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22757
d5e82754
RM
227582013-05-06 Roland McGrath <roland@hack.frob.com>
22759
22760 * elf/dl-writev.h: New file.
22761 * elf/dl-misc.c: Include it.
22762 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22763 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22764
a7548d41
JM
227652013-05-04 Joseph Myers <joseph@codesourcery.com>
22766
b7dab1e4
JM
22767 * math/libm-test.inc (noXFails): Remove variable.
22768 (noXPasses): Likewise.
22769 (BUILD_COMPLEX_INT): Remove macro.
22770 (print_screen): Remove xfail argument.
22771 (print_screen_max_error): Likewise.
22772 (update_stats): Likewise.
22773 (print_max_error): Likewise. Update calls to other affected
22774 functions.
22775 (print_complex_max_error): Likewise.
22776 (test_single_exception): Update calls to print_screen.
22777 (test_single_errno): Likewise.
22778 (check_float_internal): Remove xfail argument. Update calls to
22779 other affected functions.
22780 (check_float): Likewise.
22781 (check_complex): Likewise.
22782 (check_int): Likewise.
22783 (check_long): Likewise.
22784 (check_bool): Likewise.
22785 (check_longlong): Likewise.
22786 (main): Don't print noXFails and noXPasses.
22787 * math/gen-libm-test.pl (top level): Don't mention expected
22788 failure handling in comment.
22789 (new_test): Don't handle expected failures.
22790 (parse_args): Don't mention expected failure handling in comment.
22791 (generate_testfile): Don't handle expected failures.
22792 (parse_ulps): Likewise.
22793 (print_ulps_file): Likewise.
22794 (get_failure): Remove function.
22795 (output_test): Don't handle expected failures.
22796 * make/README.libm-test: Don't mention expected failure handling.
22797
a7548d41
JM
22798 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22799 (minus_zero): Likewise.
22800 (plus_infty): Likewise.
22801 (minus_infty): Likewise.
22802 (qnan_value): Likewise.
22803 (max_value): Likewise.
22804 (min_value): Likewise.
22805 (min_subnorm_value): Likewise.
22806 (initialize): Do not initialize those variables dynamically.
22807
60bfd54c
RM
228082013-05-03 Roland McGrath <roland@hack.frob.com>
22809
cc0e6ed8
RM
22810 * io/open.c (__open_2): Moved to ...
22811 * io/open_2.c: ... this new file.
22812 * io/open64.c (__open64_2): Moved to ...
22813 * io/open64_2.c: ... this new file.
22814 * io/openat.c (__openat_2): Moved to ...
22815 * io/openat_2.c: ... this new file.
22816 * io/openat64.c (__openat64_2): Moved to ...
22817 * io/openat64_2.c: ... this new file.
22818 * io/Makefile (routines): Add them.
22819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22820 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22821 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22822 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22823 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22824 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22825 (__openat64): Add hidden_ver.
22826 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22827 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22828
60bfd54c
RM
22829 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22830 Separately conditionalize setting of GLRO(dl_sysinfo) so
22831 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22832 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22833
83e7640f
AZ
228342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22835
22836 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22837 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22838 definition.
22839 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22840 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22841 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22842 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22843 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22844
d5dc2af3
JM
228452013-05-03 Joseph Myers <joseph@codesourcery.com>
22846
c31a5b1e
JM
22847 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22848 test signgam value.
22849
d5dc2af3
JM
22850 * math/libm-test.inc (hypot_test): Do not use
22851 IGNORE_ZERO_INF_SIGN.
22852
164fd39d
AJ
228532013-05-03 Andreas Jaeger <aj@suse.de>
22854
22855 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22856 Linux 3.9.
22857 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22858 (PF_MAX): Adjust for VSOCK change.
22859
8237f48c
AZ
228602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22861
22862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22863
9df02941
CD
228642013-05-02 Carlos O'Donell <carlos@redhat.com>
22865
22866 [BZ #15264]
22867 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22868 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22869 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22870
d422395e
DM
228712013-05-02 David S. Miller <davem@davemloft.net>
22872
22873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22874
a07c5731
OB
228752013-05-01 Ondřej Bílka <neleai@seznam.cz>
22876
22877 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22878
1324e37f
RM
228792013-05-01 Roland McGrath <roland@hack.frob.com>
22880
22881 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22882
0695940b
RS
228832013-05-01 Richard Smith <richard@metafoo.co.uk>
22884
bb5f27ad 22885 [BZ #14952]
0695940b
RS
22886 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22887 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22888 Use __attribute__ ((__gnu_inline__)).
22889 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22890 Don't use __attribute__ ((__gnu_inline__)).
22891
10de07f5
JM
228922013-05-01 Joseph Myers <joseph@codesourcery.com>
22893
22894 [BZ #15423]
22895 * math/s_catan.c (__catan): Handle small real or imaginary part of
22896 input specially to avoid spurious underflow.
22897 * math/s_catanf.c (__catanf): Likewise.
22898 * math/s_catanh.c (__catanh): Likewise.
22899 * math/s_catanhf.c (__catanhf): Likewise.
22900 * math/s_catanhl.c (__catanhl): Likewise.
22901 * math/s_catanl.c (__catanl): Likewise.
22902 * math/libm-test.inc (catan_test): Add more tests.
22903 (catanh_test): Likewise.
22904 * sysdeps/i386/fpu/libm-test-ulps: Update.
22905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22906
cb4d5414
AZ
229072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22908
22909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22910
caf84319
JM
229112013-04-30 Joseph Myers <joseph@codesourcery.com>
22912
22913 [BZ #15416]
22914 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22915 accurately for denominator in atan2.
22916 * math/s_catanf.c (__catanf): Likewise.
22917 * math/s_catanh.c (__catanh): Likewise.
22918 * math/s_catanhf.c (__catanhf): Likewise.
22919 * math/s_catanhl.c (__catanhl): Likewise.
22920 * math/s_catanl.c (__catanl): Likewise.
22921 * math/libm-test.inc (catan_test): Add more tests.
22922 (catanh_test): Likewise.
22923 * sysdeps/i386/fpu/libm-test-ulps: Update.
22924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925
d569c6ee
SP
229262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22927
6dbe713d
SP
22928 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22929
f0ee064b
SP
22930 * benchtests/Makefile (bench): Remove slow benchmarks.
22931 * benchtests/atan-inputs: Add slow benchmark inputs.
22932 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22933 (BENCH_FUNC): Accept variant offset.
22934 (VARIANT): Define.
22935 * benchtests/bench-skeleton.c (main): Run benchmark for each
22936 variant.
22937 * benchtests/cos-inputs: Add slow benchmark inputs.
22938 * benchtests/exp-inputs: Likewise.
22939 * benchtests/pow-inputs: Likewise.
22940 * benchtests/sin-inputs: Likewise.
22941 * benchtests/slowatan-inputs: Remove.
22942 * benchtests/slowatan.c: Remove.
22943 * benchtests/slowcos-inputs: Remove.
22944 * benchtests/slowcos.c: Remove.
22945 * benchtests/slowexp-inputs: Remove.
22946 * benchtests/slowexp.c: Remove.
22947 * benchtests/slowpow-inputs: Remove.
22948 * benchtests/slowpow.c: Remove.
22949 * benchtests/slowsin-inputs: Remove.
22950 * benchtests/slowsin.c: Remove.
22951 * benchtests/slowtan-inputs: Remove.
22952 * benchtests/slowtan.c: Remove.
22953 * benchtests/tan-inputs: Add slow benchmark inputs.
22954 * scripts/bench.pl: Parse comments and directives.
22955
d569c6ee
SP
22956 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22957 in CPPFLAGS.
22958 ($(objpfx)bench-%.c): Remove *-ITER.
22959 * benchtests/bench-modf.c: Remove definition of ITER.
22960 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22961 (main): Loop for DURATION seconds instead of fixed number of
22962 iterations.
22963 * scripts/bench.pl: Don't expect iterations in parameters.
22964
a6a242fe
RM
229652013-04-29 Roland McGrath <roland@hack.frob.com>
22966
22967 * io/fchdir.c (__fchdir): Renamed from fchdir.
22968 (fchdir): Define as weak alias.
22969
f2da7793
JM
229702013-04-29 Joseph Myers <joseph@codesourcery.com>
22971
22972 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22973 (ERRNO_EDOM): Likewise.
22974 (ERRNO_ERANGE): Likewise.
22975 (noErrnoTests): New variable.
22976 (init_max_error): Set errno to 0.
22977 (test_single_errno): New function.
22978 (test_errno): Likewise.
22979 (check_float_internal): Call test_errno. Set errno to 0.
22980 (check_complex): Refer to errno tests in comment.
22981 (check_int): Call test_errno. Set errno to 0.
22982 (check_long): Likewise.
22983 (check_bool): Likewise.
22984 (check_longlong): Likewise.
22985 (cos_test): Use ERRNO_* flags for errno tests instead of
22986 check_int.
22987 (expm1_test): Likewise.
22988 (fmod_test): Likewise.
22989 (ilogb_test): Likewise.
22990 (lgamma_test): Likewise.
22991 (pow_test): Likewise.
22992 (remainder_test): Likewise.
22993 (sin_test): Likewise.
22994 (tan_test): Likewise.
22995 (yn_test): Likewise.
22996 (initialize): Set errno to 0.
22997 (main): Print number of errno tests.
22998 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22999
b1a36ceb
AJ
230002013-04-29 Andreas Jaeger <aj@suse.de>
23001
c3ed8088
AJ
23002 [BZ #15084]
23003 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23004 and RES_USEVC.
23005
f1a24198
AJ
23006 [BZ #15085]
23007 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23008 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23009 unimplemented.
23010
9ce3b2cb
AJ
23011 [BZ #15380]
23012 * stdlib/random.c (__initstate): Return NULL if
23013 __initstate fails.
23014
f1a24198 23015 [BZ #15086]
b1a36ceb
AJ
23016 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23017 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23018 RES_SNGLKUPREOP.
23019
7e7b6f36
AZ
230202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23021
23022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23023
4d14f449
JM
230242013-04-29 Joseph Myers <joseph@codesourcery.com>
23025
23026 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23027 of individual tests.
23028 (casin_test): Likewise.
23029 (casinh_test): Likewise.
23030
5b4217d7
JM
230312013-04-27 Joseph Myers <joseph@codesourcery.com>
23032
23033 [BZ #15409]
23034 * math/s_catan.c (__catan): Handle arguments with large real or
23035 imaginary part separately without squaring.
23036 * math/s_catanf.c (__catanf): Likewise.
23037 * math/s_catanh.c (__catanh): Likewise.
23038 * math/s_catanhf.c (__catanhf): Likewise.
23039 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23040 and redefine.
23041 (__catanhl): Handle arguments with large real or imaginary part
23042 separately without squaring.
23043 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23044 and redefine.
23045 (__catanl): Handle arguments with large real or imaginary part
23046 separately without squaring.
23047 * math/libm-test.inc (catan_test): Add more tests.
23048 (catanh_test): Likewise.
23049 * sysdeps/i386/fpu/libm-test-ulps: Update.
23050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23051
4220c3ef
AJ
230522013-04-27 Andreas Jaeger <aj@suse.de>
23053
23054 [BZ #15007]
23055 * stdlib/stdlib.h: Update guards for qecvt.
23056 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23057 <stdlib.h>.
23058
4721b2d1
AM
230592013-04-27 Allan McRae <allan@archlinux.org>
23060
23061 * sysdeps/i386/fpu/libm-test-ulps: Update.
23062
f0302940
JM
230632013-04-26 Joseph Myers <joseph@codesourcery.com>
23064
9457fd95
JM
23065 [BZ #15406]
23066 * math/s_catan.c: Include <float.h>.
23067 (__catan): Ensure underflow exception occurs for underflowed
23068 result.
23069 * math/s_catanf.c: Include <float.h>.
23070 (__catanf): Ensure underflow exception occurs for underflowed
23071 result.
23072 * math/s_catanh.c: Include <float.h>.
23073 (__catanh): Ensure underflow exception occurs for underflowed
23074 result.
23075 * math/s_catanhf.c: Include <float.h>.
23076 (__catanhf): Ensure underflow exception occurs for underflowed
23077 result.
23078 * math/s_catanhl.c: Include <float.h>.
23079 (__catanhl): Ensure underflow exception occurs for underflowed
23080 result.
23081 * math/s_catanl.c: Include <float.h>.
23082 (__catanl): Ensure underflow exception occurs for underflowed
23083 result.
23084 * math/libm-test.inc (catan_test): Add more tests.
23085 (catanh_test): Likewise.
23086
f0302940
JM
23087 [BZ #15405]
23088 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23089 underflowed result.
23090 * math/s_ccoshf.c (__ccoshf): Likewise.
23091 * math/s_ccoshl.c (__ccoshl): Likewise.
23092 * math/s_csin.c (__csin): Likewise.
23093 * math/s_csinf.c (__csinf): Likewise.
23094 * math/s_csinh.c (__csinh): Likewise.
23095 * math/s_csinhf.c (__csinhf): Likewise.
23096 * math/s_csinhl.c (__csinhl): Likewise.
23097 * math/s_csinl.c (__csinl): Likewise.
23098 * math/libm-test.inc (ccos_test): Add more tests.
23099 (ccosh_test): Likewise.
23100 (csin_test): Likewise.
23101 (csinh_test): Likewise.
23102
aa630f59
AZ
231032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23104
23105 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23106 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23107 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23108 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23109 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23110 powerpc/power5+/fpu folders.
23111 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23112
23113
1b835983
MT
231142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23115
23116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23117
73709b26
JM
231182013-04-25 Joseph Myers <joseph@codesourcery.com>
23119
23120 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23121 additions to variable.
23122 [$(config-machine) = x86_64] (modules-names): Likewise.
23123 ($(objpfx)tst-audit3): Remove dependency.
23124 ($(objpfx)tst-audit3.out): Likewise.
23125 ($(objpfx)tst-audit4): Likewise.
23126 ($(objpfx)tst-audit4.out): Likewise.
23127 ($(objpfx)tst-audit5): Likewise.
23128 ($(objpfx)tst-audit5.out): Likewise.
23129 ($(objpfx)tst-audit6): Likewise.
23130 ($(objpfx)tst-audit6.out): Likewise.
23131 ($(objpfx)tst-audit7): Likewise.
23132 ($(objpfx)tst-audit7.out): Likewise.
23133 (tst-audit3-ENV): Remove variable.
23134 (tst-audit4-ENV): Likewise.
23135 (tst-audit5-ENV): Likewise.
23136 (tst-audit6-ENV): Likewise.
23137 (tst-audit7-ENV): Likewise.
23138 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23139 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23140 addition to variable.
23141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23143 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23144 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23146 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23147 tst-audit3, tst-audit4 and tst-audit5.
23148 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23149 tst-audit6 and tst-audit7.
23150 [$(subdir) = elf] (modules-names): Add audit modules for those
23151 tests.
23152 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23153 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23154 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23155 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23156 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23157 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23158 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23159 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23160 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23161 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23162 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23163 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23164 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23165 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23166 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23167 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23168 Likewise.
23169 [$(subdir) = elf && $(config-cflags-avx) = yes]
23170 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23171 [$(subdir) = elf && $(config-cflags-avx) = yes]
23172 (CFLAGS-tst-auditmod4a.c): Likewise.
23173 [$(subdir) = elf && $(config-cflags-avx) = yes]
23174 (CFLAGS-tst-auditmod4b.c): Likewise.
23175 [$(subdir) = elf && $(config-cflags-avx) = yes]
23176 (CFLAGS-tst-auditmod6b.c): Likewise.
23177 [$(subdir) = elf && $(config-cflags-avx) = yes]
23178 (CFLAGS-tst-auditmod6c.c): Likewise.
23179 [$(subdir) = elf && $(config-cflags-avx) = yes]
23180 (CFLAGS-tst-auditmod7b.c): Likewise.
23181 * elf/tst-audit3.c: Move to ...
23182 * sysdeps/x86_64/tst-audit3.c: ... here.
23183 * elf/tst-audit4.c: Move to ...
23184 * sysdeps/x86_64/tst-audit4.c: ... here.
23185 * elf/tst-audit5.c: Move to ...
23186 * sysdeps/x86_64/tst-audit5.c: ... here.
23187 * elf/tst-audit6.c: Move to ...
23188 * sysdeps/x86_64/tst-audit6.c: ... here.
23189 * elf/tst-audit7.c: Move to ...
23190 * sysdeps/x86_64/tst-audit7.c: ... here.
23191 * elf/tst-auditmod3a.c: Move to ...
23192 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23193 * elf/tst-auditmod3b.c: Move to ...
23194 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23195 * elf/tst-auditmod4a.c: Move to ...
23196 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23197 * elf/tst-auditmod4b.c: Move to ...
23198 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23199 * elf/tst-auditmod5a.c: Move to ...
23200 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23201 * elf/tst-auditmod5b.c: Move to ...
23202 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23203 * elf/tst-auditmod6a.c: Move to ...
23204 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23205 * elf/tst-auditmod6b.c: Move to ...
23206 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23207 * elf/tst-auditmod6c.c: Move to ...
23208 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23209 * elf/tst-auditmod7a.c: Move to ...
23210 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23211 * elf/tst-auditmod7b.c: Move to ...
23212 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23213
1ef74943
PP
232142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23215
23216 [BZ #15366]
23217 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23218 define unconditionally.
23219 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23220 define unconditionally.
23221 (INT8_C, INT16_C, etc.): Likewise.
23222
93fd48c5
MR
232232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23224
ae9552cf
MR
23225 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23226 __ehdr_start with hidden visibility.
23227
93fd48c5
MR
23228 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23229
418601aa
CD
232302013-04-24 Carlos O'Donell <carlos@redhat.com>
23231
23232 * math/libm-test.inc (cos_test): Use accurate hex constants.
23233 (sincost_test): Likewise.
23234
2f38fbfe
JM
232352013-04-24 Joseph Myers <joseph@codesourcery.com>
23236
5e221800
JM
23237 * math/libm-test.inc (catan_test): Add more tests.
23238 (catanh_test): Likewise.
23239
77f143fd
JM
23240 * math/s_catanf.c (__catanf): Use suffixed floating-point
23241 constants.
23242 * math/s_catanhf.c (__catanhf): Likewise.
23243 * math/s_catanhl.c (__catanhl): Likewise.
23244 * math/s_catanl.c (__catanl): Likewise.
23245
2f38fbfe
JM
23246 [BZ #15394]
23247 * math/s_catan.c (__catan): Calculate imaginary part of result
23248 with log1p not log unless computing log of number close to 0.
23249 * math/s_catanf.c (__catanf): Likewise.
23250 * math/s_catanl.c (__catanl): Likewise.
23251 * math/s_catanh.c (__catanh): Calculate real part of result with
23252 log1p not log unless computing log of number close to 0.
23253 * math/s_catanhf.c (__catanhf): Likewise.
23254 * math/s_catanhl.c (__catanhl): Likewise.
23255 * math/libm-test.inc (catan_test): Add more tests.
23256 (catanh_test): Likewise.
23257 * sysdeps/i386/fpu/libm-test-ulps: Update.
23258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23259
45d69176
SP
232602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23261
23262 * benchtests/Makefile: Mention files in which fast and slow
23263 paths of math functions are implemented.
23264
87f51853
RM
232652013-04-23 Roland McGrath <roland@hack.frob.com>
23266
23267 * sysdeps/posix/timespec_get.c: New file.
23268
3c026539
AZ
232692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23270
23271 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23272 POWER.
23273 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23274 for POWER.
23275 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23276 powerpc/power5/fpu folders.
23277 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23278 * benchtests/Makefile: Add modf testcase.
23279 * benchtests/bench-modf.c: New file: Benchmark test for mo
23280
ff491d14
SP
232812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23282
23283 [BZ #14888]
23284 * time/Makefile (tests): Add tst-strptime-whitespace.
23285 * time/strptime_l.c (get_number): Use ISSPACE.
23286 (__strptime_internal): Likewise.
23287 * time/tst-strptime-whitespace.c: New test case.
23288
7ed3f4e8
AS
232892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23290
23291 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23292 member.
23293 (_nss_files_init): Set it here.
23294
5c95f7b6
HC
232952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23296
23297 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23298 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23299 unsigned.
23300
d34c9158
JBG
233012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23302
23303 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23304
2169712d
SP
233052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23306
23307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23308 size just once.
23309
29c5de99
DM
233102013-04-21 David S. Miller <davem@davemloft.net>
23311
23312 * po/ru.po: Update Russion translation from translation project.
23313
ccdad15d
AC
233142013-04-17 Adam Conrad <adconrad@0c3.net>
23315
23316 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23317 and setfsgid.
23318
0f122b8d
CD
233192013-04-17 Carlos O'Donell <carlos@redhat.com>
23320
5c5b07da 23321 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23322 * configure: Regenerate.
5c5b07da 23323 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23324 Add example to error message.
23325 * sysdeps/i386/configure: Regenerate.
23326
037714dd
SP
233272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23328
23329 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23330 slowtan.
23331 * benchtests/cos-inputs: New file.
23332 * benchtests/slowcos-inputs: New file.
23333 * benchtests/slowcos.c: New file.
23334 * benchtests/slowtan-inputs: New file.
23335 * benchtests/slowtan.c: New file.
23336 * benchtests/tan-inputs: New file.
23337
e913141d
RM
233382013-04-16 Roland McGrath <roland@hack.frob.com>
23339
23340 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23341 considered kosher.
23342
a2964074
SP
233432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23344
4856bcd2
SP
23345 * benchtests/Makefile: Include cppflags-iterator.mk to add
23346 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23347
a2964074
SP
23348 * Makefile.in (bench-clean): New target.
23349 * benchtests/Makefile (bench-clean): Likewise.
23350
9fbf9aca
DH
233512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23352
23353 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23354
207d1e2a
TS
233552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23356
23357 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23358
306dfba9
AS
233592013-04-15 Andreas Schwab <schwab@suse.de>
23360
23361 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23363 * nscd/pwdcache.c (cache_addpw): Likewise.
23364 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23365 more than recsize.
23366
206a6699
SP
233672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23368
23369 * benchtests/Makefile (bench): Write all output to
23370 bench-out.tmp together.
23371
0582f6b3
AS
233722013-04-15 Andreas Schwab <schwab@suse.de>
23373
23374 * nscd/nscd.c (main): Don't fork again after closing files.
23375
acb4325f
SP
233762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23377
5cb26d0a
SP
23378 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23379
acb4325f
SP
23380 * benchtests/Rules (bench-deps): Collect dependencies into a
23381 single variable. Add Makefile to dependencies.
23382 ($(objpfx)bench-%.c): Depend on bench-deps.
23383
47792506
RM
233842013-04-12 Roland McGrath <roland@hack.frob.com>
23385 Xavier Roche <roche+kml2@exalead.com>
23386
23387 [BZ #15361]
23388 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23389 just that it's a file descriptor.
23390 * manual/llio.texi (Synchronizing AIO Operations): Update description
23391 for EBADF error from aio_fsync.
23392
8fc1bee5
SP
233932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23394
23395 * Rules (bench): Move target definition...
23396 * benchtests/Makefile: ... here.
23397
aba5e333
CD
233982013-04-11 Carlos O'Donell <carlos@redhat.com>
23399
23400 * math/libm-test.inc (cos_test): Fix PI/2 test.
23401 (sincos_test): Likewise.
23402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23403 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23404
273cdee8
AS
234052013-04-11 Andreas Schwab <schwab@suse.de>
23406
6ecec3b6
AS
23407 [BZ #13988]
23408 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23409 accept exponent character only when digits were seen.
23410 * stdio-common/Makefile (tests): Add bug26.
23411 * stdio-common/bug26.c: New file.
23412
273cdee8
AS
23413 [BZ #14293]
23414 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23415 non-freeable.
23416
8da491f5
SP
234172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23418
01dc6df9
SP
23419 * Makeconfig (rtld-prefix): Define built linker prefix.
23420 * Rules (run-bench): Use it.
23421 * math/Makefile (run-regen-ulps): Likewise.
23422
8da491f5
SP
23423 * Rules (bench): Remove eval.
23424
abe7f530
SP
234252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23426 Roland McGrath <roland@hack.frob.com>
23427 Ondrej Bilka <neleai@seznam.cz>
23428
23429 [BZ #15346]
23430 * time/getdate.c: Include ctype.h and alloca.h.
23431 (__getdate_r): Trim leading and trailing spaces of input.
23432 * time/tst-getdate.c (tests): Add tests with leading and
23433 trailing spaces.
23434
61c23e62
RM
234352013-04-08 Roland McGrath <roland@hack.frob.com>
23436
23437 [BZ #14280]
23438 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23439 when computing value.
23440
7208a313
CD
234412013-04-06 Carlos O'Donell <carlos@redhat.com>
23442
085b2d41
CD
23443 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23444 Use testrun.sh to run libm tests.
23445
7208a313
CD
23446 [BZ #15309]
23447 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23448
872c0acd
MM
234492013-04-06 Marko Myllynen <myllynen@redhat.com>
23450
23451 [BZ #15264]
23452 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23453
26510bdd
CD
234542013-04-06 Carlos O'Donell <carlos@redhat.com>
23455
23456 * Makefile.in (regen-ulps): New target.
23457 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23458 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23459 [ifneq (no,$(PERL)] (regen-ulps): New target.
23460 [ifeq (no,$(PERL)] (regen-ulps): New target.
23461 * math/libm-test.inc (ulps_file_name): Define.
23462 (output_dir): New variable.
23463 (options): Add "output-dir" option.
23464 (parse_opt): Handle 'o' case.
23465 (main): If output_dir is non-NULL use it as a prefix
23466 otherwise use "".
23467 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23468
a01f19c8
CD
234692013-04-06 Carlos O'Donell <carlos@redhat.com>
23470
23471 [BZ #10060, #10062]
23472 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23473 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23474 fail configure if __sync_val_compare_and_swap is not inlined.
23475 * sysdeps/i386/configure: Regenerate.
23476 * configure.in: Build for i686 when configured for i386.
23477 * configure: Regenerate.
23478 * README: Remove i386 reference.
23479
b7a329a5
CD
234802013-04-06 Carlos O'Donell <carlos@redhat.com>
23481
23482 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23483 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23484
bf0f50df
TS
234852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23486
ee091edf
TS
23487 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23488 (lmsnanval): New variables.
23489 (F): Add conversion tests.
23490 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23491 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23492
a8b792d6
TS
23493 * stdio-common/tstdiomisc.c (F): Properly collect individual
23494 tests' results.
23495
a1cbf437
TS
23496 [BZ #14686, #15336]
23497 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23498 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23499 Instead, use input NaN values or generate a qNaN by arithmetic
23500 operation. Also fix bugs to comply with the standard.
23501 * math/libm-test.inc (remainder_test): Add more tests.
23502
8b43a0c9
TS
23503 [BZ #15335, #15342]
23504 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23506 input NaN values or generate a qNaN by arithmetic operation.
23507
d91da4ce
TS
23508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23509 unreachable code.
23510
bf0f50df
TS
23511 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23512 definitions.
23513
05e166c8
JM
235142013-04-03 Joseph Myers <joseph@codesourcery.com>
23515
23516 [BZ #14478]
23517 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23518 underflowed result.
23519 * math/s_cexpf.c (__cexpf): Likewise.
23520 * math/s_cexpl.c (__cexpl): Likewise.
23521 * math/libm-test.inc (cexp_test): Add more tests.
23522
1cef1b19
AS
235232013-04-03 Andreas Schwab <schwab@suse.de>
23524
23525 [BZ #15330]
23526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23527 order arrays from heap if bigger than alloca cutoff.
23528
74d87055
TS
235292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23530
23531 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23532 (SNAN_TESTS_double): Refer to GCC PR56831.
23533 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23534 GCC PR56828.
23535
d755bba4
SP
235362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23537
90d5d5bb
SP
23538 * Rules (bench): Move bench.out after the run is complete.
23539
73e0cd5d
SP
23540 * Rules (bench): Echo currently running benchmark.
23541
64aabd4b
SP
23542 * benchtests/Makefile (bench): Add atan and slowatan.
23543 * benchtests/atan-inputs: New file.
23544 * benchtests/slowatan-inputs: New file.
23545 * benchtests/slowatan.c: New file.
23546
c871eccd
SP
23547 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23549 its value.
23550
d755bba4
SP
23551 [BZ #15305]
23552 * sysdeps/unix/sysv/linux/kernel-features.h
23553 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23554 __ASSUME_XFS_RESTRICTED_CHOWN.
23555 * sysdeps/unix/sysv/linux/pathconf.c
23556 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23557 Save and restore errno.
23558
52ce4860
JM
235592013-04-02 Joseph Myers <joseph@codesourcery.com>
23560
23561 [BZ #15327]
23562 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23563 arguments using __kernel_casinh.
23564 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23565 arguments using __kernel_casinhf.
23566 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23567 arguments using __kernel_casinhl.
23568 * math/libm-test.inc (cacosh_test): Add more tests.
23569 * sysdeps/i386/fpu/libm-test-ulps: Update.
23570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23571
81f311c2
SP
235722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23573
e7906a47
SP
23574 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23576
92e3664b
SP
23577 * bench/Makefile (bench): Add sin and slowsin.
23578 * benchtests/sin-inputs: New file.
23579 * benchtests/slowsin-inputs: New file.
23580 * benchtests/slowsin.c: New file.
23581
81f311c2
SP
23582 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23583 (bench): Add slowexp and slowpow.
23584 (exp-ITER): Increase iterations.
23585 (pow-ITER): Likewise.
23586 * benchtests/exp-inputs: Change input.
23587 * benchtests/pow-inputs: Likewise.
23588 * benchtests/slowexp-inputs: New file.
23589 * benchtests/slowexp.c: New file.
23590 * benchtests/slowpow-inputs: New file.
23591 * benchtests/slowpow.c: New file.
23592
ab0f1aa9
AZ
235932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23594
23595 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23596 instructions.
23597 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23599 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23600 * benchtests/Makefile: Add rint benchtest.
23601 * benchtests/rint-inputs: Input for rint benchtest.
23602
57267616
TS
236032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23604
23605 * Versions.def (libm): Add GLIBC_2.18.
23606 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23607 hidden libm prototypes.
23608 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23609 * math/Makefile (libm-calls): Add s_issignaling.
23610 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23611 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23612 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23613 declaration.
23614 * math/math.h [__USE_GNU] (issignaling): New macro.
23615 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23616 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23621 * manual/arith.texi (issignaling): New section.
23622 * manual/libm-err-tab.pl (@all_functions): Update comment.
23623 * math/gen-libm-test.pl (parse_args): Apply special handling for
23624 issignaling.
23625 * math/libm-test.inc (print_float, issignaling_test): New
23626 functions.
23627 (check_float_internal): Add issignaling checks.
23628 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23629 default definition.
23630 * sysdeps/powerpc/math-tests.h: New file.
23631 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23632 tests.
23633 * math/test-snan.c (TEST_FUNC): Likewise.
23634
6142896d
DM
236352013-03-30 David S. Miller <davem@davemloft.net>
23636
23637 * po/de.po: Update from translation team.
23638
ccc8cadf
JM
236392013-03-30 Joseph Myers <joseph@codesourcery.com>
23640
23641 [BZ #10357]
23642 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23643 imaginary part less than 1.0 and real part less than 0.5
23644 specially.
23645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23647 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23648 (cacos_test): Add more tests.
23649 (casin_test): Likewise.
23650 (casinh_test): Likewise.
23651 * sysdeps/i386/fpu/libm-test-ulps: Update.
23652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23653
0f6a8d4b
SP
236542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23655
0d1029de
SP
23656 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23657 ONE with its value.
23658
c2d94018
SP
23659 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23660 (__pow_mp): Replace ONE and MONE with their values.
23661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23662 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23664 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23665 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23667
27ec37f1
SP
23668 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23669
a64d7e0e
SP
23670 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23671 (__pow_mp): Replace ZERO and MZERO with their values.
23672 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23674 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23676 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23677 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23678 (__sqr): Likewise.
23679
d26dd3eb
SP
23680 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23681
0f6a8d4b
SP
23682 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23683
e57b0c61
RM
236842013-03-28 Roland McGrath <roland@hack.frob.com>
23685
23686 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23687 Declare with __attribute__ ((weak)).
23688 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23689 Call __call_tls_dtors only if it's not NULL.
23690
356b3480
RM
236912013-03-28 Roland McGrath <roland@hack.frob.com>
23692
288f7d79
RM
23693 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23694 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23695 magic __ehdr_start linker symbol if it's defined.
23696 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23697 them up here if it was already done.
23698
dc0a0263
RM
23699 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23700 (_dl_aux_init): Use const in cast when setting it.
23701 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23702 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23703 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23704
3d3436ae
RM
23705 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23706 Declare them here.
23707 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23708 * csu/libc-tls.c: Nor here.
23709 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23710
356b3480
RM
23711 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23712 (__libc_message): Never call vsyslog.
23713
b0f1246a
AM
237142013-03-28 Alan Modra <amodra@gmail.com>
23715
23716 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23717 Define as empty.
23718 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23719 Likewise.
23720
fbbe2b9a
AZ
237212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23722
23723 [BZ #15214]
23724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23725 underflow.
23726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23727
1728ab37
SP
237282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23729
7a86be6e
SP
23730 [BZ #15304]
23731 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23732 Don't add gid passed as argument.
23733
1728ab37
SP
23734 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23735
3a7182a1
JM
237362013-03-27 Joseph Myers <joseph@codesourcery.com>
23737
23738 [BZ #15307]
23739 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23740 imaginary part between 1.0 and 1.5 and real part less than 0.5
23741 specially.
23742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23744 * math/libm-test.inc (cacos_test): Add more tests.
23745 (casin_test): Likewise.
23746 (casinh_test): Likewise.
23747 * sysdeps/i386/fpu/libm-test-ulps: Update.
23748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23749
6f2e90e7
SP
237502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23751
5739f705
SP
23752 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23753 constants.
23754 (norm): Likewise.
23755 (denorm): Likewise.
23756 (__dbl_mp): Likewise.
23757 (add_magnitudes): Likewise.
23758 (sub_magnitudes): Likewise.
23759 (__add): Likewise.
23760 (__sub): Likewise.
23761 (__mul): Likewise.
23762 (__sqr): Likewise.
23763 (__inv): Likewise.
23764 (__dvd): Likewise.
23765
e375e83d
SP
23766 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23767 commented code.
23768 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23769 (__dubcos): Likewise.
23770 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23771 (__ieee754_acos): Likewise.
23772 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23773 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23774 (__exp1): Likewise.
23775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23777 (log1): Likewise.
23778 (my_log2): Likewise.
23779 (checkint): Likewise.
23780 * sysdeps/ieee754/dbl-64/e_remainder.c
23781 (__ieee754_remainder): Likewise.
23782 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23784 (bsloww): Likewise.
23785 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23786
6f2e90e7
SP
23787 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23789 MANTISSA_STORE_T to store computations on mantissa. Use
23790 macros for rounding and division.
23791 (denorm): Likewise.
23792 (__dbl_mp): Likewise.
23793 (add_magnitudes): Likewise.
23794 (sub_magnitudes): Likewise.
23795 (__mul): Likewise.
23796 (__sqr): Likewise.
23797 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23798 powers of two in terms of TWOPOW macro.
23799 (mp_no): Make type of mantissa as MANTISSA_T.
23800 [!RADIXI]: Define RADIXI.
23801 [!TWO52]: Define TWO52.
23802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23803
fce14d4e
AZ
238042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23805
23806 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23807 llroundl symbol when building for PPC32.
23808
9ad027fb
MW
238092013-03-24 Mark H Weaver <mhw@netris.org>
23810
23811 * manual/arith.texi (Normalization Functions): Fix prototypes for
23812 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23813
e42a38dd
AZ
238142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23815
23816 [BZ #13889]
23817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23818 high value to check if expl overflow.
23819 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23820 to check for underflow and overflow.
23821 * math/libm-test.inc: Add exp test.
23822
2e0fb521
DL
238232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23824
23825 [BZ #11120]
23826 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23827 with NOT_IN_libc.
23828
b5784d95
AZ
238292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23830
23831 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23832 symbol.
23833
5aa4a1a1
TS
238342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23835
bdef0be7
TS
23836 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23837 wrap blocks consisting of several statements.
23838
5aa4a1a1
TS
23839 * sysdeps/generic/math-tests.h: New file.
23840 * sysdeps/i386/fpu/math-tests.h: Likewise.
23841 * math/test-snan.c: Include it.
23842 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23843
98c48fe5
JM
238442013-03-21 Joseph Myers <joseph@codesourcery.com>
23845
23846 [BZ #15285]
23847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23848 (__ieee754_j0l): Do not improve calculations using cos of twice
23849 input for inputs above LDBL_MAX / 2.0L.
23850 (__ieee754_y0l): Likewise.
23851 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23852 (__ieee754_j1l): Do not improve calculations using cos of twice
23853 input for inputs above LDBL_MAX / 2.0L.
23854 (__ieee754_y1l): Likewise.
23855 * math/libm-test.inc (j0_test): Add another test.
23856 (j1_test): Likewise.
23857 (y0_test): Likewise.
23858 (y1_test): Likewise.
23859 * sysdeps/i386/fpu/libm-test-ulps: Update.
23860
3775a8bc
SP
238612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23862
23863 * Rules ($(objpfx)bench-%.c): Include code from a C source
23864 file.
23865
0a1b2ae6
JM
238662013-03-21 Joseph Myers <joseph@codesourcery.com>
23867
23868 [BZ #15287]
23869 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23870 imaginary part 1.0 and real part less than 0.5 specially.
23871 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23872 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23873 * math/libm-test.inc (cacos_test): Add more tests.
23874 (casin_test): Likewise.
23875 (casinh_test): Likewise.
23876 * sysdeps/i386/fpu/libm-test-ulps: Update.
23877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23878
b33d4ce4
SP
238792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23880
23881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23882 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23883
bef0b507
JM
238842013-03-20 Joseph Myers <joseph@codesourcery.com>
23885
23886 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23887 * config.make.in (config-cflags-sse4): Remove variable.
23888 (config-cflags-avx): Likewise.
23889 (config-cflags-sse2avx): Likewise.
23890 (config-cflags-novzeroupper): Likewise.
23891 (config-asflags-i686): Likewise.
23892 (have-mfma4): Likewise.
23893 (have-as-vis3): Likewise.
23894 (MIG): Likewise.
23895 * configure.in (MIG): Do not AC_SUBST.
23896 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23897 (libc_cv_cc_sse4): Do not AC_SUBST.
23898 (libc_cv_cc_avx): Likewise.
23899 (libc_cv_cc_sse2avx): Likewise.
23900 (libc_cv_cc_novzeroupper): Likewise.
23901 (libc_cv_cc_fma4): Likewise.
23902 (libc_cv_as_i686): Likewise.
23903 (libc_cv_sparc_as_vis3): Likewise.
23904 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23905 LIBC_CONFIG_VAR.
23906 (config-asflags-i686): Likewise.
23907 (config-cflags-avx): Likewise.
23908 (config-cflags-sse2avx): Likewise.
23909 (have-mfma4): Likewise.
23910 (config-cflags-novzeroupper): Likewise.
23911 * sysdeps/mach/configure.in (MIG): Likewise.
23912 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23913 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23914 LIBC_CONFIG_VAR.
23915 (config-cflags-avx): Likewise.
23916 (config-cflags-sse2avx): Likewise.
23917 (have-mfma4): Likewise.
23918 (config-cflags-novzeroupper): Likewise.
23919 * configure: Regenerated.
23920 * sysdeps/i386/configure: Likewise.
23921 * sysdeps/mach/configure: Likewise.
23922 * sysdeps/sparc/configure: Likewise.
23923 * sysdeps/x86_64/configure: Likewise.
23924
912cc4b3
RM
239252013-03-20 Roland McGrath <roland@hack.frob.com>
23926
23927 [BZ #14812]
23928 * locale/programs/localedef.c (options): Put N_ translation marker
23929 on argument names, not just descriptions.
23930
04eed2b0
MS
239312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23932
23933 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23934
a065ceff
OB
239352013-03-20 Ondřej Bílka <neleai@seznam.cz>
23936
9bb2a810 23937 [BZ #14176]
a065ceff
OB
23938 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23939
a600e5ce
RM
239402013-03-19 Roland McGrath <roland@hack.frob.com>
23941
23942 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23943 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23944 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23945 [!BEFORE_ABORT] (before_abort): New function.
23946 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23947 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23948 (writev_for_fatal): New function.
23949 (WRITEV_FOR_FATAL): New macro; call that.
23950 (backtrace_and_maps): New function.
23951 (BEFORE_ABORT): New macro; call that.
23952 (struct str_list): Type removed.
23953 (__libc_message, __libc_fatal): Functions removed.
23954 Include <sysdeps/posix/libc_fatal.c> instead.
23955
6b18bea6
JM
239562013-03-19 Joseph Myers <joseph@codesourcery.com>
23957
23958 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23959 constants.
23960 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23961 double constants.
23962
aaa8cb4b
AS
239632013-03-19 Andreas Schwab <schwab@suse.de>
23964
44673770
AS
23965 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23966 * sysdeps/gnu/configure: Regenerate.
23967
aaa8cb4b
AS
23968 * configure.in: Substitute libc_cv_rtlddir.
23969 * configure: Regenerate.
23970 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23971 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23972 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23973 * elf/Makefile (install-others, CFLAGS-interp.c)
23974 (ldso_install, common-ldd-rewrite): Likewise.
23975 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23976 $(inst_slibdir)/$(rtld-installed-name).
23977 * scripts/rellns-sh: Add -p option.
23978 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23979 for source.
23980
d3cfc668
SP
239812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23982
23983 * manual/nptl.texi: Renamed to ...
23984 * manual/threads.texi: ... this.
23985 * manual/Makefile (chapters): Update.
23986
0e2b9cdd
RM
239872013-03-18 Roland McGrath <roland@hack.frob.com>
23988
23989 [BZ #14812]
23990 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23991 on argument names, not just descriptions.
0e2b9cdd
RM
23992 * malloc/memusagestat.c (options): Likewise.
23993 * nss/getent.c (options): Likewise.
63270c24
RM
23994
239952013-03-18 Benno Schulenberg <bensberg@justemail.net>
23996
23997 [BZ #14812]
23998 * iconv/iconv_prog.c (options): Put N_ translation marker
23999 on argument names, not just descriptions.
24000 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24001
b2e1393c
OB
240022013-03-18 Ondrej Bilka <neleai@seznam.cz>
24003
24004 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24005 implementation which is faster on all x86_64 architectures.
24006 Tested on AMD, Intel Nehalem, SNB, IVB.
24007 * sysdeps/x86_64/strnlen.S: Likewise.
24008
24009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24010 Remove all multiarch strlen and strnlen versions.
24011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24012 Remove strlen and strnlen related parts.
24013
24014 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24015 Inline strlen part.
24016 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24017
24018 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24019 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24020 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24021 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24022 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24023 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24024
ec4ff04d
CD
240252013-03-17 Carlos O'Donell <carlos@redhat.com>
24026
24027 * manual/memory.texi (Malloc Tunable Parameters):
24028 Sort parameters alphabetically. Add comments for missing entries.
24029
cd18e90a
DM
240302013-03-17 David S. Miller <davem@davemloft.net>
24031
24032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24033
2a185d32
JM
240342013-03-16 Joseph Myers <joseph@codesourcery.com>
24035
d2f9799e
JM
24036 [BZ #15283]
24037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24038 for arguments at most half maximum finite value.
24039 * math/libm-test.inc (j0_test): Add more tests.
24040 (j1_test): Likewise.
24041 (y0_test): Likewise.
24042 (y1_test): Likewise.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045
2a185d32
JM
24046 [BZ #14155]
24047 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24048 1 / x and functions P and Q for arguments above 0x1p256L.
24049 (__ieee754_y0l): Likewise.
24050 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24051 (__ieee754_y1l): Likewise.
24052 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24053 (j1_test): Likewise.
24054 (y0_test): Likewise.
24055 (y1_test): Likewise.
24056
6cbec759
TS
240572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24058
24059 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24060 variable.
24061
bc16e260
RM
240622013-03-15 Roland McGrath <roland@hack.frob.com>
24063
aefc9b8c
RM
24064 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24065 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24066 zero since it's initialized to EXEC_PAGESIZE.
24067
bc16e260
RM
24068 * sysdeps/unix/sysv/linux/ldsodefs.h
24069 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24070 * sysdeps/generic/ldsodefs.h: ... here.
24071
a57da955
TS
240722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24073
af00a34d
TS
24074 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24075
495ded2c
TS
24076 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24077 math/test-snan.c.
24078 * math/test-snan.c: Renamed from
24079 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24080 * math/Makefile (tests): Add test-snan.
24081 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24082 test-powerpc-snan.
24083
777b0332
TS
24084 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24085 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24086 functions.
24087 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24088 __builtin_nan family of functions.
24089 * math/libm-test.inc (initialize): Initialize qnan_value with
24090 __builtin_nan family of functions.
24091 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24092 Remove variables.
24093 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24094 Remove functions.
24095 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24096 storage class. Initialize qNaN_var and sNaN_var with
24097 __builtin_nan and __builtin_nans families of functions,
24098 respectively.
24099
64d063b8
TS
24100 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24101 (sqrt_test): Remove duplicate test with qNaN input.
24102 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24103 (round_test, signbit_test, significand_test): Note missing +/-Inf
24104 as well as qNaN tests.
24105
67e971f1
TS
24106 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24107 qNaN_var. Fix a few strings, too.
24108 * math/libm-test.inc (nan_value): Rename to qnan_value.
24109 * math/gen-libm-test.pl (%beautify): Adjust to that.
24110 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24111 * math/test-misc.c (main): Likewise.
24112 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24113 to __qnan_bytes, and __qnan_union, respectively.
24114 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24115 Likewise.
24116 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24117 and lqnanval, respectively.
24118 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24119 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24121 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24122
64487e12
TS
24123 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24124 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24125 doubles.
24126
e015e27b
TS
24127 * math/test-misc.c (main): Fix copy'n'pastos.
24128 * misc/tst-efgcvt.c (special): Likewise.
24129
a57da955
TS
24130 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24131 Remove declarations.
24132
1e380345
SP
241332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24134
24135 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24136 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24137 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24138 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24139
ef26eece
AZ
241402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24141
24142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24143 macro to return vdso values correctly in IFUNC implementations.
24144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24145 Optimization by using IFUNC.
24146
8cfdb7e0
SP
241472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24148 Richard Henderson <rth@redhat.com>
24149 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24150
24151 * Makefile.in (bench): New target.
24152 * NEWS: Mention the benchmark framework.
24153 * Rules (bench): Likewise.
24154 (binaries-bench): Generate binaries for functions to
24155 benchmark.
24156 * benchtests/Makefile: New makefile for benchmark tests.
24157 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24158 programs.
24159 * benchtests/exp-inputs: New input file for EXP function.
24160 * benchtests/pow-inputs: New input file for POW function.
24161 * scripts/bench.pl: New script to generate source files for
24162 benchmark programs.
24163
bcda9880
SP
241642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24165
d22ca8cd
SP
24166 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24168 computations on mantissa. Use macros for rounding and
24169 division.
24170 (denorm): Likewise.
24171 (__dbl_mp): Likewise.
24172 (add_magnitudes): Likewise.
24173 (sub_magnitudes): Likewise.
24174 (__mul): Likewise.
24175 (__sqr): Likewise.
24176 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24177 powers of two in terms of TWOPOW macro.
24178 (mp_no): Make type of mantissa as MANTISSA_T.
24179 [!RADIXI]: Define RADIXI.
24180 [!TWO52]: Define TWO52.
24181 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24182
bcda9880
SP
24183 * manual/nptl.texi (cindex): Modify threads to pthreads.
24184
06d5adfb
JM
241852013-03-15 Joseph Myers <joseph@codesourcery.com>
24186
24187 * sysdeps/x86_64/preconfigure: Regenerated.
24188
41c7328e
JM
241892013-03-14 Joseph Myers <joseph@codesourcery.com>
24190
24191 [BZ #14155]
24192 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24193 0x1p28 and above.
24194 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24195 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24196 0x1p28 and above.
24197 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24198 * math/libm-test.inc (j0_test): Do not allow one spurious
24199 underflow exception.
24200 (y1_test): Likewise.
24201
e25cfa60
SP
242022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24203
0409959c
SP
24204 * manual/Makefile (chapters): Add nptl.
24205 * manual/debug.texi (Debugging Support): Add link to Threads
24206 chapter.
24207 * manual/nptl.texi: New file.
24208
e25cfa60
SP
24209 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24210
58a1335e
PB
242112013-03-14 Petr Baudis <pasky@ucw.cz>
24212
24213 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24214 for non-NULL pointer before the memory validity test. Pointed
24215 out by Holger Brunck <holger.brunck@keymile.com>.
24216
9dc7c64f
AS
242172013-03-13 Andreas Schwab <schwab@suse.de>
24218
24219 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24220 instead of .os.
24221
54206aa6
JM
242222013-03-13 Joseph Myers <joseph@codesourcery.com>
24223
24224 * timezone/zic.c: Update from tzcode 2013b.
24225
e98cdb38
CD
242262013-03-12 Carlos O'Donell <carlos@redhat.com>
24227
24228 * manual/install.texi (Configuring and compiling):
24229 Mention i686 and i586.
24230 * INSTALL: Regenerate.
24231
9967e003
RM
242322013-03-12 Roland McGrath <roland@hack.frob.com>
24233
24234 * sysdeps/init_array/elf-init.c: New file.
24235 * csu/elf-init.c
24236 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24237 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24238
24239 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24240 __gmon_start__ as global, but as static with a .preinit_array pointer.
24241 * sysdeps/init_array/gmon-start.c: New file. Use that.
24242 * sysdeps/init_array/crti.S: New file, empty except for comments.
24243 * sysdeps/init_array/crtn.S: Likewise.
24244
e6b5a293 242452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24246
24247 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24248 definining bcopy.
80f844c9
OB
24249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24250 Remove Prefer_SSE_for_memop.
24251 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24252 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24253 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24255 memset-x86-64.
80f844c9 24256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24257 Remove bzero, memset ifunc support.
80f844c9
OB
24258 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24259 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24260 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24262
fb6b0fcb
AS
242632013-03-11 Andreas Schwab <schwab@suse.de>
24264
24265 [BZ #15234]
24266 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24267 by SHLIB_COMPAT.
24268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24269 (GLIBC_2.16): Remove pthread_atfork.
24270
3e6bd4b1
PP
242712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24272
24273 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24274 (ptestcases.h): Likewise.
24275
222d7f00
RM
242762013-03-08 Roland McGrath <roland@hack.frob.com>
24277
24278 * Makeconfig ($(common-objpfx)config.status): Depend on
24279 sysdeps/*/preconfigure{,.in} too.
24280
1ba4f030
JM
242812013-03-08 Joseph Myers <joseph@codesourcery.com>
24282
a222d91a
JM
24283 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24284 (__free_hook): Use void * instead of __malloc_ptr_t.
24285 (__malloc_hook): Likewise.
24286 (__realloc_hook): Likewise.
24287 (__memalign_hook): Likewise.
24288 (__after_morecore_hook): Likewise.
24289 * malloc/arena.c (save_malloc_hook): Likewise.
24290 (save_free_hook): Likewise.
24291 * malloc/hooks.c (malloc_hook_ini): Likewise.
24292 (realloc_hook_ini): Likewise.
24293 (memalign_hook_ini): Likewise.
24294 * malloc/malloc.c (malloc_hook_ini): Likewise.
24295 (realloc_hook_ini): Likewise.
24296 (memalign_hook_ini): Likewise.
24297 (__free_hook): Likewise.
24298 (__malloc_hook): Likewise.
24299 (__realloc_hook): Likewise.
24300 (__memalign_hook): Likewise.
24301 (__libc_malloc): Likewise.
24302 (__libc_free): Likewise.
24303 (__libc_realloc): Likewise.
24304 (__libc_memalign): Likewise.
24305 (__libc_valloc): Likewise.
24306 (__libc_pvalloc): Likewise.
24307 (__libc_calloc): Likewise.
24308 (__posix_memalign): Likewise.
24309 * malloc/morecore.c (__sbrk): Likewise.
24310 (__default_morecore): Likewise.
24311
5cc45e10
JM
24312 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24313
dd54b864
JM
24314 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24315 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24316 __malloc_ptrdiff_t.
24317
1ba4f030
JM
24318 * malloc/malloc.h (__malloc_size_t): Remove macro.
24319 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24320 __malloc_size_t.
24321 (old_memalign_hook): Likewise.
24322 (old_realloc_hook): Likewise.
24323 (struct hdr): Likewise.
24324 (flood): Likewise.
24325 (mallochook): Likewise.
24326 (memalignhook): Likewise.
24327 (reallochook): Likewise.
24328 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24329 (tr_old_realloc_hook): Likewise.
24330 (tr_old_memalign_hook): Likewise.
24331 (tr_mallochook): Likewise.
24332 (tr_reallochook): Likewise.
24333 (tr_memalignhook): Likewise.
24334
edf66e57
AZ
243352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24336
24337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24338 default_ldbl_pack and using as default implementation.
24339 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24340 implementation.
24341 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24342 redundant definition.
24343 (ldbl_insert_mantissa): Likewise.
24344 (ldbl_canonicalize): Likewise.
24345 (ldbl_nearbyint): Likewise.
24346 (ldbl_pack): Rename to ldbl_pack_ppc.
24347 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24348 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24349 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24350
6d9145d8
SP
243512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24352
24353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24354 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24355 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24356 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24358 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24359 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24360 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24361
4dd4e157
AJ
243622013-03-07 Andreas Jaeger <aj@suse.de>
24363
24364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24365 bits/mman-linux.h.
24366
adbb8027
SP
243672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24368
ce544b5b
SP
24369 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24370 Include mpa.h and declare __MPEXP.
24371 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24372 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24373 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24376 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24378
4cc149fd
SP
24379 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24380 (__slowpow): Use long double EXPL and LOGL functions to
24381 compute POW.
24382 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24383 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24384 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24386 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24387 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24388
e6ebd4a7
SP
24389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24390 intermediate variable to calculate exponent.
24391 (__sqr): Likewise.
24392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24393 Likewise.
24394 (__sqr): Likewise.
24395
82a9811d
SP
24396 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24397 [!NO__SQR]: Define __sqr.
24398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24399 and NO__SQR. Remove all code except __mul and __sqr. Include
24400 sysdeps/ieee754/dbl-64/mpa.c.
24401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24402
adbb8027
SP
24403 [BZ #12723]
24404 * posix/Makefile (tests): Add tst-pathconf.
24405 * posix/tst-pathconf.c: New test case.
24406 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24407 _PC_PIPE_BUF.
24408 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24409
39120df9
PF
244102013-03-06 Patsy Franklin <pfrankli@redhat.com>
24411
24412 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24413
67525cb8
AJ
244142013-03-06 Andreas Jaeger <aj@suse.de>
24415
664a9ce4
AJ
24416 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24417 definition via __MAP_ANONYMOUS.
24418
8e39047d
AJ
24419 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24420 it's not part of Linux headers.
24421
67525cb8
AJ
24422 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24423 (MAP_HUGE_MASK): Define.
24424
24425 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24426 Define.
24427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24429 Define.
24430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24431 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24432 Define.
24433 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24434 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24435 Define.
24436 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24437
24438 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24439 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24440 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24441 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24442 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24443 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24444
24445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24446 Handle f2fs.
24447
24448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24449 Handle f2fs and efivarfs.
24450
24451 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24452 f2fs.
24453
24454 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24455 (EFIVARFS_MAGIC): Add.
24456 (F2FS_LINK_MAX): Add.
24457
e1b42695
PP
244582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24459
24460 * stdio-common/vfprintf.c: Replace __builtin_expect with
24461 __glibc_unlikely.
24462
2d67d91a
JM
244632013-03-06 Joseph Myers <joseph@codesourcery.com>
24464
24465 [BZ #13550]
24466 * sysdeps/generic/bp-sym.h: Remove file.
24467 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24468 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24469 <bp-sym.h> and <bp-asm.h>.
24470 (__longjmp): Don't use BP_SYM.
24471 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24472 and <bp-asm.h>.
24473 (memcpy): Don't use BP_SYM.
24474 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24475 <bp-sym.h> and <bp-asm.h>.
24476 (memcpy): Don't use BP_SYM.
24477 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24478 <bp-asm.h>.
24479 (memcpy): Don't use BP_SYM.
24480 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24481 <bp-asm.h>.
24482 (memset): Don't use BP_SYM.
24483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24485 (__bzero): Don't use BP_SYM.
24486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24489 <bp-sym.h> and <bp-asm.h>.
24490 (memcmp): Don't use BP_SYM. Remove comment about bounded
24491 pointers.
24492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24493 <bp-sym.h> and <bp-asm.h>.
24494 (memcpy): Don't use BP_SYM.
24495 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24496 <bp-sym.h> and <bp-asm.h>.
24497 (memset): Don't use BP_SYM.
24498 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24499 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24500 (__bzero): Don't use BP_SYM.
24501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24504 <bp-sym.h> and <bp-asm.h>.
24505 (strncmp): Don't use BP_SYM. Remove comment about bounded
24506 pointers.
24507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24508 <bp-sym.h> and <bp-asm.h>.
24509 (memcpy): Don't use BP_SYM.
24510 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24511 <bp-sym.h> and <bp-asm.h>.
24512 (memset): Don't use BP_SYM.
24513 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24514 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24515 (__bzero): Don't use BP_SYM.
24516 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24517 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24519 <bp-sym.h> and <bp-asm.h>.
24520 (__memchr): Don't use BP_SYM.
24521 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24522 <bp-sym.h> and <bp-asm.h>.
24523 (memcmp): Don't use BP_SYM. Remove comment about bounded
24524 pointers.
24525 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24526 <bp-sym.h> and <bp-asm.h>.
24527 (memcpy): Don't use BP_SYM.
24528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24529 <bp-sym.h> and <bp-asm.h>.
24530 (__mempcpy): Don't use BP_SYM.
24531 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24532 <bp-sym.h> and <bp-asm.h>.
24533 (__memrchr): Don't use BP_SYM.
24534 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24535 <bp-sym.h> and <bp-asm.h>.
24536 (memset): Don't use BP_SYM.
24537 (__bzero): Likewise.
24538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24539 <bp-sym.h> and <bp-asm.h>.
24540 (__rawmemchr): Don't use BP_SYM.
24541 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24542 <bp-sym.h> and <bp-asm.h>.
24543 (__STRCMP): Don't use BP_SYM.
24544 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24545 <bp-sym.h> and <bp-asm.h>.
24546 (strchr): Don't use BP_SYM.
24547 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24548 <bp-sym.h> and <bp-asm.h>.
24549 (__strchrnul): Don't use BP_SYM.
24550 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24551 <bp-sym.h> and <bp-asm.h>.
24552 (strlen): Don't use BP_SYM.
24553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24554 <bp-sym.h> and <bp-asm.h>.
24555 (strncmp): Don't use BP_SYM. Remove comment about bounded
24556 pointers.
24557 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24558 <bp-sym.h> and <bp-asm.h>.
24559 (__strnlen): Don't use BP_SYM.
24560 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24561 <bp-sym.h> and <bp-asm.h>.
24562 (__GI__setjmp): Don't use BP_SYM.
24563 (_setjmp): Likewise.
24564 (__sigsetjmp): Likewise.
24565 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24566 (L(start_addresses)): Don't use BP_SYM.
24567 (_start): Likewise.
24568 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24569 <bp-asm.h>.
24570 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24571 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24572 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24573 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24574 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24575 <bp-asm.h>.
24576 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24577 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24578 about bounded pointers.
24579 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24580 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24581 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24582 <bp-asm.h>.
24583 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24584 about bounded pointers. Remove GKM FIXME comments.
24585 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24586 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24587 <bp-asm.h>.
24588 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24589 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24590 Remove GKM FIXME comments.
24591 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24592 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24593 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24594 <bp-asm.h>.
24595 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24596 about bounded pointers. Remove GKM FIXME comment.
24597 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24598 and <bp-asm.h>.
24599 (strncmp): Don't use BP_SYM. Remove comment about bounded
24600 pointers.
24601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24602 <bp-sym.h> and <bp-asm.h>.
24603 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24605 <bp-sym.h> and <bp-asm.h>.
24606 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24607 comment.
24608
cdcf361f
PP
246092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24610
24611 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24612 call free(NULL).
24613
3c4a2b15
DM
246142013-03-05 David S. Miller <davem@davemloft.net>
24615
24616 * po/es.po: Update from translation team.
24617
cdcf361f 246182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24619
24620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24621 <bits/mman-linux.h>.
24622 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24623 is fine.
24624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24625 <bits/mman-linux.h> to end of file.
24626 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24627 is fine.
24628 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24629 <bits/mman-linux.h> to end of file.
24630 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24631 is fine.
24632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24633 <bits/mman-linux.h> to end of file.
24634
24635 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24636 (MCL_CURRENT, MCL_FUTURE): Define here.
24637
5f67c04f
AK
246382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24639
8a4473cc 24640 [BZ #15232]
5f67c04f
AK
24641 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24642 attribute_hidden.
24643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24644
c3e94a95
AK
246452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24646
24647 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24648 fourth parameter needed for rt_sigprocmask syscall.
24649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24650 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24651 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24652 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24653 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24654 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24655
cfb6382a
JM
246562013-03-04 Joseph Myers <joseph@codesourcery.com>
24657
24658 [BZ #13550]
24659 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24660 comment about bounded pointers.
24661 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24662 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24663
539d8e01
AJ
246642013-03-04 Andreas Jaeger <aj@suse.de>
24665
24666 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24667 common definitions.
24668
24669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24670 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24671 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24675
2e167a70 246762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24677
24678 [BZ #15055]
24679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24680 __ieee754_sqrl instead of __sqrl.
24681
68508633
JM
246822013-03-01 Joseph Myers <joseph@codesourcery.com>
24683
24684 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24685 * sysdeps/powerpc/fpu_control.h: ... here.
24686 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24687 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24688 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24689 * sysdeps/powerpc/bits/mathinline.h: ... here.
24690
7775448e
RM
246912013-03-01 Roland McGrath <roland@hack.frob.com>
24692
24693 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24694 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24695 to just [NEED_DL_SYSINFO_DSO].
24696 * elf/dl-support.c: Likewise.
24697 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24698 * elf/rtld.c (dl_main): Likewise.
24699 * elf/setup-vdso.h (setup_vdso): Likewise.
24700 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24701 * sysdeps/unix/sysv/linux/dl-sysdep.c
24702 (_dl_discover_osversion): Likewise.
24703
4e9b5995
CD
247042013-03-01 Carlos O'Donell <carlos@redhat.com>
24705
24706 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24707 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24708
e23872c8
SP
247092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24710
e5c74c63
SP
24711 * NEWS: Mention libm performance improvements and non-x86 PI
24712 futex support.
24713
e23872c8
SP
24714 * csu/libc-start.c (__pthread_initialize_minimal): Change
24715 function arguments.
24716 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24717
b5510883
JM
247182013-02-28 Joseph Myers <joseph@codesourcery.com>
24719
24720 [BZ #13550]
24721 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24722 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24723 <bp-sym.h> and <bp-asm.h>.
24724 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24726 and <bp-asm.h>.
24727 (memcpy): Don't use BP_SYM.
24728 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24729 <bp-asm.h>.
24730 (__mpn_add_n): Don't use BP_SYM.
24731 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24732 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24733 and <bp-asm.h>.
24734 (__mpn_addmul_1): Don't use BP_SYM.
24735 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24736 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24737 <bp-sym.h>.
24738 (_setjmp): Don't use BP_SYM.
24739 (__novmx_setjmp): Likewise.
24740 (__GI__setjmp): Likewise.
24741 (__vmx_setjmp): Likewise.
24742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24743 <bp-sym.h>.
24744 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24745 (__bzero): Don't use BP_SYM.
24746 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24747 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24748 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24749 <bp-sym.h> and <bp-asm.h>.
24750 (memcpy): Don't use BP_SYM.
24751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24752 <bp-sym.h> and <bp-asm.h>.
24753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24754 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24755 <bp-sym.h> and <bp-asm.h>.
24756 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24757 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24758 <bp-asm.h>.
24759 (__mpn_lshift): Don't use BP_SYM.
24760 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24761 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24762 <bp-asm.h>.
24763 (memset): Don't use BP_SYM.
24764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24766 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24767 <bp-asm.h>.
24768 (__mpn_mul_1): Don't use BP_SYM.
24769 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24771 <bp-sym.h> and <bp-asm.h>.
24772 (memcmp): Don't use BP_SYM.
24773 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24774 <bp-sym.h> and <bp-asm.h>.
24775 (memcpy): Don't use BP_SYM.
24776 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24777 <bp-sym.h> and <bp-asm.h>.
24778 (memset): Don't use BP_SYM.
24779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24780 <bp-sym.h> and <bp-asm.h>.
24781 (strncmp): Don't use BP_SYM.
24782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24783 <bp-sym.h> and <bp-asm.h>.
24784 (memcpy): Don't use BP_SYM.
24785 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24786 <bp-sym.h> and <bp-asm.h>.
24787 (memset): Don't use BP_SYM.
24788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24789 <bp-sym.h> and <bp-asm.h>.
24790 (__memchr): Don't use BP_SYM.
24791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24792 <bp-sym.h> and <bp-asm.h>.
24793 (memcmp): Don't use BP_SYM.
24794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24795 <bp-sym.h> and <bp-asm.h>.
24796 (memcpy): Don't use BP_SYM.
24797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24798 <bp-sym.h> and <bp-asm.h>.
24799 (__mempcpy): Don't use BP_SYM.
24800 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24801 <bp-sym.h> and <bp-asm.h>.
24802 (__memrchr): Don't use BP_SYM.
24803 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24804 <bp-sym.h> and <bp-asm.h>.
24805 (memset): Don't use BP_SYM.
24806 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24807 <bp-sym.h> and <bp-asm.h>.
24808 (__rawmemchr): Don't use BP_SYM.
24809 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24810 <bp-sym.h> and <bp-asm.h>.
24811 (__STRCMP): Don't use BP_SYM.
24812 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24813 <bp-sym.h> and <bp-asm.h>.
24814 (strchr): Don't use BP_SYM.
24815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24816 <bp-sym.h> and <bp-asm.h>.
24817 (__strchrnul): Don't use BP_SYM.
24818 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24819 <bp-sym.h> and <bp-asm.h>.
24820 (strlen): Don't use BP_SYM.
24821 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24822 <bp-sym.h> and <bp-asm.h>.
24823 (strncmp): Don't use BP_SYM.
24824 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24825 <bp-sym.h> and <bp-asm.h>.
24826 (__strnlen): Don't use BP_SYM.
24827 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24828 <bp-asm.h>.
24829 (__mpn_rshift): Don't use BP_SYM.
24830 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24831 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24832 <bp-sym.h> and <bp-asm.h>.
24833 (__sigsetjmp): Don't use BP_SYM.
24834 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24835 (L(start_addresses)): Don't use BP_SYM.
24836 (_start): Likewise.
24837 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24838 <bp-asm.h>.
24839 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24840 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24841 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24842 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24843 <bp-asm.h>.
24844 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24847 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24848 <bp-asm.h>.
24849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24850 comments.
24851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24852 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24853 <bp-asm.h>.
24854 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24855 FIXME comments.
24856 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24857 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24858 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24859 <bp-asm.h>.
24860 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24861 comment.
24862 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24863 and <bp-asm.h>.
24864 (strncmp): Don't use BP_SYM,
24865 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24866 <bp-asm.h>.
24867 (__mpn_sub_n): Don't use BP_SYM.
24868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24869 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24870 and <bp-asm.h>.
24871 (__mpn_submul_1): Don't use BP_SYM.
24872 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24874 <bp-sym.h> and <bp-asm.h>.
24875 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24877 <bp-sym.h> and <bp-asm.h>.
24878 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24879 comment.
24880
8d19fe64
SP
248812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24882
24883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24884 Use ZK to minimize writes to Z.
24885 (sub_magnitudes): Simplify code a bit.
24886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24887 Use ZK to minimize writes to Z.
24888 (sub_magnitudes): Simplify code a bit.
24889
85bd816a
RM
248902013-02-27 Roland McGrath <roland@hack.frob.com>
24891
24892 * csu/gmon-start.c: Add special exception to license text.
24893
b5977bf2
RH
248942013-02-27 Richard Henderson <rth@redhat.com>
24895
24896 * scripts/config.guess: Update from config.git.
24897 * scripts/config.sub: Likewise.
24898
11d6e2f2
SP
248992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24900
09c14ed2
SP
24901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24902
a688864e
SP
24903 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24904
6295157a
SP
24905 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24906
b8de2202
SP
24907 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24908
11d6e2f2
SP
24909 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24910
7e80ddb8
RM
249112013-02-26 Roland McGrath <roland@hack.frob.com>
24912
24913 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24914 [$(build-shared = yes].
7e80ddb8 24915
7da6d9ed
SP
249162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24917
45f05884
SP
24918 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24919 (__mul): Reduce iterations for calculating mantissa.
24920
2236d359
SP
24921 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24922 MPTWO.
24923 (__mpranred): Likewise.
24924
7da6d9ed
SP
24925 [BZ #15160]
24926 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24927 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24928
b7688c42
PE
249292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24930
24931 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24932 Define __attribute__.
24933
53a5c423
SP
249342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24935
24936 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24937 unused.
24938 * posix/regex_internal.h (__attribute): Remove.
24939 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24940 (re_string_context_at): Likewise.
24941 (bitset_not): Use __attribute__ and mark function as possibly
24942 unused.
24943 (bitset_merge): Likewise.
24944 (bitset_mask): Likewise.
24945 (re_string_char_size_at): Likewise.
24946 (re_string_wchar_at): Likewise.
24947 (re_string_elem_size_at): Likewise.
24948
60f5a8b5
SP
249492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24950
2a983a2e
SP
24951 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24952 code.
24953 (cc32): Likewise.
24954
e69804d1
SP
24955 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24956 (__acr): Likewise.
24957 (__cpy): Likewise.
24958 (norm): Likewise.
24959 (denorm): Likewise.
24960 (__dbl_mp): Likewise.
24961 (add_magnitudes): Likewise.
24962 (sub_magnitudes): Likewise.
24963 (__mul): Likewise.
24964 (__inv): Likewise.
24965
2f22a1e8
SP
24966 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24967 style.
24968
8930ddc7
SP
24969 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24970 style.
24971
dc60cb11
SP
24972 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24973 code.
24974
60f5a8b5
SP
24975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24976 up changes with default code.
24977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24978 Likewise.
24979
b4d1fd33
AM
249802013-02-24 Allan McRae <allan@archlinux.org>
24981
faf6f8bc
AM
24982 * manual/socket.texi (The Internet Namespace): Order menu items
24983 to match that in the file.
24984
b4d1fd33
AM
24985 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24986 node listing of the info page menu.
24987
2366713d
JM
249882013-02-21 Joseph Myers <joseph@codesourcery.com>
24989
24990 [BZ #13550]
24991 * sysdeps/i386/bp-asm.h: Remove file.
24992 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24993 (PARMS): Do not use macros from bp-asm.h.
24994 (S1): Likewise.
24995 (S2): Likewise.
24996 (SIZE): Likewise.
24997 (__mpn_add_n): Do not use BP_SYM
24998 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24999 "bp-asm.h".
25000 (PARMS): Do not use macros from bp-asm.h.
25001 (S1): Likewise.
25002 (SIZE): Likewise.
25003 (__mpn_addmul_1): Do not use BP_SYM
25004 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25005 "bp-asm.h".
25006 (PARMS): Do not use macros from bp-asm.h.
25007 (SIGMSK): Likewise.
25008 (_setjmp): Likewise. Do not use BP_SYM.
25009 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25010 "bp-asm.h".
25011 (PARMS): Do not use macros from bp-asm.h.
25012 (SIGMSK): Likewise.
25013 (setjmp): Likewise. Do not use BP_SYM.
25014 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25015 "bp-asm.h".
25016 (PARMS): Do not use macros from bp-asm.h.
25017 (__frexp): Do not use BP_SYM.
25018 (frexp): Likewise.
25019 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25020 "bp-asm.h".
25021 (PARMS): Do not use macros from bp-asm.h.
25022 (__frexpf): Do not use BP_SYM.
25023 (frexpf): Likewise.
25024 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25025 "bp-asm.h".
25026 (PARMS): Do not use macros from bp-asm.h.
25027 (__frexpl): Do not use BP_SYM.
25028 (frexpl): Likewise.
25029 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25030 "bp-asm.h".
25031 (PARMS): Do not use macros from bp-asm.h.
25032 (__remquo): Do not use BP_SYM.
25033 (remquo): Likewise.
25034 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25035 "bp-asm.h".
25036 (PARMS): Do not use macros from bp-asm.h.
25037 (__remquof): Do not use BP_SYM.
25038 (remquof): Likewise.
25039 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25040 "bp-asm.h".
25041 (PARMS): Do not use macros from bp-asm.h.
25042 (__remquol): Do not use BP_SYM.
25043 (remquol): Likewise.
25044 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25045 "bp-asm.h".
25046 (PARMS): Do not use macros from bp-asm.h.
25047 (DEST): Likewise.
25048 (SRC): Likewise.
25049 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25050 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25051 "bp-asm.h".
25052 (PARMS): Do not use macros from bp-asm.h.
25053 (strlen): Do not use BP_SYM.
25054 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25055 "bp-asm.h".
25056 (PARMS): Do not use macros from bp-asm.h.
25057 (S1): Likewise.
25058 (S2): Likewise.
25059 (SIZE): Likewise.
25060 (__mpn_add_n): Do not use BP_SYM.
25061 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25062 "bp-asm.h".
25063 (PARMS): Do not use macros from bp-asm.h.
25064 (S1): Likewise.
25065 (SIZE): Likewise.
25066 (__mpn_addmul_1): Do not use BP_SYM.
25067 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25068 weak_alias.
25069 (bzero): Likewise.
25070 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25071 "bp-asm.h".
25072 (PARMS): Do not use macros from bp-asm.h.
25073 (S): Likewise.
25074 (SIZE): Likewise.
25075 (__mpn_lshift): Do not use BP_SYM.
25076 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25077 "bp-asm.h".
25078 (PARMS): Do not use macros from bp-asm.h.
25079 (DEST): Likewise.
25080 (SRC): Likewise.
25081 (LEN): Likewise.
25082 (memcpy): Likewise. Do not use BP_SYM.
25083 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25084 libc_hidden_def and weak_alias.
25085 (mempcpy): Do not use BP_SYM in weak_alias.
25086 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25087 "bp-asm.h".
25088 (PARMS): Do not use macros from bp-asm.h.
25089 (DEST): Likewise.
25090 (LEN): Likewise.
25091 [!BZERO_P] (CHR): Likewise.
25092 (memset): Likewise. Do not use BP_SYM.
25093 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25094 "bp-asm.h".
25095 (PARMS): Do not use macros from bp-asm.h.
25096 (S1): Likewise.
25097 (SIZE): Likewise.
25098 (__mpn_mul_1): Do not use BP_SYM.
25099 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25100 "bp-asm.h".
25101 (PARMS): Do not use macros from bp-asm.h.
25102 (S): Likewise.
25103 (SIZE): Likewise.
25104 (__mpn_rshift): Do not use BP_SYM.
25105 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25106 "bp-asm.h".
25107 (PARMS): Do not use macros from bp-asm.h.
25108 (STR): Likewise.
25109 (CHR): Likewise.
25110 (strchr): Likewise. Do not use BP_SYM.
25111 (index): Do not use BP_SYM in weak_alias.
25112 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25113 "bp-asm.h".
25114 (PARMS): Do not use macros from bp-asm.h.
25115 (DEST): Likewise.
25116 (SRC): Likewise.
25117 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25118 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25119 "bp-asm.h".
25120 (PARMS): Do not use macros from bp-asm.h.
25121 (strlen): Do not use BP_SYM.
25122 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25123 "bp-asm.h".
25124 (PARMS): Do not use macros from bp-asm.h.
25125 (S1): Likewise.
25126 (S2): Likewise.
25127 (SIZE): Likewise.
25128 (__mpn_sub_n): Do not use BP_SYM.
25129 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25130 "bp-asm.h".
25131 (PARMS): Do not use macros from bp-asm.h.
25132 (S1): Likewise.
25133 (SIZE): Likewise.
25134 (__mpn_submul_1): Do not use BP_SYM.
25135 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25136 "bp-asm.h".
25137 (PARMS): Do not use macros from bp-asm.h.
25138 (S1): Likewise.
25139 (S2): Likewise.
25140 (SIZE): Likewise.
25141 (__mpn_add_n): Do not use BP_SYM.
25142 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25143 weak_alias.
25144 (bzero): Likewise.
25145 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25146 "bp-asm.h".
25147 (PARMS): Do not use macros from bp-asm.h.
25148 (BLK2): Likewise.
25149 (LEN): Likewise.
25150 (memcmp): Do not use BP_SYM.
25151 (bcmp): Do not use BP_SYM in weak_alias.
25152 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25153 "bp-asm.h".
25154 (PARMS): Do not use macros from bp-asm.h.
25155 (DEST): Likewise.
25156 (SRC): Likewise.
25157 (LEN): Likewise.
25158 (memcpy): Likewise. Do not use BP_SYM.
25159 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25160 "bp-asm.h".
25161 (PARMS): Do not use macros from bp-asm.h.
25162 (DEST): Likewise.
25163 (SRC): Likewise.
25164 (LEN): Likewise.
25165 (memmove): Likewise. Do not use BP_SYM.
25166 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25167 "bp-asm.h".
25168 (PARMS): Do not use macros from bp-asm.h.
25169 (DEST): Likewise.
25170 (SRC): Likewise.
25171 (LEN): Likewise.
25172 (__mempcpy): Likewise. Do not use BP_SYM.
25173 (mempcpy): Do not use BP_SYM in weak_alias.
25174 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25175 "bp-asm.h".
25176 (PARMS): Do not use macros from bp-asm.h.
25177 (DEST): Likewise.
25178 (LEN): Likewise.
25179 [!BZERO_P] (CHR): Likewise.
25180 (memset): Likewise. Do not use BP_SYM.
25181 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25182 "bp-asm.h".
25183 (PARMS): Do not use macros from bp-asm.h.
25184 (STR2): Likewise.
25185 (strcmp): Do not use BP_SYM.
25186 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25187 "bp-asm.h".
25188 (PARMS): Do not use macros from bp-asm.h.
25189 (STR): Likewise.
25190 (DELIM): Likewise.
25191 [USE_AS_STRTOK_R] (SAVE): Likewise.
25192 (FUNCTION): Likewise. Do not use BP_SYM.
25193 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25194 aliases.
25195 (strtok_r): Likewise.
25196 (__GI___strtok_r): Likewise.
25197 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25198 (PARMS): Do not use macros from bp-asm.h.
25199 (S): Likewise.
25200 (SIZE): Likewise.
25201 (__mpn_lshift): Do not use BP_SYM.
25202 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25203 (PARMS): Do not use macros from bp-asm.h.
25204 (STR): Likewise.
25205 (CHR): Likewise.
25206 (__memchr): Do not use BP_SYM.
25207 (memchr): Do not use BP_SYM in weak_alias.
25208 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25209 (PARMS): Do not use macros from bp-asm.h.
25210 (BLK2): Likewise.
25211 (LEN): Likewise.
25212 (memcmp): Do not use BP_SYM.
25213 (bcmp): Do not use BP_SYM in weak_alias.
25214 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25215 (PARMS): Do not use macros from bp-asm.h.
25216 (S1): Likewise.
25217 (SIZE): Likewise.
25218 (__mpn_mul_1): Do not use BP_SYM.
25219 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25220 "bp-asm.h".
25221 (PARMS): Do not use macros from bp-asm.h.
25222 (STR): Likewise.
25223 (CHR): Likewise.
25224 (__rawmemchr): Do not use BP_SYM.
25225 (rawmemchr): Do not use BP_SYM in weak_alias.
25226 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25227 (PARMS): Do not use macros from bp-asm.h.
25228 (S): Likewise.
25229 (SIZE): Likewise.
25230 (__mpn_rshift): Do not use BP_SYM.
25231 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25232 (PARMS): Do not use macros from bp-asm.h.
25233 (SIGMSK): Likewise.
25234 (__sigsetjmp): Likewise. Do not use BP_SYM.
25235 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25236 (_start): Do not use BP_SYM.
25237 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25238 (PARMS): Do not use macros from bp-asm.h.
25239 (DEST): Likewise.
25240 (SRC): Likewise.
25241 (__stpcpy): Likewise. Do not use BP_SYM.
25242 (stpcpy): Do not use BP_SYM in weak_alias.
25243 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25244 "bp-asm.h".
25245 (PARMS): Do not use macros from bp-asm.h.
25246 (DEST): Likewise.
25247 (SRC): Likewise.
25248 (LEN): Likewise.
25249 (__stpncpy): Likewise. Do not use BP_SYM.
25250 (stpncpy): Do not use BP_SYM in weak_alias.
25251 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25252 (PARMS): Do not use macros from bp-asm.h.
25253 (STR): Likewise.
25254 (CHR): Likewise.
25255 (strchr): Likewise. Do not use BP_SYM.
25256 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25257 "bp-asm.h".
25258 (PARMS): Do not use macros from bp-asm.h.
25259 (STR): Likewise.
25260 (CHR): Likewise.
25261 (__strchrnul): Likewise. Do not use BP_SYM.
25262 (strchrnul): Do not use BP_SYM in weak_alias.
25263 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25264 "bp-asm.h".
25265 (PARMS): Do not use macros from bp-asm.h.
25266 (STOP): Likewise.
25267 (strcspn): Do not use BP_SYM.
25268 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25269 "bp-asm.h".
25270 (PARMS): Do not use macros from bp-asm.h.
25271 (STR): Likewise.
25272 (STOP): Likewise.
25273 (strpbrk): Likewise. Do not use BP_SYM.
25274 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25275 "bp-asm.h".
25276 (PARMS): Do not use macros from bp-asm.h.
25277 (STR): Likewise.
25278 (CHR): Likewise.
25279 (strrchr): Likewise. Do not use BP_SYM.
25280 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25281 (PARMS): Do not use macros from bp-asm.h.
25282 (SKIP): Likewise.
25283 (strspn): Do not use BP_SYM.
25284 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25285 (PARMS): Do not use macros from bp-asm.h.
25286 (STR): Likewise.
25287 (DELIM): Likewise.
25288 (SAVE): Likewise.
25289 (FUNCTION): Likewise. Do not use BP_SYM.
25290 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25291 aliases.
25292 (strtok_r): Likewise.
25293 (__GI___strtok_r): Likewise.
25294 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25295 (PARMS): Do not use macros from bp-asm.h.
25296 (S1): Likewise.
25297 (S2): Likewise.
25298 (SIZE): Likewise.
25299 (__mpn_sub_n): Do not use BP_SYM.
25300 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25301 "bp-asm.h".
25302 (PARMS): Do not use macros from bp-asm.h.
25303 (S1): Likewise.
25304 (SIZE): Likewise.
25305 (__mpn_submul_1): Do not use BP_SYM.
25306 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25307 <bp-sym.h>.
25308 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25309 and <bp-asm.h>.
25310 (PARMS): Do not use macros from bp-asm.h.
25311 (FLAGS): Likewise.
25312 (PTID): Likewise.
25313 (TLS): Likewise.
25314 (CTID): Likewise.
25315 (__clone): Do not use BP_SYM.
25316 (clone): Do not use BP_SYM in weak_alias.
25317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25318 and <bp-asm.h>.
25319 (PARMS): Do not use macros from bp-asm.h.
25320 (LEN): Likewise.
25321 (__mmap64): Do not use BP_SYM.
25322 (mmap64): Do not use BP_SYM in weak_alias.
25323 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25324 <bp-sym.h> and <bp-asm.h>.
25325 (PARMS): Do not use macros from bp-asm.h.
25326 (__posix_fadvise64_l64): Do not use BP_SYM.
25327 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25328 (PARMS): Do not use macros from bp-asm.h.
25329 (NSOPS): Likewise.
25330 (semtimedop): Do not use BP_SYM.
25331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25332 and <bp-asm.h>.
25333
582a3cff
AM
253342013-02-21 Allan McRae <allan@archlinux.org>
25335
25336 * manual/message.texi (Charset conversion in gettext):
25337 Move @end statement to beginning of line.
25338
bab8a695
SP
253392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25340
80945231
SP
25341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25342 static.
25343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25344 Likewise.
25345
bab8a695
SP
25346 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25347 (denorm): Likewise.
25348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25350
e21d7aa7
AK
253512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25352
25353 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25354 tail-call to the resolved function if pltexit isn't needed.
25355
4c7a4263
SP
253562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25357
25358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25359 or Y being zero as being unlikely.
25360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25361 Likewise.
25362
41f49342
CD
253632013-02-20 Carlos O'Donell <carlos@redhat.com>
25364
25365 * manual/nss.texi (System Databases and Name Service Switch):
25366 Remove frobnicate @pxref.
25367
50022a93
TS
253682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25369
25370 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25371 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25372
08cbd996
PM
253732013-02-20 Petr Machata <pmachata@redhat.com>
25374
25375 * elf/elf.h (R_ARM_TARGET1): New macro.
25376 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25377 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25378 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25379 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25380 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25381 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25382 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25383 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25384 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25385 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25386 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25387 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25388 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25389 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25390 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25391 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25392 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25393 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25394 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25395 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25396 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25397 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25398 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25399 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25400 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25401 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25402 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25403 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25404 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25405 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25406 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25407 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25408 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25409 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25410 (R_ARM_THM_GOT_BREL12): Likewise.
25411 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25412 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25413 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25414 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25415 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25416 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25417 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25418 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25419 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25420
c7b275d6
TS
254212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25422
25423 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25424 __attribute_used__ to __attribute__ ((unused)).
25425
20cd7fb3
SP
254262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25427
25428 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25429 powerpc mpa.c.
25430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25431 comment formatting.
25432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25433
92945b52
JM
254342013-02-19 Joseph Myers <joseph@codesourcery.com>
25435
25436 [BZ #13550]
25437 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25438 Remove macro.
25439 (ENTER): Remove both macro definitions.
25440 (LEAVE): Likewise.
25441 (CHECK_BOUNDS_LOW): Likewise.
25442 (CHECK_BOUNDS_HIGH): Likewise.
25443 (CHECK_BOUNDS_BOTH): Likewise.
25444 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25445 (RETURN_BOUNDED_POINTER): Likewise.
25446 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25447 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25448 (POP_ERRNO_LOCATION_RETURN): Likewise.
25449 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25450 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25451 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25452 macros.
25453 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25454 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25455 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25456 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25457 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25458 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25459 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25460 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25461 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25462 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25463 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25464 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25465 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25466 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25467 removed macros.
25468 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25469 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25470 macros.
25471 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25472 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25473 * sysdeps/i386/i586/memset.S (memset): Likewise.
25474 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25475 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25476 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25477 macros.
25478 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25479 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25480 Change uses of L(2) to L(out).
25481 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25482 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25483 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25484 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25485 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25486 removed macros.
25487 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25488 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25489 macros.
25490 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25491 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25492 (RETURN): Do not use macro LEAVE.
25493 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25494 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25495 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25496 * sysdeps/i386/i686/memset.S (memset): Likewise.
25497 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25498 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25499 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25500 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25501 Likewise.
25502 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25503 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25504 L(1_2) and L(1_3) into L(1).
25505 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25506 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25507 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25508 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25509 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25510 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25511 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25512 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25513 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25514 macros.
25515 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25516 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25517 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25518 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25519 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25520 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25521 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25522 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25523 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25524 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25525 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25526 * sysdeps/i386/strspn.S (strspn): Likewise.
25527 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25528 conditional code.
25529 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25530 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25531 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25532 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25533 L(1_3) into L(1_1).
25534 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25535 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25536 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25537 macros.
25538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25539
2389741a
JJ
255402013-02-19 Jakub Jelinek <jakub@redhat.com>
25541
25542 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25543 macro.
25544
2016b3cd
SP
255452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25546
e4f22324
SP
25547 * math/atest-exp.c (exp_mpn): Remove ROUND.
25548 * math/atest-exp2.c (exp_mpn): Likewise.
25549 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25550
2016b3cd
SP
25551 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25552 * stdlib/tst-tls-atexit-lib.c: Likewise.
25553 * stdlib/tst-tls-atexit.c: Likewise.
25554
4be9b544
MF
255552013-02-18 Mike Frysinger <vapier@gentoo.org>
25556
25557 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25558 and __attribute_alloc_size__.
25559
2f62b9ee
MF
255602013-02-18 Mike Frysinger <vapier@gentoo.org>
25561
25562 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25563 __attribute_alloc_size__.
25564 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25565 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25566
6ff444c4
MF
255672013-02-18 Mike Frysinger <vapier@gentoo.org>
25568
25569 * include/programs/xmalloc.h: New file.
25570 * catgets/gencat.c: Include it.
25571 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25572 * elf/pldd.c: Likewise.
25573 * iconv/iconv_charmap.c: Likewise.
25574 * iconv/iconvconfig.c: Likewise.
25575 * iconv/strtab.c: Likewise.
25576 * locale/programs/locale.c: Likewise.
25577 * locale/programs/localedef.h: Likewise.
25578 * locale/programs/simple-hash.c: Likewise.
25579 * nscd/nscd.h: Likewise.
25580 * nss/makedb.c: Likewise.
25581 * sysdeps/generic/ldconfig.h: Likewise.
25582
be179c8a
SP
255832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25584
ba384f6e
SP
25585 * Versions.def: Add GLIBC_2.18.
25586 * include/link.h (struct link_map): New member l_tls_dtor_count.
25587 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25588 (__call_tls_dtors): Likewise.
25589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25590 __cxa_thread_atexit_impl.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25592 Likewise.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25594 Likewise.
25595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25596 Likewise.
25597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25598 Likewise.
25599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25601 Likewise.
25602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25603 Likewise.
25604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25606 Likewise.
25607 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25608 (tests): Add test case tst-tls-atexit.
25609 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25610 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25611 (GLIBC_PRIVATE): Add __call_tls_dtors.
25612 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25613 for libstdc++.
25614 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25615 * stdlib/tst-tls-atexit.c: New test case.
25616 * stdlib/tst-tls-atexit-lib.c: New test case.
25617
ffaa74cf 25618 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25619
be179c8a
SP
25620 * elf/Versions (ld): Add _dl_find_dso_for_object.
25621 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25622 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25623 (dl_open_worker): Use _dl_find_dso_for_object.
25624 * elf/dl-sym.c (do_sym): Likewise.
25625 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25626
f78b5caa
AK
256272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25628
25629 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25630 Syntactic changes only.
25631 (_dl_runtime_profile): Do a tail-call to the resolved function.
25632
29691210
JM
256332013-02-17 Joseph Myers <joseph@codesourcery.com>
25634
25635 [BZ #13550]
25636 * sysdeps/x86_64/bp-asm.h: Remove file.
25637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25638 <bp-sym.h> and <bp-asm.h>.
25639 (__clone): Do not use BP_SYM.
25640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25641 <bp-sym.h> and <bp-asm.h>.
25642 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25643 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25644 "bp-asm.h".
25645 (_setjmp): Do not use BP_SYM.
25646 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25647 "bp-asm.h".
25648 (setjmp): Do not use BP_SYM.
25649 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25650 libc_hidden_def.
25651 (mempcpy): Do not use BP_SYM in weak_alias.
25652 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25653 "bp-asm.h".
25654 (strchr): Do not use BP_SYM.
25655 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25656 "bp-asm.h".
25657 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25658 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25659 (_start): Do not use BP_SYM.
25660 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25661 "bp-asm.h".
25662 (strcat): Do not use BP_SYM.
25663 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25664 "bp-asm.h".
25665 (STRCMP): Do not use BP_SYM.
25666 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25667 "bp-asm.h".
25668 (STRCPY): Do not use BP_SYM.
25669 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25670 "bp-asm.h".
25671 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25672 "bp-asm.h".
25673 (FUNCTION): Do not use BP_SYM.
25674 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25675 weak_alias.
25676 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25677
f238fd19
AJ
256782013-02-17 Andreas Jaeger <aj@suse.de>
25679
25680 * time/Versions: Sort entries.
25681 * string/Versions: Likewise.
25682 * resolv/Versions: Likewise.
25683 * posix/Versions: Likewise.
25684 * iconv/Versions: Likewise.
25685 * elf/Versions: Likewise.
25686 * wcsmbs/Versions: Likewise.
25687
bd07f23c 256882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25689
22af19f9
SP
25690 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25691 loop termination condition.
25692
4709fe76
SP
25693 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25694 variable to calculate EZ.
25695 (__sqr): Likewise.
2d0e0f29
SP
25696
25697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25698 the lower precision input.
25699
daaa7713
JM
257002013-02-15 Joseph Myers <joseph@codesourcery.com>
25701
25702 [BZ #13550]
25703 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25704 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25705 (run-via-rtld-prefix): Do not handle %-bp tests.
25706 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25707 (all-object-suffixes): Remove .ob.
25708 (bppfx): Remove variable.
25709 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25710 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25711 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25712 [$(build-bounded) = yes] (libtype.ob): Likewise.
25713 * Makerules (elide-routines.ob): Remove variable.
25714 (do-tests-clean): Do not handle *-bp.out.
25715 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25716 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25717 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25718 (tests): Do not include $(tests-bp.out).
25719 (xtests): Do not include $(xtests-bp.out).
25720 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25721 [$(build-bounded) = yes] ($(addprefix
25722 $(objpfx),$(binaries-bounded))): Remove rule.
25723 ($(objpfx)%-bp.out): Remove rule.
25724 * config.make.in (build-bounded): Remove variable.
25725 * crypt/Makefile [$(build-bounded) = yes]
25726 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25727 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25728 append to variable.
25729 [$(build-bounded) = yes] (install-lib): Likewise.
25730 [$(build-bounded) = yes] (generated): Likewise.
25731 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25732 Remove rule.
25733 * intl/Makefile [$(build-bounded) = yes]
25734 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25735 * math/Makefile [$(build-bounded) = yes]
25736 ($(tests:%=$(objpfx)%-bp): Likewise.
25737 * misc/Makefile [$(build-bounded) = yes]
25738 ($(objpfx)tst-tsearch-bp): Likewise.
25739 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25740 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25741 Remove dependency.
25742 * string/Makefile (o-objects.ob): Remove variable.
25743 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25744 (CFLAGS-.ob): Remove variable.
25745 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25746 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25747 both definitions of variable.
25748 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25749 (ASFLAGS-.ob): Remove variable.
25750
e97ed6dd
JM
257512013-02-14 Joseph Myers <joseph@codesourcery.com>
25752
2bdd4ca6
JM
25753 [BZ #13550]
25754 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25755 Remove __BOUNDED_POINTERS__ from condition.
25756 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25757 * string/bits/string2.h [!__NO_STRING_INLINES &&
25758 !__BOUNDED_POINTERS__]: Likewise.
25759 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25760 Likewise.
25761 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25762 Remove conditional code.
25763 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25764 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25765 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25766 condition.
25767
e97ed6dd
JM
25768 [BZ #13550]
25769 * csu/libc-start.c: Do not include <bp-sym.h>.
25770 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25771 * elf/dl-open.c: Do not include <bp-sym.h>.
25772 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25773 * math/fegetenv.c: Do not include <bp-sym.h>.
25774 (fegetenv): Do not use BP_SYM in versioned symbols.
25775 * nptl/sysdeps/pthread/bits/libc-lockP.h
25776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25777 <bp-sym.h>.
25778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25779 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25781 (__pthread_mutex_destroy): Likewise.
25782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25783 (__pthread_mutex_lock): Likewise.
25784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25785 (__pthread_mutex_trylock): Likewise.
25786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25787 (__pthread_mutex_unlock): Likewise.
25788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25789 (__pthread_mutexattr_init): Likewise.
25790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25791 (__pthread_mutexattr_destroy): Likewise.
25792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25793 (__pthread_mutexattr_settype): Likewise.
25794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25795 (__pthread_rwlock_init): Likewise.
25796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25797 (__pthread_rwlock_destroy): Likewise.
25798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25799 (__pthread_rwlock_rdlock): Likewise.
25800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25801 (__pthread_rwlock_tryrdlock): Likewise.
25802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25803 (__pthread_rwlock_wrlock): Likewise.
25804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25805 (__pthread_rwlock_trywrlock): Likewise.
25806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25807 (__pthread_rwlock_unlock): Likewise.
25808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25809 (__pthread_key_create): Likewise.
25810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25811 (__pthread_setspecific): Likewise.
25812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25813 (__pthread_getspecific): Likewise.
25814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25815 Likewise.
25816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25817 (_pthread_cleanup_push_defer): Likewise.
25818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25819 (_pthread_cleanup_pop_restore): Likewise.
25820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25821 (pthread_setcancelstate): Likewise.
25822 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25823 <bp-sym.h>.
25824 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25825 (memchr): Do not use BP_SYM in weak_alias.
25826 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25827 (fegetenv): Do not use BP_SYM in versioned symbols.
25828 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25829 (fesetenv): Do not use BP_SYM in versioned symbols.
25830 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25831 (feupdateenv): Do not use BP_SYM in versioned symbols.
25832 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25833 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25834 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25835 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25836 (open64): Do not use BP_SYM in weak_alias.
25837 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25838 (fegetenv): Do not use BP_SYM in versioned symbols.
25839 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25840 (fesetenv): Do not use BP_SYM in versioned symbols.
25841 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25842 (feupdateenv): Do not use BP_SYM in versioned symbols.
25843 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25844 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25845 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25846 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25847 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25848 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25850 <bp-sym.h>.
25851 (__libc_start_main): Do not use BP_SYM.
25852
d6752ccd
SP
258532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25854
cb57ce60
SP
25855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25856 redundant return line.
25857 (norm): Likewise.
25858 (denorm): Likewise.
25859 (dbl_mp): Likewise.
25860 (sub_magnitudes): Likewise.
25861 (__add): Likewise.
25862 (__sub): Likewise.
25863 (__mul): Likewise.
25864 (__inv): Likewise.
25865 (__dvd): Likewise.
25866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25867 (norm): Likewise.
25868 (denorm): Likewise.
25869 (dbl_mp): Likewise.
25870 (sub_magnitudes): Likewise.
25871 (__add): Likewise.
25872 (__sub): Likewise.
25873 (__mul): Likewise.
25874 (__inv): Likewise.
25875 (__dvd): Likewise.
25876
f414520d
SP
25877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25878 instead of __mul.
25879 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25880 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25881 (cc32): Likewise.
25882
d6752ccd
SP
25883 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25884 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25886 of __mul for squares.
25887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25888 function
25889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25890 Likewise.
25891 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25893
70d9946a
JM
258942013-02-13 Joseph Myers <joseph@codesourcery.com>
25895
25896 [BZ #13550]
25897 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25898 code.
25899 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25900 prototype or function definition. Rename ubp_* variables and
25901 parameters. Remove argv definitions conditional on
25902 [__BOUNDED_POINTERS__].
25903 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25904 * elf/dl-runtime.c (_dl_fixup): Likewise.
25905 * include/set-hooks.h (RUN_HOOK): Likewise.
25906 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25907 definition.
25908 * string/strcpy.c (strcpy): Do not use __unbounded.
25909 * sysdeps/generic/frame.h (struct layout): Likewise.
25910 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25911 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25912 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25913 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25914 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25915 (__backtrace): Likewise.
25916 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25917 use __ptrvalue.
25918 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25919 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25920 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25921 Likewise.
25922 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25923 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25924 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25925 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25926 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25927 Do not use __unbounded.
25928 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25929 Rename __unboundedrlimits parameter to rlimits in prototype.
25930 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25931 Do not use __unbounded.
25932 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25933 not use __ptrvalue.
25934 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25935 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25936 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25937 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25938 __ptrvalue or __unbounded.
25939 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25940 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25941 use __unbounded.
25942 (__new_msgctl): Do not use __ptrvalue.
25943 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25944 __unbounded.
25945 (__libc_msgrcv): Do not use __ptrvalue.
25946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25947 startup_info): Do not use __unbounded.
25948 (__libc_start_main): Likewise. Rename ubp_* variables and
25949 parameters. Remove argv definitions conditional on
25950 [__BOUNDED_POINTERS__].
25951 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25952 __ptrvalue.
25953 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25954 use __unbounded.
25955 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25956 or __ptrvalue.
25957 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25958 use __unbounded.
25959 (__new_shmctl): Do not use __ptrvalue.
25960 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25961 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25962 Likewise.
25963 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25964 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25965 (__libc_sigaction): Likewise.
25966 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25968 Likewise.
25969 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25970
cc7834d6
OB
259712013-02-13 Ondřej Bílka <neleai@seznam.cz>
25972
ffb1ec7b 25973 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25974
25975 * string/mempcpy.c: Implement by calling memcpy.
25976
bdf02814
SP
259772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25978
c2af38aa
SP
25979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25980
4e92d59e
SP
25981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25982 evaluation.
25983
909279a5
SP
25984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25985 values in the mantissa.
25986
bdf02814
SP
25987 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25988 minimize writes to Z.
25989 (sub_magnitudes): Simplify code a bit.
25990
cd525923
RM
259912013-02-12 Roland McGrath <roland@hack.frob.com>
25992
25993 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25994 from the message. The linker prefixes all warnings with that already.
25995
7e2f0d2d
AS
259962013-02-12 Andreas Schwab <schwab@suse.de>
25997
a445af0b
AS
25998 [BZ #15078]
25999 * posix/regexec.c (extend_buffers): Add parameter min_len.
26000 (check_matching): Pass minimum needed length.
26001 (clean_state_log_if_needed): Likewise.
26002 (get_subexp): Likewise.
26003 * posix/Makefile (tests): Add bug-regex34.
26004 (bug-regex34-ENV): Define.
26005 * posix/bug-regex34.c: New file.
26006
7e2f0d2d
AS
26007 [BZ #11561]
26008 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26009 elements compare against the byte sequence of it, not its name.
26010 * posix/Makefile (tests): Add bug-regex35.
26011 (bug-regex35-ENV): Define.
26012 * posix/bug-regex35.c: New file.
26013
a175b684
TV
260142013-02-11 Tom de Vries <tom@codesourcery.com>
26015
26016 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26017 comment.
26018 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26019 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26020 (CHECK_EOL): Add undef.
26021
310998fe 260222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26023
26024 * bits/stdlib-bsearch.h: New file.
26025 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26026 * stdlib/stdlib.h: Likewise.
41eda41d 26027
8ded91fb
RM
260282013-02-11 Roland McGrath <roland@hack.frob.com>
26029
26030 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26031 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26032 declaration.
26033 * manual/search.texi (Array Search Function): Add missing const in
26034 lfind prototype.
26035 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26036 declaration to use rlim_t.
26037 (Basic Scheduling Functions): Remove erroneous const from
26038 sched_getparam prototype. Remove erroneous * from
26039 sched_get_priority_max and sched_get_priority_min prototypes.
26040 (Resource Usage): Fix summary @comment on vtimes to refer to
26041 sys/vtimes.h rather than vtimes.h.
26042 Add missing *s in vtimes prototype.
26043 (Limits on Resources): Fix ulimit prototype to return long int.
26044 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26045 prototypes to use long int rather than double.
26046 (BSD Random): Fix initstate and setstate to use char *, not void *.
26047 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26048 prototype to make second argument 'struct aiocb64 *const[]'.
26049 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26050 (Status of AIO Operations): Remove erroneous const in aio_return and
26051 aio_return64 prototypes.
26052 (Synchronizing I/O): Fix sync prototype to return void.
26053 * manual/startup.texi (Suboptions): Remove an erroneous const in
26054 getsubopt prototype.
26055 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26056 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26057 use size_t rather than int.
26058 (Scanning All Users): Likewise for getpwent_r.
26059 (Setting Groups): Add missing const to setgroups prototype.
26060 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26061 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26062 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26063 'const void *' rather than 'const char *'.
26064 (Host Address Functions): Likewise for inet_ntop.
26065 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26066 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26067 ssize_t for return value.
26068 (Sending Data): Likewise for send, sendto, sendmsg.
26069 (Socket Option Functions): Add a missing const in setsockopt prototype.
26070 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26071 use wchar_t for the argument.
26072 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26073 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26074 take no arguments.
26075 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26076 double/float/long double for second argument.
26077 Fix return types of significand, significandf, significandl.
26078 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26079 argument in fchmod prototype.
26080 (File Owner): Use uid_t and gid_t in fchown prototype.
26081 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26082 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26083 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26084 use 'const struct dirent **' as argument types to CMP function pointer
26085 argument.
26086 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26087 (File Times): Fix summary magic @comment for struct utimbuf and utime
26088 to refer to utime.h, not time.h.
26089 * manual/string.texi (Argz Functions): Add missing const in
26090 argz_extract and argz_next prototypes.
26091 (Finding Tokens in a String): Likewise for basename.
26092 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26093 (Copying and Concatenation): Fix typo in wmemmove prototype.
26094 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26095 (Signal Stack): Remove erroneous const in sigstack prototype.
26096 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26097 prototype.
26098 (Simple Calendar Time): Likewise for stime.
26099 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26100 prototype.
26101 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26102 say sys/sysctl.h instead.
26103 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26104 and vsyslog prototypes.
26105
fe77fe6d
TV
261062013-02-11 Tom de Vries <tom@codesourcery.com>
26107
26108 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26109 Remove.
26110
3a09b620
RM
261112013-02-11 Roland McGrath <roland@hack.frob.com>
26112
26113 * misc/sys/mman.h: Fix typo in mremap comment.
26114
550a0b89
RM
261152013-02-08 Roland McGrath <roland@hack.frob.com>
26116
26117 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26118 the '\0' terminator.
26119
a2da1673
JM
261202013-02-08 Joseph Myers <joseph@codesourcery.com>
26121
26122 [BZ #13550]
26123 * debug/segfault.c: Don't include <bp-checks.h>.
26124 * sysdeps/generic/bp-checks.h: Remove file.
26125 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26126 (__GETDENTS): Don't use CHECK_N.
26127 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26128 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26129 (__getgroups): Don't use CHECK_N.
26130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26131 (setgroups): Don't use CHECK_N.
26132 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26133 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26134 (__libc_msgrcv): Don't use CHECK_N.
26135 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26136 (__libc_msgsnd): Don't use CHECK_N.
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26138 <bp-checks.h>.
26139 (__libc_pread): Don't use CHECK_N.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26141 include <bp-checks.h>.
26142 (__libc_pread64): Don't use CHECK_N.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26144 include <bp-checks.h>.
26145 (__libc_pwrite): Don't use CHECK_N.
26146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26147 include <bp-checks.h>.
26148 (__libc_pwrite64): Don't use CHECK_N.
26149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26150 <bp-checks.h>.
26151 (__libc_pread): Don't use CHECK_N.
26152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26153 include <bp-checks.h>.
26154 (__libc_pread64): Don't use CHECK_N.
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26156 include <bp-checks.h>.
26157 (__libc_pwrite): Don't use CHECK_N.
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26159 include <bp-checks.h>.
26160 (__libc_pwrite64): Don't use CHECK_N.
26161 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26162 (do_pread): Don't use CHECK_N.
26163 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26164 (do_pread64): Don't use CHECK_N.
26165 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26166 (do_pwrite): Don't use CHECK_N.
26167 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26168 (do_pwrite64): Don't use CHECK_N.
26169 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26170 (__libc_readv): Don't use CHECK_N.
26171 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26172 (semop): Don't use CHECK_N.
26173 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26174 <bp-checks.h>.
26175 (semtimedop): Don't use CHECK_N.
26176 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26177 (__libc_pread): Don't use CHECK_N.
26178 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26179 <bp-checks.h>.
26180 (__libc_pread64): Don't use CHECK_N.
26181 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26182 <bp-checks.h>.
26183 (__libc_pwrite): Don't use CHECK_N.
26184 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26185 <bp-checks.h>.
26186 (__libc_pwrite64): Don't use CHECK_N.
26187 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26188 <bp-checks.h>.
26189 (__libc_msgrcv): Don't use CHECK_N.
26190 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26191 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26192 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26193 (__libc_writev): Don't use CHECK_N.
26194
b84660a8
RM
261952013-02-08 Roland McGrath <roland@hack.frob.com>
26196
7f3e75f8
RM
26197 * string/strcpy.c: Removed unused variable.
26198
b84660a8
RM
26199 * Makeconfig (+sysdep-includes): Define with := rather than =.
26200 Use an existing include/ subdir of each sysdeps dir before it.
26201
471514d3
CD
262022013-02-08 Carlos O'Donell <carlos@redhat.com>
26203
26204 * nscd/connection.c (register_traced_file): Comment function.
26205 [HAVE_INOTIFY] (union __inev): Define.
26206 [HAVE_INOTIFY] (inotify_check_files): New function.
26207 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26208 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26209 clear_db_cache.
26210 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26211
b2d3c3be
CD
262122013-02-08 Carlos O'Donell <carlos@redhat.com>
26213
26214 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26215 loaded if not already and that a failure is permanent.
26216
b39949d2
CD
262172013-02-08 Carlos O'Donell <carlos@redhat.com>
26218
ddacd1db 26219 [BZ #15006]
b39949d2
CD
26220 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26221 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26222
b2c9eff4
JM
262232013-02-08 Joseph Myers <joseph@codesourcery.com>
26224
f3aae3f3
JM
26225 [BZ #13550]
26226 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26227 (CHECK_1_NULL_OK): Likewise.
26228 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26229 (__fxstat): Do not use CHECK_1.
26230 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26231 <bp-checks.h>.
26232 (___fxstat64): Do not use CHECK_1.
26233 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26234 <bp-checks.h>.
26235 (__fxstatat): Do not use CHECK_1.
26236 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26237 <bp-checks.h>.
26238 (__fxstatat64): Do not use CHECK_1.
26239 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26240 <bp-checks.h>.
26241 (__fxstat): Do not use CHECK_1.
26242 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26243 <bp-checks.h>.
26244 (__fxstatat): Do not use CHECK_1.
26245 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26246 <bp-checks.h>.
26247 (__getresgid): Do not use CHECK_1.
26248 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26249 <bp-checks.h>.
26250 (__getresuid): Do not use CHECK_1.
26251 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26252 <bp-checks.h>.
26253 (__lxstat): Do not use CHECK_1.
26254 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26255 <bp-checks.h>.
26256 (__old_msgctl): Do not use CHECK_1.
26257 (__new_msgctl): Likewise.
26258 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26259 <bp-checks.h>.
26260 (__new_setrlimit): Do not use CHECK_1.
26261 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26262 <bp-checks.h>.
26263 (__old_shmctl): Do not use CHECK_1.
26264 (__new_shmctl): Likewise.
26265 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26266 <bp-checks.h>.
26267 (__xstat): Do not use CHECK_1.
26268 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26269 (__lxstat): Do not use CHECK_1.
26270 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26271 <bp-checks.h>.
26272 (___lxstat64): Do not use CHECK_1.
26273 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26274 (__old_msgctl): Do not use CHECK_1.
26275 (__new_msgctl): Likewise.
26276 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26277 <bp-checks.h>.
26278 (__gettimeofday): Do not use CHECK_1.
26279 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26280 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26281 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26282 <bp-checks.h>.
26283 (__gettimeofday): Do not use CHECK_1.
26284 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26285 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26286 (__new_shmctl): Do not use CHECK_1.
26287 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26288 <bp-checks.h>.
26289 (do_sigtimedwait): Do not use CHECK_1.
26290 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26291 <bp-checks.h>.
26292 (do_sigwaitinfo): Do not use CHECK_1.
26293 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26294 <bp-checks.h>.
26295 (msgctl): Do not use CHECK_1.
26296 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26297 <bp-checks.h>.
26298 (shmctl): Do not use CHECK_1.
26299 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26300 (ustat): Do not use CHECK_1.
26301 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26302 <bp-checks.h>.
26303 (__fxstat): Do not use CHECK_1.
26304 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26305 <bp-checks.h>.
26306 (__fxstatat): Do not use CHECK_1.
26307 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26308 <bp-checks.h>.
26309 (__lxstat): Do not use CHECK_1.
26310 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26311 <bp-checks.h>.
26312 (__xstat): Do not use CHECK_1.
26313 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26314 (__xstat): Do not use CHECK_1.
26315 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26316 (___xstat64): Do not use CHECK_1.
26317
b2c9eff4
JM
26318 [BZ #13550]
26319 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26320 definitions.
26321 (CHECK_BOUNDS_HIGH): Likewise.
26322 * string/strcpy.c: Do not include <bp-checks.h>.
26323 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26324
f1d70dad
RM
263252013-02-07 Roland McGrath <roland@hack.frob.com>
26326
26327 * nscd/nscd-client.h (__nscd_drop_map_ref):
26328 Add __attribute__ ((unused)).
26329 * nis/nss-nisplus.h (niserr2nss): Likewise.
26330
26331 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26332 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26333
26334 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26335 Remove inline keyword.
26336 * include/rounding-mode.h (round_away): Likewise.
26337 * libio/wfileops.c (adjust_wide_data): Likewise.
26338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26339 (__m128i_strloadu_tolower): Likewise.
26340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26341 (__m128i_strloadu_tolower): Likewise.
26342 * time/mktime.c (ydhms_diff): Likewise.
26343 * locale/elem-hash.h (elem_hash): Likewise.
26344 * locale/setlocale.c (setdata): Likewise.
26345 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26346 (re_string_wchar_at): Likewise.
26347 (bitset_not, bitset_merge, bitset_mask): Likewise.
26348 [!(__GNUC__ > 3)] (inline): Remove macro.
26349 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26350 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26351 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26352 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26353 * string/memcmp.c (memcmp_bytes): Likewise.
26354 * locale/programs/locarchive.c (compute_hashval): Likewise.
26355 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26356 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26357 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26358 * nss/getent.c (print_rpc, print_protocols): Likewise.
26359 (print_passwd, print_group, print_aliases): Likewise.
26360 * nis/nss-nisplus.h (niserr2nss): Likewise.
26361 * nscd/connections.c (restart_p): Likewise.
26362 Change return type to bool.
26363
eab55bfb
RM
263642013-02-05 Roland McGrath <roland@hack.frob.com>
26365
7bd642f5
RM
26366 * Makeconfig (all-Depend-files): Add existing
26367 $(sorted-subdirs:=/Depend) files.
26368 (all-subdirs): Remove nss.
26369 * sysdeps/unix/inet/Subdirs: Add it here instead.
26370 * hesiod/Depend: New file.
26371
573c29b2
RM
26372 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26373 instead of calling alloca.
26374
b2e25af0
RM
26375 * io/lseek.c (__lseek): Rename to __libc_lseek.
26376 Define __lseek as an alias.
26377
eab55bfb
RM
26378 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26379
9a0d1941
CD
263802013-02-04 Carlos O'Donell <carlos@redhat.com>
26381
26382 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26383 else clause and remove check for non-standard endianness.
26384
b83bbec4
DM
263852013-02-04 David S. Miller <davem@davemloft.net>
26386
26387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26388
6277fdab
JM
263892013-02-04 Joseph Myers <joseph@codesourcery.com>
26390
26391 [BZ #13550]
26392 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26393 (__ubp_memchr): Remove prototype.
26394 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26395 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26396 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26397 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26398 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26399 Remove alias.
26400 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26401 (__ubp_memchr): Likewise.
26402 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26403 (__ubp_memchr): Likewise.
26404 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26405 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26406 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26408 CHECK_STRING.
26409 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26410 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26411 (__getcwd): Do not use CHECK_STRING.
26412 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26413 <bp-checks.h>.
26414 (__real_chown): Do not use CHECK_STRING.
26415 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26416 <bp-checks.h>.
26417 (fchownat): Do not use CHECK_STRING.
26418 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26419 CHECK_STRING.
26420 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26421 <bp-checks.h>.
26422 (__lchown): Do not use CHECK_STRING.
26423 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26425 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26426 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26428 include <bp-checks.h>.
26429 (truncate64): Do not use CHECK_STRING.
26430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26431 <bp-checks.h>.
26432 (__real_chown): Do not use CHECK_STRING.
26433 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26434 <bp-checks.h>.
26435 (__lchown): Do not use CHECK_STRING.
26436 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26437 <bp-checks.h>.
26438 (__chown): Do not use CHECK_STRING.
26439 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26440 <bp-checks.h>.
26441 (truncate64): Do not use CHECK_STRING.
26442 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26443 Likewise.
26444 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26445 (__xmknod): Do not use CHECK_STRING.
26446 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26447 <bp-checks.h>.
26448 (__xmknodat): Do not use CHECK_STRING.
26449 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26450 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26451
903ae060
AS
264522013-02-04 Andreas Schwab <schwab@suse.de>
26453
26454 [BZ #14142]
26455 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26456 * include/netdb.h: Likewise for h_errno.
26457 * elf/tst-stackguard1.c: Include <tls.h>.
26458
542f9466
JK
264592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26460
26461 * elf/link.h (struct link_map): Extend the l_addr comment.
26462 * include/link.h (struct link_map): Likewise.
26463
e782a927
JM
264642013-02-01 Joseph Myers <joseph@codesourcery.com>
26465
26466 [BZ #13550]
26467 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26468 (BOUNDED_1): Remove macro.
26469 * debug/backtrace.c: Don't include <bp-checks.h>.
26470 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26471 (__backtrace): Likewise.
26472 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26473 <bp-checks.h>.
26474 (__backtrace): Don't use BOUNDED_1.
26475 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26476 <bp-checks.h>.
26477 (__backtrace): Don't use BOUNDED_1.
26478 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26479 (__backtrace): Don't use BOUNDED_1.
26480 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26481 (shmat): Don't use BOUNDED_N.
26482
8cf28c5e
JM
264832013-01-31 Joseph Myers <joseph@codesourcery.com>
26484
3a7ac8a0
JM
26485 [BZ #13550]
26486 * sysdeps/generic/bp-start.h: Remove file.
26487 * csu/libc-start.c: Don't include <bp-start.h>.
26488 (LIBC_START_MAIN): Set up __environ directly instead of using
26489 INIT_ARGV_and_ENVIRON.
26490 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26491 <bp-start.h>.
26492
f3499f95
JM
26493 [BZ #13550]
26494 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26495 definitions.
26496 (CHECK_FCNTL): Likewise.
26497 (CHECK_N_PAGES): Likewise.
26498
32a45bea
JM
26499 [BZ #13550]
26500 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26501 definitions.
26502 (CHECK_SIGSET_NULL_OK): Likewise.
26503 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26504 <bp-checks.h>.
26505 (sigpending): Don't use CHECK_SIGSET.
26506 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26507 <bp-checks.h>.
26508 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26509 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26510 <bp-checks.h>.
26511 (do_sigsuspend): Don't use CHECK_SIGSET.
26512 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26513 use CHECK_SIGSET.
26514 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26515 (do_sigwait): Don't use CHECK_SIGSET.
26516 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26517 use CHECK_SIGSET.
26518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26519 include <bp-checks.h>.
26520 (sigpending): Don't use CHECK_SIGSET.
26521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26522 include <bp-checks.h>.
26523 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26524 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26525 <bp-checks.h>.
26526 (sigpending): Don't use CHECK_SIGSET.
26527 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26528 <bp-checks.h>.
26529 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26530
2e8a5c8c
JM
26531 [BZ #13550]
26532 * sysdeps/generic/bp-semctl.h: Remove file.
26533 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26534 <bp-checks.h> and <bp-semctl.h>.
26535 (__old_semctl): Don't use CHECK_SEMCTL.
26536 (__new_semctl): Likewise.
26537 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26538 and <bp-semctl.h>.
26539 (__old_semctl): Don't use CHECK_SEMCTL.
26540 (__new_semctl): Likewise.
26541 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26542 <bp-checks.h> and <bp-semctl.h>.
26543 (__old_semctl): Don't use CHECK_SEMCTL.
26544 (__new_semctl): Likewise.
26545 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26546 <bp-checks.h> and <bp-semctl.h>.
26547 (semctl): Don't use CHECK_SEMCTL.
26548
c2d54929
JM
26549 [BZ #13550]
26550 * Makerules (elide-bp-thunks): Remove variable.
26551 (elide-routines.oS): Don't use $(elide-bp-thunks).
26552 (elide-routines.os): Likewise.
26553 (elide-routines.o): Likewise.
26554 (elide-routines.op): Likewise.
26555 (elide-routines.og): Likewise.
26556 (objects): Don't use $(bp-thunks).
26557 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26558 include.
26559 (common-generated): Do not add s-proto-bp.d.
26560 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26561 (int): Likewise.
26562 (typ): Likewise.
26563 Do not generate makefile rules for bounded-pointer thunks.
26564 * sysdeps/generic/bp-thunks.h: Remove file.
26565 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26566 * sysdeps/unix/s-proto-bp.S: Likewise.
26567
8cf28c5e
JM
26568 [BZ #15062]
26569 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26570 parts of result separately when argument is not close to line from
26571 -i to i and one part of argument is small.
26572 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26573 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26574 * math/libm-test.inc (cacos_test): Add more tests.
26575 (casin_test): Likewise.
26576 (casinh_test): Likewise.
26577 * sysdeps/i386/fpu/libm-test-ulps: Update.
26578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579
c4e33b8d
DM
265802013-01-31 David S. Miller <davem@davemloft.net>
26581
26582 * po/de.po: Update from translation team.
26583
3b60b421
MK
265842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26585
26586 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26587
bb931195
TS
265882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26589
b5a5da23
TS
26590 * configure.in (_AC_PROG_CC_C89): New definition.
26591 * configure: Regenerate.
26592
bb931195
TS
26593 * configure.in (AC_PROG_CPP): New definition.
26594 * configure: Regenerate.
26595
8c53a12c
JM
265962013-01-23 Joseph Myers <joseph@codesourcery.com>
26597
26598 * debug/tst-backtrace.h: New file.
26599 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26600 (ret): Remove variable.
26601 (x): Likewise.
26602 (FAIL): Remove macro.
26603 (NO_INLINE): Likewise.
26604 (fn1): Use match function instead of strstr.
26605 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26606 (ret): Remove variable.
26607 (x): Likewise.
26608 (FAIL): Remove macro.
26609 (NO_INLINE): Likewise.
26610 (fn): Use match function instead of strstr.
26611 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26612 (ret): Remove variable.
26613 (x): Likewise.
26614 (FAIL): Remove macro.
26615 (NO_INLINE): Likewise.
26616 (handle_signal): Use match function instead of strstr.
26617 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26618 (ret): Remove variable.
26619 (x): Likewise.
26620 (FAIL): Remove macro.
26621 (NO_INLINE): Likewise.
26622 (handle_signal): Use match function instead of strstr.
26623
4858fa2a
RM
266242013-01-23 Roland McGrath <roland@hack.frob.com>
26625
26626 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26627
bae8e7f5
DM
266282013-01-23 David S. Miller <davem@davemloft.net>
26629
26630 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26631 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26632 argument of CAS if possible.
26633 * sysdeps/sparc/sparc64/bits/atomic.h
26634 (__arch_compare_and_exchange_val_32_acq): Likewise.
26635 (__arch_compare_and_exchange_val_64_acq): Likewise.
26636
9cbbc4ae
PT
266372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26638
26639 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26640 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26641 Include <limits.h>.
67b3f58c 26642 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26643
5655a0b5
AC
266442013-01-23 Adam Conrad <adconrad@0c3.net>
26645
26646 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26647 (LDFLAGS-tst-array5): Likewise.
26648
052aff95
JM
266492013-01-23 Joseph Myers <joseph@codesourcery.com>
26650
26651 [BZ #15036]
26652 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26653 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26654 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26655 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26656
7c1e01aa
DM
266572013-01-21 David S. Miller <davem@davemloft.net>
26658
26659 * sysdeps/sparc/backtrace.c: New file.
26660 * sysdeps/sparc/sparc32/backtrace.h: New file.
26661 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26662 * sysdeps/sparc/sparc64/backtrace.h: New file.
26663 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26664 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26665 -funwind-tables.
26666
ab087e0a
AS
266672013-01-21 Andreas Schwab <schwab@suse.de>
26668
26669 [BZ #15020]
26670 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26671 closed its stdout.
26672
ed689c2f
AS
266732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26674
26675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26676 "mpa2.h".
26677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26678
31d470ac
JM
266792013-01-18 Joseph Myers <joseph@codesourcery.com>
26680 Mark Mitchell <mark@codesourcery.com>
26681 Tom de Vries <tom@codesourcery.com>
26682 Paul Pluzhnikov <ppluzhnikov@google.com>
26683
26684 * debug/tst-backtrace2.c: New file.
26685 * debug/tst-backtrace3.c: Likewise.
26686 * debug/tst-backtrace4.c: Likewise.
26687 * debug/tst-backtrace5.c: Likewise.
26688 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26689 (CFLAGS-tst-backtrace3.c): Likewise.
26690 (CFLAGS-tst-backtrace4.c): Likewise.
26691 (CFLAGS-tst-backtrace5.c): Likewise.
26692 (LDFLAGS-tst-backtrace2): Likewise.
26693 (LDFLAGS-tst-backtrace3): Likewise.
26694 (LDFLAGS-tst-backtrace4): Likewise.
26695 (LDFLAGS-tst-backtrace5): Likewise.
26696 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26697 tst-backtrace4 and tst-backtrace5.
26698
90567f30 266992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26700 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26701
26702 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26703 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26704 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26705 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26707 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26708 "+r" and remove output regs list as redundant. Add explicit inline
26709 asm to specify register of return val to work around compiler codegen
26710 bug. Remove (int) cast on return value. Add return type parameter to
26711 use in macro so that this macro does not truncate return value for
26712 64-bit values.
26713 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26714 pass to INTERNAL_VSYSCALL_NCS.
26715 (INLINE_VSYSCALL): Add 'long int' as return type to
26716 INTERNAL_VSYSCALL_NCS macro invocation.
26717 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26718 INTERNAL_VSYSCALL_NCS macro invocation.
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26720
d3b9ea61
SP
267212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26722
0b57daeb
SP
26723 [BZ #14496]
26724 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26725 Fix application of SIMD FP exception mask.
26726
caa99d06
SP
26727 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26728 mp_no from a power of two.
26729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26730 __mpexp_twomm1. Use __pow_mp.
26731
d3b9ea61
SP
26732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26733 multiplication.
26734
1dbaee3c
DM
267352013-01-17 David S. Miller <davem@davemloft.net>
26736
26737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26738
728d7b43
JM
267392013-01-17 Joseph Myers <joseph@codesourcery.com>
26740
26741 [BZ #15023]
26742 * include/complex.h: Condition contents on [!_COMPLEX_H].
26743 (__kernel_casinhf): New prototype.
26744 (__kernel_casinh): Likewise.
26745 (__kernel_casinhl): Likewise.
26746 * math/Makefile (libm_calls): Add k_casinh.
26747 * math/k_casinh.c: New file.
26748 * math/k_casinhf.c: Likewise.
26749 * math/k_casinhl.c: Likewise.
26750 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26751 finite nonzero arguments.
26752 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26753 finite nonzero arguments.
26754 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26755 finite nonzero arguments.
26756 * math/s_casinh.c: Do not include <float.h>.
26757 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26758 * math/s_casinhf.c: Do not include <float.h>.
26759 (__casinhf): Move code for finite nonzero arguments to
26760 k_casinhf.c.
26761 * math/s_casinhl.c: Do not include <float.h>.
26762 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26763 redefine.
26764 (__casinhl): Move code for finite nonzero arguments to
26765 k_casinhl.c.
26766 * math/libm-test.inc (cacos_test): Add more tests.
26767 * sysdeps/i386/fpu/libm-test-ulps: Update.
26768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26769
2a26ef3a
PT
267702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26771
26772 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26773 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26774 [!HAVE_MREMAP]: Remove [defined linux] case.
26775 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26776
a897655d
SP
267772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26778
26779 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26780
881ebe89 267812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26782
26783 * elf/elf.h (R_386_SIZE32): New relocation.
26784 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26785 R_386_SIZE32.
26786 (elf_machine_rela): Likewise.
26787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26788 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26789
59981e9b
JM
267902013-01-17 Joseph Myers <joseph@codesourcery.com>
26791
26792 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26793 (FP_FAST_FMA): Do not define.
26794 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26795 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26796 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26797 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26798 !_SOFT_FLOAT]: Likewise.
26799 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26800 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26801 value.
26802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26803 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26805 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26806 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26807 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26808 file.
26809
cfa8054f
AS
268102013-01-16 Andreas Schwab <schwab@suse.de>
26811
26812 [BZ #14327]
26813 * include/stdlib.h (__mktemp): Add declaration.
26814 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26815 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26816
dd930cc5
SP
268172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26818
881ebe89
SP
26819 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26820 definitions.
26821 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26822 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26823 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26824 definitions here.
26825 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26826 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26827 definitions.
26828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26829 and ONE.
26830 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26831 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26832 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26833 definitions.
26834 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26835 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26836 definitions.
26837 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26838
dd930cc5
SP
26839 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26840
c19a9f89
DM
268412013-01-15 David S. Miller <davem@davemloft.net>
26842
1aa61767
DM
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26844 trunc{,f} to libm-sysdep_routes.
26845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26847 file.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26850 file.
26851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26852 file.
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26855 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26857 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26858 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26859 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26860 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26861
c42d5e98
DM
26862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26863 nearbyint{,f} to libm-sysdep_routes.
26864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26866 New file.
26867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26868 file.
26869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26870 New file.
26871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26872 file.
26873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26876 file.
26877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26878 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26879 file.
26880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26881 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26882 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26883
c19a9f89
DM
26884 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26885 libc_feholdexcept and libc_fesetenv.
26886
357679d2
MF
268872013-01-15 Mike Frysinger <vapier@gentoo.org>
26888
26889 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26890
65a82e3d
DM
268912013-01-14 David S. Miller <davem@davemloft.net>
26892
8b954ab9
DM
26893 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26894 (SPARC_ASM_VIS2_IFUNC): Likewise.
26895 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26897 use of 'siam' instruction.
26898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26899 Likewise.
26900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26901 Likewise.
26902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26903 Likewise.
26904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26909 file.
26910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26911 file.
26912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26913 file.
26914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26915 file.
26916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26921 new VIS2 routines.
26922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26925 Likewise.
26926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26931 routines to libm-sysdep_routines.
26932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26933
65a82e3d
DM
26934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26935 fdim/fdimf to libm-sysdep_routines.
26936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26937 file.
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26940 file.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26944 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26945 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26946 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26947 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26948
e34ab705
SP
269492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26950
2a91b573
SP
26951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26952 to optimize copies.
26953
1066a534
SP
26954 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26957
e34ab705
SP
26958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26959 local variable MPTWO.
26960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26961 Likewise.
26962
aba5e596
MF
269632013-01-13 Mike Frysinger <vapier@gentoo.org>
26964
26965 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26966 GLOB_NOESCAPE.
26967
e557e9e5
MF
269682013-01-13 Mike Frysinger <vapier@gentoo.org>
26969
26970 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26971
0428cec9
MF
269722013-01-13 Mike Frysinger <vapier@gentoo.org>
26973
26974 * manual/pattern.texi (glob_t): Document gl_flags.
26975 (glob64_t): Likewise.
26976
8794a964
DM
269772013-01-11 David S. Miller <davem@davemloft.net>
26978
66438c3f
RM
26979 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26980 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26981 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26982 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26983 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26984 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26985 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26986 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26987 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26988 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26989 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26990 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26991 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26992
4ae4244d
DM
26993 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26994 sparc V9 rather than using V8 code.
26995 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26996 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26997
8794a964
DM
26998 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26999 Move to...
27000 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27001 Here.
27002
6270516e
RM
270032013-01-11 Roland McGrath <roland@hack.frob.com>
27004
27005 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27006 not in the main loop.
27007 * configure: Regenerated.
27008
6a57d931
JM
270092013-01-11 Joseph Myers <joseph@codesourcery.com>
27010
27011 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27012 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27013 to just #else.
27014 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27015 [!__GLIBC_HAVE_LONG_LONG] case.
27016 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27017 condition to just #else.
27018 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27019 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27020 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27021 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27022 unconditional.
27023 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27024 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27025 #elif condition to just #else.
27026 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27027 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27028 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27029 #elif condition to just #else.
27030
0e8529e9
SE
270312013-01-11 Steve Ellcey <sellcey@mips.com>
27032
27033 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27034 (EF_MIPS_ARCH_64): Fix value.
27035 (EF_MIPS_ARCH_32R2): New.
27036 (EF_MIPS_ARCH_64R2): New.
27037
740b3dbe
L
270382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27039
27040 * Makeconfig (+link-pie-before-libc): New.
27041 (+link-pie-after-libc): Likewise.
27042 (+link-pie-tests): Likewise.
27043 (+link-pie): Rewritten.
27044 (link-before-libc): Remove $(config-LDFLAGS).
27045 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27046 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27047 (config-LDFLAGS): Renamed to ...
27048 (rtld-LDFLAGS): This.
27049 (rtld-tests-LDFLAGS): New macro.
27050 (link-libc-rpath-link): Likewise.
27051 (link-libc-tests-rpath-link): Likewise.
27052 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27053 (link-libc): Prepand $(link-libc-rpath-link).
27054 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27055 (test-program-prefix): New macro.
27056 (test-via-rtld-prefix): Likewise.
27057 (test-program-cmd): Likewise.
27058 (host-test-program-cmd): Likewise.
27059 * Makefile ($(common-objpfx)testrun.sh): Replace
27060 $(run-program-prefix) with $(test-program-prefix).
27061 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27062 $(rtld-LDFLAGS).
27063 ($(common-objpfx)shlib.lds): Likewise.
27064 (build-module-helper): Likewise.
27065 ($(common-objpfx)format.lds): Likewise.
27066 * Rules (binaries-pie-tests): New.
27067 (binaries-pie-notests): Likewise.
27068 (binaries-pie): Rewritten.
27069 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27070 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27071 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27072 (make-test-out): Replace $(host-built-program-cmd) with
27073 $(host-test-program-cmd).
27074 * config.make.in (build-hardcoded-path-in-tests): New variable.
27075 * configure.in (--enable-hardcoded-path-in-tests): New configure
27076 option.
27077 (hardcoded_path_in_tests): New AC_SUBST.
27078 * configure: Regenerated.
27079 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27080 $(built-program-cmd) with $(test-program-cmd).
27081 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27082 (test_program_cmd): This.
27083 * elf/Makefile ($(objpfx)order.out): Run test with
27084 $(test-program-prefix).
27085 ($(objpfx)order2.out): Likewise.
27086 ($(objpfx)tst-initorder.out): Likewise.
27087 ($(objpfx)tst-initorder2.out): Likewise.
27088 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27089 $(test-program-cmd).
27090 ($(objpfx)tst-array1-static.out): Likewise.
27091 ($(objpfx)tst-array2.out): Likewise.
27092 ($(objpfx)tst-array3.out): Likewise.
27093 ($(objpfx)tst-array4.out): Likewise.
27094 ($(objpfx)tst-array5.out): Likewise.
27095 ($(objpfx)tst-array5-static.out): Likewise.
27096 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27097 $(test-program-cmd).
27098 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27099 $(run-program-prefix) with $(test-program-prefix).
27100 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27101 (test_program_prefix): This.
27102 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27103 $(run-program-prefix) with $(test-program-prefix).
27104 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27105 (test_program_prefix): This.
27106 * iconvdata/tst-tables.sh: Likewise.
27107 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27108 $(run-program-prefix) with $(test-program-prefix).
27109 ($(objpfx)tst-translit.out): Likewise.
27110 ($(objpfx)tst-gettext2.out): Likewise.
27111 ($(objpfx)tst-gettext4.out): Likewise.
27112 ($(objpfx)tst-gettext6.out): Likewise.
27113 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27114 (test_program_prefix): This.
27115 * intl/tst-gettext2.sh: Likewise.
27116 * intl/tst-gettext4.sh Likewise.
27117 * intl/tst-gettext6.sh: Likewise.
27118 * intl/tst-translit.sh: Likewise.
27119 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27120 with $(test-program-cmd).
27121 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27122 $(run-program-prefix) with $(test-program-prefix).
27123 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27124 (test_program_prefix): This.
27125 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27126 $(run-program-prefix) with $(test-program-prefix).
27127 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27128 (test_program_prefix): This.
27129 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27130 * posix/Makefile ($(objpfx)globtest.out): Replace
27131 $(run-via-rtld-prefix) and $(test-wrapper) with
27132 $(test-program-prefix) and $(test-via-rtld-prefix).
27133 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27134 $(test-program-prefix).
27135 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27136 $(host-test-program-cmd).
27137 (tst-spawn-ARGS): Likewise.
27138 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27139 $(test-program-prefix).
27140 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27141 (test_via_rtld_prefix): This.
27142 (test_wrapper): Renamed to ...
27143 (test_program_prefix): This.
27144 (run_program_prefix): Replaced by test_program_prefix.
27145 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27146 (test_program_prefix): This.
27147 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27148 with $(host-test-program-cmd).
27149 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27150 $(run-program-prefix) with $(test-program-prefix).
27151 ($(objpfx)tst-printf.out): Likewise.
27152 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27153 $(test-program-cmd).
27154 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27155 (test_program_prefix): This.
27156 * stdio-common/tst-unbputc.sh: Likewise.
27157 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27158 $(run-program-prefix) with $(test-program-prefix).
27159 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27160 (test_program_prefix): This.
27161 * string/Makefile ($(objpfx)tst-svc.out): Replace
27162 $(built-program-cmd) with $(test-program-cmd).
27163
c6fe55cf
AJ
271642013-01-11 Andreas Jaeger <aj@suse.de>
27165
27166 [BZ #15003]
27167 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27168 value. Sync with Linux 3.7.
27169
9e6919c8
DM
271702013-01-10 David S. Miller <davem@davemloft.net>
27171
27172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27175
1c9f1a02
RM
271762013-01-10 Roland McGrath <roland@hack.frob.com>
27177
27178 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27179 never set.
27180 * configure: Regenerated.
27181
b9de2dde
DM
271822013-01-10 David S. Miller <davem@davemloft.net>
27183
27184 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27185 sparc V9 rather than using V8 code.
27186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27188
e7f68ef4
RM
271892013-01-10 Roland McGrath <roland@hack.frob.com>
27190
27191 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27192 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27193 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27194 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27195 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27196 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27197 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27198 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27199 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27200 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27201 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27202 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27203 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27204 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27205 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27206 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27207 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27208 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27209 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27210 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27211 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27212 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27213 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27214 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27215 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27216 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27217 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27218
5a47cc9c
DM
272192013-01-10 David S. Miller <davem@davemloft.net>
27220
27221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27222
4cf8f209
L
272232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27224
27225 * posix/Makefile (tests-static): New variable.
27226 (tests): Add $(tests-static).
27227 (tst-exec-static-ARGS): New variable.
27228 (tst-spawn-static-ARGS): Likewise.
27229 * posix/tst-exec-static.c: New file.
27230 * posix/tst-spawn-static.c: Likewise.
27231 * posix/tst-exec.c: Support run directly.
27232 * posix/tst-spawn.c: Likewise.
27233
fed0faa1
JM
272342013-01-10 Joseph Myers <joseph@codesourcery.com>
27235
828beb13
JM
27236 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27237 long.
27238 * math/bits/mathcalls.h (llrint): Likewise.
27239 (llround): Likewise.
27240 * stdlib/stdlib.h (struct drand48_data): Likewise.
27241 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27242 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27243 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27244 Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27246 Likewise.
27247 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27248 (elf_greg_t): Likewise.
27249 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27250 (__jmp_buf): Likewise.
27251 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27252 definitions.
27253 (llrint): Likewise, for all definitions.
27254 (llrintl): Likewise.
27255
fed0faa1
JM
27256 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27257 Remove [__GNUC__] condition.
27258 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27259 condition to just [__USE_ISOC99].
27260 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27261
1a20cb20
L
272622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27263
27264 [BZ #14200]
27265 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27266 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27267 defined.
27268 (_POSIX_V6_ILP32_OFF32): Likewise.
27269 (_XBS5_ILP32_OFF32): Likewise.
27270 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27271 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27272
751b85f7
SP
272732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27274
7490eb81
SP
27275 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27276
751b85f7
SP
27277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27278 doubles __mpexp_twomm1. Adjust usage.
27279 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27280 Remove.
27281
988197f0
AS
272822013-01-10 Andreas Schwab <schwab@suse.de>
27283
27284 [BZ #14964]
27285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27286 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27287
e83d7298
DM
272882013-01-09 David S. Miller <davem@davemloft.net>
27289
034ed64b 27290 [BZ #15003]
57f41c40
AS
27291 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27292 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27293 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27294 (TCP_FASTOPEN): Define.
e83d7298
DM
27295 (tcp_repair_opt): New structure.
27296 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27297 enum values.
57f41c40
AS
27298 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27299 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27300 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27301 (tcp_cookie_transactions): New structure.
27302
d5e0b9bd
AB
273032013-01-09 Anton Blanchard <anton@samba.org>
27304
27305 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27306 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27308 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27309
0c07e3ea
JM
273102013-01-09 Joseph Myers <joseph@codesourcery.com>
27311
27312 * include/features.h (__USE_ANSI): Remove.
27313
232f7002
RM
273142013-01-09 Roland McGrath <roland@hack.frob.com>
27315
ad98e30c
RM
27316 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27317
232f7002
RM
27318 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27319
950c99ca
SP
273202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27321
b5792741
SP
27322 * sysdeps/s390/fpu/libm-test-ulps: Update.
27323
47cf2278
SP
27324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27325
950c99ca
SP
27326 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27327 (__acr): Likewise.
27328 (__cpy): Likewise.
27329 (norm): Likewise.
27330 (denorm): Likewise.
27331 (__mp_dbl): Likewise.
27332 (__dbl_mp): Likewise.
27333 (add_magnitudes): Likewise.
27334 (sub_magnitudes): Likewise.
27335 (__add): Likewise.
27336 (__sub): Likewise.
27337 (__mul): Likewise.
27338 (__inv): Likewise.
27339 (__dvd): Likewise.
27340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27341 (__acr): Likewise.
27342 (__cpy): Likewise.
27343 (norm): Likewise.
27344 (denorm): Likewise.
27345 (__mp_dbl): Likewise.
27346 (__dbl_mp): Likewise.
27347 (add_magnitudes): Likewise.
27348 (sub_magnitudes): Likewise.
27349 (__add): Likewise.
27350 (__sub): Likewise.
27351 (__mul): Likewise.
27352 (__inv): Likewise.
27353 (__dvd): Likewise.
27354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27355 (__acr): Likewise.
27356 (__cpy): Likewise.
27357 (norm): Likewise.
27358 (denorm): Likewise.
27359 (__mp_dbl): Likewise.
27360 (__dbl_mp): Likewise.
27361 (add_magnitudes): Likewise.
27362 (sub_magnitudes): Likewise.
27363 (__add): Likewise.
27364 (__sub): Likewise.
27365 (__mul): Likewise.
27366 (__inv): Likewise.
27367 (__dvd): Likewise.
27368
eede9df9
JM
273692013-01-08 Joseph Myers <joseph@codesourcery.com>
27370
27371 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27372 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27373 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27374 2 && __USE_EXTERN_INLINES]: Likewise.
27375
c40ea3d9
AJ
273762013-01-08 Andreas Jaeger <aj@suse.de>
27377
27378 [BZ# 14985]
27379 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27380 Remove.
27381 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27382 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27383
2ccdea26
AB
273842013-01-07 Anton Blanchard <anton@samba.org>
27385
27386 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27387 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27388 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27389 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27390 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27391 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27392 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27393 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27401 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27402 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27404 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27405 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27407 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27409 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27410 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27411 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27412 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27413 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27415 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27416 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27418 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27420 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27422 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27423 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27424 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27426 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27428 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27429
a9708fed
JM
274302013-01-07 Joseph Myers <joseph@codesourcery.com>
27431
375607b9
JM
27432 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27433 (__MALLOC_PMT): Likewise.
27434 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27435 [__GNUC__], only on [_LIBC].
27436 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27437 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27438 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27439 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27440 forward declaration.
27441 (realloc_hook_ini): Likewise.
27442 (memalign_hook_ini): Likewise.
27443 (__libc_memalign): Do not use __MALLOC_PMT in variable
27444 declaration.
27445 (__libc_valloc): Likewise.
27446 (__libc_pvalloc): Likewise.
27447 (__libc_calloc): Likewise.
27448 (__posix_memalign): Likewise.
27449
a9708fed
JM
27450 [BZ #14996]
27451 * math/s_casinh.c: Include <float.h>.
27452 (__casinh): Do not do computation with squaring and square root
27453 for large arguments.
27454 * math/s_casinhf.c: Include <float.h>.
27455 (__casinhf): Do not do computation with squaring and square root
27456 for large arguments.
27457 * math/s_casinhl.c: Include <float.h>.
27458 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27459 (__casinhl): Do not do computation with squaring and square root
27460 for large arguments.
27461 * math/libm-test.inc (casin_test): Add more tests.
27462 (casinh_test): Likewise.
27463 * sysdeps/i386/fpu/libm-test-ulps: Update.
27464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27465
afec409a
L
274662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27467
27468 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27469 (__x86_64_raw_data_cache_size): Likewise.
27470 (__x86_64_data_cache_size_half): Likewise.
27471 (__x86_64_raw_data_cache_size_half): Likewise.
27472 (__x86_64_shared_cache_size): Likewise.
27473 (__x86_64_raw_shared_cache_size): Likewise.
27474 (__x86_64_shared_cache_size_half): Likewise.
27475 (__x86_64_raw_shared_cache_size_half): Likewise.
27476 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27477 to ...
27478 (__x86_data_cache_size): This.
27479 (__x86_64_raw_data_cache_size): Renamed to ...
27480 (__x86_raw_data_cache_size): This.
27481 (__x86_64_data_cache_size_half): Renamed to ...
27482 (__x86_data_cache_size_half): This.
27483 (__x86_64_raw_data_cache_size_half): Renamed to ...
27484 (__x86_raw_data_cache_size_half): This.
27485 (__x86_64_shared_cache_size): Renamed to ...
27486 (__x86_shared_cache_size): This.
27487 (__x86_64_raw_shared_cache_size): Renamed to ...
27488 (__x86_raw_shared_cache_size): This.
27489 (__x86_64_shared_cache_size_half): Renamed to ...
27490 (__x86_shared_cache_size_half): This.
27491 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27492 (__x86_raw_shared_cache_size_half): This.
27493 * sysdeps/x86_64/memcpy.S: Updated.
27494 * sysdeps/x86_64/memset.S: Likewise.
27495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27498
0b3986d0
DM
274992013-01-04 David S. Miller <davem@davemloft.net>
27500
27501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27502
e47686e9
AS
275032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27504
d643bac1
AS
27505 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27506 1 to avoid redefinition warning.
27507 (__USE_GNU): Don't define.
27508 (init_signaling_nan): Protoize.
27509
e47686e9
AS
27510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27511
b18decba
SP
275122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27513
fffb407f
SP
27514 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27516 (__cpymn): Likewise.
27517 (norm): Remove commented code.
27518 (denorm): Likewise.
27519 (__mp_dbl): Likewise.
27520 (__inv): Likewise.
27521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27522 (__cpymn): Likewise.
27523 (norm): Remove commented code.
27524 (denorm): Likewise.
27525 (__mp_dbl): Likewise.
27526 (__inv): Likewise.
27527
b18decba
SP
27528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27529 mp_no value for 1.0 and 2.0.
27530 (norm): Use RADIXI instead of radixi.d.
27531 (denorm): Likewise.
27532 (__mul): Use 0.0 instead of zero.d.
27533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27534 mp_no value for 1.0 and 2.0.
27535 (norm): Use RADIXI instead of radixi.d.
27536 (denorm): Likewise.
27537 (__mul): Use 0.0 instead of zero.d.
27538
cdc1c96f
JM
275392013-01-04 Joseph Myers <joseph@codesourcery.com>
27540
27541 [BZ #14994]
27542 * math/s_casinh.c (__casinh): Reduce finite argument to first
27543 quadrant then set signs of results at the end.
27544 * math/s_casinhf.c (__casinhf): Likewise.
27545 * math/s_casinhl.c (__casinhl): Likewise.
27546 * math/libm-test.inc (casin_test): Add more tests.
27547 (casinh_test): Likewise.
27548 * sysdeps/i386/fpu/libm-test-ulps: Update.
27549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27550
302913e1
SP
275512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27552
6420d207
SP
27553 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27554
a9e48ab4
SP
27555 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27556
b7837264
SP
27557 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27558 declarations.
27559 (denorm): Likewise.
27560 (__mp_dbl): Likewise.
27561 (__inv): Likewise.
27562
f8af25d2
SP
27563 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27564 and adjust the header comment.
27565
302913e1
SP
27566 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27567 variable name from declaration.
27568
5d7dd1ca
L
275692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27572 Initialize COMMON_CPUID_INDEX_7 element.
27573 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27574 (CPUID_RTM): Likewise.
27575 (HAS_RTM): Likewise.
27576 (COMMON_CPUID_INDEX_7): New enum.
27577
2f5f40f4
AS
275782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27579
27580 [BZ #14981]
27581 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27582 size is zero, record memory as freed.
27583
4056f4a0
AJ
275842013-01-03 Andreas Jaeger <aj@suse.de>
27585
27586 * po/ia.po: Add new Interlingua translation.
27587
ab15736f 275882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27589
27590 * locale/programs/localedef.c: Fix description of '--posix' flag.
27591
568035b7
JM
275922013-01-02 Joseph Myers <joseph@codesourcery.com>
27593
e6898b8d
JM
27594 * NEWS: Update dates in second copyright notice.
27595 * README: Update copyright dates in example.
27596 * manual/libc.texinfo: Update copyright dates.
27597 * scripts/test-installation.pl: Update copyright date in --version
27598 output.
27599
0e2f9562
JM
27600 * hurd/ctty-input.c: Fix copyright notice formatting.
27601 * hurd/ctty-output.c: Likewise.
27602 * hurd/dtable.c: Likewise.
27603 * hurd/hurd-raise.c: Likewise.
27604 * hurd/hurdprio.c: Likewise.
27605 * hurd/msgportdemux.c: Likewise.
27606 * misc/sys/file.h: Likewise.
27607 * misc/sys/ioctl.h: Likewise.
27608 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27609 * sysdeps/mach/hurd/chdir.c: Likewise.
27610 * sysdeps/mach/hurd/fchdir.c: Likewise.
27611 * sysdeps/mach/hurd/rename.c: Likewise.
27612 * sysdeps/mach/hurd/rmdir.c: Likewise.
27613 * sysdeps/mach/hurd/seekdir.c: Likewise.
27614 * sysdeps/mach/hurd/setsid.c: Likewise.
27615 * sysdeps/posix/wait3.c: Likewise.
27616
568035b7
JM
27617 * All files with FSF copyright notices: Update copyright dates
27618 using scripts/update-copyrights.
27619 * intl/plural.c: Regenerated.
27620 * locale/programs/charmap-kw.h: Likewise.
27621 * locale/programs/locfile-kw.h: Likewise.
27622
da08f647
SP
276232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27624
0f5477af
SP
27625 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27626 four values.
27627
44e0d4c2
SP
27628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27629 calculation loop and add branch prediction.
27630
4d55b4e5
SP
27631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27632 check access beyond bounds of m1np.
27633
da08f647
SP
27634 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27635 MPTWO.
27636 (__inv): Remove local variable MPTWO to use the global
27637 constant.
27638 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27639 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27640 variable MPTWO.
27641 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27642 MP3HALFS static const.
27643
8e051029
DM
276442013-01-01 David S. Miller <davem@davemloft.net>
27645
27646 * po/ca.po: Update from translation team.
27647
f4cf5f2d
JM
276482013-01-01 Joseph Myers <joseph@codesourcery.com>
27649
27650 * scripts/update-copyrights: New file.
27651 * Makeconfig: Reformat copyright notice.
27652 * ctype/ctype.h: Likewise.
27653 * debug/swprintf_chk.c: Likewise.
27654 * elf/dl-cache.c: Likewise.
27655 * elf/dl-debug.c: Likewise.
27656 * elf/dl-object.c: Likewise.
27657 * grp/initgroups.c: Likewise.
27658 * hurd/Makefile: Likewise.
27659 * hurd/hurd/signal.h: Likewise.
27660 * hurd/hurdfault.c: Likewise.
27661 * hurd/hurdioctl.c: Likewise.
27662 * hurd/hurdlookup.c: Likewise.
27663 * hurd/intr-msg.c: Likewise.
27664 * iconv/gconv_open.c: Likewise.
27665 * libio/swprintf.c: Likewise.
27666 * locale/lc-ctype.c: Likewise.
27667 * locale/nl_langinfo.c: Likewise.
27668 * mach/Machrules: Likewise.
27669 * mach/Makefile: Likewise.
27670 * malloc/obstack.h: Likewise.
27671 * manual/Makefile: Likewise.
27672 * manual/tsort.awk: Likewise.
27673 * misc/bits/stab.def: Likewise.
27674 * nis/nis_print_group_entry.c: Likewise.
27675 * nis/nis_table.c: Likewise.
27676 * nis/nss_compat/compat-pwd.c: Likewise.
27677 * nis/nss_compat/compat-spwd.c: Likewise.
27678 * po/Makefile: Likewise.
27679 * posix/fnmatch.c: Likewise.
27680 * posix/regex.h: Likewise.
27681 * resolv/Makefile: Likewise.
27682 * resolv/nss_dns/dns-network.c: Likewise.
27683 * resolv/res_hconf.c: Likewise.
27684 * scripts/gen-sorted.awk: Likewise.
27685 * soft-fp/soft-fp.h: Likewise.
27686 * stdio-common/printf.h: Likewise.
27687 * stdlib/monetary.h: Likewise.
27688 * stdlib/random.c: Likewise.
27689 * stdlib/random_r.c: Likewise.
27690 * sysdeps/generic/Makefile: Likewise.
27691 * sysdeps/gnu/Makefile: Likewise.
27692 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27720 * sysdeps/mach/hurd/errnos.awk: Likewise.
27721 * sysdeps/mach/hurd/fork.c: Likewise.
27722 * sysdeps/mach/hurd/getcwd.c: Likewise.
27723 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27724 * sysdeps/mach/hurd/mmap.c: Likewise.
27725 * sysdeps/mach/hurd/utimes.c: Likewise.
27726 * sysdeps/mach/hurd/xmknod.c: Likewise.
27727 * sysdeps/posix/profil.c: Likewise.
27728 * sysdeps/posix/readdir_r.c: Likewise.
27729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27730 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27731 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27732 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27734 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27735 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27736 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27738 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27739 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27740 * sysdeps/pthread/lio_listio.c: Likewise.
27741 * sysdeps/sparc/dl-procinfo.h: Likewise.
27742 * sysdeps/unix/i386/sysdep.S: Likewise.
27743 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27744 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27745 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27746 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27748 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27749 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27750 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27751 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27752 * sysdeps/wordsize-32/divdi3.c: Likewise.
27753 * time/sys/time.h: Likewise.
27754 * wcsmbs/Makefile: Likewise.
27755
0549fbba
DM
277562013-01-01 David S. Miller <davem@davemloft.net>
27757
a141f1a7
DM
27758 * po/fr.po: Update from translation team.
27759
0549fbba
DM
27760 * catgets/gencat.c: Update copyright year.
27761 * csu/version.c: Likewise.
27762 * debug/catchsegv.sh: Likewise.
27763 * debug/pcprofiledump.c: Likewise.
27764 * debug/xtrace.sh: Likewise.
27765 * elf/ldconfig.c: Likewise.
27766 * elf/ldd.bash.in: Likewise.
27767 * elf/pldd.c: Likewise.
27768 * elf/sotruss.ksh: Likewise.
27769 * elf/sprof.c: Likewise.
27770 * iconv/iconv_prog.c: Likewise.
27771 * iconv/iconvconfig.c: Likewise.
27772 * locale/programs/locale.c: Likewise.
27773 * locale/programs/localedef.c: Likewise.
27774 * login/programs/pt_chown.c: Likewise.
27775 * malloc/memusage.sh: Likewise.
27776 * malloc/memusagestat.c: Likewise.
27777 * malloc/mtrace.pl: Likewise.
27778 * nscd/nscd.c: Likewise.
27779 * nss/getent.c: Likewise.
27780 * nss/makedb.c: Likewise.
27781 * posix/getconf.c: Likewise.
27782
18ea052c
SP
277832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27784
27785 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27786 numbers.
27787
9c89fca6
MF
277882012-12-30 Mike Frysinger <vapier@gentoo.org>
27789
27790 * math/bits/mathcalls.h (modf): Use __nonnull.
27791
085ec079
SP
277922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27793
27794 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27795 (split): Use macro CN instead of the bare value.
27796 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27797 could be used.
27798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27799 instead of the bare value.
27800 (power1): Likewise.
27801
6d9f97e1
SP
278022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27803
d63f73be
SP
27804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27805 __ATAN_TWOM.
27806 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27807
6d9f97e1
SP
27808 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27809 their values.
27810 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27812 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27813 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27814
4c4febf5
AJ
278152012-12-28 Andreas Jaeger <aj@suse.de>
27816
af5843ef
AJ
27817 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27818 values are from Linux 3.7.
27819
4c4febf5
AJ
27820 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27821 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27822
99136f82
SP
278232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27824
2f216c3c 27825 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27826 TRUE case.
27827
99136f82
SP
27828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27829 (norm): Likewise.
27830 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27831 variables with preprocessor constants.
27832 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27833 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27835
7fffbdff
BH
278362012-12-27 Bruno Haible <bruno@clisp.org>
27837
27838 [BZ #14317]
27839 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27840 only if needed.
27841
b76eb5f0
SP
278422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27843
31a7fe5c
SP
27844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27845 and use variable directly.
27846 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27847
b76eb5f0
SP
27848 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27849 MPONE.
27850 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27852 variable MPONE.
27853 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27855 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27856 include directive. Remove local variable MPONE.
27857 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27858 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27859 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27860
2c8bfe7d
DM
278612012-12-25 David S. Miller <davem@davemloft.net>
27862
27863 * version.h (RELEASE): Set to "development".
27864 (VERSION): Set to "2.17.90".
27865 * NEWS: Add 2.18 section.
27866
147d03b0
DM
278672012-12-21 David S. Miller <davem@davemloft.net>
27868
27869 * po/hr.po: Update from translation team.
27870
a8ebb2b9
AK
278712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27872
27873 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27874
95b4f1b6
SE
278752012-12-19 Steve Ellcey <sellcey@mips.com>
27876
b2d94007 27877 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27878
cedb2a90
MS
278792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27880
27881 * manual/contrib.texi (Contributors): Spelling correction.
27882
bbf527d6
DM
278832012-12-15 David S. Miller <davem@davemloft.net>
27884
27885 * po/ru.po: Update from translation team.
27886
bc38c906
DM
278872012-12-13 David S. Miller <davem@davemloft.net>
27888
85429b1a
DM
27889 * NEWS: Mention IFUNC testsuite enhancements.
27890
d283e353
DM
27891 * po/pl.po: Update from translation team.
27892 * po/bg.po: Likewise.
27893
bc38c906
DM
27894 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27895 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27896
a181b0d7
DM
278972012-12-11 David S. Miller <davem@davemloft.net>
27898
4641d57e
DM
27899 * po/sv.po: Update from translation team.
27900
f7bc6495
DM
27901 * po/vi.po: Update from translation team.
27902
6fc9048f
DM
27903 * po/cs.po: Update from translation team.
27904
a181b0d7
DM
27905 * po/de.po: Update from translation team.
27906 * po/eo.po: Likewise.
27907 * po/nl.po: Likewise.
27908
f70bfe80
SP
279092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27910
3c8b4190
SP
27911 [BZ #14246]
27912 * manual/argp.texi (Argp Helper Functions): Move node to follow
27913 Argp Parsing State.
27914
f70bfe80
SP
27915 [BZ #14872]
27916 * manual/conf.texi (Limits on File System Capacity): Mention if
27917 terminating null is included in the max size.
27918
188f0adf
AJ
279192012-12-10 Andreas Jaeger <aj@suse.de>
27920
27921 * po/cs.po: Update from translation team.
27922
56e7d3ad
SP
279232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27924
27925 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27926 void pointer and cast to uintptr_t.
27927 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27928 path.
27929 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27930 * sysdeps/s390/s390-64/memset.S: Likewise.
27931
76f2d2ea 279322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27933
27934 [BZ #14833]
27935 * menual/message.texi (Message Translation): Fix typos.
27936 (Helper programs for gettext): Likewise.
27937
67cbf9a2
AS
279382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27939
27940 [BZ #14898]
27941 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27942 Change to -1.
27943
682d0e9a
DM
279442012-12-07 David S. Miller <davem@davemloft.net>
27945
27946 * po/libc.pot: Update.
27947
573cd484
RH
279482012-12-07 Richard Henderson <rth@redhat.com>
27949
7e9da188 27950 [BZ #10114]
573cd484
RH
27951 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27952 normal/normal case to before the switch.
27953 (_FP_DIV): Likewise.
27954
e933a943
MF
279552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27956 Mike Frysinger <vapier@gentoo.org>
27957
27958 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27959 check for __NR_fadvise64_64.
27960
82123268
CM
279612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27962
27963 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27964 0, not just to plain "0" as a statement.
27965 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27966 with cw.
27967
d9814526
JM
279682012-12-06 Joseph Myers <joseph@codesourcery.com>
27969
27970 * NEWS: Use sourceware.org in Bugzilla URL.
27971
7728c574
SP
279722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27973
f16946dd
SP
27974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27975 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27976
5704bbcb
SP
27977 * stdio-common/tst-put-error.c (do_test): Add newline to the
27978 padded test to ensure flush.
27979
17aa0516
JL
279802012-12-05 Jeff Law <law@redhat.com>
27981
27982 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27983
363313b5
JM
279842012-12-05 Joseph Myers <joseph@codesourcery.com>
27985
effbd42a
JM
27986 * README: Don't refer to ports add-on as distributed separately.
27987 Mention AArch64 in list of systems supported in the ports add-on.
27988
87600365
JM
27989 * LICENSES: Add more non-FSF copyright and license notices.
27990
a0d7066a
JM
27991 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27992 ((unused)).
27993
66ca5a5b
JM
27994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27995
363313b5
JM
27996 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27997 10000 as width of padded output.
27998
b37984ad
JM
279992012-12-04 Joseph Myers <joseph@codesourcery.com>
28000
9003570a
JM
28001 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28002
b37984ad
JM
28003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28004 variable LX with __attribute__ ((unused)).
28005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28006 Likewise.
28007 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28010 with __attribute__ ((unused)).
28011
c8df52ec
DM
280122012-12-04 David S. Miller <davem@abraco.davemloft.net>
28013
28014 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28015
b3b099af
JM
280162012-12-04 Joseph Myers <joseph@codesourcery.com>
28017
c33aa6e3
JM
28018 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28019 (CFLAGS-nldbl-acos.c): New variable.
28020 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28021 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28022 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28023 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28024 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28025 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28026 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28027 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28028 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28029 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28030 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28031 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28032 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28033 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28034 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28035 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28036 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28037 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28038 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28039 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28040 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28041 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28042 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28043 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28044 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28045 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28046 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28047 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28048 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28049 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28050 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28051 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28052 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28053 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28054 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28055 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28056 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28057 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28058 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28059 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28060 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28061 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28062 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28063 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28064 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28065 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28066 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28067 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28068 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28069 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28070 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28071 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28072 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28073 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28074 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28075 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28076 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28077 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28078 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28079 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28080 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28081 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28082 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28083 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28084 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28085 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28086 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28087 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28088 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28089 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28090 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28091 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28092 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28093 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28094 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28095 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28096 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28097 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28098 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28099 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28100 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28101 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28102 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28103 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28104 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28105 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28106 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28107 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28108 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28109 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28110 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28111 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28112 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28113 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28114 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28115 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28116 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28117
20f0018d
JM
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28119 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28120
b3b099af
JM
28121 [BZ #14914]
28122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28123 whole low double instead of just low 47 bits when splitting values
28124 into two parts.
28125
029264d1
AM
281262012-12-03 Allan McRae <allan@archlinux.org>
28127
28128 * manual/stdio.texi (Predefined Printf Handlers): Remove
28129 @hsep and @vsep usage.
28130
c9d6789e
MF
281312012-12-03 Mike Frysinger <vapier@gentoo.org>
28132
28133 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28134 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28135
4b7634a5
JL
281362012-12-03 Jeff Law <law@redhat.com>
28137
28138 * time/sys/time.h (settimeofday): Do not mark TV argument
28139 as __nonnull.
28140
eb6cbd24
MF
281412012-12-01 Mike Frysinger <vapier@gentoo.org>
28142
28143 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28144 when currently writing and seek to current position when not.
28145 * libio/Makefile (tests): Remove bug-fclose1.
28146 * libio/bug-fclose1.c: Delete.
28147
f638872a
JM
281482012-12-01 Joseph Myers <joseph@codesourcery.com>
28149
28150 * manual/arith.texi (feenableexcept): Fix typo.
28151 (fedisableexcept): Likewise.
28152
48085d14
RM
281532012-11-30 Roland McGrath <roland@hack.frob.com>
28154
28155 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28156 second, differently-typed declaration, rather than a cast.
28157
1a538b9f
SP
281582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28159
28160 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28161 * include/rpc/svc.h: ... here.
28162
d07f2ff1 281632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28164
28165 [BZ #13013]
28166 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28167 depending n and resplen2 to catch cases where answer
28168 equals answerp2.
28169
c93ec1f0
CD
281702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28171
28172 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28173 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28174
37db69de
MF
281752012-11-29 Mike Frysinger <vapier@gentoo.org>
28176
28177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28178
e10c4e4f
RM
281792012-11-29 Roland McGrath <roland@hack.frob.com>
28180
28181 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28182
2af1b328
JL
281832012-11-28 Jeff Law <law@redhat.com>
28184
28185 [BZ #13761]
28186 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28187 dataset_temporary. Track alloca usage into alloca_used.
28188 If dataset is large allocate and release it via malloc/free.
28189
111db5b1
FW
281902012-06-04 Florian Weimer <fweimer@redhat.com>
28191
f06cc227 28192 [BZ #14197]
111db5b1
FW
28193 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28194
dd694abd
DM
281952012-11-28 David S. Miller <davem@davemloft.net>
28196
28197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28198
9984dd01
JM
281992012-11-28 Joseph Myers <joseph@codesourcery.com>
28200
28201 [BZ #14803]
28202 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28203 of pi/2 rounded to nearest to 64 bits.
28204 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28205 nearest to 64 bits.
28206 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28207 bits.
28208
14bc93a9
JL
282092012-11-28 Jeff Law <law@redhat.com>
28210 Martin Osvald <mosvald@redhat.com>
28211
28212 [BZ #14889]
28213 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28214 * sunrpc/svc.c: Include time.h.
28215 (__svc_accept_failed): New function.
28216 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28217 any reason other than EINTR, call __svc_accept_failed.
28218 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28219 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28220
e3c6aa3a
AS
282212012-11-28 Andreas Schwab <schwab@suse.de>
28222
28223 * scripts/abilist.awk: Also handle indirect functions in .opd
28224 section.
28225
1bead169
JM
282262012-11-28 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #13881]
28229 * sysdeps/x86/fpu/powl_helper.c: New file.
28230 * sysdeps/x86/fpu/Makefile: Likewise.
28231 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28232 (p3): New object.
28233 (__ieee754_powl): Use __powl_helper for finite arguments except
28234 integer exponents below 8.
28235 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28236 (p3): New object.
28237 (__ieee754_powl): Use __powl_helper for finite arguments except
28238 integer exponents below 8.
28239 * math/libm-test.inc (pow_test): Add more tests and enable some
28240 previously disabled tests.
28241 * sysdeps/i386/fpu/libm-test-ulps: Update.
28242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28243
0817d63d
SP
282442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28245 Carlos O'Donell <carlos_odonell@mentor.com>
28246
28247 * nss/makedb.c (is_prime): Assert that input is odd and greater
28248 than 4. Note that fact in a comment too.
28249 (next_prime): Add 4 to input.
28250
de2fd463
SP
282512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28252
28253 [BZ #11741]
28254 * libio/Makefile (tests): Add test case tst-fwrite-error.
28255 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28256 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28257 * libio/tst-fwrite-error.c: New test case.
28258
c515fb51
L
282592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28262 before casting to void *.
28263 * include/libc-internal.h (__pointer_type): New macro.
28264 (__integer_if_pointer_type_sub): Likewise.
28265 (__integer_if_pointer_type): Likewise.
28266 (cast_to_integer): Likewise.
28267 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28268 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28269 before casting to atomic64_t.
28270 (atomic_exchange_acq): Likewise.
28271 (__arch_exchange_and_add_body): Likewise.
28272 (__arch_add_body): Likewise.
28273 (atomic_add_negative): Likewise.
28274 (atomic_add_zero): Likewise.
28275
4cf77aa9
JM
282762012-11-26 Joseph Myers <joseph@codesourcery.com>
28277
28278 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28279 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28280 (add_fdes): Likewise.
28281 (linear_search_fdes): Likewise.
28282 (binary_search_unencoded_fdes): Likewise.
28283
d260b3b4
AS
282842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28285
28286 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28287
67060746
AC
282882012-11-24 Adam Conrad <adconrad@0c3.net>
28289
28290 * configure.in: Autodetect C++ header directories.
28291 * configure: Regenerated.
28292
800938a1
MF
282932012-11-23 Mike Frysinger <vapier@gentoo.org>
28294
28295 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28296
4e6e34e6
AS
282972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28298
28299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28300
7c7feb47
JM
283012012-11-22 Joseph Myers <joseph@codesourcery.com>
28302
7184dcdf
JM
28303 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28304 LDBL_MANT_DIG == 106]: Disable some tests.
28305 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28306 Likewise.
28307 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28308 Likewise.
28309
0a42601f
JM
28310 [BZ #14871]
28311 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28312 input for small inputs. Return +/- pi/2 for large inputs.
28313 * math/libm-test.inc (atan_test): Add more tests.
28314
79c9b9fe
JM
28315 * sysdeps/generic/unwind-dw2-fde-glibc.c
28316 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28317 __attribute__ ((unused)).
28318
c60d3bf2
JM
28319 [BZ #14645]
28320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28321 x * y if x and y are nonzero and z is zero.
28322
ef1e0867
JM
28323 [BZ #14811]
28324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28325 nonzero exponents with absolute value below 0x1p-117 to +/-
28326 0x1p-117.
28327
1468ded3
JM
28328 [BZ #14869]
28329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28330 up arguments below 2**-450, not just those below 2**-500.
28331 * math/libm-test.inc (hypot_test): Add another test.
28332
8e27e3cc
JM
28333 [BZ #14868]
28334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28335 Return a+b for ratio over 2**120, not 2**60.
28336 * math/libm-test.inc (hypot_test): Add another test.
28337
c9c0279b
JM
28338 * math/libm-test.inc (clog_test): Use
28339 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28340 (clog10_test): Likewise.
28341
7c7feb47
JM
28342 [BZ #6778]
28343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28344
fff1530e
AS
283452012-11-22 Andreas Schwab <schwab@suse.de>
28346
28347 * sysdeps/i386/fpu/libm-test-ulps: Update.
28348
94558d30
PT
283492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28350
28351 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28352 printf output with newline.
28353
7e1be741
L
283542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28355
6bfea974
L
28356 [BZ #14865]
28357 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28358 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28359 -z nodlopen, -z initfirst and -z execstack support.
28360 * configure: Regenerated.
28361
7e1be741
L
28362 * elf/elf.h (DF_1_NODIRECT): New macro.
28363 (DF_1_IGNMULDEF): Likewise.
28364 (DF_1_NOKSYMS): Likewise.
28365 (DF_1_NOHDR): Likewise.
28366 (DF_1_EDITED): Likewise.
28367 (DF_1_NORELOC): Likewise.
28368 (DF_1_SYMINTPOSE): Likewise.
28369 (DF_1_GLOBAUDIT): Likewise.
28370 (DF_1_SINGLETON): Likewise.
28371 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28372 DT_1_SUPPORTED_MASK bits.
28373 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28374
105ce2ce
CD
283752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28376
28377 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28378
123be9de
TS
283792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28380
d072f3f7
TS
28381 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28382 macro.
28383
123be9de
TS
28384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28385 (sendmmsg): Move declarations...
28386 * socket/sys/socket.h: ... here.
28387 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28388 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28389 include it from...
28390 * socket/recvmmsg.c: ... this new file.
28391 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28392 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28393 definition of __sendmmsg hidden.
28394 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28395 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28396 Move ENOSYS stub into and include it from...
28397 * socket/sendmmsg.c: ... this new file.
28398 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28399 (sysdep_routines): Move recvmmsg and sendmmsg...
28400 * socket/Makefile (routines): ... here.
28401 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28402 (GLIBC_PRIVATE): Add __sendmmsg.
28403 * include/sys/socket.h (__sendmmsg): Add declarations.
28404 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28405 sendmmsg.
28406
cf9a5d18
JM
284072012-11-20 Joseph Myers <joseph@codesourcery.com>
28408
28409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28410 variable I1 with __attribute__ ((unused)).
28411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28412
ecd4caf9
JM
284132012-11-19 Joseph Myers <joseph@codesourcery.com>
28414
be14d48f
JM
28415 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28416 DUMMY variables with __attribute__ ((unused)).
28417
ecd4caf9
JM
28418 * bits/byteswap.h: Include <bits/types.h>.
28419 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28420
986cab95
PT
284212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28422
28423 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28424 string_t. Do not manually set errno.
28425 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28426 length with __strnlen. Make sure to both set errno and return it on
28427 failure.
28428
6d33cc9d
DM
284292012-11-19 David S. Miller <davem@davemloft.net>
28430
28431 With help from Joseph Myers.
28432 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28433 very large arguments properly.
28434 * math/libm-test.inc (atan_test): New tests.
28435 (atan2_test): New tests.
28436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28438
ee663277
JM
284392012-11-19 Joseph Myers <joseph@codesourcery.com>
28440
877f2d8e
JM
28441 [BZ #14856]
28442 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28443 Define to 3.
28444
116fc08a
JM
28445 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28446 [POSIX] (EADDRNOTAVAIL): Likewise.
28447 [POSIX] (EAFNOSUPPORT): Likewise.
28448 [POSIX] (EALREADY): Likewise.
28449 [POSIX] (ECONNABORTED): Likewise.
28450 [POSIX] (ECONNREFUSED): Likewise.
28451 [POSIX] (ECONNRESET): Likewise.
28452 [POSIX] (EDESTADDRREQ): Likewise.
28453 [POSIX] (EDQUOT): Likewise.
28454 [POSIX] (EHOSTUNREACH): Likewise.
28455 [POSIX] (EIDRM): Likewise.
28456 [POSIX] (EISCONN): Likewise.
28457 [POSIX] (ELOOP): Likewise.
28458 [POSIX] (EMULTIHOP): Likewise.
28459 [POSIX] (ENETDOWN): Likewise.
28460 [POSIX] (ENETUNREACH): Likewise.
28461 [POSIX] (ENOBUFS): Likewise.
28462 [POSIX] (ENODATA): Likewise.
28463 [POSIX] (ENOLINK): Likewise.
28464 [POSIX] (ENOMSG): Likewise.
28465 [POSIX] (ENOPROTOOPT): Likewise.
28466 [POSIX] (ENOSR): Likewise.
28467 [POSIX] (ENOSTR): Likewise.
28468 [POSIX] (ENOTCONN): Likewise.
28469 [POSIX] (ENOTSOCK): Likewise.
28470 [POSIX] (EOPNOTSUPP): Likewise.
28471 [POSIX] (EOVERFLOW): Likewise.
28472 [POSIX] (EPROTO): Likewise.
28473 [POSIX] (EPROTONOSUPPORT): Likewise.
28474 [POSIX] (EPROTOTYPE): Likewise.
28475 [POSIX] (ESTALE): Likewise.
28476 [POSIX] (ETIME): Likewise.
28477 [POSIX] (ETXTBSY): Likewise.
28478 [POSIX] (EWOULDBLOCK): Likewise.
28479 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28480 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28481 [POSIX] (SEEK_CUR): Likewise.
28482 [POSIX] (SEEK_END): Likewise.
28483 [POSIX || UNIX98] (mode_t): Do not require.
28484 [POSIX] (off_t): Likewise.
28485 [POSIX] (pid_t): Likewise.
28486 [POSIX] (sys/stat.h): Do not allow header.
28487 [POSIX] (unistd.h): Likewise.
28488 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28489 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28490 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28491 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28492 require.
28493 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28494 sigevent): Specify elements.
28495 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28496 entry.
28497 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28498 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28499
a483863f
JM
28500 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28501 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28502 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28503 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28504 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28505 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28506 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28507 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28508 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28509 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28510 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28511 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28512 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28513 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28514 Likewise.
28515 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28516 Likewise.
28517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28518 Likewise.
28519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28520 Likewise.
28521 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28522 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28523 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28524 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28525 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28526 Specify lower bound on value.
28527 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28528 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28529 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28530 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28531 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28532 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28533 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28534 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28535 value.
28536 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28537 as optional.
28538 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28539 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28540 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28541 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28542 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28543 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28544 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28545 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28546 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28547 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28548 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28549 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28550 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28551 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28552 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28553 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28554 entry.
28555 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28556 optional.
28557 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28558 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28559 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28560 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28561 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28563 Likewise.
28564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28565 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28566 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28567 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28568 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28569 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28571 as optional.
28572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28573 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28575 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28576 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28577 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28578 specify as optional.
28579 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28580 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28583 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28584 [XPG3] (NL_LANGMAX): Likewise.
28585 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28586 [POSIX || XPG3] (NL_NMAX): Likewise.
28587 [POSIX || XPG3] (NL_SETMAX): Likewise.
28588 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28589 [XPG3] (NZERO): Likewise.
28590 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28591 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28592 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28593 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28594 (REG_ERANGE): Expect.
28595 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28596 optional-constant.
28597 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28598 Use (void) in prototype.
28599 [POSIX] (*_t): Allow.
28600 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28601 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28602 (WRDE_BADVAL): Expect.
28603
5ba924e3
JM
28604 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28605 expect.
28606 [XPG3 || XPG4] (O_RSYNC): Likewise.
28607 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28608 Likewise.
28609 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28610 [XPG3 || XPG4] (sigqueue): Likewise.
28611 [XPG3 || XPG4] (sigtimedwait): Likewise.
28612 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28613 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28614 [XPG3 || XPG4] (vsnprintf): Likewise.
28615 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28616 Likewise.
28617 [XPG3 || XPG4] (blksize_t): Likewise.
28618 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28619 Likewise.
28620 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28621 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28622 [XPG3 || XPG4] (struct itimerspec): Likewise.
28623 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28624 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28625 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28626 [XPG3 || XPG4] (clockid_t): Likewise.
28627 [XPG3 || XPG4] (timer_t): Likewise.
28628 [XPG3 || XPG4] (clock_getres): Likewise.
28629 [XPG3 || XPG4] (clock_gettime): Likewise.
28630 [XPG3 || XPG4] (clock_settime): Likewise.
28631 [XPG3 || XPG4] (nanosleep): Likewise.
28632 [XPG3 || XPG4] (timer_create): Likewise.
28633 [XPG3 || XPG4] (timer_delete): Likewise.
28634 [XPG3 || XPG4] (timer_gettime): Likewise.
28635 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28636 [XPG3 || XPG4] (timer_settime): Likewise.
28637 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28638 [XPG3 || XPG4] (getlogin_r): Likewise.
28639 [XPG3 || XPG4] (pread): Likewise.
28640 [XPG3 || XPG4] (pthread_atfork): Likewise.
28641 [XPG3 || XPG4] (pwrite): Likewise.
28642
ee663277
JM
28643 [BZ #14835]
28644 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28645 <bits/siginfo.h>.
28646
942caa16
PT
286472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28648
e19af380
PT
28649 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28650 finalizing MALLSTREAM.
28651
942caa16
PT
28652 * sysdeps/mach/hurd/syncfs.c: New file.
28653
cfde9b46
SP
286542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28655
28656 [BZ #14719]
28657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28658 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28660 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28661 (_nss_dns_gethostbyname4_r): Likewise.
28662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28663 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28664
f6da27e5
PH
286652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28666
28667 [BZ #13763]
28668 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28669
6665d4a2
SM
286702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28671
1f51ee92
SM
28672 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28673 * elf/cache.c (print_entry): Print ",AArch64" for
28674 FLAG_AARCH64_LIB64
28675
6665d4a2
SM
28676 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28677 * elf/cache.c (print_entry): Print ",hard-float" for
28678 FLAG_ARM_LIBHF.
28679
05b227bd
DM
286802012-11-18 David S. Miller <davem@davemloft.net>
28681
28682 With help from Joseph Myers.
28683 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28684 cutoff to 2**-13.
28685 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28686 cutoff to 2**-25.
28687 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28688 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28689 small.
28690 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28691 * math/libm-test.inc (y0_test): New tests.
28692 (y1_test): New tests.
28693 * sysdeps/i386/fpu/libm-test-ulps: Update.
28694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28696
786b0b67
AS
286972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28698
28699 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28700 64-bit targets.
28701 * configure: Regenerated.
28702
8e18b86d
DM
287032012-11-17 David S. Miller <davem@davemloft.net>
28704
28705 [BZ #14811]
28706 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28707 nonzero exponents with absolute value below 0x1p-128 to +/-
28708 0x1p-128.
28709
531f1ae0
JM
287102012-11-17 Joseph Myers <joseph@codesourcery.com>
28711
12df29e2
JM
28712 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28713
150dc1a0
JM
28714 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28715
531f1ae0
JM
28716 * posix/getconf-speclist.c: New file.
28717 * posix/posix-envs.def: Likewise.
28718 * posix/confstr.c (START_ENV_GROUP): New macro.
28719 (END_ENV_GROUP): Likewise.
28720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28721 (KNOWN_PRESENT_ENV_STRING): Likewise.
28722 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28723 (UNKNOWN_ENVIRONMENT): Likewise.
28724 (confstr): Include posix-envs.def instead of handling
28725 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28726 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28727 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28728 (END_ENV_GROUP): Likewise.
28729 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28730 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28731 (UNKNOWN_ENVIRONMENT): Likewise.
28732 (__sysconf): Include posix-envs.def instead of handling associated
28733 cases directly here.
28734 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28735 preprocessing getconf-speclist.c rather than running getconf or
28736 generating empty file.
28737
a93f9cbc
PT
287382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28739
28740 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28741
d64d9f87
AL
287422012-11-16 Andrej Lajovic <natrij@gmail.com>
28743
28744 [BZ #14672]
28745 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28746
447885eb
DM
287472012-11-16 David S. Miller <davem@davemloft.net>
28748
28749 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28750 smaller than LDBL_EPSILON/2.0L, just return xm1.
28751
bcbf9830
L
287522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 * elf/tst-array1.c (init): Set constructor priority to 1000.
28755 (fini): Set destructor priority to 1000.
28756 * elf/tst-array2dep.c: Likewise.
28757
2b766585
SP
287582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28759
28760 [BZ #11741]
28761 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28762 (_IO_new_file_xsputn): Also return EOF if none of the input
28763 data was written when overflow failed.
28764 * libio/iopadn.c (_IO_padn): Likewise.
28765 * libio/iowpadn.c (_IO_wpadn): Likewise.
28766 * stdio-common/tst-put-error.c: Add copyright notice.
28767 (do_test): Add case for printing padded string.
28768 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28769 _IO_padn returned error.
28770 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28771 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28772 return EOF.
28773
b1848fde
SP
287742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28775
28776 * libio/libioP.h: Add comment note that the references to C++
28777 bits are now obsolete.
28778
2fd89785
MS
287792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28780
28781 * math/libm-test.inc (check_complex): Use asprintf.
28782
e3ea5409
JM
287832012-11-14 Joseph Myers <joseph@codesourcery.com>
28784
28785 * debug/pcprofiledump.c (print_version): Update copyright year.
28786 * malloc/memusagestat.c (print_version): Likewise.
28787
2e64d265
L
287882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 [BZ #14831]
28791 * elf/Makefile (tests): Add tst-audit8.
28792 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28793 ($(objpfx)tst-audit8.out): New target.
28794 (tst-audit8-ENV): New variable.
28795 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28796 audit if l_reloc_result is NULL.
28797 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28798 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28799 * elf/tst-audit8.c: New file.
28800
c485e4d2
MS
288012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28802
28803 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28804 * misc/Makefile (CFLAGS-select.c): Define.
28805 * posix/Makefile (CFLAGS-pause.c): Define.
28806
3a0d900a
DM
288072012-11-13 David S. Miller <davem@davemloft.net>
28808
28809 * crypt/Makefile: Move test targets after toplevel Rules
28810 inclusion. Grab any necessary sysdep routines when linking.
28811 * crypt/md5.c (md5_process_block): Remove define, we will always
28812 name it __md5_process_block.
28813 (md5_finish_ctx): Update md5_process_block call.
28814 (md5_stream): Likewise.
28815 (md5_process_bytes): Likewise.
28816 (md5_process_block): Rename to __md5_process_block and move to ...
28817 * crypt/md5-block.c: ... here.
28818 * crypt/sha256.c (sha256_process_block): Move to ...
28819 * crypt/sha256-block.c: ... here.
28820 * crypt/sha512.c (sha512_process_block): Move to ...
28821 * crypt/sha512-block.c: ... here.
28822 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28823 path.
28824 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28825 * sysdeps/sparc/sparc64/multiarch/Makefile
28826 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28827 crypt subdir.
28828 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28830 multiarch changes.
28831 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28832 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28833 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28834 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28835 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28836 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28837 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28838 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28840 file.
28841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28842 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28843 file.
28844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28845
8ca89318
JM
288462012-11-13 Joseph Myers <joseph@codesourcery.com>
28847
e27d476a
JM
28848 * timezone/tzselect.ksh: Update from tzcode git revision
28849 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28850 * timezone/zdump.c: Likewise.
28851 * timezone/zic.c: Likewise.
28852 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28853 in TZVERSION setting, not $(PKGVERSION).
28854 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28855 REPORT_BUGS_TO settings.
28856
8ca89318
JM
28857 [BZ #14838]
28858 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28859 macro.
28860
47594329
MS
288612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28862
28863 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28864 detection to immediately after _FP_ROUND().
28865 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28866 bits are 0.
28867
640ac3f1
DM
288682012-11-11 David S. Miller <davem@davemloft.net>
28869
28870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28871 inttypes.h
28872 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28873 __close rather than their public counterparts.
28874
3d2577bb
JM
288752012-11-10 Joseph Myers <joseph@codesourcery.com>
28876
28877 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28878 file.
28879 [UNIX98] (sem_timedwait): Do not expect.
28880 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28881 [XPG4 || UNIX98] (sockatmark): Do not expect.
28882 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28883 (clock_getcpuclockid): Do not expect.
28884 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28885 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28886 Do not expect.
28887 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28888 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28889 [UNIX98] (vwscanf): Likewise.
28890 [UNIX98] (vswscanf): Likewise.
28891
fb1ae1ee
JM
288922012-11-09 Joseph Myers <joseph@codesourcery.com>
28893
9ec6f8bd
JM
28894 * timezone/version.h: Remove file.
28895 * timezone/README: Do not refer to version.h.
28896 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28897 $(objpfx)version.h.
28898 ($(objpfx)zdump.o): Likewise.
c3f81911 28899 ($(objpfx)version.h): New target.
9ec6f8bd 28900
0aa8f8a1
JM
28901 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28902 2012i.
28903 * timezone/README: Don't mention modification to tzselect.ksh.
28904 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28905 work on unmodified tzselect.ksh. Substitute version numbers in
28906 tzselect.ksh.
28907
4e87147f
JM
28908 * Makefile (format-me): Remove.
28909 (INSTALL): Adjust indentation. Use commands directly instead of
28910 using $(format-me).
28911
8b748aed
JM
28912 * aclocal.m4 (ACX_PKGVERSION): New macro.
28913 (ACX_BUGURL): Likewise.
28914 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28915 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28916 (REPORT_BUGS_TO): Likewise.
28917 * configure: Regenerated.
28918 * config.h.in (PKGVERSION): New macro.
28919 (REPORT_BUGS_TO): Likewise.
28920 * config.make.in (PKGVERSION): New variable.
28921 (PKGVERSION_TEXI): Likewise.
28922 (REPORT_BUGS_TO): Likewise.
28923 (REPORT_BUGS_TEXI): Likewise.
28924 * Makefile (format-me): Use -I$(common-objpfx)manual.
28925 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28926 ($(common-objpfx)manual/%): New target.
28927 (manual/%): Remove target.
28928 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28929 (print_version): Use PKGVERSION.
28930 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28931 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28932 and REPORT_BUGS_TO.
28933 ($(objpfx)xtrace): Likewise.
28934 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28935 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28936 (print_version): Use PKGVERSION.
28937 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28938 (do_version): Use PKGVERSION.
28939 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28940 REPORT_BUGS_TO.
28941 (common-ldd-rewrite): Likewise.
28942 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28943 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28944 (print_version): Use PKGVERSION.
28945 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28946 * elf/pldd.c (argp_program_bug_address): Remove variable.
28947 (more_help): New function.
28948 (argp): Use more_help.
28949 (print_version): Use PKGVERSION.
28950 * elf/sln.c (main): Use PKGVERSION.
28951 (usage): Use REPORT_BUGS_TO.
28952 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28953 (top level): Use PKGVERSION.
28954 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28955 (print_version): Use PKGVERSION.
28956 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28957 (print_version): Use PKGVERSION.
28958 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28959 (print_version): Use PKGVERSION.
28960 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28961 (print_version): Use PKGVERSION.
28962 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28963 (print_version): Use PKGVERSION.
28964 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28965 (print_version): Use PKGVERSION.
28966 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28967 and BUGURL.
28968 ($(objpfx)memusage): Likewise.
28969 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28970 (do_version): Use PKGVERSION.
28971 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28972 (print_version): Use PKGVERSION.
28973 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28974 ($PKGVERSION): New variable.
28975 ($REPORT_BUGS_TO): Likewise.
28976 (usage): Use $REPORT_BUGS_TO.
28977 (top level): Use $PKGVERSION.
28978 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28979 ($(objpfx)pkgvers.texi): New rule.
28980 ($(objpfx)stamp-pkgvers): Likewise.
28981 * manual/install.texi: Include pkgvers.texi.
28982 (--with-pkgversion): Document new configure option.
28983 (--with-bugurl): Likewise.
28984 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28985 than necessarily for this particular distribution. Use
28986 REPORT_BUGS_TO for where to report bugs.
28987 * INSTALL: Regenerated.
28988 * manual/libc.texinfo: Include pkgvers.texi.
28989 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28990 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28991 (print_version): Use PKGVERSION.
28992 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28993 (print_version): Use PKGVERSION.
28994 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28995 (print_version): Use PKGVERSION.
28996 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28997 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28998 macro.
28999 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29000 (print_version): Use PKGVERSION.
29001 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29002 (print_version): Use PKGVERSION.
29003 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29004 and PKGVERSION.
29005
92e4b6a9
JM
29006 * timezone/checktab.awk: Update from tzcode 2012i.
29007 * timezone/ialloc.c: Likewise.
29008 * timezone/private.h: Likewise.
29009 * timezone/scheck.c: Likewise.
29010 * timezone/tzfile.h: Likewise.
29011 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29012 (TZVERSION): Hardcode tzcode version number.
29013 * timezone/zdump.c: Update from tzcode 2012i.
29014 * timezone/zic.c: Likewise.
29015 * timezone/version.h: New file.
29016 * timezone/README: Describe version.h. Update upstream location.
29017
9bde902c
JM
29018 [BZ #14824]
29019 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29020 (mktemp): Enable declaration.
29021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29025 Likewise.
29026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29027 Likewise.
29028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29029 Likewise.
29030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29031 Likewise.
29032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29033 Likewise.
29034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29035 Likewise.
29036
fb1ae1ee
JM
29037 [BZ #14821]
29038 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29039 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29040 for copies of such integer values.
29041 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29042 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29043
2c1adbcb
AJ
290442012-11-09 Andreas Jaeger <aj@suse.de>
29045
29046 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29047 definitions and declarations that are provided by
29048 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29049
d0f8457e
AK
290502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29051
3a235abb 29052 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29053 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29054 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29055 definition.
29056
57241e26
MS
290572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29058
29059 * elf/elf.h: Update comment before AArch64 relocations.
29060
60e8270d
DM
290612012-11-07 David S. Miller <davem@davemloft.net>
29062
29063 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29064 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29065 (__start_context): Declare.
29066 (__makecontext_ret): Delete.
29067 (__makecontext): Hook up __start_context instead of
29068 __makecontext_ret.
29069 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29070 (sysdep_routines): Add __start_context when in stdlib.
29071
0fbb0fbc
JM
290722012-11-07 Joseph Myers <joseph@codesourcery.com>
29073
29074 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29075 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29076 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29077 hardcoded "nm".
29078 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29079 (READELF): New variable. Use it instead of hardcoded "readelf".
29080
eb48db7e
L
290812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29082
29083 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29084 * sysdeps/x86/Makefile: Here.
29085 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29086 * sysdeps/x86/tst-xmmymm.sh: This.
29087
05bcf62a
JM
290882012-11-07 Joseph Myers <joseph@codesourcery.com>
29089
c4b6cf53
JM
29090 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29091 expectations.
29092 [UNIX98] (pthread_barrier_t): Do not expect.
29093 [UNIX98] (pthread_barrierattr_t): Likewise.
29094 [UNIX98] (pthread_spinlock_t): Likewise.
29095 [UNIX98] (pthread_barrier_destroy): Likewise.
29096 [UNIX98] (pthread_barrier_init): Likewise.
29097 [UNIX98] (pthread_barrier_wait): Likewise.
29098 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29099 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29100 [UNIX98] (pthread_barrierattr_init): Likewise.
29101 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29102 [UNIX98] (pthread_getcpuclockid): Likewise.
29103 [UNIX98] (pthread_mutex_timedlock): Likewise.
29104 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29105 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29106 [UNIX98] (pthread_sigmask): Likewise.
29107 [UNIX98] (pthread_spin_destroy): Likewise.
29108 [UNIX98] (pthread_spin_init): Likewise.
29109 [UNIX98] (pthread_spin_lock): Likewise.
29110 [UNIX98] (pthread_spin_trylock): Likewise.
29111 [UNIX98] (pthread_spin_unlock): Likewise.
29112 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29113 Do not expect.
29114 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29115 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29116 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29117 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29118 [XPG3 || XPG4] (pthread_key_t): Likewise.
29119 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29120 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29121 [XPG3 || XPG4] (pthread_once_t): Likewise.
29122 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29123 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29124 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29125 [XPG3 || XPG4] (pthread_t): Likewise.
29126
cbe6e120
JM
29127 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29128 not expect.
29129 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29130
1b126443
JM
29131 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29132 Change function return type to int.
29133
b961a573
JM
29134 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29135 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29136 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29137 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29138 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29139 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29140 [!POSIX] (posix_madvise): Likewise.
29141 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29142 && !UNIX98].
29143 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29144 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29145 (mode_t): Likewise.
29146 (posix_mem_offset): Likewise.
29147 (posix_typed_mem_get_info): Likewise.
29148 (posix_typed_mem_open): Likewise.
29149
9e188909
JM
29150 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29151 Change condition to [XOPEN2K8].
29152
05bcf62a
JM
29153 * conform/conformtest.pl: Preprocess allow-header data with -x c
29154 instead of from stdin.
29155 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29156 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29157 [C99-based standards] (cerfc): Likewise.
29158 [C99-based standards] (cexp2): Likewise.
29159 [C99-based standards] (cexpm1): Likewise.
29160 [C99-based standards] (clog10): Likewise.
29161 [C99-based standards] (clog1p): Likewise.
29162 [C99-based standards] (clog2): Likewise.
29163 [C99-based standards] (clgamma): Likewise.
29164 [C99-based standards] (ctgamma): Likewise.
29165 [C99-based standards] (cerff): Likewise.
29166 [C99-based standards] (cerfcf): Likewise.
29167 [C99-based standards] (cexp2f): Likewise.
29168 [C99-based standards] (cexpm1f): Likewise.
29169 [C99-based standards] (clog10f): Likewise.
29170 [C99-based standards] (clog1pf): Likewise.
29171 [C99-based standards] (clog2f): Likewise.
29172 [C99-based standards] (clgammaf): Likewise.
29173 [C99-based standards] (ctgammaf): Likewise.
29174 [C99-based standards] (cerfl): Likewise.
29175 [C99-based standards] (cerfcl): Likewise.
29176 [C99-based standards] (cexp2l): Likewise.
29177 [C99-based standards] (cexpm1l): Likewise.
29178 [C99-based standards] (clog10l): Likewise.
29179 [C99-based standards] (clog1pl): Likewise.
29180 [C99-based standards] (clog2l): Likewise.
29181 [C99-based standards] (clgammal): Likewise.
29182 [C99-based standards] (ctgammal): Likewise.
29183 * conform/data/inttypes.h-data [C99-based standards]: Include
29184 stdint.h-data. Remove all expectations for stdint.h contents.
29185 [C99-based standards] (PRI*): Do not allow.
29186 [C99-based standards] (SCN*): Likewise.
29187 [C99-based standards] (*_t): Likewise.
29188 [C99-based-standards] (PRId8): Expect macro.
29189 [C99-based-standards] (PRIi8): Likewise.
29190 [C99-based-standards] (PRIo8): Likewise.
29191 [C99-based-standards] (PRIu8): Likewise.
29192 [C99-based-standards] (PRIx8): Likewise.
29193 [C99-based-standards] (PRIX8): Likewise.
29194 [C99-based-standards] (SCNd8): Likewise.
29195 [C99-based-standards] (SCNi8): Likewise.
29196 [C99-based-standards] (SCNo8): Likewise.
29197 [C99-based-standards] (SCNu8): Likewise.
29198 [C99-based-standards] (SCNx8): Likewise.
29199 [C99-based-standards] (PRIdLEAST8): Likewise.
29200 [C99-based-standards] (PRIiLEAST8): Likewise.
29201 [C99-based-standards] (PRIoLEAST8): Likewise.
29202 [C99-based-standards] (PRIuLEAST8): Likewise.
29203 [C99-based-standards] (PRIxLEAST8): Likewise.
29204 [C99-based-standards] (PRIXLEAST8): Likewise.
29205 [C99-based-standards] (SCNdLEAST8): Likewise.
29206 [C99-based-standards] (SCNiLEAST8): Likewise.
29207 [C99-based-standards] (SCNoLEAST8): Likewise.
29208 [C99-based-standards] (SCNuLEAST8): Likewise.
29209 [C99-based-standards] (SCNxLEAST8): Likewise.
29210 [C99-based-standards] (PRIdFAST8): Likewise.
29211 [C99-based-standards] (PRIiFAST8): Likewise.
29212 [C99-based-standards] (PRIoFAST8): Likewise.
29213 [C99-based-standards] (PRIuFAST8): Likewise.
29214 [C99-based-standards] (PRIxFAST8): Likewise.
29215 [C99-based-standards] (PRIXFAST8): Likewise.
29216 [C99-based-standards] (SCNdFAST8): Likewise.
29217 [C99-based-standards] (SCNiFAST8): Likewise.
29218 [C99-based-standards] (SCNoFAST8): Likewise.
29219 [C99-based-standards] (SCNuFAST8): Likewise.
29220 [C99-based-standards] (SCNxFAST8): Likewise.
29221 [C99-based-standards] (PRId16): Likewise.
29222 [C99-based-standards] (PRIi16): Likewise.
29223 [C99-based-standards] (PRIo16): Likewise.
29224 [C99-based-standards] (PRIu16): Likewise.
29225 [C99-based-standards] (PRIx16): Likewise.
29226 [C99-based-standards] (PRIX16): Likewise.
29227 [C99-based-standards] (SCNd16): Likewise.
29228 [C99-based-standards] (SCNi16): Likewise.
29229 [C99-based-standards] (SCNo16): Likewise.
29230 [C99-based-standards] (SCNu16): Likewise.
29231 [C99-based-standards] (SCNx16): Likewise.
29232 [C99-based-standards] (PRIdLEAST16): Likewise.
29233 [C99-based-standards] (PRIiLEAST16): Likewise.
29234 [C99-based-standards] (PRIoLEAST16): Likewise.
29235 [C99-based-standards] (PRIuLEAST16): Likewise.
29236 [C99-based-standards] (PRIxLEAST16): Likewise.
29237 [C99-based-standards] (PRIXLEAST16): Likewise.
29238 [C99-based-standards] (SCNdLEAST16): Likewise.
29239 [C99-based-standards] (SCNiLEAST16): Likewise.
29240 [C99-based-standards] (SCNoLEAST16): Likewise.
29241 [C99-based-standards] (SCNuLEAST16): Likewise.
29242 [C99-based-standards] (SCNxLEAST16): Likewise.
29243 [C99-based-standards] (PRIdFAST16): Likewise.
29244 [C99-based-standards] (PRIiFAST16): Likewise.
29245 [C99-based-standards] (PRIoFAST16): Likewise.
29246 [C99-based-standards] (PRIuFAST16): Likewise.
29247 [C99-based-standards] (PRIxFAST16): Likewise.
29248 [C99-based-standards] (PRIXFAST16): Likewise.
29249 [C99-based-standards] (SCNdFAST16): Likewise.
29250 [C99-based-standards] (SCNiFAST16): Likewise.
29251 [C99-based-standards] (SCNoFAST16): Likewise.
29252 [C99-based-standards] (SCNuFAST16): Likewise.
29253 [C99-based-standards] (SCNxFAST16): Likewise.
29254 [C99-based-standards] (PRId32): Likewise.
29255 [C99-based-standards] (PRIi32): Likewise.
29256 [C99-based-standards] (PRIo32): Likewise.
29257 [C99-based-standards] (PRIu32): Likewise.
29258 [C99-based-standards] (PRIx32): Likewise.
29259 [C99-based-standards] (PRIX32): Likewise.
29260 [C99-based-standards] (SCNd32): Likewise.
29261 [C99-based-standards] (SCNi32): Likewise.
29262 [C99-based-standards] (SCNo32): Likewise.
29263 [C99-based-standards] (SCNu32): Likewise.
29264 [C99-based-standards] (SCNx32): Likewise.
29265 [C99-based-standards] (PRIdLEAST32): Likewise.
29266 [C99-based-standards] (PRIiLEAST32): Likewise.
29267 [C99-based-standards] (PRIoLEAST32): Likewise.
29268 [C99-based-standards] (PRIuLEAST32): Likewise.
29269 [C99-based-standards] (PRIxLEAST32): Likewise.
29270 [C99-based-standards] (PRIXLEAST32): Likewise.
29271 [C99-based-standards] (SCNdLEAST32): Likewise.
29272 [C99-based-standards] (SCNiLEAST32): Likewise.
29273 [C99-based-standards] (SCNoLEAST32): Likewise.
29274 [C99-based-standards] (SCNuLEAST32): Likewise.
29275 [C99-based-standards] (SCNxLEAST32): Likewise.
29276 [C99-based-standards] (PRIdFAST32): Likewise.
29277 [C99-based-standards] (PRIiFAST32): Likewise.
29278 [C99-based-standards] (PRIoFAST32): Likewise.
29279 [C99-based-standards] (PRIuFAST32): Likewise.
29280 [C99-based-standards] (PRIxFAST32): Likewise.
29281 [C99-based-standards] (PRIXFAST32): Likewise.
29282 [C99-based-standards] (SCNdFAST32): Likewise.
29283 [C99-based-standards] (SCNiFAST32): Likewise.
29284 [C99-based-standards] (SCNoFAST32): Likewise.
29285 [C99-based-standards] (SCNuFAST32): Likewise.
29286 [C99-based-standards] (SCNxFAST32): Likewise.
29287 [C99-based-standards] (PRId64): Likewise.
29288 [C99-based-standards] (PRIi64): Likewise.
29289 [C99-based-standards] (PRIo64): Likewise.
29290 [C99-based-standards] (PRIu64): Likewise.
29291 [C99-based-standards] (PRIx64): Likewise.
29292 [C99-based-standards] (PRIX64): Likewise.
29293 [C99-based-standards] (SCNd64): Likewise.
29294 [C99-based-standards] (SCNi64): Likewise.
29295 [C99-based-standards] (SCNo64): Likewise.
29296 [C99-based-standards] (SCNu64): Likewise.
29297 [C99-based-standards] (SCNx64): Likewise.
29298 [C99-based-standards] (PRIdLEAST64): Likewise.
29299 [C99-based-standards] (PRIiLEAST64): Likewise.
29300 [C99-based-standards] (PRIoLEAST64): Likewise.
29301 [C99-based-standards] (PRIuLEAST64): Likewise.
29302 [C99-based-standards] (PRIxLEAST64): Likewise.
29303 [C99-based-standards] (PRIXLEAST64): Likewise.
29304 [C99-based-standards] (SCNdLEAST64): Likewise.
29305 [C99-based-standards] (SCNiLEAST64): Likewise.
29306 [C99-based-standards] (SCNoLEAST64): Likewise.
29307 [C99-based-standards] (SCNuLEAST64): Likewise.
29308 [C99-based-standards] (SCNxLEAST64): Likewise.
29309 [C99-based-standards] (PRIdFAST64): Likewise.
29310 [C99-based-standards] (PRIiFAST64): Likewise.
29311 [C99-based-standards] (PRIoFAST64): Likewise.
29312 [C99-based-standards] (PRIuFAST64): Likewise.
29313 [C99-based-standards] (PRIxFAST64): Likewise.
29314 [C99-based-standards] (PRIXFAST64): Likewise.
29315 [C99-based-standards] (SCNdFAST64): Likewise.
29316 [C99-based-standards] (SCNiFAST64): Likewise.
29317 [C99-based-standards] (SCNoFAST64): Likewise.
29318 [C99-based-standards] (SCNuFAST64): Likewise.
29319 [C99-based-standards] (SCNxFAST64): Likewise.
29320 [C99-based-standards] (PRIdMAX): Likewise.
29321 [C99-based-standards] (PRIiMAX): Likewise.
29322 [C99-based-standards] (PRIoMAX): Likewise.
29323 [C99-based-standards] (PRIuMAX): Likewise.
29324 [C99-based-standards] (PRIxMAX): Likewise.
29325 [C99-based-standards] (PRIXMAX): Likewise.
29326 [C99-based-standards] (SCNdMAX): Likewise.
29327 [C99-based-standards] (SCNiMAX): Likewise.
29328 [C99-based-standards] (SCNoMAX): Likewise.
29329 [C99-based-standards] (SCNuMAX): Likewise.
29330 [C99-based-standards] (SCNxMAX): Likewise.
29331 [C99-based-standards] (PRIdPTR): Likewise.
29332 [C99-based-standards] (PRIiPTR): Likewise.
29333 [C99-based-standards] (PRIoPTR): Likewise.
29334 [C99-based-standards] (PRIuPTR): Likewise.
29335 [C99-based-standards] (PRIxPTR): Likewise.
29336 [C99-based-standards] (PRIXPTR): Likewise.
29337 [C99-based-standards] (SCNdPTR): Likewise.
29338 [C99-based-standards] (SCNiPTR): Likewise.
29339 [C99-based-standards] (SCNoPTR): Likewise.
29340 [C99-based-standards] (SCNuPTR): Likewise.
29341 [C99-based-standards] (SCNxPTR): Likewise.
29342 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29343 allow.
29344 * conform/data/stdint.h-data: Update comments to clarify
29345 requirements.
29346 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29347 type.
29348 [C99-based standards] (INT8_MAX): Likewise.
29349 [C99-based standards] (INT16_MIN): Likewise.
29350 [C99-based standards] (INT16_MAX): Likewise.
29351 [C99-based standards] (INT32_MIN): Likewise.
29352 [C99-based standards] (INT32_MAX): Likewise.
29353 [C99-based standards] (INT64_MIN): Likewise.
29354 [C99-based standards] (INT64_MAX): Likewise.
29355 [C99-based standards] (UINT8_MAX): Likewise.
29356 [C99-based standards] (UINT16_MAX): Likewise.
29357 [C99-based standards] (UINT32_MAX): Likewise.
29358 [C99-based standards] (UINT64_MAX): Likewise.
29359 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29360 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29361 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29362 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29363 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29364 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29365 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29366 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29367 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29368 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29369 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29370 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29371 [C99-based standards] (INT_FAST8_MIN): Likewise.
29372 [C99-based standards] (INT_FAST8_MAX): Likewise.
29373 [C99-based standards] (INT_FAST16_MIN): Likewise.
29374 [C99-based standards] (INT_FAST16_MAX): Likewise.
29375 [C99-based standards] (INT_FAST32_MIN): Likewise.
29376 [C99-based standards] (INT_FAST32_MAX): Likewise.
29377 [C99-based standards] (INT_FAST64_MIN): Likewise.
29378 [C99-based standards] (INT_FAST64_MAX): Likewise.
29379 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29380 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29381 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29382 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29383 [C99-based standards] (INTPTR_MIN): Likewise.
29384 [C99-based standards] (INTPTR_MAX): Likewise.
29385 [C99-based standards] (UINTPTR_MAX): Likewise.
29386 [C99-based standards] (INTMAX_MIN): Likewise.
29387 [C99-based standards] (INTMAX_MAX): Likewise.
29388 [C99-based standards] (UINTMAX_MAX): Likewise.
29389 [C99-based standards] (PTRDIFF_MIN): Likewise.
29390 [C99-based standards] (PTRDIFF_MAX): Likewise.
29391 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29392 [C99-based standards] (SIZE_MAX): Likewise.
29393 [C99-based standards] (WCHAR_MAX): Likewise.
29394 [C99-based standards] (WINT_MAX): Likewise.
29395 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29396 constraint on value.
29397 [C99-based standards] (WCHAR_MIN): Likewise.
29398 [C99-based standards] (WINT_MIN): Likewise.
29399 [C99-based standards] (*_t): Allow.
29400 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29401 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29402 Include math.h-data and complex.h-data. Remove all expectations
29403 of math.h and complex.h contents.
29404 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29405 at end of line.
29406 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29407 (struct tm): Expect tag.
29408 [C99-based-standards] (wcstof): Expect function.
29409 [C99-based-standards] (wcstold): Likewise.
29410 [C99-based-standards] (wcstoll): Likewise.
29411 [C99-based-standards] (wcstoull): Likewise.
29412 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29413 macro-int-constant. Specify type.
29414 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29415 constraint on value.
29416 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29417 Specify type.
29418 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29419 Specify value.
29420 [ISO C standards]: Do not allow headers.
29421 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29422 wcs[abcdefghijklmnopqrstuvwxyz]*.
29423 [ISO C standards] (*_t): Do not allow.
29424 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29425 Expect function.
29426 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29427 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29428 Specify type.
29429 [ISO C standards]: Do not allow headers.
29430 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29431 is[abcdefghijklmnopqrstuvwxyz]*.
29432 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29433 to[abcdefghijklmnopqrstuvwxyz]*.
29434 [ISO C standards] (*_t): Do not allow.
29435 * conform/data/stdalign.h-data: New file.
29436 * conform/data/stdbool.h-data: Likewise.
29437 * conform/data/stdnoreturn.h-data: Likewise.
29438
7514feb8
RM
294392012-11-07 Roland McGrath <roland@hack.frob.com>
29440
29441 [BZ #14815]
29442 * manual/filesys.texi (Directory Entries): Typo fix.
29443 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29444
19b2ecfc
MS
294452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29446
29447 * elf/elf.h (EM_AARCH64): New macro.
29448 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29449 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29450 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29451 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29452 (R_AARCH64_TLSDESC): Likewise.
29453 (NT_ARM_TLS): Likewise.
29454 (NT_ARM_HW_BREAK): Likewise.
29455 (NT_ARM_HW_WATCH): Likewise.
29456
60e235ee
JM
294572012-11-07 Joseph Myers <joseph@codesourcery.com>
29458
29459 [BZ #14811]
29460 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29461 (__ieee754_powl): Saturate nonzero exponents with absolute value
29462 below 0x1p-79 to +/- 0x1p-79.
29463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29464 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29465 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29466 nonzero exponents with absolute value below 0x1p-32 to +/-
29467 0x1p-32.
29468 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29469 (__ieee754_powl): Saturate nonzero exponents with absolute value
29470 below 0x1p-79 to +/- 0x1p-79.
29471 * math/libm-test.inc (pow_test): Add more tests.
29472
0ab234b7
AK
294732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29474
29475 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29476 _dl_s390_cap_flags with kernel. Increase string length.
29477 (_dl_s390_platforms): Add z196 and zEC12.
29478
45832f74
JM
294792012-11-07 Joseph Myers <joseph@codesourcery.com>
29480
29481 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29482 Change XOPEN21K to XOPEN2K.
29483
19218757
MK
294842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29485
29486 * string/memmove.c: Use memcpy when possible.
29487
c5f45721
AJ
294882012-11-06 Andreas Jaeger <aj@suse.de>
29489
29490 * po/eo.po: Update from translation team.
29491
82477c28
JM
294922012-11-06 Joseph Myers <joseph@codesourcery.com>
29493
29494 [BZ #14793]
29495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29496 exponent and small x and y exponents, scale x or y up. Increase
29497 by 2 the exponent used in scaling up.
29498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29500 * math/libm-test.inc (fma_test): Add more tests.
29501 (fma_test_towardzero): Likewise.
29502 (fma_test_downward): Likewise.
29503 (fma_test_upward): Likewise.
29504
99252c8c
JM
295052012-11-05 Joseph Myers <joseph@codesourcery.com>
29506
acfa885f
JM
29507 [BZ #14805]
29508 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29509 fenv_t *.
29510
99252c8c
JM
29511 [BZ #14801]
29512 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29513 namespace for names of struct fields.
29514 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29515 fenv_t fields.
29516 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29517 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29518
d6d98dea
ST
295192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29520
29521 [BZ #3665]
29522 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29523
e10bb107
TS
295242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29525
29526 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29527 PTR_DEMANGLE.
29528
29529 [BZ #5246]
29530 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29531 PTR_DEMANGLE.
29532
a0c2940d
JM
295332012-11-04 Joseph Myers <joseph@codesourcery.com>
29534
29535 [BZ #14797]
29536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29537 definitely overflow as x * y not x * y + z.
29538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29540 * math/libm-test.inc (fma_test): Add more tests.
29541 (fma_test_towardzero): Likewise.
29542 (fma_test_downward): Likewise.
29543 (fma_test_upward): Likewise.
29544
b830319d
TS
295452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29546
29547 [BZ #157]
29548
29549 * include/stub-tag.h: Remove file.
29550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29551 '#include' of it.
29552 * manual/maint.texi (Porting): Don't reference it.
29553 * Makerules ($(objpfx)stubs): Likewise.
29554 * dirent/closedir.c: Don't include <stub-tag.h>.
29555 * dirent/dirfd.c: Likewise.
29556 * dirent/fdopendir.c: Likewise.
29557 * dirent/getdents.c: Likewise.
29558 * dirent/getdents64.c: Likewise.
29559 * dirent/opendir.c: Likewise.
29560 * dirent/readdir.c: Likewise.
29561 * dirent/readdir64.c: Likewise.
29562 * dirent/readdir64_r.c: Likewise.
29563 * dirent/readdir_r.c: Likewise.
29564 * dirent/rewinddir.c: Likewise.
29565 * dirent/seekdir.c: Likewise.
29566 * dirent/telldir.c: Likewise.
29567 * gmon/profil.c: Likewise.
29568 * grp/setgroups.c: Likewise.
29569 * inet/if_index.c: Likewise.
29570 * io/access.c: Likewise.
29571 * io/chdir.c: Likewise.
29572 * io/chmod.c: Likewise.
29573 * io/chown.c: Likewise.
29574 * io/close.c: Likewise.
29575 * io/dup.c: Likewise.
29576 * io/dup2.c: Likewise.
29577 * io/dup3.c: Likewise.
29578 * io/euidaccess.c: Likewise.
29579 * io/faccessat.c: Likewise.
29580 * io/fchdir.c: Likewise.
29581 * io/fchmod.c: Likewise.
29582 * io/fchmodat.c: Likewise.
29583 * io/fchown.c: Likewise.
29584 * io/fchownat.c: Likewise.
29585 * io/fcntl.c: Likewise.
29586 * io/flock.c: Likewise.
29587 * io/fstatfs.c: Likewise.
29588 * io/fstatfs64.c: Likewise.
29589 * io/fstatvfs.c: Likewise.
29590 * io/fstatvfs64.c: Likewise.
29591 * io/futimens.c: Likewise.
29592 * io/fxstat.c: Likewise.
29593 * io/fxstat64.c: Likewise.
29594 * io/fxstatat.c: Likewise.
29595 * io/fxstatat64.c: Likewise.
29596 * io/getcwd.c: Likewise.
29597 * io/isatty.c: Likewise.
29598 * io/lchmod.c: Likewise.
29599 * io/lchown.c: Likewise.
29600 * io/link.c: Likewise.
29601 * io/linkat.c: Likewise.
29602 * io/lseek.c: Likewise.
29603 * io/lseek64.c: Likewise.
29604 * io/lxstat64.c: Likewise.
29605 * io/mkdir.c: Likewise.
29606 * io/mkdirat.c: Likewise.
29607 * io/mkfifo.c: Likewise.
29608 * io/mkfifoat.c: Likewise.
29609 * io/open.c: Likewise.
29610 * io/open64.c: Likewise.
29611 * io/openat.c: Likewise.
29612 * io/openat64.c: Likewise.
29613 * io/pipe.c: Likewise.
29614 * io/pipe2.c: Likewise.
29615 * io/poll.c: Likewise.
29616 * io/posix_fadvise.c: Likewise.
29617 * io/posix_fadvise64.c: Likewise.
29618 * io/posix_fallocate.c: Likewise.
29619 * io/posix_fallocate64.c: Likewise.
29620 * io/read.c: Likewise.
29621 * io/readlink.c: Likewise.
29622 * io/readlinkat.c: Likewise.
29623 * io/rmdir.c: Likewise.
29624 * io/sendfile.c: Likewise.
29625 * io/sendfile64.c: Likewise.
29626 * io/statfs.c: Likewise.
29627 * io/statfs64.c: Likewise.
29628 * io/statvfs.c: Likewise.
29629 * io/statvfs64.c: Likewise.
29630 * io/symlink.c: Likewise.
29631 * io/symlinkat.c: Likewise.
29632 * io/ttyname.c: Likewise.
29633 * io/ttyname_r.c: Likewise.
29634 * io/umask.c: Likewise.
29635 * io/unlink.c: Likewise.
29636 * io/unlinkat.c: Likewise.
29637 * io/utime.c: Likewise.
29638 * io/utimensat.c: Likewise.
29639 * io/write.c: Likewise.
29640 * io/xmknod.c: Likewise.
29641 * io/xmknodat.c: Likewise.
29642 * io/xstat.c: Likewise.
29643 * io/xstat64.c: Likewise.
29644 * login/getpt.c: Likewise.
29645 * login/grantpt.c: Likewise.
29646 * login/unlockpt.c: Likewise.
29647 * math/e_acoshl.c: Likewise.
29648 * math/e_acosl.c: Likewise.
29649 * math/e_asinl.c: Likewise.
29650 * math/e_atan2l.c: Likewise.
29651 * math/e_atanhl.c: Likewise.
29652 * math/e_coshl.c: Likewise.
29653 * math/e_expl.c: Likewise.
29654 * math/e_fmodl.c: Likewise.
29655 * math/e_gammal_r.c: Likewise.
29656 * math/e_hypotl.c: Likewise.
29657 * math/e_j0l.c: Likewise.
29658 * math/e_j1l.c: Likewise.
29659 * math/e_jnl.c: Likewise.
29660 * math/e_lgammal_r.c: Likewise.
29661 * math/e_log10l.c: Likewise.
29662 * math/e_log2l.c: Likewise.
29663 * math/e_logl.c: Likewise.
29664 * math/e_powl.c: Likewise.
29665 * math/e_rem_pio2l.c: Likewise.
29666 * math/e_sinhl.c: Likewise.
29667 * math/e_sqrtl.c: Likewise.
29668 * math/fclrexcpt.c: Likewise.
29669 * math/fedisblxcpt.c: Likewise.
29670 * math/feenablxcpt.c: Likewise.
29671 * math/fegetenv.c: Likewise.
29672 * math/fegetexcept.c: Likewise.
29673 * math/fegetround.c: Likewise.
29674 * math/feholdexcpt.c: Likewise.
29675 * math/fesetenv.c: Likewise.
29676 * math/fesetround.c: Likewise.
29677 * math/feupdateenv.c: Likewise.
29678 * math/fgetexcptflg.c: Likewise.
29679 * math/fraiseexcpt.c: Likewise.
29680 * math/fsetexcptflg.c: Likewise.
29681 * math/ftestexcept.c: Likewise.
29682 * math/k_cosl.c: Likewise.
29683 * math/k_rem_pio2l.c: Likewise.
29684 * math/k_sinl.c: Likewise.
29685 * math/k_tanl.c: Likewise.
29686 * math/s_asinhl.c: Likewise.
29687 * math/s_atanl.c: Likewise.
29688 * math/s_cbrtl.c: Likewise.
29689 * math/s_erfl.c: Likewise.
29690 * math/s_expm1l.c: Likewise.
29691 * math/s_log1pl.c: Likewise.
29692 * math/s_tanhl.c: Likewise.
29693 * misc/acct.c: Likewise.
29694 * misc/brk.c: Likewise.
29695 * misc/chflags.c: Likewise.
29696 * misc/chroot.c: Likewise.
29697 * misc/fchflags.c: Likewise.
29698 * misc/fgetxattr.c: Likewise.
29699 * misc/flistxattr.c: Likewise.
29700 * misc/fremovexattr.c: Likewise.
29701 * misc/fsetxattr.c: Likewise.
29702 * misc/fsync.c: Likewise.
29703 * misc/ftruncate.c: Likewise.
29704 * misc/futimes.c: Likewise.
29705 * misc/futimesat.c: Likewise.
29706 * misc/getdomain.c: Likewise.
29707 * misc/getdtsz.c: Likewise.
29708 * misc/gethostid.c: Likewise.
29709 * misc/gethostname.c: Likewise.
29710 * misc/getloadavg.c: Likewise.
29711 * misc/getpagesize.c: Likewise.
29712 * misc/getsysstats.c: Likewise.
29713 * misc/getxattr.c: Likewise.
29714 * misc/gtty.c: Likewise.
29715 * misc/ioctl.c: Likewise.
29716 * misc/lgetxattr.c: Likewise.
29717 * misc/listxattr.c: Likewise.
29718 * misc/llistxattr.c: Likewise.
29719 * misc/lremovexattr.c: Likewise.
29720 * misc/lsetxattr.c: Likewise.
29721 * misc/lutimes.c: Likewise.
29722 * misc/madvise.c: Likewise.
29723 * misc/mincore.c: Likewise.
29724 * misc/mlock.c: Likewise.
29725 * misc/mlockall.c: Likewise.
29726 * misc/mmap.c: Likewise.
29727 * misc/mprotect.c: Likewise.
29728 * misc/msync.c: Likewise.
29729 * misc/munlock.c: Likewise.
29730 * misc/munlockall.c: Likewise.
29731 * misc/munmap.c: Likewise.
29732 * misc/preadv.c: Likewise.
29733 * misc/preadv64.c: Likewise.
29734 * misc/ptrace.c: Likewise.
29735 * misc/pwritev.c: Likewise.
29736 * misc/pwritev64.c: Likewise.
29737 * misc/readv.c: Likewise.
29738 * misc/reboot.c: Likewise.
29739 * misc/remap_file_pages.c: Likewise.
29740 * misc/removexattr.c: Likewise.
29741 * misc/revoke.c: Likewise.
29742 * misc/select.c: Likewise.
29743 * misc/setdomain.c: Likewise.
29744 * misc/setegid.c: Likewise.
29745 * misc/seteuid.c: Likewise.
29746 * misc/sethostid.c: Likewise.
29747 * misc/sethostname.c: Likewise.
29748 * misc/setregid.c: Likewise.
29749 * misc/setreuid.c: Likewise.
29750 * misc/setxattr.c: Likewise.
29751 * misc/sstk.c: Likewise.
29752 * misc/stty.c: Likewise.
29753 * misc/swapoff.c: Likewise.
29754 * misc/swapon.c: Likewise.
29755 * misc/sync.c: Likewise.
29756 * misc/syncfs.c: Likewise.
29757 * misc/syscall.c: Likewise.
29758 * misc/truncate.c: Likewise.
29759 * misc/ualarm.c: Likewise.
29760 * misc/usleep.c: Likewise.
29761 * misc/ustat.c: Likewise.
29762 * misc/utimes.c: Likewise.
29763 * misc/vhangup.c: Likewise.
29764 * misc/writev.c: Likewise.
29765 * posix/_exit.c: Likewise.
29766 * posix/alarm.c: Likewise.
29767 * posix/execve.c: Likewise.
29768 * posix/fexecve.c: Likewise.
29769 * posix/fork.c: Likewise.
29770 * posix/fpathconf.c: Likewise.
29771 * posix/getaddrinfo.c: Likewise.
29772 * posix/getegid.c: Likewise.
29773 * posix/geteuid.c: Likewise.
29774 * posix/getgid.c: Likewise.
29775 * posix/getgroups.c: Likewise.
29776 * posix/getlogin.c: Likewise.
29777 * posix/getlogin_r.c: Likewise.
29778 * posix/getpgid.c: Likewise.
29779 * posix/getpid.c: Likewise.
29780 * posix/getppid.c: Likewise.
29781 * posix/getresgid.c: Likewise.
29782 * posix/getresuid.c: Likewise.
29783 * posix/getsid.c: Likewise.
29784 * posix/getuid.c: Likewise.
29785 * posix/glob64.c: Likewise.
29786 * posix/nanosleep.c: Likewise.
29787 * posix/pathconf.c: Likewise.
29788 * posix/pause.c: Likewise.
29789 * posix/posix_madvise.c: Likewise.
29790 * posix/pread.c: Likewise.
29791 * posix/pread64.c: Likewise.
29792 * posix/pwrite.c: Likewise.
29793 * posix/pwrite64.c: Likewise.
29794 * posix/sched_getaffinity.c: Likewise.
29795 * posix/sched_getp.c: Likewise.
29796 * posix/sched_gets.c: Likewise.
29797 * posix/sched_primax.c: Likewise.
29798 * posix/sched_primin.c: Likewise.
29799 * posix/sched_rr_gi.c: Likewise.
29800 * posix/sched_setaffinity.c: Likewise.
29801 * posix/sched_setp.c: Likewise.
29802 * posix/sched_sets.c: Likewise.
29803 * posix/sched_yield.c: Likewise.
29804 * posix/setgid.c: Likewise.
29805 * posix/setlogin.c: Likewise.
29806 * posix/setpgid.c: Likewise.
29807 * posix/setresgid.c: Likewise.
29808 * posix/setresuid.c: Likewise.
29809 * posix/setsid.c: Likewise.
29810 * posix/setuid.c: Likewise.
29811 * posix/sleep.c: Likewise.
29812 * posix/spawni.c: Likewise.
29813 * posix/sysconf.c: Likewise.
29814 * posix/times.c: Likewise.
29815 * posix/wait.c: Likewise.
29816 * posix/wait3.c: Likewise.
29817 * posix/wait4.c: Likewise.
29818 * posix/waitpid.c: Likewise.
29819 * resolv/gai_sigqueue.c: Likewise.
29820 * resource/getpriority.c: Likewise.
29821 * resource/getrlimit.c: Likewise.
29822 * resource/getrusage.c: Likewise.
29823 * resource/nice.c: Likewise.
29824 * resource/setpriority.c: Likewise.
29825 * resource/setrlimit.c: Likewise.
29826 * resource/ulimit.c: Likewise.
29827 * rt/aio_cancel.c: Likewise.
29828 * rt/aio_fsync.c: Likewise.
29829 * rt/aio_read.c: Likewise.
29830 * rt/aio_sigqueue.c: Likewise.
29831 * rt/aio_suspend.c: Likewise.
29832 * rt/aio_write.c: Likewise.
29833 * rt/clock_getres.c: Likewise.
29834 * rt/clock_gettime.c: Likewise.
29835 * rt/clock_nanosleep.c: Likewise.
29836 * rt/clock_settime.c: Likewise.
29837 * rt/lio_listio.c: Likewise.
29838 * rt/mq_close.c: Likewise.
29839 * rt/mq_getattr.c: Likewise.
29840 * rt/mq_notify.c: Likewise.
29841 * rt/mq_open.c: Likewise.
29842 * rt/mq_receive.c: Likewise.
29843 * rt/mq_send.c: Likewise.
29844 * rt/mq_setattr.c: Likewise.
29845 * rt/mq_timedreceive.c: Likewise.
29846 * rt/mq_timedsend.c: Likewise.
29847 * rt/mq_unlink.c: Likewise.
29848 * rt/shm_open.c: Likewise.
29849 * rt/shm_unlink.c: Likewise.
29850 * rt/timer_create.c: Likewise.
29851 * rt/timer_delete.c: Likewise.
29852 * rt/timer_getoverr.c: Likewise.
29853 * rt/timer_gettime.c: Likewise.
29854 * rt/timer_settime.c: Likewise.
29855 * setjmp/__longjmp.c: Likewise.
29856 * setjmp/setjmp.c: Likewise.
29857 * signal/kill.c: Likewise.
29858 * signal/killpg.c: Likewise.
29859 * signal/raise.c: Likewise.
29860 * signal/sigaction.c: Likewise.
29861 * signal/sigaltstack.c: Likewise.
29862 * signal/sigblock.c: Likewise.
29863 * signal/sigignore.c: Likewise.
29864 * signal/sigintr.c: Likewise.
29865 * signal/signal.c: Likewise.
29866 * signal/sigpause.c: Likewise.
29867 * signal/sigpending.c: Likewise.
29868 * signal/sigqueue.c: Likewise.
29869 * signal/sigreturn.c: Likewise.
29870 * signal/sigset.c: Likewise.
29871 * signal/sigsetmask.c: Likewise.
29872 * signal/sigstack.c: Likewise.
29873 * signal/sigsuspend.c: Likewise.
29874 * signal/sigtimedwait.c: Likewise.
29875 * signal/sigvec.c: Likewise.
29876 * signal/sigwait.c: Likewise.
29877 * signal/sigwaitinfo.c: Likewise.
29878 * signal/sysv_signal.c: Likewise.
29879 * socket/accept.c: Likewise.
29880 * socket/accept4.c: Likewise.
29881 * socket/bind.c: Likewise.
29882 * socket/connect.c: Likewise.
29883 * socket/getpeername.c: Likewise.
29884 * socket/getsockname.c: Likewise.
29885 * socket/getsockopt.c: Likewise.
29886 * socket/isfdtype.c: Likewise.
29887 * socket/listen.c: Likewise.
29888 * socket/recv.c: Likewise.
29889 * socket/recvfrom.c: Likewise.
29890 * socket/recvmsg.c: Likewise.
29891 * socket/send.c: Likewise.
29892 * socket/sendmsg.c: Likewise.
29893 * socket/sendto.c: Likewise.
29894 * socket/setsockopt.c: Likewise.
29895 * socket/shutdown.c: Likewise.
29896 * socket/sockatmark.c: Likewise.
29897 * socket/socket.c: Likewise.
29898 * socket/socketpair.c: Likewise.
29899 * stdio-common/ctermid.c: Likewise.
29900 * stdio-common/cuserid.c: Likewise.
29901 * stdio-common/remove.c: Likewise.
29902 * stdio-common/rename.c: Likewise.
29903 * stdio-common/renameat.c: Likewise.
29904 * stdio-common/tempname.c: Likewise.
29905 * stdlib/getcontext.c: Likewise.
29906 * stdlib/makecontext.c: Likewise.
29907 * stdlib/setcontext.c: Likewise.
29908 * stdlib/swapcontext.c: Likewise.
29909 * stdlib/system.c: Likewise.
29910 * streams/fattach.c: Likewise.
29911 * streams/fdetach.c: Likewise.
29912 * streams/getmsg.c: Likewise.
29913 * streams/getpmsg.c: Likewise.
29914 * streams/putmsg.c: Likewise.
29915 * streams/putpmsg.c: Likewise.
29916 * sysdeps/unix/bsd/getpt.c: Likewise.
29917 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29918 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29919 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29921 Likewise.
29922 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29924 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29925 * sysvipc/msgctl.c: Likewise.
29926 * sysvipc/msgget.c: Likewise.
29927 * sysvipc/msgrcv.c: Likewise.
29928 * sysvipc/msgsnd.c: Likewise.
29929 * sysvipc/semctl.c: Likewise.
29930 * sysvipc/semget.c: Likewise.
29931 * sysvipc/semop.c: Likewise.
29932 * sysvipc/semtimedop.c: Likewise.
29933 * sysvipc/shmat.c: Likewise.
29934 * sysvipc/shmctl.c: Likewise.
29935 * sysvipc/shmdt.c: Likewise.
29936 * sysvipc/shmget.c: Likewise.
29937 * termios/tcdrain.c: Likewise.
29938 * termios/tcflow.c: Likewise.
29939 * termios/tcflush.c: Likewise.
29940 * termios/tcgetattr.c: Likewise.
29941 * termios/tcgetpgrp.c: Likewise.
29942 * termios/tcsendbrk.c: Likewise.
29943 * termios/tcsetattr.c: Likewise.
29944 * termios/tcsetpgrp.c: Likewise.
29945 * time/adjtime.c: Likewise.
29946 * time/clock.c: Likewise.
29947 * time/getitimer.c: Likewise.
29948 * time/gettimeofday.c: Likewise.
29949 * time/setitimer.c: Likewise.
29950 * time/settimeofday.c: Likewise.
29951 * time/stime.c: Likewise.
29952 * time/time.c: Likewise.
29953
299542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29955
a20492cf
PT
29956 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29957 /usr/old/bin.
29958
72e182e3
PT
29959 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29960 instead of spaces.
29961 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29962
fbeafede
JM
299632012-11-03 Joseph Myers <joseph@codesourcery.com>
29964
5b5b04d6
JM
29965 [BZ #14796]
29966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29967 FE_TONEAREST before applying Dekker multiplication and Knuth
29968 addition. Clear inexact exceptions and check for exact zero
29969 results afterwards.
29970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29973 * math/libm-test.inc (fma_test): Add more tests.
29974 (fma_test_towardzero): Likewise.
29975 (fma_test_downward): Likewise.
29976 (fma_test_upward): Likewise.
29977 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29978 function.
29979 (libc_fesetround): New macro.
29980 (libc_fesetroundf): Likewise.
29981 (libc_fesetroundl): Likewise.
29982 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29983 function.
29984 (libc_fesetround_387): Likewise.
29985 (libc_fesetroundf): New macro.
29986 (libc_fesetround): Likewise.
29987 (libc_fesetroundl): Likewise.
29988 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29989 function.
29990 (libc_fesetroundf): New macro.
29991 (libc_fesetround): Likewise.
29992 (libc_fesetroundl): Likewise.
29993 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29994 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29995 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29996 libm_hidden_ver.
29997 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29998 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29999 libm_hidden_def.
30000 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30001 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30002 libm_hidden_ver.
30003 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30004 libm_hidden_def.
30005
fbeafede
JM
30006 [BZ #3439]
30007 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30008 integer constant usable in #if and use that to give value to enum
30009 constant.
30010 (FE_DIVBYZERO): Likewise.
30011 (FE_UNDERFLOW): Likewise.
30012 (FE_OVERFLOW): Likewise.
30013 (FE_INVALID): Likewise.
30014 (FE_INVALID_SNAN): Likewise.
30015 (FE_INVALID_ISI): Likewise.
30016 (FE_INVALID_IDI): Likewise.
30017 (FE_INVALID_ZDZ): Likewise.
30018 (FE_INVALID_IMZ): Likewise.
30019 (FE_INVALID_COMPARE): Likewise.
30020 (FE_INVALID_SOFTWARE): Likewise.
30021 (FE_INVALID_SQRT): Likewise.
30022 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30023 (FE_TONEAREST): Likewise.
30024 (FE_TOWARDZERO): Likewise.
30025 (FE_UPWARD): Likewise.
30026 (FE_DOWNWARD): Likewise.
30027 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30028 (FE_DIVBYZERO): Likewise.
30029 (FE_OVERFLOW): Likewise.
30030 (FE_UNDERFLOW): Likewise.
30031 (FE_INEXACT): Likewise.
30032 (FE_TONEAREST): Likewise.
30033 (FE_DOWNWARD): Likewise.
30034 (FE_UPWARD): Likewise.
30035 (FE_TOWARDZERO): Likewise.
30036 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30037 (FE_UNDERFLOW): Likewise.
30038 (FE_OVERFLOW): Likewise.
30039 (FE_DIVBYZERO): Likewise.
30040 (FE_INVALID): Likewise.
30041 (FE_TONEAREST): Likewise.
30042 (FE_TOWARDZERO): Likewise.
30043 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30044 (FE_OVERFLOW): Likewise.
30045 (FE_UNDERFLOW): Likewise.
30046 (FE_DIVBYZERO): Likewise.
30047 (FE_INEXACT): Likewise.
30048 (FE_TONEAREST): Likewise.
30049 (FE_TOWARDZERO): Likewise.
30050 (FE_UPWARD): Likewise.
30051 (FE_DOWNWARD): Likewise.
30052 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30053 (FE_DIVBYZERO): Likewise.
30054 (FE_OVERFLOW): Likewise.
30055 (FE_UNDERFLOW): Likewise.
30056 (FE_INEXACT): Likewise.
30057 (FE_TONEAREST): Likewise.
30058 (FE_DOWNWARD): Likewise.
30059 (FE_UPWARD): Likewise.
30060 (FE_TOWARDZERO): Likewise.
30061
105ca950
CM
300622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30063
30064 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30065
a542b389
AS
300662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30067
30068 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30069 commands. Quote $PWD.
30070 (blacklist_exports): Don't use remove_newlines. Replace "declare
30071 -x" by "export".
30072 (remove_newlines): Remove.
30073
f62c8abc
L
300742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30075
30076 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30077 * stdlib/stdlib.h (atof): Moved to ...
30078 * include/bits/stdlib-float.h: Here. New file.
30079 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30080 * stdlib/bits/stdlib-float.h: New file.
30081 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30082 -mno-sse -mno-mmx.
30083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30084 <xmmintrin.h>.
30085
0155d5b2
JM
300862012-11-02 Joseph Myers <joseph@codesourcery.com>
30087
a68d0680
JM
30088 * conform/conformtest.pl (@headers): Add fenv.h.
30089 * conform/data/fenv.h-data: New file.
30090 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30091 include of <math/fenv.h>.
30092
caf7f573
JM
30093 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30094 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30095 && !UNIX98]. Enables tests for XOPEN2K8.
30096 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30097 POSIX2008]: Likewise.
30098
6c073ad6
JM
30099 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30100 (struct rusage): Do not expect type or its members.
30101
0155d5b2
JM
30102 [BZ #3439]
30103 * math/math.h (FP_NAN): Define macro to integer constant usable in
30104 #if and use that to give value to enum constant.
30105 (FP_INFINITE): Likewise.
30106 (FP_ZERO): Likewise.
30107 (FP_SUBNORMAL): Likewise.
30108 (FP_NORMAL): Likewise.
30109
b5dcacb4
AS
301102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30111
30112 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30113 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30114 arguments.
30115
f7934be8
RM
301162012-11-02 Roland McGrath <roland@hack.frob.com>
30117
30118 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30119 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30120 autoconf-time if not.
30121 * configure.in: Remove AC_PREREQ.
30122
d7d08bde
TMQMF
301232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30124
30125 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30126 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30127 of the internal implementation.
30128
dcdae19a
JM
301292012-11-02 Joseph Myers <joseph@codesourcery.com>
30130
30131 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30132 except include of <misc/sys/syslog.h>.
30133
d6cffd3e
AS
301342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30135
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30137 function returns with a NULL context exit with zero.
30138
b3563932
TMQMF
301392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30140
30141 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30142
b288a93d
L
301432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30144
30145 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30146 (run_program_cmd): This.
30147 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30148 (tst_langinfo): New variable. Use it.
30149
a2421a68
SAS
301502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30151
30152 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30153 floating point opcodes.
30154
6f796e1b
TS
301552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30156
7402596b
TS
30157 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30158 variable.
30159
d0d4f868
TS
30160 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30161
6f796e1b
TS
30162 * sysdeps/mach/hurd/powerpc: Remove directory.
30163 * sysdeps/mach/powerpc: Likewise.
30164
4da224a2
AS
301652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30166
30167 * scripts/check-local-headers.sh: Ignore c++ headers.
30168
341dd673
TS
301692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30170
30171 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30172 __libc_cleanup_region_start argument.
30173
473611b2
JM
301742012-11-01 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #14784]
30177 [BZ #14785]
30178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30179 x * y using scaling, not as x * y + z.
30180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30182 * math/libm-test.inc (fma_test): Add more tests.
30183 (fma_test_towardzero): Likewise.
30184 (fma_test_downward): Likewise.
30185 (fma_test_upward): Likewise.
30186
4078da3d
TS
301872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30188
30189 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30190
903252aa
JM
301912012-10-31 Joseph Myers <joseph@codesourcery.com>
30192
30193 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30194 New variable.
30195
cbc818d0
TS
301962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30197
30198 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30199
5a03cb1e
AS
302002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30201
30202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30203 Fix sort order.
30204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30205 Likewise.
30206
90aff2ff
TMQMF
302072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30208
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30210 Fix the order of the list for glibc 2.17.
30211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30212 Likewise.
30213
1818fcb7
AS
302142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30215
30216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30217
ef82f4da
JM
302182012-10-31 Joseph Myers <joseph@codesourcery.com>
30219
16a0e2ec
JM
30220 [BZ #14610]
30221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30222 for low part of x being zero before using __atanl (y).
30223 * math/libm-test.inc (atan2_test): Add another test.
30224
0eb69512
JM
30225 * manual/install.texi (Configuring and compiling): Document
30226 general use of test-wrapper and test-wrapper-env.
30227 * INSTALL: Regenerated.
30228
ef82f4da
JM
30229 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30230 (__fma): Do not extract and scale down low bits on after-rounding
30231 systems when result rounded to normal precision would have normal
30232 exponent.
30233 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30234 (__fmal): Do not extract and scale down low bits on after-rounding
30235 systems when result rounded to normal precision would have normal
30236 exponent.
30237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30238 (__fmal): Do not extract and scale down low bits on after-rounding
30239 systems when result rounded to normal precision would have normal
30240 exponent.
30241 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30242 macro.
30243 (fma_test): Add more tests.
30244 (fma_test_towardzero): Likewise.
30245 (fma_test_downward): Likewise.
30246 (fma_test_upward): Likewise.
30247
954ef0d9
L
302482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30249
30250 * sysdeps/i386/tininess.h: Renamed to ...
30251 * sysdeps/x86/tininess.h: This.
30252 * sysdeps/x86_64/tininess.h: Removed.
30253
df61ffb2
JM
302542012-10-30 Joseph Myers <joseph@codesourcery.com>
30255
30256 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30257 input. Use $(build-program-cmd).
30258 ($(objpfx)tst-array1-static.out): Likewise.
30259 ($(objpfx)tst-array2.out): Likewise.
30260 ($(objpfx)tst-array3.out): Likewise.
30261 ($(objpfx)tst-array4.out): Likewise.
30262 ($(objpfx)tst-array5.out): Likewise.
30263 ($(objpfx)tst-array5-static.out): Likewise.
30264
01767843
CM
302652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30266
47cc1490
CM
30267 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30268 if defined.
30269
01767843
CM
30270 * nss/nsswitch.h (nss_interface_function): Provide new
30271 macro for use with NSS functions.
30272 * grp/initgroups.c: Use new macro.
30273 * nss/getXXbyYY.c: Likewise.
30274 * nss/getXXbyYY_r.c: Likewise.
30275 * nss/getXXent.c: Likewise.
30276 * nss/getXXent_r.c: Likewise.
30277 * sysdeps/posix/getaddrinfo.c: Likewise.
30278
8321aa97
AJ
302792012-10-30 Andreas Jaeger <aj@suse.de>
30280
30281 * po/ru.po: Update Russion translation from translation project.
30282
2a27fd6d
JM
302832012-10-30 Joseph Myers <joseph@codesourcery.com>
30284
8627a232
JM
30285 [BZ #14152]
30286 [BZ #14783]
30287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30288 result and shift together with sticky bit instead of replicating
30289 round-to-nearest rounding.
30290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30292 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30293 missing underflow exceptions.
30294 (fma_test_towardzero): Add more tests.
30295 (fma_test_downward): Likewise.
30296 (fma_test_upward): Likewise.
30297
2a27fd6d
JM
30298 [BZ #14047]
30299 * sysdeps/generic/tininess.h: New file.
30300 * sysdeps/i386/tininess.h: Likewise.
30301 * sysdeps/sh/tininess.h: Likewise.
30302 * sysdeps/x86_64/tininess.h: Likewise.
30303 * stdlib/tst-strtod-underflow.c: Likewise.
30304 * stdlib/tst-tininess.c: Likewise.
30305 * stdlib/strtod_l.c: Include <tininess.h>.
30306 (round_and_return): Do not set errno for exact underflow cases.
30307 Force an underflow exception when setting errno for underflow.
30308 Determine underflow based on rounding to normal precision if
30309 TININESS_AFTER_ROUNDING.
30310 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30311 ERANGE for exact underflow cases.
30312 * stdlib/Makefile (tests): Add tst-tininess and
30313 tst-strtod-underflow.
30314 ($(objpfx)tst-tininess): Use $(link-libm).
30315 ($(objpfx)tst-strtod-underflow): Likewise.
30316
e7170363
AJ
303172012-10-30 Andreas Jaeger <aj@suse.de>
30318
e5088dc6
AJ
30319 [BZ#14767]
30320 * elf/Makefile (tests): Remove conditional for have-initfini-array
30321 since this is now always required and the variable does not exist
30322 anymore.
30323 (tests-static): Likewise.
30324 (modules-names): Likewise.
30325
e7170363 30326 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30327
30328 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30329 merged with constructor/destructor.
30330 (init_array): Likewise.
30331 * elf/tst-array2dep.c (fini_array): Likewise.
30332 (init_array): Likewise.
30333
60457d8a
MF
303342012-10-29 Mike Frysinger <vapier@gentoo.org>
30335
30336 * manual/message.texi: Delete @cartouche tags.
30337
8bece752
PT
303382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30339
94ce799f
PT
30340 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30341 EOPNOTSUPP.
30342 * sysdeps/mach/hurd/fsync.c: Likewise.
30343
8bece752
PT
30344 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30345 [_POSIX_REALTIME_SIGNALS]: Change condition to
30346 [_POSIX_REALTIME_SIGNALS > 0].
30347
86ebe6b1
AJ
303482012-10-27 Andreas Jaeger <aj@suse.de>
30349
30350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30351 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30353 [__WORDSIZE != 64]: Likewise.
30354
54399c08
L
303552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30356
30357 * iconvdata/tst-table.sh: Remove ${SHELL}.
30358 * iconvdata/tst-tables.sh: Likewise.
30359
e2211bed
DM
303602012-10-25 David S. Miller <davem@davemloft.net>
30361
30362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30363 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30364 of strtoull.
30365
f303f97c
DM
30366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30367 ifunc-impl-list.c
30368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30369 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30370 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30371 file.
30372
1e9d84cd
RM
303732012-10-25 Roland McGrath <roland@hack.frob.com>
30374
30375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30376 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30377 __getdirentries.
30378
df381762
JM
303792012-10-25 Joseph Myers <joseph@codesourcery.com>
30380 Jim Blandy <jimb@codesourcery.com>
30381
30382 * scripts/cross-test-ssh.sh: New file.
30383 * manual/install.texi (Configuring and compiling): Document use of
30384 cross-test-ssh.sh.
30385 * INSTALL: Regenerated.
30386
bff64913
PT
303872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30388
30389 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30390 EOPNOTSUPP.
30391
25fe8932
JM
303922012-10-25 Joseph Myers <joseph@codesourcery.com>
30393
30394 * Makeconfig (run-program-prefix): Fix comment.
30395
cc1290d0
JM
303962012-10-24 Joseph Myers <joseph@codesourcery.com>
30397 Jim Blandy <jimb@codesourcery.com>
30398
30399 * Makeconfig (test-wrapper): New variable,
30400 (test-wrapper-env): Likewise.
30401 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30402 (run-built-tests): Define to yes.
30403 (run-program-prefix): Use $(test-wrapper).
30404 (built-program-cmd): Likewise.
30405 * Rules (make-test-out): Use $(test-wrapper-env) and
30406 $(host-built-program-cmd).
30407 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30408 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30409 tst-pathopt.sh.
30410 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30411 $(test-wrapper-env) to tst-rtld-load-self.sh.
30412 ($(objpfx)order2.out): Use $(test-wrapper).
30413 ($(objpfx)tst-initorder.out): Likewise.
30414 ($(objpfx)tst-initorder2.out): Likewise.
30415 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30416 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30417 (test_wrapper_env): New variable. Use it to run ld.so.
30418 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30419 Use it to run ld.so.
30420 (test_wrapper_env): Likewise.
30421 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30422 $(test-wrapper) to run-iconv-test.sh.
30423 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30424 (ICONV): Use $test_wrapper.
30425 * posix/Makefile ($(objpfx)globtest.out): Pass
30426 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30427 globtest.sh, not $(run-program-prefix).
30428 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30429 (test_wrapper): Likewise.
30430 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30431 set together with run_via_rtld_prefix.
30432 (run_program_prefix): Define in terms of test_wrapper and
30433 run_via_rtld_prefix.
30434
6e6249d0
RM
304352012-10-24 Roland McGrath <roland@hack.frob.com>
30436
30437 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30438 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30439 Targets removed.
30440
30441 [BZ #14743]
30442 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30443 Declare __clock_getres, __clock_gettime, __clock_settime,
30444 __clock_nanosleep, and __clock_getcpuclockid.
30445 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30446 Remove librt_hidden_def (clock_gettime).
30447 * sysdeps/unix/clock_gettime.c: Likewise.
30448 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30450 * rt/clock_getres.c: Define __clock_getres as an alias.
30451 * sysdeps/posix/clock_getres.c: Likewise.
30452 * rt/clock_settime.c: Define __clock_settime as an alias.
30453 * sysdeps/unix/clock_settime.c: Likewise.
30454 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30455 * sysdeps/unix/clock_nanosleep.c: Likewise.
30456 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30457 * rt/clock-compat.c: New file.
30458 * rt/Makefile (librt-routines): Add clock-compat and move
30459 $(clock-routines) to ...
30460 (routines): ... here, new variable.
30461 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30462 Don't add get_clockfreq here.
30463 * rt/Versions (libc: GLIBC_2.17): New version set.
30464 Add clock_* symbols here.
30465 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30467 (GLIBC_2.17): Add clock_* symbols.
30468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30472 Likewise.
30473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30474 Likewise.
30475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30479 * NEWS: Mention the move.
30480
30481 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30482 Use __open, __read, __close rather than their public counterparts.
30483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30484 (__get_clockfreq_via_cpuinfo): Likewise.
30485 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30486 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30487
30488 * config.h.in (HAVE_IFUNC): New #undef.
30489 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30490 was successful.
30491 * configure: Regenerated.
30492
0cae3f4b
MF
304932012-10-24 Mike Frysinger <vapier@gentoo.org>
30494
30495 * configure.in: Move READELF check to start of file.
30496 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30497 libc_cv_asm_gnu_indirect_function in the process.
30498 * configure: Regenerated.
30499
8175a253
MF
305002012-10-24 Mike Frysinger <vapier@gentoo.org>
30501
30502 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30503 send the output to /dev/null.
30504 (libc_cv_cc_with_libunwind): Likewise.
30505 (libc_cv_as_noexecstack): Likewise.
30506 * configure: Regenerate.
30507
0708a7d1
JM
305082012-10-24 Joseph Myers <joseph@codesourcery.com>
30509
10b40d85
JM
30510 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30511
0708a7d1
JM
30512 * posix/globtest.sh (TMPDIR): Do not set.
30513 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30514 (testout): Likewise.
30515
9fddec1a
AJ
305162012-10-24 Andreas Jaeger <aj@suse.de>
30517
3a8db22f
AJ
30518 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30519 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30520 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30521 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30522 posix_fadvise64, posix_fallocate64.
30523
9fddec1a
AJ
30524 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30525 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30526 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30527 Likewise.
30528 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30529 Likewise.
30530 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30531
30532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30533 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30534 <bits/fcntl-linux.h>.
30535 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30536
30537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30538 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30539 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30540 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30541 [__WORDSIZE != 64]: Likewise.
30542
ebfd1bbd
JM
305432012-10-23 Joseph Myers <joseph@codesourcery.com>
30544
03ac099f
JM
30545 * Makeconfig (run-built-tests): New variable.
30546 * Rules [$(cross-compiling) = yes]: Change condition to
30547 [$(run-built-tests) = no].
30548 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30549 to [$(run-built-tests) = yes].
30550 * elf/Makefile [$(cross-compiling) = no]: Likewise
30551 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30552 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30553 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30554 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30555 * io/Makefile [$(cross-compiling) = no]: Likewise.
30556 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30557 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30558 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30559 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30560 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30561 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30562 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30563 * string/Makefile [$(cross-compiling) = no]: Likewise.
30564
ebfd1bbd
JM
30565 * posix/Makefile ($(objpfx)globtest.out): Pass
30566 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30567 $(rtld-installed-name).
30568 * posix/globtest.sh (elf_objpfx): Remove variable.
30569 (rtld_installed_name): Likewise.
30570 (library_path): Likewise.
30571 (run_program_prefix): New variable. Use for running globtest
30572 binary.
30573
166bca24
JB
305742012-10-23 Jim Blandy <jimb@codesourcery.com>
30575 Joseph Myers <joseph@codesourcery.com>
30576
30577 * Makeconfig (host-built-program-cmd): New variable.
30578 * elf/Makefile (tst-stackguard1-ARGS): Use
30579 $(host-built-program-cmd).
30580 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30581 (tst-spawn-ARGS): Likewise.
30582 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30583
88866099
JM
305842012-10-23 Joseph Myers <joseph@codesourcery.com>
30585 Jim Blandy <jimb@codesourcery.com>
30586
30587 * Makeconfig (run-via-rtld-prefix): New variable.
30588 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30589 (built-program-cmd): Likewise.
30590
b4b4c296
AJ
305912012-10-22 Andreas Jaeger <aj@suse.de>
30592
30593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30594 __O_RSYNC if it exists, otherwise to O_SYNC.
30595
6fb54a22
JB
305962012-10-22 Jim Blandy <jimb@codesourcery.com>
30597 Joseph Myers <joseph@codesourcery.com>
30598
30599 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30600 /dev/null.
30601 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30602 from /dev/null
30603 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30604 /dev/null.
30605
481b90b9
AJ
306062012-10-22 Andreas Jaeger <aj@suse.de>
30607
2a0e2669
AJ
30608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30609 Define always.
30610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30611
76e38f9a
AJ
30612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30613 bits/fcntl-linux.h.
30614
7cd37b43
AJ
30615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30616 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30617
481b90b9
AJ
30618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30619 to __O_LARGEFILE.
30620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30621 to __O_LARGEFILE.
30622
aba75984
JB
306232012-10-21 Jim Blandy <jimb@codesourcery.com>
30624 Joseph Myers <joseph@codesourcery.com>
30625
30626 * config.make.in (NM): New variable.
30627
88d4247f
AJ
306282012-10-21 Andreas Jaeger <aj@suse.de>
30629
30630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30631 definitions and declarations that are provided by
30632 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30633
f2eed205
L
306342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30635
30636 [BZ #14683]
30637 * elf/Makefile (tests-static): Add tst-leaks1-static.
30638 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30639 ($(objpfx)tst-leaks1-static): New rule.
30640 ($(objpfx)tst-leaks1-static-mem): Likewise.
30641 (tst-leaks1-static-ENV): New macro.
30642 * elf/dl-open.c (dl_open_worker): Check the main application
30643 only if SHARED is defined.
30644 * elf/tst-leaks1-static.c: New file.
30645
335e6931
AJ
306462012-10-20 Andreas Jaeger <aj@suse.de>
30647
30648 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30649 generic values for Linux.
30650 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30651 and declarations that are provided by <bits/fcntl-linux.h> and
30652 include <bits/fcntl-linux.h>.
30653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30655
ac5c94d3
RM
306562012-10-20 Roland McGrath <roland@hack.frob.com>
30657
30658 * io/fcntl.h: Move include of <bits/types.h> to the top and
30659 include it unconditionally.
30660
de54b33a
L
306612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30662
228cfb01
L
30663 * wcsmbs/Makefile (tests-ifunc): New variable.
30664 (tests): Add $(tests-ifunc).
30665 * wcsmbs/test-wcschr-ifunc.c: New file.
30666 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30667 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30668 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30669 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30670 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30671
69f07e5f
L
30672 * string/Makefile (tests-ifunc): New variable.
30673 (tests): Add $(tests-ifunc).
30674 * string/test-memccpy.c (TEST_NAME): New macro.
30675 * string/test-memchr.c (TEST_NAME): Likewise.
30676 * string/test-memcmp.c (TEST_NAME): Likewise.
30677 * string/test-memcpy.c (TEST_NAME): Likewise.
30678 * string/test-memmem.c (TEST_NAME): Likewise.
30679 * string/test-memmove.c (TEST_NAME): Likewise.
30680 * string/test-memset.c (TEST_NAME): Likewise.
30681 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30682 * string/test-stpcpy.c (TEST_NAME): Likewise.
30683 * string/test-stpncpy.c (TEST_NAME): Likewise.
30684 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30685 * string/test-strcasestr.c (TEST_NAME): Likewise.
30686 * string/test-strcat.c (TEST_NAME): Likewise.
30687 * string/test-strchr.c (TEST_NAME): Likewise.
30688 * string/test-strcmp.c(TEST_NAME): Likewise.
30689 * string/test-strcpy.c (TEST_NAME): Likewise.
30690 * string/test-strcspn.c (TEST_NAME): Likewise.
30691 * string/test-strlen.c (TEST_NAME): Likewise.
30692 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30693 * string/test-strncmp.c (TEST_NAME): Likewise.
30694 * string/test-strncpy.c (TEST_NAME): Likewise.
30695 * string/test-strnlen.c (TEST_NAME): Likewise.
30696 * string/test-strpbrk.c (TEST_NAME): Likewise.
30697 * string/test-strrchr.c (TEST_NAME): Likewise.
30698 * string/test-strspn.c (TEST_NAME): Likewise.
30699 * string/test-strstr.c (TEST_NAME): Likewise.
30700 * string/test-bcopy-ifunc.c: New file.
30701 * string/test-bzero-ifunc.c: Likewise.
30702 * string/test-memccpy-ifunc.c: Likewise.
30703 * string/test-memchr-ifunc.c: Likewise.
30704 * string/test-memcmp-ifunc.c: Likewise.
30705 * string/test-memcpy-ifunc.c: Likewise.
30706 * string/test-memmem-ifunc.c: Likewise.
30707 * string/test-memmove-ifunc.c: Likewise.
30708 * string/test-mempcpy-ifunc.c: Likewise.
30709 * string/test-memset-ifunc.c: Likewise.
30710 * string/test-rawmemchr-ifunc.c: Likewise.
30711 * string/test-stpcpy-ifunc.c: Likewise.
30712 * string/test-stpncpy-ifunc.c: Likewise.
30713 * string/test-strcasecmp-ifunc.c: Likewise.
30714 * string/test-strcasestr-ifunc.c: Likewise.
30715 * string/test-strcat-ifunc.c: Likewise.
30716 * string/test-strchr-ifunc.c: Likewise.
30717 * string/test-strchrnul-ifunc.c: Likewise.
30718 * string/test-strcmp-ifunc.c: Likewise.
30719 * string/test-strcpy-ifunc.c: Likewise.
30720 * string/test-strcspn-ifunc.c: Likewise.
30721 * string/test-strlen-ifunc.c: Likewise.
30722 * string/test-strncasecmp-ifunc.c: Likewise.
30723 * string/test-strncat-ifunc.c: Likewise.
30724 * string/test-strncmp-ifunc.c: Likewise.
30725 * string/test-strncpy-ifunc.c: Likewise.
30726 * string/test-strnlen-ifunc.c: Likewise.
30727 * string/test-strpbrk-ifunc.c: Likewise.
30728 * string/test-strrchr-ifunc.c: Likewise.
30729 * string/test-strspn-ifunc.c: Likewise.
30730 * string/test-strstr-ifunc.c: Likewise.
30731
de54b33a
L
30732 * debug/Makefile (tests-ifunc): New variable.
30733 (tests): Add $(tests-ifunc).
30734 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30735 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30736 * debug/test-stpcpy_chk-ifunc.c: New file.
30737 * debug/test-strcpy_chk-ifunc.c: Likewise.
30738
88481c16
SP
307392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30740
30741 [BZ #13601]
30742 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30743 header is not read in.
30744
135948bd
JM
307452012-10-19 Joseph Myers <joseph@codesourcery.com>
30746
89f1c388
JM
30747 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30748 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30749 directly. Pass built executable to script as
30750 $(built-program-cmd).
30751 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30752 $testprogram without using LD_LIBRARY_PATH and $ldso.
30753
e40a0d21
JM
30754 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30755 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30756 $(rtld-installed-name).
30757 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30758 (rtld_installed_name): Likewise.
30759 (library_path): Likewise.
30760 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30761 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30762 $(run-program-prefix) to tst-tables.sh.
30763 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30764 it to run tst-table-from and tst-table-to.
30765 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30766 Pass it to tst-table.sh.
30767 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30768 $(run-program-prefix) to tst-gettext.sh.
30769 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30770 tst-translit.sh.
30771 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30772 tst-gettext2.sh.
30773 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30774 to run tst-gettext.
30775 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30776 to run tst-gettext2.
30777 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30778 to run tst-translit.
30779 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30780 $(run-program-prefix) to tst-mtrace.sh.
30781 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30782 to run tst-mtrace.
30783 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30784 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30785 $(rtld-installed-name).
30786 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30787 (rtld_installed_name): Likewise.
30788 (run_program_prefix): New variable. Use it to run wordexp-test.
30789
728e272a
JM
30790 * Makeconfig (ARCH): Remove all definitions.
30791 (machine): Likewise.
30792 [ARCH]: Remove conditional code.
30793 [!objdir]: Give error.
30794 [!objdir] (objpfx): Remove.
30795 [!objdir] (common-objpfx): Likewise.
30796 [!objdir] (common-objdir): Likewise.
30797 * configure.in (config_makefile): Remove. Hardcode Makefile in
30798 AC_CONFIG_FILES call.
30799 * configure: Regenerated.
30800
d528cdcf
JM
30801 [BZ #13888]
30802 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30803 or TMPDIR.
30804 (testout): Likewise.
30805
135948bd
JM
30806 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30807 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30808 $(rtld-installed-name).
30809 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30810 (rtld_installed_name): Likwise.
30811 (runit): Remove function.
30812 (run_getconf): New variable, Use it for running getconf binary.
30813
38c78296
L
308142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 [BZ #14716]
30817 * string/test-memmem.c (check_result): New function.
30818 (do_one_test): Use it.
30819 (check1): New function.
30820 (test_main): Use it.
30821
d077f65f
MT
308222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30823
30824 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30825
ced52c71
JM
308262012-10-18 Joseph Myers <joseph@codesourcery.com>
30827
30828 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30829 (_G_LSEEK64): Likewise.
30830 (_G_MMAP64): Likewise.
30831 (_G_FSTAT64): Likewise.
30832 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30833 (_G_LSEEK64): Likewise.
30834 (_G_MMAP64): Likewise.
30835 (_G_FSTAT64): Likewise.
30836 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30837 unconditional. Call __mmap64 directly.
30838 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30839 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30840 __lseek64 directly.
30841 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30842 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30843 __mmap64 directly.
30844 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30845 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30846 __lseek64 directly.
30847 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30848 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30849 __lseek64 directly.
30850 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30851 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30852 __lseek64 directly.
30853 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30854 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30855 __fxstat64 directly.
30856 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30857 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30858 unconditional.
30859 (freopen64) [!_G_OPEN64]: Remove conditional code.
30860 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30861 unconditional.
30862 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30863 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30864 unconditional.
30865 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30866 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30867 unconditional.
30868 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30869 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30870 unconditional.
30871 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30872 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30873 unconditional.
30874 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30875 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30876 unconditional.
30877 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30878 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30879 unconditional.
30880 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30881
b741de23
SP
308822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30883
30884 [BZ #12140]
30885 * manual/memory.texi (Malloc Tunable Parameters): Add note
30886 about free list pointers overwriting some perturb bytes.
30887 Wording suggested by Roland McGrath.
30888
f9b9d9c9
JM
308892012-10-17 Joseph Myers <joseph@codesourcery.com>
30890
30891 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30892 (lgamma_test): Likewise.
30893 (tgamma_test): Likewise.
30894
172a631a
FW
308952012-10-16 Florian Weimer <fweimer@redhat.com>
30896
30897 [BZ #14700]
30898 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30899 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30900
e9f37252
MK
309012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30902
30903 * NEWS: Mention BZ #14716.
30904 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30905 when removing AVAILABLE1_USES_J macro.
30906
d394eb74
L
309072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30908
30909 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30910 (__bswap_64): __uint64_t for unsigned 64-bit int.
30911
ca38dc17
AS
309122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30913
30914 * include/string.h (memmem): Declare libc hidden alias.
30915 * string/memmem.c (memmem): Define libc hidden alias.
30916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30917 __read, __close instead of open, read, close.
30918
9a387d1f
L
309192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30920
ac49ecaf
L
30921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30922 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30923 global and hidden.
30924 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30925 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30926 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30927 Likewise.
30928 (__rawmemchr_sse2): Likewise.
30929 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30930 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30931 (__strchr_sse2): Likewise.
30932 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30933 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30934 (__strcasecmp_sse2): Likewise.
30935 (__strncasecmp_sse2): Likewise.
30936 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30937 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30938 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30939 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30940 (__strrchr_sse2): Likewise.
30941 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30942 ifunc-impl-list.c.
30943 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30944 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30945 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30946 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30947 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30948 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30949 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30950 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30951 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30952 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30953 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30954 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30955 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30956 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30957 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30958 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30959 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30960 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30961 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30962 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30963 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30964 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30965 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30966 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30967 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30968 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30969 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30970 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30971 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30972 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30973
b090e8ea
L
30974 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30975 global and hidden.
30976 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30977 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30978 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30979 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30980 Likewise.
30981 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30982 Likewise.
30983 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30984 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30985 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30986 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30987 ifunc-impl-list.c.
30988 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30994 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31006 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31029
11dd4af6
L
31030 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31031 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31032 * include/ifunc-impl-list.h: New file.
31033 * misc/ifunc-impl-list.c: Likewise.
31034 * misc/Makefile (routines): Add ifunc-impl-list.
31035 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31036 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31037 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31038 TEST_NAME]: New variables.
11dd4af6
L
31039 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31040 are defined.
31041 (test_init): Call __libc_ifunc_impl_list to initialize
31042 func_list if TEST_IFUNC and TEST_NAME are defined.
31043
9a387d1f
L
31044 * string/Makefile (strop-tests): Add bcopy and bzero.
31045 * string/test-bcopy.c: New file.
31046 * string/test-bzero.c: Likewise.
31047 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31048 defined.
31049 * string/test-memset.c: Support bzero test if TEST_BZERO is
31050 defined.
31051 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31052 __libc_memmove.
31053 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31054 __libc_memset.
31055 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31056 of memset.
31057
472371b9
JM
310582012-10-10 Joseph Myers <joseph@codesourcery.com>
31059
1e4a9536
JM
31060 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31061 * configure: Regenerated.
31062
d173d12e
JM
31063 * Makeconfig (+link-static-before-libc): Don't include
31064 $(link-static-libc).
31065
472371b9
JM
31066 * libio/libio.h (_IO_pos_t): Remove.
31067
89a3ad0b
AO
310682012-10-10 Alexandre Oliva <aoliva@redhat.com>
31069
31070 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31071 McGrath.
31072
e7451425
AO
310732012-10-10 Alexandre Oliva <aoliva@redhat.com>
31074
31075 * crypt/crypt-entry.c: Include fips-private.h.
31076 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31077 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31078 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31079 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31080
4ba74a35
AO
310812012-10-10 Alexandre Oliva <aoliva@redhat.com>
31082
31083 * crypt/crypt-private.h: Include stdbool.h.
31084 (_ufc_setup_salt_r): Return bool.
31085 * crypt/crypt-entry.c: Include errno.h.
31086 (__crypt_r): Return NULL with EINVAL for bad salt.
31087 * crypt/crypt_util.c (bad_for_salt): New.
31088 (_ufc_setup_salt_r): Check that salt is long enough and within
31089 the specified alphabet.
31090 * crypt/badsalttest.c: New file.
31091 * crypt/Makefile (tests): Add it.
31092 ($(objpfx)badsalttest): New.
31093
f96f1242
MK
310942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31095
31096 * NEWS: Add entry for BZ #14602.
31097
0e8e0c1c
JM
310982012-10-09 Joseph Myers <joseph@codesourcery.com>
31099
31100 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31101 type-generic.
31102 * math/libm-test.inc: Update comment listing what functions and
31103 macros are tested.
31104 (isgreater_test): New function.
31105 (isgreaterequal_test): Likewise.
31106 (isless_test): Likewise.
31107 (islessequal_test): Likewise.
31108 (islessgreater_test): Likewise.
31109 (isunordered_test): Likewise.
31110 (main): Call the new functions.
31111
273edc5e
RM
311122012-10-09 Roland McGrath <roland@hack.frob.com>
31113
b8493de0
RM
31114 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31115 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31116 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31117 * sysdeps/i386/configure: Regenerated.
31118 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31119 * sysdeps/mach/configure: Regenerated.
31120 * sysdeps/mach/hurd/configure: Regenerated.
31121 * sysdeps/powerpc/configure: Regenerated.
31122 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31123 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31124 * sysdeps/s390/s390-32/configure: Regenerated.
31125 * sysdeps/s390/s390-64/configure: Regenerated.
31126 * sysdeps/sh/configure: Regenerated.
31127 * sysdeps/sparc/configure: Regenerated.
31128 * sysdeps/unix/sysv/linux/configure: Regenerated.
31129 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31130 * sysdeps/x86_64/configure: Regenerated.
31131
273edc5e
RM
31132 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31133 defined. Don't check if MAP is NULL.
31134
c8450f70
JM
311352012-10-09 Joseph Myers <joseph@codesourcery.com>
31136
31137 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31138 (_G_stat64): Likewise.
31139 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31140 (_G_stat64): Likewise.
31141 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31142 instead of struct _G_stat64.
31143 * libio/fileops.c (mmap_remap_check): Likewise.
31144 (decide_maybe_mmap): Likewise.
31145 (_IO_new_file_seekoff): Likewise.
31146 (_IO_file_stat): Likewise.
31147 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31148 _G_off64_t.
31149 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31150 instead of struct _G_stat64.
31151 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31152
57e605ba
MK
311532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31154
31155 [BZ #14602]
31156 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31157 Replace with ...
31158 (CHECK_EOL): New macro.
31159 (two_way_short_needle): Check beginning of haystack for EOL. Use
31160 CHECK_EOL.
31161 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31162 Replace with CHECK_EOL.
31163 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31164 Replace with CHECK_EOL.
31165
ef1bb361
JM
311662012-10-08 Joseph Myers <joseph@codesourcery.com>
31167
31168 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31169 type-generic.
31170 * math/libm-test.inc: Update comment listing what functions and
31171 macros are tested.
31172 (finite_test): New function.
31173 (isinf_test): Likewise.
31174 (isnan_test): Likewise.
31175 (fpclassify_test): Test subnormal input.
31176 (isfinite_test): Likewise.
31177 (isnormal_test): Likewise.
31178 (main): Call the new functions.
31179
55f11534
JN
311802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31181
31182 [BZ #14660]
31183 * Makerules (%.dynsym): Force C locale when running
31184 $(OBJDUMP) --dynamic-syms.
31185
1ab29350
AS
311862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31187
31188 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31189 <stdint.h>.
31190
f1ecb7ef
DM
311912012-10-06 David S. Miller <davem@davemloft.net>
31192
31193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31194 upper 32-bits of the length value in %o2 since we use branch-on-register
31195 tests which consider the entire 64-bit register.
31196
5d41d91a
L
311972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31198
31199 * string/test-strstr.c (check2): Add a test for page boundary.
31200
3baddb72
DM
312012012-10-05 David S. Miller <davem@davemloft.net>
31202
31203 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31205 file.
31206 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31207 sysdep_routines.
31208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31209 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31210 and bzero when HWCAP_SPARC_CRYPTO is present.
31211
9cee5585
L
312122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31213
d7e0dab9
L
31214 [BZ #14602]
31215 * string/test-strstr.c (check2): New function.
31216 (test_main): Call check2.
31217
03759f47
L
31218 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31219 and bug-strchr1.
31220 * string/bug-strcasestr1.c (do_test): Moved to ...
31221 * string/test-strcasestr.c (check1): Here. New function.
31222 (do_one_test): Break out result checking code into ...
31223 (check_result): This. New function.
31224 (do_one_test): Call check_result.
31225 (test_main): Call check1.
31226 * string/bug-strchr1.c (do_test): Moved to ...
31227 * string/test-strchr.c (check1): Here. New function.
31228 (do_one_test): Break out result checking code into ...
31229 (check_result): This. New function.
31230 (do_one_test): Call check_result.
31231 (test_main): Call check1.
31232 * string/bug-strstr1.c (main): Moved to ...
046f153e 31233 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31234 (do_one_test): Break out result checking code into ...
31235 (check_result): This. New function.
31236 (do_one_test): Call check_result.
31237 (test_main): Call check1.
31238 * string/bug-strcasestr1.c: Removed.
31239 * string/bug-strchr1.c: Likewise.
31240 * string/bug-strstr1.c: Likewise.
31241
53cea63e
L
31242 * elf/Makefile (dl-routines): Add hwcaps.
31243 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31244 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31245 (_dl_important_hwcaps): Moved to ...
31246 * elf/dl-hwcaps.c: Here. New file.
31247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31248
9cee5585 31249 [BZ #14557]
bb859b06
L
31250 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31251 if IS_IN_rtld isn't defined.
31252
9cee5585
L
31253 * elf/dl-support.c (_dl_sysinfo_map): New.
31254 Include "get-dynamic-info.h" and "setup-vdso.h".
31255 (_dl_non_dynamic_init): Call setup_vdso.
31256 * elf/dynamic-link.h: Don't include <assert.h>.
31257 (elf_get_dynamic_info): Moved to ...
31258 * elf/get-dynamic-info.h: Here. New file.
31259 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31260 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31261 * elf/setup-vdso.h: Here. New file.
31262 * elf/rtld.c: Include "setup-vdso.h".
31263 (dl_main): Call setup_vdso.
31264
23c31b76
JM
312652012-10-05 Joseph Myers <joseph@codesourcery.com>
31266
28234b07
JM
31267 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31268 creal in comment listing functions tested. List finite, isinf,
31269 isnan, isless, islessequal, isgreater, isgreaterequal,
31270 islessgreater, isunordered, lgamma_r and pow10 as functions and
31271 macros not tested. Mention which functions not tested are aliases
31272 for other functions. Fix typo. Note that signs of NaNs are not
31273 tested.
31274
23c31b76
JM
31275 * scripts/config.guess: Update from config.git.
31276 * scripts/config.sub: Likewise.
31277
9043e228
RM
312782012-10-04 Roland McGrath <roland@hack.frob.com>
31279
31280 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31281 * misc/madvise.c (madvise): Renamed to __madvise.
31282 Make madvise a weak alias.
31283 * include/sys/mman.h: Declare __madvise.
31284 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31285 * sysdeps/unix/syscalls.list
31286 (madvise): Make __madvise the strong name, and madvise a weak alias.
31287 * sysdeps/unix/sysv/linux/syscalls.list
31288 (madvise, mmap): Remove redundant entries.
31289 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31290 * malloc/malloc.c (mtrim): Likewise.
31291 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31292
f57f8055
RM
312932012-10-03 Roland McGrath <roland@hack.frob.com>
31294
31295 * sysdeps/mach/hurd/dl-cache.c: File removed.
31296 * config.h.in (USE_LDCONFIG): New #undef.
31297 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31298 * configure: Regenerated.
31299 * elf/Makefile (dl-routines): Add dl-cache only under
31300 [$(use-ldconfig) = yes].
31301 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31302 cache on [USE_LDCONFIG].
31303 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31304 [USE_LDCONFIG].
31305 * elf/rtld.c (dl_main): Likewise.
31306
5bb0c10a
PT
313072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31308
31309 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31310 _SC_LEVEL4_CACHE_LINESIZE.
31311
010188c6
RM
313122012-10-03 Roland McGrath <roland@hack.frob.com>
31313
31314 * sysdeps/unix/bsd/confstr.h: File removed.
31315
b6c5ec07
AO
313162012-10-02 Alexandre Oliva <aoliva@redhat.com>
31317
31318 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31319 sys/sdt-config.h.
31320
408223d4
RM
313212012-10-02 Roland McGrath <roland@hack.frob.com>
31322
31323 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31324 Make 'mapoff' field ElfW(Off) rather than off_t.
31325
bb9510dc
DL
313262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31327
fc997c6e
DL
31328 * nscd/Makefile: Remove nscd-cflags and all its users.
31329 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31330 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31331
bb9510dc
DL
31332 [BZ #10631]
31333 * malloc.c (malloc_printerr): Clarify error message.
31334
05699367
L
313352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31336
31337 [BZ #14648]
31338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31339 Set bit_FMA_Usable if FMA is supported.
31340 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31341 macro.
31342 (bit_FMA4_Usable): Updated.
31343 (index_FMA_Usable): New macro.
31344 (CPUID_FMA): Likewise
31345 (HAS_FMA): Defined with bit_FMA_Usable.
31346
51367701
RM
313472012-10-01 Roland McGrath <roland@hack.frob.com>
31348
31349 * bits/types.h (__swblk_t): Type removed.
31350 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31351 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31353 (__SWBLK_T_TYPE): Likewise.
31354 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31355 (__SWBLK_T_TYPE): Likewise.
31356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31357 (__SWBLK_T_TYPE): Likewise.
31358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31359 (__SWBLK_T_TYPE): Likewise.
31360
4d57bf63 313612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31362 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31363
31364 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31365 (xdr_mapname): Use YPMAXMAP as maxsize.
31366 (xdr_peername): Use YPMAXPEER as maxsize.
31367 (xdr_keydat): Use YPAXRECORD as maxsize.
31368 (xdr_valdat): Use YPMAXRECORD as maxsize.
31369
93c65d43
RM
313702012-10-01 Roland McGrath <roland@hack.frob.com>
31371
497a03d6
RM
31372 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31373
93c65d43
RM
31374 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31375 * csu/init-first.c: ... here.
31376 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31377 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31378 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31379 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31380 * sysdeps/i386/init-first.c: File removed.
31381 * sysdeps/sh/init-first.c: File removed.
31382
bec749fd
JM
313832012-10-01 Joseph Myers <joseph@codesourcery.com>
31384
31385 [BZ #14645]
31386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31387 if x * y might underflow to zero and z is zero.
31388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31390 * math/libm-test.inc (min_subnorm_value): New variable.
31391 (fma_test): Add more tests.
31392 (fma_test_towardzero): Likewise.
31393 (fma_test_downward): Likewise
31394 (fma_test_upward): Likewise.
31395 (initialize): Set min_subnorm_value.
31396
8ec5b013
JM
313972012-09-29 Joseph Myers <joseph@codesourcery.com>
31398
31399 [BZ #14638]
31400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31401 0 + 0.
31402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31403 mode for addition resulting in exact zero.
31404 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31406 exact 0 + 0.
31407 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31409 * math/libm-test.inc (fma_test): Add more tests.
31410 (fma_test_towardzero): New function.
31411 (fma_test_downward): Likewise.
31412 (fma_test_upward): Likewise.
31413 (main): Call the new functions.
31414
b1fa802e
DM
314152012-09-28 David S. Miller <davem@davemloft.net>
31416
31417 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31418
d3b9fd9e
RM
314192012-09-28 Roland McGrath <roland@hack.frob.com>
31420
ea4d37b3
RM
31421 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31422 instead of SIGALRM.
31423
ac51c949
RM
31424 * sysdeps/gnu/_G_config.h: Moved to ...
31425 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31426 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31427 * sysdeps/generic/_G_config.h: ... here.
31428
28c195f7
RM
31429 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31430
848917f9
RM
31431 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31432
6bacf05b
RM
31433 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31434 Conditionalize target on [libnss_test1.so-version].
31435
91363dbb
RM
31436 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31437
cc87f7d8
RM
31438 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31439 (elfobjdir): Move out of conditionals.
31440
b1c608fe
RM
31441 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31442 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31443 (__nss_lookup_function): Conditionalize label remove_from_tree on
31444 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31445
1d9a6d96
DM
314462012-09-28 David S. Miller <davem@davemloft.net>
31447
31448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31450 file.
31451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31452 sysdep_routines.
31453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31455 when HWCAP_SPARC_CRYPTO is present.
31456
72581615
PT
314572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31458
31459 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31460
715a900c
JL
314612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31462
31463 [BZ #6530]
31464 * stdio-common/vfprintf.c (process_string_arg): Revert
31465 2000-07-22 change.
31466
314672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31468
31469 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31470 for testcase.
31471 * stdio-common/tst-sprintf.c: Include <locale.h>
31472 (main): Test sprintf's handling of incomplete multibyte
31473 characters.
31474
9bac1d86
L
314752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31476
31477 * elf/dl-runtime.c (VERSYMIDX): Removed.
31478 * elf/dl-version.c (VERSYMIDX): Likewise.
31479 * elf/do-rel.h (VERSYMIDX): Likewise.
31480 (VALIDX): Likewise.
31481 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31482 * elf/rtld.c (VALIDX): Likewise.
31483 (ADDRIDX): Likewise.
9bac1d86
L
31484 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31485 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31486 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31487 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31488 (VALIDX): Likewise.
31489 (ADDRIDX): Likewise.
9bac1d86 31490
b31606c0
PT
314912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31492
31493 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31494
11541177
JL
314952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31496
31497 [BZ #11438]
31498 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31499 to global scope.
31500 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31501 addresses are in the same scope as 192.0.2/24.
31502 * posix/gai.conf: Document new scope table defaults.
31503
adb26fae
SP
315042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31505
31506 [BZ #5298]
31507 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31508 for ftell. Compute offsets from write pointers instead.
31509 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31510
4573c6b0
SP
315112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31512
31513 [BZ #14543]
31514 * libio/Makefile (tests): New test case tst-fseek.
31515 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31516 combination works in wide mode.
31517 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31518 state when the external buffer state changes.
31519
aa9bbfe6
DM
315202012-09-27 David S. Miller <davem@davemloft.net>
31521
31522 [BZ #14376]
31523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31524 pass reloc->r_addend in as the 'high' argument to
31525 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31526
784421e7
DM
31527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31528
c39bc8b8
PT
315292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31530
31531 * rt/tst-aio2.c: Include <pthread.h>.
31532 * rt/tst-aio3.c: Likewise.
31533
1ccc2399
SE
315342012-09-27 Steve Ellcey <sellcey@mips.com>
31535
31536 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31537
31ed4153
L
315382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31539
25f5f885
L
31540 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31541 contents on [SHARED].
31ed4153 31542
b7bfe116
MP
315432012-09-26 Marek Polacek <polacek@redhat.com>
31544
31545 [BZ #14530]
31546 [BZ #13741]
31547 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31548 for C++ and GCC <4.3 as well as for non GCC compilers.
31549
43c4edba
MT
315502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31551
31552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31553
6a1bf82f
RM
315542012-09-25 Roland McGrath <roland@hack.frob.com>
31555
31556 * Makefile.in (all, install): Declare with .PHONY.
31557 Reported by Michael Hope <michael.hope@linaro.org>.
31558
8ad11b9a
TMQMF
315592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31560
31561 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31562 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31563 system header.
31564 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31565 Likewise.
31566 (sydep_routines): Add the new and the internal functions.
31567 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31568 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31570 (GLIBC_2.17): Add the new function.
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31572 (GLIBC_2.17): Likewise.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31574 (GLIBC_2.17): Likewise.
31575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31576 (GLIBC_2.17): Likewise.
31577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31578
7e2fca8d
AM
315792012-09-25 Alan Modra <amodra@gmail.com>
31580
31581 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31582 Add release barrier before setting once_control to say
31583 initialisation is done. Add hints on lwarx. Use macro in
31584 place of isync.
31585 (clear_once_control): Add release barrier.
31586
b87c4b24
JM
315872012-09-25 Joseph Myers <joseph@codesourcery.com>
31588
d032e0d2
JM
31589 [BZ #13629]
31590 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31591 specially.
31592 * math/s_clog10.c (__clog10): Likewise.
31593 * math/s_clog10f.c (__clog10f): Likewise.
31594 * math/s_clog10l.c (__clog10l): Likewise.
31595 * math/s_clogf.c (__clogf): Likewise.
31596 * math/s_clogl.c (__clogl): Likewise.
31597 * math/Makefile (libm-calls): Add x2y2m1.
31598 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31599 (__x2y2m1): Likewise.
31600 (__x2y2m1l): Likewise.
31601 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31602 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31603 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31604 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31605 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31606 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31607 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31608 * sysdeps/i386/fpu/libm-test-ulps: Update.
31609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31610
b87c4b24
JM
31611 [BZ #14621]
31612 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31613 int as type of variable DEPTH.
31614 (glob): Use size_t instead of int as type of variables NEWCOUNT
31615 and OLD_PATHC.
31616
6d3bf199
LD
316172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31618
22bf5c17
LD
31619 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31620 Add s_sincosf-sse2.
31621 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31622 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31623 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31624 macros for using routine as __sincosf_ia32.
31625 Use macro for function declaration and weak_alias.
31626 * sysdeps/i386/fpu/libm-test-ulps: Update.
31627
31628 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31630
31631 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31632 subnormal argument.
31633 * math/s_cexpf.c (__cexpf): Likewise.
31634 * math/s_csinf.c (__csinf): Likewise.
31635 * math/s_csinhf.c (__csinhf): Likewise.
31636 * math/s_ctanf.c (__ctanf): Likewise.
31637 * math/s_ctanhf.c (__ctanhf): Likewise.
31638 * math/s_ccosh.c (__ccoshf): Likewise.
31639 * math/s_cexp.c (__cexpl): Likewise.
31640 * math/s_csin.c (__csin): Likewise.
31641 * math/s_csinh.c (__csinh): Likewise.
31642 * math/s_ctan.c (__ctan): Likewise.
31643 * math/s_ctanh.c (ctanh): Likewise.
31644 * math/s_ccoshl.c (__ccoshl): Likewise.
31645 * math/s_cexpl.c (__cexpl): Likewise.
31646 * math/s_csinl.c (__csinl): Likewise.
31647 * math/s_csinhl.c (__csinhl): Likewise.
31648 * math/s_ctanl.c (__ctanl): Likewise.
31649 * math/s_ctanhl.c (__ctanhl): Likewise.
31650
203e5603
JM
316512012-09-25 Joseph Myers <joseph@codesourcery.com>
31652
31653 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31654 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31655 (_IO_off_t): Define to __off_t, not _G_off_t.
31656 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31657 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31658 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31659 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31660 type of __dummy and __dummy2 fields.
31661 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31662 (_G_ssize_t): Likewise.
31663 (_G_off_t): Likewise.
31664 (_G_pid_t): Likewise.
31665 (_G_uid_t): Likewise.
31666 (_G_wchar_t): Likewise.
31667 (_G_wint_t): Likewise.
31668 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31669 (_G_ssize_t): Likewise.
31670 (_G_off_t): Likewise.
31671 (_G_pid_t): Likewise.
31672 (_G_uid_t): Likewise.
31673 (_G_wchar_t): Likewise.
31674 (_G_wint_t): Likewise.
31675 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31676 (_G_ssize_t): Likewise.
31677 (_G_off_t): Likewise.
31678 (_G_pid_t): Likewise.
31679 (_G_uid_t): Likewise.
31680 (_G_wchar_t): Likewise.
31681 (_G_wint_t): Likewise.
31682
9fab36eb
SP
316832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31684
31685 * malloc/arena.c: Include malloc-sysdep.h.
31686 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31687 is sufficient to shrink the heap or an unmap is needed.
31688 * sysdeps/generic/malloc-sysdep.h: New file. Define
31689 new function check_may_shrink_heap.
31690 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31691 new function check_may_shrink_heap.
31692
2b4f00d1
SP
316932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31694
31695 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31696 comments.
31697
9a9028b1
DL
316982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31699
57c69bef
DL
31700 * catgets/test-gencat.sh: Add "set -e".
31701 * elf/tst-pathopt.sh: Likewise.
31702 * grp/tst_fgetgrent.sh: Likewise.
31703 * iconvdata/run-iconv-test.sh: Likewise.
31704 * intl/tst-gettext.sh: Likewise.
31705 * intl/tst-gettext2.sh: Likewise.
31706 * intl/tst-gettext4.sh: Likewise.
31707 * intl/tst-gettext6.sh: Likewise.
31708 * intl/tst-translit.sh: Likewise.
31709 * io/ftwtest-sh: Likewise.
31710 * libio/test-freopen.sh: Likewise.
31711 * malloc/tst-mtrace.sh: Likewise.
31712 * posix/globtest.sh: Likewise.
31713 * posix/tst-getconf.sh: Likewise.
31714 * posix/wordexp-tst.sh: Likewise.
31715 * stdio-common/tst-printf.sh: Likewise.
31716 * stdio-common/tst-unbputc.sh: Likewise.
31717 * stdlib/tst-fmtmsg.sh: Likewise.
31718 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31719 * catgets/Makefile: Do not specify -e option when running
31720 testsuite shell scripts.
31721 * elf/Makefile: Likewise.
31722 * grp/Makefile: Likewise.
31723 * iconvdata/Makefile: Likewise.
31724 * intl/Makefile: Likewise.
31725 * io/Makefile: Likewise.
31726 * libio/Makefile: Likewise.
31727 * malloc/Makefile: Likewise.
31728 * posix/Makefile: Likewise.
31729 * stdio-common/Makefile: Likewise.
31730 * stdlib/Makefile: Likewise.
31731 * sysdeps/x86_64/Makefile: Likewise.
31732
9a9028b1
DL
31733 * io/ftwtest-sh: Add copyright header.
31734 * posix/globtest.sh: Likewise.
31735 * posix/tst-getconf.sh: Likewise.
31736 * posix/wordexp-tst.sh: Likewise.
31737 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31738
ced6f16e
L
317392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31740
94b32c39
L
31741 [BZ #13679]
31742 * Makeconfig (+link): Defined as $(+link-static) if
31743 $(build-shared) isn't yes.
31744 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31745 isn't yes.
31746 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31747
189e935b
L
31748 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31749
ced6f16e
L
31750 [BZ #14562]
31751 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31752 new chunk size with MALLOC_ALIGN_MASK.
31753
a9f8e53a
JM
317542012-09-24 Joseph Myers <joseph@codesourcery.com>
31755
31756 [BZ #5044]
31757 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31758 <rounding-mode.h>.
31759 (__printf_fphex): Determine rounding using get_rounding_mode and
31760 round_away.
31761 * stdio-common/tst-printf-round.c (struct hex_test): New
31762 structure.
31763 (hex_tests): New variable.
31764 (test_hex_in_one_mode): New function.
31765 (do_test): Also run tests for hex float output.
31766
43153109
JM
317672012-09-21 Joseph Myers <joseph@codesourcery.com>
31768
31769 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31771 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31772 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31773 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31774 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31775 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31776 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31777
8a26625d
JM
317782012-09-20 Joseph Myers <joseph@codesourcery.com>
31779
31780 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31781 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31782 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31783 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31784
f3fd569c
DL
317852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31786
31787 [BZ #14579]
31788 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31789 mode only.
31790 * elf/tst-rtld-load-self.sh: New test.
31791 * elf/Makefile: Run it.
31792
63bbedd4
JM
317932012-09-18 Joseph Myers <joseph@codesourcery.com>
31794
31795 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31796 (tst-writev-ENV): Remove.
31797 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31798
626f8b6a
CM
317992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31800
31801 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31802
b7aaa4d6
JM
318032012-09-17 Joseph Myers <joseph@codesourcery.com>
31804
31805 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31806 unconditional.
31807 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31808 Likewise.
31809 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31810 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31812 Likewise.
31813
65513990
L
318142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 [BZ #14587]
31817 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31818 * config.make.in (have-cpp-asm-debuginfo): Removed.
31819 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31820 * configure: Regenerated.
31821
784761be
JM
318222012-09-14 Joseph Myers <joseph@codesourcery.com>
31823
31824 [BZ #5044]
31825 * stdio-common/printf_fp.c: Include <stdbool.h> and
31826 <rounding-mode.h>.
31827 (___printf_fp): Determine rounding using get_rounding_mode and
31828 round_away.
31829 * stdio-common/tst-printf-round.c: New file.
31830 * stdio-common/Makefile (tests): Add tst-printf-round.
31831 (link-libm): New variable.
31832 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31833
9503345f
L
318342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31835
31836 [BZ #14576]
31837 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31838 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31839 Likewise.
31840 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31841 Likewise.
31842
ad35fc00
JM
318432012-09-13 Joseph Myers <joseph@codesourcery.com>
31844
31845 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31846 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31847 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31848 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31849
6c9b0f68
JM
318502012-09-12 Joseph Myers <joseph@codesourcery.com>
31851
31852 [BZ #14518]
31853 * include/rounding-mode.h: New file.
31854 * sysdeps/generic/get-rounding-mode.h: Likewise.
31855 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31856 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31857 (MAX_VALUE): New macro.
31858 (MIN_VALUE): Likewise.
31859 (overflow_value): New function.
31860 (underflow_value): Likewise.
31861 (round_and_return): Use overflow_value and underflow_value to
31862 determine return values in overflow and underflow cases. Use
31863 round_away to determine rounding depending on rounding mode.
31864 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31865 determine return values in overflow and underflow cases.
31866 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31867 (struct test_results): New structure.
31868 (struct test): Use struct test_results to store expected results
31869 for all rounding modes.
31870 (TEST): Include expected results for all rounding modes.
31871 (test_in_one_mode): New function.
31872 (do_test): Use test_in_one_mode to compute and check results.
31873 Check results for all rounding modes.
31874 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31875 $(link-libm).
31876
19fcedd5
AM
318772012-12-09 Allan McRae <allan@archlinux.org>
31878
1e9d84cd 31879 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31880
8bbfd2f1
JM
318812012-09-11 Joseph Myers <joseph@codesourcery.com>
31882
31883 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31884 (_G_int32_t): Likewise.
31885 (_G_uint16_t): Likewise.
31886 (_G_uint32_t): Likewise.
31887 (_G_HAVE_BOOL): Likewise.
31888 (_G_HAVE_ATEXIT): Likewise.
31889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31890 (_G_HAVE_IO_FILE_OPEN): Likewise.
31891 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31892 (_G_int32_t): Likewise.
31893 (_G_uint16_t): Likewise.
31894 (_G_uint32_t): Likewise.
31895 (_G_HAVE_BOOL): Likewise.
31896 (_G_HAVE_ATEXIT): Likewise.
31897 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31898 (_G_HAVE_IO_FILE_OPEN): Likewise.
31899 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31900 (_G_int32_t): Likewise.
31901 (_G_uint16_t): Likewise.
31902 (_G_uint32_t): Likewise.
31903 (_G_HAVE_BOOL): Likewise.
31904 (_G_HAVE_ATEXIT): Likewise.
31905 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31906 (_G_HAVE_IO_FILE_OPEN): Likewise.
31907
b1dc5912
L
319082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31909
31910 * csu/libc-tls.c: Update copyright years.
31911
0e886ef9
JM
319122012-09-10 Joseph Myers <joseph@codesourcery.com>
31913
28361c5e
JM
31914 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31915 [!_G_USING_THUNKS]: Remove conditional code.
31916 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31917 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31918
0e886ef9
JM
31919 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31920 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31921 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31922 (_G_VTABLE_LABEL_PREFIX): Likewise.
31923 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31924 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31925 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31926 (_G_VTABLE_LABEL_PREFIX): Likewise.
31927 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31928 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31930 (_G_VTABLE_LABEL_PREFIX): Likewise.
31931 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31932
bcba7aa2
L
319332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31934
31935 * libio/Makefile: Include ../Makeconfig before tests.
31936 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31937 only if $(build-shared) is yes.
31938
06585ee8
L
31939 * iconv/gconv_db.c: Update copyright years.
31940
80ccd52c
LD
319412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31942
31943 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31944 unwind info if defined PIC. Fix special cases description.
31945 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31946
31947 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31948 DP_HI_MASK entry.
31949 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31950
691bc9c1
L
319512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31952
3d9b46b3
L
31953 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31954
de2139a9
L
31955 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31956 is NULL.
31957
5ca78dd0
L
31958 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31959 (LDLIBS-tst-chk4): This.
31960 (LDFLAGS-tst-chk5): Renamed to ...
31961 (LDLIBS-tst-chk5): This.
31962 (LDFLAGS-tst-chk6): Renamed to ...
31963 (LDLIBS-tst-chk6): This.
31964 (LDFLAGS-tst-lfschk4): Renamed to ...
31965 (LDLIBS-tst-lfschk4): This.
31966 (LDFLAGS-tst-lfschk5): Renamed to ...
31967 (LDLIBS-tst-lfschk5): This.
31968 (LDFLAGS-tst-lfschk6): Renamed to ...
31969 (LDLIBS-tst-lfschk6): This.
31970
691bc9c1
L
31971 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31972 on $(common-objpfx)soversions.mk.
31973
65cafb1c
JM
319742012-09-07 Joseph Myers <joseph@codesourcery.com>
31975
31976 [BZ #10014]
31977 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31978 example host name.
31979
c78ab094
SP
319802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31981
31982 * malloc/arena.c (arena_get_retry): New function that gets
31983 another arena for the caller to try its request on.
31984 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31985 current arena cannot fulfill the request.
31986 (__libc_memalign): Likewise.
31987 (__libc_memalign): Likewise.
31988 (__libc_pvalloc): Likewise.
31989 (__libc_calloc): Likewise.
31990
01f49f59
JT
319912012-09-05 John Tobey <john.tobey@gmail.com>
31992
31993 [BZ #13542]
31994 * manual/arith.texi (Operations on Complex): Fix description
31995 of carg branch cut.
31996
4c23fed5
JM
319972012-09-06 Joseph Myers <joseph@codesourcery.com>
31998
1d3c8572
JM
31999 [BZ #10014]
32000 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32001 host name.
32002
4c23fed5
JM
32003 [BZ #10038]
32004 * manual/memory.texi (Memory): Make order of menu items match
32005 order of sections.
32006
04570aaa
L
320072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32008
32009 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32010 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32011 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32012
b80af2f4
L
320132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32014
32015 * csu/libc-tls.c (static_dtv): Renamed to ...
32016 (_dl_static_dtv): This. Make it global.
32017 (_dl_initial_dtv): Removed.
32018 (__libc_setup_tls): Updated.
32019 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32020 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32021 DL_INITIAL_DTV.
32022
2abe9f15
PM
320232012-09-06 Petr Machata <pmachata@redhat.com>
32024
32025 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32026 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32027 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32028 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32029
0948c3af
L
320302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 [BZ #14545]
32033 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32034 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32035 freeing dtv[-1].
32036
a5055ad1
L
320372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32038
32039 [BZ #14544]
32040 * Makeconfig (link-static-before-libc): Replace $(+prector)
32041 with $(+prectorT).
32042 (link-static-after-libc): Replace $(+postctor) with
32043 $(+postctorT).
32044 (link-bounded): Replace $(+prector)/$(+postctor) with
32045 $(+prectorT)/$(+postctorT).
32046 (+prectorT): New macro.
32047 (+postctorT): Likewise.
32048
ed8c2ecd
JM
320492012-09-06 Joseph Myers <joseph@codesourcery.com>
32050
32051 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32052 (round_str): Handle values above the maximum for IBM long double
32053 as inexact.
32054 * stdlib/tst-strtod-round.c (tests): Regenerated.
32055
14c996c8
AK
320562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32057
32058 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32059 assembler flag.
32060 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32061 zarch_nohighgprs around the zarch optimized routines.
32062 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32063 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32065 for zarch.
32066
430d6ce6
DM
320672012-09-05 David S. Miller <davem@davemloft.net>
32068
32069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32070
57f41c40
AS
32071 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32072 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32073 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32074 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32075 entries.
32076
24d4e01b
AO
320772012-09-05 Alexandre Oliva <aoliva@redhat.com>
32078
32079 * malloc/arena.c: Fold copyright years.
32080 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32081
61d58174
AO
320822012-09-05 Alexandre Oliva <aoliva@redhat.com>
32083
32084 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32085
20196a5e
AO
320862012-09-05 Alexandre Oliva <aoliva@redhat.com>
32087
32088 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32089
5c447383
AO
320902012-09-05 Alexandre Oliva <aoliva@redhat.com>
32091
32092 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32093 change internal state upon failure.
32094
fad64255
AO
320952012-09-05 Alexandre Oliva <aoliva@redhat.com>
32096
32097 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32098 * malloc/memusage.c (mmap): Likewise.
32099 (mmap64, mremap): Likewise. Adjust name in comment.
32100
1ffb8c90
SP
321012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32102
32103 * libio/fileops.c: Fix typos in comments.
32104 * libio/oldfileops.c: Likewise.
32105 * libio/wfileops.c: Likewise.
32106
6ef9cc37
SP
321072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32108
32109 [BZ #1349]
32110 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32111 (tst-malloc-usable-ENV): Set environment for test case.
32112 * malloc/hooks.c (malloc_check_get_size): New function to get
32113 requested size.
32114 * malloc/malloc.c (musable): Use malloc_check_get_size.
32115 * malloc/tst-malloc-usable.c: New test case.
32116
4d038ae3
AS
321172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32118
32119 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32120
c4e85184
AM
321212012-09-05 Allan McRae <allan@archlinux.org>
32122
b9dafc56 32123 [BZ #13966]
c4e85184
AM
32124 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32125 determine header location.
32126 * configure: Regenerated.
32127
e1343020
AS
321282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32129
32130 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32131 float format.
32132 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32133 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32134 format.
e1343020
AS
32135 (test): Regenerate.
32136
0a9f1987
DM
321372012-09-04 David S. Miller <davem@davemloft.net>
32138
32139 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32140 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32142
29237804
FW
321432012-09-04 Florian Weimer <fweimer@redhat.com>
32144
32145 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32146 failures.
32147
edb3cb88
FW
32148 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32149
60160d83
JM
321502012-09-04 Joseph Myers <joseph@codesourcery.com>
32151
32152 [BZ #9914]
32153 * libio/iogetdelim.c: Include <limits.h>.
32154 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32155 + len + 1 would overflow.
32156
bcd6c8dc
AJ
321572012-09-03 Andreas Jaeger <aj@suse.de>
32158
32159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32160 * sysdeps/i386/fpu/libm-test-ulps: Update.
32161
4ffffbd2
LD
321622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32163
32164 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32165 Add s_sinf-sse2, s_conf-sse2.
32166
32167 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32168 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32169 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32170 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32171
32172 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32173 for using routine as __sinf_ia32.
32174 Use macro for function declaration and weak_alias.
32175 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32176 for using routine as __cosf_ia32.
32177 Use macro for function declaration and weak_alias.
32178
32179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32180 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32181
32182 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32183 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32185
32186 * math/libm-test.inc (cos_test): Add more test cases.
32187 (sin_test): Likewise.
32188 (sincos_test): Likewise.
32189
511fa286
AK
321902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32191
32192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32193 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32194 hidden.
32195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32196
5f30cfec
L
321972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32198
32199 [BZ #14538]
32200 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32201 first element of the GOT.
32202 (elf_machine_load_address): Return the difference between
32203 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32204
0786794f
AM
322052012-09-01 Allan McRae <allan@archlinux.org>
32206
5f30cfec
L
32207 [BZ #13412]
32208 * configure.in (AWK): Require gawk version 3.0 or later.
32209 * configure: Regenerated.
0786794f 32210
26889eac
JM
322112012-09-01 Joseph Myers <joseph@codesourcery.com>
32212
32213 * sysdeps/unix/sysv/linux/kernel-features.h
32214 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32216 [__NR_clock_getres]: Make code unconditional.
32217 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32218 (clock_getcpuclockid): Remove code left unreachable by removal of
32219 conditionals.
32220 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32221 code unconditional.
32222 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32224 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32225 Make code unconditional.
32226 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32228 * sysdeps/unix/sysv/linux/clock_settime.c
32229 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32230 conditional code.
32231 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32233
d22e28b0
L
322342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 [BZ #14476]
32237 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32238 scripts/test-installation.pl.
32239
32240 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32241 and $ld_so_version if it is set.
32242
050af9c4
SP
322432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32244
32245 [BZ #14516]
32246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32247 failure if reading from procfs failed.
32248 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32249
ad845c0b
JM
322502012-08-27 Joseph Myers <joseph@codesourcery.com>
32251
32252 * sysdeps/unix/sysv/linux/kernel-features.h
32253 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32254 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32255 Remove conditional code.
32256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32257 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32258 Remove conditional code.
32259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32260 * sysdeps/unix/sysv/linux/i386/fxstat.c
32261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32263 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32266 * sysdeps/unix/sysv/linux/i386/lxstat.c
32267 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32269 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32270 Remove conditional code.
32271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32273 Remove conditional code.
32274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32275 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32276 <kernel-features.h>.
32277 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32278 Remove.
32279 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32280 Remove conditional code.
32281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32282 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32283 Remove conditional.
32284
5dbf56af
MF
322852012-08-27 Mike Frysinger <vapier@gentoo.org>
32286
32287 [BZ #5400]
32288 * NEWS: Add fixed bug number.
32289
d6e70f43
JM
322902012-08-27 Joseph Myers <joseph@codesourcery.com>
32291
7efb4737
JM
32292 [BZ #14519]
32293 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32294 underflowing exponent in case of negative sign.
32295 * stdlib/tst-strtod-round-data: Add more tests.
32296 * stdlib/tst-strtod-round.c (tests): Regenerated.
32297
af92131a
JM
32298 [BZ #3479]
32299 * stdlib/strtod_l.c (NDIG): Remove.
32300 (HEXNDIG): Likewise.
32301 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32302 smallest representable value.
32303 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32304 lie within an exact representation of 1/2 ulp of the result.
32305 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32306 unconditionally.
32307 (TENS_P9_IDX): Define unconditionally.
32308 (TENS_P9_SIZE): Likewise.
32309 (TENS_P10_IDX): Likewise.
32310 (TENS_P10_SIZE): Likewise.
32311 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32312 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32313 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32314 entries for 10^2^13 and 10^2^14.
32315 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32316 (TENS_P13_IDX): Define.
32317 (TENS_P13_SIZE): Likewise.
32318 (TENS_P14_IDX): Likewise.
32319 (TENS_P14_SIZE): Likewise.
32320 (_fpioconst_pow10): Change array size to
32321 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32322 unconditional.
32323 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32324 1024]: Add entries for 10^2^13 and 10^2^14.
32325 [LAST_POW10 > _LAST_POW10]: Remove #error.
32326 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32327 (_fpioconst_pow10): Change array size to
32328 FPIOCONST_POW10_ARRAY_SIZE.
32329 * stdlib/gen-fpioconst.c: New file.
32330 * stdlib/gen-tst-strtod-round.c: Likewise.
32331 * stdlib/tst-strtod-round-data: Likewise.
32332 * stdlib/tst-strtod-round.c: Likewise.
32333 * stdlib/Makefile (tests): Add tst-strtod-round.
32334
d6e70f43
JM
32335 [BZ #14459]
32336 * stdlib/strtod_l.c: Include <stdint.h>.
32337 (NDEBUG): Do not define.
32338 (round_and_return): Change EXPONENT parameter to type intmax_t.
32339 Rearrange calculations to avoid internal overflow possibilities.
32340 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32341 Rearrange calculations to avoid internal overflow possibilities.
32342 Assert that number fits inside MPNSIZE limbs.
32343 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32344 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32345 calculations and add assertions to avoid internal overflow
32346 possibilities. Add casts to avoid signed/unsigned operations.
32347 * stdlib/tst-strtod-overflow.c: New file.
32348 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32349
1f529f7d
MP
323502012-08-25 Marek Polacek <polacek@redhat.com>
32351
32352 * time/time.h: Fix some typos in comments.
32353
59a629f1
RM
323542012-08-23 Roland McGrath <roland@hack.frob.com>
32355
32356 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32357 * posix/tst-rfc3484-2.c: Likewise.
32358 * posix/tst-rfc3484-3.c: Likewise.
32359
d3bafbc9
SM
323602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32361
32362 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32363 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32364
4efcc022
JM
323652012-08-23 Joseph Myers <joseph@codesourcery.com>
32366
32367 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32368 #include of fxstatat64.c.
32369
3cc3ef96
RM
323702012-08-22 Roland McGrath <roland@hack.frob.com>
32371
f04e2132
RM
32372 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32373 * shadow/getspent_r.c: Likewise.
32374 * shadow/getspnam.c: Likewise.
32375 * shadow/getspnam_r.c: Likewise.
32376 * gshadow/getsgent.c: Likewise.
32377 * gshadow/getsgent_r.c: Likewise.
32378 * gshadow/getsgnam.c: Likewise.
32379 * gshadow/getsgnam_r.c: Likewise.
32380 * inet/getnetbyad.c: Likewise.
32381 * inet/getnetbyad_r.c: Likewise.
32382 * inet/getnetbynm.c: Likewise.
32383 * inet/getnetbynm_r.c: Likewise.
32384 * inet/getnetent.c: Likewise.
32385 * inet/getnetent_r.c: Likewise.
32386 * inet/getproto.c: Likewise.
32387 * inet/getproto_r.c: Likewise.
32388 * inet/getprtent.c: Likewise.
32389 * inet/getprtent_r.c: Likewise.
32390 * inet/getprtname.c: Likewise.
32391 * inet/getprtname_r.c: Likewise.
32392 * inet/getrpcbyname.c: Likewise.
32393 * inet/getrpcbyname_r.c: Likewise.
32394 * inet/getrpcbynumber.c: Likewise.
32395 * inet/getrpcbynumber_r.c: Likewise.
32396 * inet/getrpcent.c: Likewise.
32397 * inet/getrpcent_r.c: Likewise.
32398 * inet/getaliasent.c: Likewise.
32399 * inet/getaliasent_r.c: Likewise.
32400 * inet/getaliasname.c: Likewise.
32401 * inet/getaliasname_r.c: Likewise.
32402 * nscd/getgrgid_r.c: Likewise.
32403 * nscd/getgrnam_r.c: Likewise.
32404 * nscd/gethstbyad_r.c: Likewise.
32405 * nscd/gethstbynm3_r.c: Likewise.
32406 * nscd/getpwnam_r.c: Likewise.
32407 * nscd/getpwuid_r.c: Likewise.
32408 * nscd/getsrvbynm_r.c: Likewise.
32409 * nscd/getsrvbypt_r.c: Likewise.
32410 * nscd/gai.c: Likewise.
32411
c53d909c
RM
32412 * configure.in (build_nscd): New substituted variable, set
32413 by --disable-build-nscd and defaults to $use_nscd.
32414 * configure: Regenerated.
32415 * config.make.in (build-nscd): New substituted variable.
32416 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32417 Change conditional to require [$(build-nscd) = yes] as well.
32418 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32419
3cc3ef96
RM
32420 [BZ# 13696]
32421 * configure.in (use_nscd): New substituted variable, set by
32422 --disable-nscd. If enabled, define USE_NSCD.
32423 * configure: Regenerated.
32424 * config.h.in: Add USE_NSCD.
32425 * config.make.in (use-nscd): New substituted variable.
32426 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32427 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32428 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32429 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32430 (CFLAGS-getgrnam_r.c): Likewise.
32431 (CFLAGS-initgroups.c): Likewise.
32432 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32433 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32434 Variables removed.
32435 * inet/getnetgrent_r.c
32436 (nscd_setnetgrent): New function, broken out of ...
32437 (setnetgrent): ... here. Call it.
32438 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32439 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32440 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32441 * nscd/Makefile (routines, aux): Move definitions after include of
32442 Makeconfig. Conditionalize on [$(use-nscd) != no].
32443 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32444 Conditionalize on [USE_NSCD].
32445 (is_nscd, nscd_init_cb): Likewise.
32446 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32447 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32448 * nss/nss_db/db-init.c: Likewise.
32449 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32450 [USE_NSCD].
32451 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32452 (make_request): Use it.
32453 (cache_valid_p): New function.
32454 (__check_pf): Use it.
32455 * NEWS: Add item for --disable-nscd.
32456
07e51550
DL
324572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32458
32459 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32460 to support sed >= 4.2.1-20-ga9bf076.
32461 * configure: Regenerated.
32462
35a5b08b
RM
324632012-08-22 Roland McGrath <roland@hack.frob.com>
32464
32465 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32466 Conditionalize whole body on [IREL].
32467
8479f23a
JL
324682012-08-22 Jeff Law <law@redhat.com>
32469
32470 [BZ #14505]
32471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32472 if the family is PF_UNSPEC.
32473
48da0b21
MF
324742012-08-22 Mike Frysinger <vapier@gentoo.org>
32475
32476 * Makerules (lib-version): Rename from V.
32477 (install-lib-nosubdir): Change V to lib-version.
32478
15d0da8c
WS
324792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32480
32481 [BZ #14252]
32482 * powerpc32/power6/wcschr.c: New file.
32483 * powerpc32/power6/wcscpy.c: New file.
32484 * powerpc32/power6/wcsrchr.c: New file.
32485 * powerpc64/power6/wcschr.c: New file.
32486 * powerpc64/power6/wcscpy.c: New file.
32487 * powerpc64/power6/wcsrchr.c: New file.
32488
bcca0895
MK
324892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32490
32491 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32492 (two_way_short_needle): Use it.
5a4aaa33
RM
32493 * string/strstr.c (AVAILABLE1_USES_J): Define.
32494 * string/strcasestr.c: Likewise.
99677e57
MK
32495
32496 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32497 array references.
32498 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32499
400726de
MK
32500 [BZ #11607]
32501 * NEWS: Add an entry.
32502 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32503 define their defaults.
32504 (two_way_short_needle): Detect end-of-string on-the-fly.
32505 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32506 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32507 * string/bug-strcasestr1.c: New test.
32508 * string/Makefile: Run it.
32509
20a71f2c
MK
325102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32511
32512 [BZ #11607]
32513 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32514 the first character.
32515
21ad0558
RM
325162012-08-21 Roland McGrath <roland@hack.frob.com>
32517
32518 * csu/elf-init.c (__libc_csu_irel): Function removed.
32519 * csu/libc-start.c (apply_irel): New function.
32520 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32521
0e1d9911
JM
325222012-08-21 Joseph Myers <joseph@codesourcery.com>
32523
32524 * sysdeps/unix/sysv/linux/kernel-features.h
32525 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32526 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32527 <kernel-features.h>.
32528 [__NR_fadvise64_64]: Make code unconditional.
32529 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32530 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32531 !__NR_fadvise64_64)]: Likewise.
32532 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32533 !__NR_fadvise64_64))]: Likewise.
32534 [__NR_fadvise64]: Make code unconditional.
32535 [!__NR_fadvise64]: Remove conditional code.
32536 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32537 <kernel-features.h>.
32538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32539 unconditional.
32540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32541 conditional code.
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32543 not include <kernel-features.h>.
32544 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32545 unconditional.
32546 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32547 conditional code.
32548 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32549 include <kernel-features.h>.
32550 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32551 unconditional.
32552 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32553 conditional code.
32554
14a50c9d
WS
325552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32556
32557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32558 slight instruction rearrangements per scrollpipe analysis.
32559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32560
c0f4faf0
RM
325612012-08-20 Roland McGrath <roland@hack.frob.com>
32562
696da859
RM
32563 * manual/syslog.texi (syslog; vsyslog, closelog):
32564 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32565 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32566
c0f4faf0
RM
32567 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32568 DSOCAPS to match condition on defining it.
32569
348363b2
JM
325702012-08-20 Joseph Myers <joseph@codesourcery.com>
32571
a35cbf28
JM
32572 * sysdeps/unix/sysv/linux/kernel-features.h
32573 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32581 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32582 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32583
445f7ecd
JM
32584 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32585 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32586
348363b2
JM
32587 * sysdeps/unix/sysv/linux/kernel-features.h
32588 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32589 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32590 unconditional.
32591 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32592 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32593 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32594 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32595 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32596 Make code unconditional.
32597 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32598 (__mmap64) [!__NR_mmap2]: Likewise.
32599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32600 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32601 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32602 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32603 [__NR_mmap2]: Make code unconditional.
32604 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32605 (__mmap64) [!__NR_mmap2]: Likewise.
32606
bc5bc0e5
AK
326072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32608
32609 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32610
88d506de
AJ
326112012-08-18 Andreas Jaeger <aj@suse.de>
32612
32613 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32614
493387d2
MF
326152012-08-18 Mike Frysinger <vapier@gentoo.org>
32616
32617 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32618 * include/unistd.h (__have_sock_cloexec): Likewise.
32619 (__have_pipe2): Likewise.
32620 (__have_dup3): Likewise.
32621
a277af22
MF
326222012-08-18 Mike Frysinger <vapier@gentoo.org>
32623
32624 [BZ #9685]
32625 * include/unistd.h (__have_pipe2): Change define into an extern int.
32626 (__have_dup3): Likewise.
32627 * socket/have_sock_cloexec.c: Include fcntl.h.
32628 (__have_pipe2): New variable.
32629 (__have_dup3): Likewise.
32630
fdab8fd3
MF
326312012-08-17 Mike Frysinger <vapier@gentoo.org>
32632
32633 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32634
31035e80
MP
326352012-08-17 Marek Polacek <polacek@redhat.com>
32636
32637 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32638 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32639
3bd9e993
RM
326402012-08-17 Roland McGrath <roland@hack.frob.com>
32641
c91c505f
RM
32642 * configure.in: Add AC_SUBST for sysheaders.
32643 * configure: Regenerated.
32644 * config.make.in (sysheaders): New substituted variable.
32645
7c6f9d53
RM
32646 * sysdeps/unix/mkfifo.c: Moved ...
32647 * sysdeps/posix/mkfifo.c: ... here.
32648 * sysdeps/unix/mkfifoat.c: Moved ...
32649 * sysdeps/posix/mkfifoat.c: ... here.
32650
32651 * sysdeps/unix/utime.c: Moved ...
32652 * sysdeps/posix/utime.c: ... here.
32653
32654 * sysdeps/unix/time.c: Moved ...
32655 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32656 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32657 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32658
32659 * sysdeps/unix/nice.c: Moved ...
32660 * sysdeps/posix/nice.c: ... here.
32661
32662 * sysdeps/unix/alarm.c: Moved ...
32663 * sysdeps/posix/alarm.c: ... here.
32664
3bd9e993
RM
32665 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32666
d1f09384
JL
326672012-08-17 Jeff Law <law@redhat.com>
32668
32669 * intl/Makefile (codeset_mo): New variable.
32670 ($(codeset_mo)): New target.
32671 (tst-codeset.out): Depend on that. Remove explicit rule.
32672 (tst-gettext3.out, tst-gettext5.out): Likewise.
32673 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32674 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32675 * intl/tst-codeset.sh: Remove.
32676 * intl/tst-gettext3.sh: Likewise.
32677 * intl/tst-gettext5.sh: Likewise.
32678
2ae1ae5c
RM
326792012-08-17 Roland McGrath <roland@hack.frob.com>
32680
c31fdb83
RM
32681 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32682 * sysdeps/unix/syscalls.list: ... here.
32683
a0844057
RM
32684 * sysdeps/posix/getaddrinfo.c
32685 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32686 (gaiconf_init, gaiconf_reload): Use them.
32687 [!_STATBUF_ST_NSEC]
32688 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32689 Define using time_t rather than struct timespec.
32690
750c1f2a
RM
32691 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32692 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32693 Macros removed.
32694 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32695 [!NO_THREADS].
32696 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32697 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32698 Likewise.
32699
2ae1ae5c
RM
32700 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32701 __libc_cleanup_push argument.
32702
e66a42f5
RM
32703 * bits/param.h: New file.
32704 * misc/sys/param.h: New file.
32705 * include/sys/param.h: New file.
32706 * misc/Makefile (headers): Add bits/param.h.
32707 * sysdeps/generic/sys/param.h: File removed.
32708 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32709 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32710 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32711 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32712
b7c08a66
RM
32713 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32714 last change.
32715
b2e1c562
RM
32716 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32717 [_IO_MTSAFE_IO].
32718 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32719 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32720 New macros.
32721
c75ccd4c
RM
32722 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32723 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32724 rather than -D_IO_MTSAFE_IO conditionally.
32725 * stdio-common/Makefile (CPPFLAGS): Likewise.
32726 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32727 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32728 Use $(libio-mtsafe).
32729 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32730 of -D_IO_MTSAFE_IO.
32731 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32732 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32733 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32734 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32735 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32736 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32737 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32738 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32739 (CFLAGS-fread_u_chk.c): Likewise.
32740 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32741 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32742 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32743 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32744 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32745 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32746 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32747 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32748 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32749
32750 * libio/Makefile: Test [$(libc-reentrant) = yes]
32751 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32752
32753 * Makeconfig
32754 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32755 * sysdeps/pthread/configure: File removed.
32756 * sysdeps/pthread/Makeconfig: New file.
32757 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32758 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32759
d9195db8
GB
327602012-08-16 Gary Benson <gbenson@redhat.com>
32761
32762 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32763 unmapping the first object in a namespace.
32764
86466cd9
RM
327652012-08-16 Roland McGrath <roland@hack.frob.com>
32766
32767 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32768 (__internal_setnetgrent): ... this. Add internal_function to
32769 definition. Add libc_hidden_def.
32770 (setnetgrent): Update caller.
32771 (internal_endnetgrent): Renamed to ...
32772 (__internal_endnetgrent): ... this. Add internal_function to
32773 definition. Add libc_hidden_def.
32774 (endnetgrent): Update caller.
32775 (internal_getnetgrent_r): Renamed to ...
32776 (__internal_getnetgrent_r): ... this. Add internal_function to
32777 definition. Add libc_hidden_def.
32778 (__getnetgrent_r): Update caller.
32779 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32780
c3c8283c
JM
327812012-08-16 Joseph Myers <joseph@codesourcery.com>
32782
32783 * stdlib/longlong.h: Update from GCC.
32784
db1ee0a8
RM
327852012-08-16 Roland McGrath <roland@hack.frob.com>
32786
32787 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32788 on _QL, which is set by umul_ppmm but never used.
32789 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32790 variables, which are set by GMP macros but never used.
32791 * stdio-common/_itowa.c (_itowa): Likewise.
32792 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32793 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32794
30f69637
CD
327952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32796
32797 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32798 struct La_sh_regs is not constant.
32799 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32800 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32801 and struct La_sparc64_regs are not constant.
32802
93a78ac4
JM
328032012-08-16 Joseph Myers <joseph@codesourcery.com>
32804
32805 * sysdeps/unix/sysv/linux/kernel-features.h
32806 (__ASSUME_POSIX_TIMERS): Remove.
32807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32809 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32810 Make code unconditional.
32811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32812 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32813 Make code unconditional.
32814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32815 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32816 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32818 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32819 Make code unconditional.
32820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32821 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32822 (__libc_missing_posix_timers): Remove.
32823
dd924cd7
RM
328242012-08-15 Roland McGrath <roland@hack.frob.com>
32825
4b4f2771
RM
32826 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32827 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32828
601c888b
RM
32829 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32830
176790a7
RM
32831 * elf/dl-sym.c: Include <stdlib.h>.
32832
329bc018
RM
32833 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32834 constants, which avoids warnings in 32-bit builds.
32835
e04e272d
RM
32836 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32837 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32838
952bf94a
RM
32839 * misc/lseek.c: File moved to ...
32840 * io/lseek.c: ... here.
32841
7c99b50a
RM
32842 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32843
dd924cd7
RM
32844 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32845 shifting LEN more than 31 bits at once.
32846
b3f479a8
LD
328472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32848
32849 [BZ #14195]
8c4ae0d4
RM
32850 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32851 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32852 * string/test-strncasecmp.c (check1): Renamed to...
32853 (bz12205): ...this.
32854 (bz14195): Add new testcase for two empty input strings and N > 0.
32855 (test_main): Call new testcase, adapt for renamed function.
32856
9c55864e
AJ
328572012-08-15 Andreas Jaeger <aj@suse.de>
32858
32859 [BZ #14090]
32860 * crypt/md5test2.c: New test, based on test supplied by Serge
32861 Belyshev <belyshev@depni.sinp.msu.ru>.
32862 * crypt/Makefile (xtests): Add md5test-giant..
32863 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32864
02dcb6c5
PE
328652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32866
32867 [BZ #14090]
32868 * crypt/md5.c (md5_process_block): Don't assume the buffer
32869 length is less than 2**32.
32870 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32871 length is less than 2**64.
32872
a3f95dcc
RM
328732012-08-15 Roland McGrath <roland@hack.frob.com>
32874
be75d758
RM
32875 * string/str-two-way.h: Include <sys/param.h>.
32876 (MAX): Macro removed.
32877
7312ca90
RM
32878 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32879 Move #define and #undef of memmove to just before and after
32880 including <string.h>.
32881
9a0a5486
RM
32882 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32883 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32884 and after including <string.h>. Move declarations of
32885 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32886 to before #include "string/memmove.c".
32887
67cc348d
RM
32888 * include/dirent.h: Declare __getdirentries.
32889
a3f95dcc
RM
32890 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32891 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32892
ca98e171
MF
328932012-08-14 Mike Frysinger <vapier@gentoo.org>
32894
32895 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32896 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32897 * sysdeps/i386/configure: Regenerated.
32898 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32899 STABS_CURRENT_FILE, and STABS_FUN.
32900 (END): Remove call to STABS_FUN_END.
32901 (STABS_CURRENT_FILE1): Delete.
32902 (STABS_CURRENT_FILE): Likewise.
32903 (STABS_FUN): Likewise.
32904 (STABS_FUN_END): Likewise.
32905 (STABS_FUN2): Likewise.
32906 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32907 * sysdeps/x86_64/configure: Regenerated.
32908
5908bf46
RM
329092012-08-14 Roland McGrath <roland@hack.frob.com>
32910
32911 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32912 * elf/dl-lookup.c: Likewise.
5908bf46 32913
f2c05b9e
JM
329142012-08-14 Joseph Myers <joseph@codesourcery.com>
32915
32916 * sysdeps/unix/sysv/linux/kernel-features.h
32917 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32918 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32919 unconditionally.
32920 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32921 unconditionally.
32922 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32923 condition on __ASSUME_CLONE_THREAD_FLAGS.
32924
e11f5155
AJ
329252012-08-14 Andreas Jaeger <aj@suse.de>
32926
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32928
51a9ba86
MK
329292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32930
2fdd4f78
AJ
32931 * include/atomic.h (atomic_exchange_and_add): Split into ...
32932 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32933 New atomic macros.
51a9ba86 32934
ba6cba9e
MT
329352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32936
32937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32938
42443a47
JL
329392012-08-13 Jeff Law <law@redhat.com>
32940
32941 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32942 null byte in the output string.
32943
121dce05
JM
329442012-08-10 Joseph Myers <joseph@codesourcery.com>
32945
32946 * sysdeps/unix/sysv/linux/kernel-features.h
32947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32948 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32949 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32950 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32951 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32952 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32953 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32954
bf51f568
JL
329552012-08-09 Jeff Law <law@redhat.com>
32956
32957 [BZ #13939]
32958 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32959 When avoid_arena is set, don't retry in the that arena. Pick the
32960 next one, whatever it might be.
32961 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32962 (arena_lock): Pass in new parameter to arena_get2.
32963 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32964 arena_get2.
32965 (__libc_malloc): Unify retrying after main arena failure with
32966 __libc_memalign version.
32967 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32968
f85fa270
L
329692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32970
32971 [BZ #14166]
32972 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32973 to __redirect_strstr.
32974 (__strstr_sse42): Use typeof __redirect_strstr.
32975 (__strstr_ia32): Likewise.
32976 (__libc_strstr): New prototype.
32977 (strstr): Renamed to ...
32978 (__libc_strstr): This.
32979 (strstr): New strong alias of __libc_strstr.
32980 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32982 __redirect_time.
32983 Include <time.h>.
32984 (__libc_time): New prototype.
32985 (time_ifunc): Replace time with __libc_time.
32986 (time): New strong alias and hidden definition of __libc_time.
32987 (__GI_time): Remove strong alias.
32988 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32989 Include <stddef.h>.
32990 (memmove): Redefined to __redirect_memmove.
32991 (__memmove_sse2): Use typeof __redirect_memmove.
32992 (__memmove_ssse3): Likewise.
32993 (__memmove_ssse3_back): Likewise.
32994 (__libc_memmove): New prototype.
32995 (memmove): Renamed to ...
32996 (__libc_memmove): This.
32997 (memmove): New strong alias of __libc_memmove.
32998
33b4a91e
MS
329992012-08-08 Mark Salter <msalter@redhat.com>
33000
33001 * elf/elf.h
33002 (R_MN10300_TLS_GD): Define.
33003 (R_MN10300_TLS_LD): Likewise.
33004 (R_MN10300_TLS_LDO): Likewise.
33005 (R_MN10300_TLS_GOTIE): Likewise.
33006 (R_MN10300_TLS_IE): Likewise.
33007 (R_MN10300_TLS_LE): Likewise.
33008 (R_MN10300_TLS_DTPMOD): Likewise.
33009 (R_MN10300_TLS_DTPOFF): Likewise.
33010 (R_MN10300_TLS_TPOFF): Likewise.
33011 (R_MN10300_SYM_DIFF): Likewise.
33012 (R_MN10300_ALIGN): Likewise.
33013 (R_MN10300_NUM): Update.
33014
b36137f1
JM
330152012-08-08 Joseph Myers <joseph@codesourcery.com>
33016
33017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33018 Remove.
33019
cdd915fd
RM
330202012-08-08 Roland McGrath <roland@hack.frob.com>
33021
a2433aac
RM
33022 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33023
cdd915fd
RM
33024 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33025 sysdeps/unix -> sysdeps/posix move.
33026 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33027
bf9b740a
AM
330282012-08-07 Allan McRae <allan@archlinux.org>
33029
33030 [BZ #14303]
33031 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33032 (SUNOS_CPP): Likewise.
33033 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33034 not found.
33035 (open_input): Call CPP using execvp.
33036
93df14ee
JM
330372012-08-07 Joseph Myers <joseph@codesourcery.com>
33038
33039 * sysdeps/unix/sysv/linux/kernel-features.h
33040 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33041 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33042 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33043 (__ASSUME_WAITID_SYSCALL): Likewise.
33044 * sysdeps/unix/sysv/linux/dl-execstack.c
33045 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33046 code unconditional.
33047 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33048 conditional code.
33049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33050 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33051 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33052 code.
33053 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33054 unconditional.
33055 [__ASSUME_WAITID_SYSCALL]: Likewise.
33056 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33057
d34689de
RM
330582012-08-07 Roland McGrath <roland@hack.frob.com>
33059
a281decc
RM
33060 * sysdeps/unix/closedir.c: Renamed to ...
33061 * sysdeps/posix/closedir.c: ... here.
33062 * sysdeps/unix/dirfd.c: Renamed to ...
33063 * sysdeps/posix/dirfd.c: ... here.
33064 * sysdeps/unix/dirstream.h: Renamed to ...
33065 * sysdeps/posix/dirstream.h: ... here.
33066 * sysdeps/unix/fdopendir.c: Renamed to ...
33067 * sysdeps/posix/fdopendir.c: ... here.
33068 * sysdeps/unix/opendir.c: Renamed to ...
33069 * sysdeps/posix/opendir.c: ... here.
33070 * sysdeps/unix/readdir.c: Renamed to ...
33071 * sysdeps/posix/readdir.c: ... here.
33072 * sysdeps/unix/readdir_r.c: Renamed to ...
33073 * sysdeps/posix/readdir_r.c: ... here.
33074 * sysdeps/unix/rewinddir.c: Renamed to ...
33075 * sysdeps/posix/rewinddir.c: ... here.
33076 * sysdeps/unix/seekdir.c: Renamed to ...
33077 * sysdeps/posix/seekdir.c: ... here.
33078 * sysdeps/unix/telldir.c: Renamed to ...
33079 * sysdeps/posix/telldir.c: ... here.
33080 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33081 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33083 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33084
22895b47
RM
33085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33086 * bits/fcntl.h: ... here.
33087
707a53b6
RM
33088 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33089 not 0.
33090 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33091 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33092 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33093 (struct flock): Move l_start, l_len to the beginning.
33094 Use __pid_t for l_pid.
33095 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33096 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33097 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33098 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33099 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33100 [__USE_LARGEFILE64] (struct flock64): New type.
33101 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33102
f0bd3e25
RM
33103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33104 * bits/dirent.h: ... here.
33105
d34689de
RM
33106 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33107 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33108
6dad2c06
JM
331092012-08-07 Joseph Myers <joseph@codesourcery.com>
33110
33111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33112 Change from 2.6.0 to 2.6.16.
33113 * sysdeps/unix/sysv/linux/configure: Regenerated.
33114 * sysdeps/unix/sysv/linux/kernel-features.h
33115 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33116 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33117 version.
33118 (__ASSUME_UTIMES): Likewise.
33119 (__ASSUME_CLONE_STOPPED): Remove.
33120 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33121 architectures, not kernel version.
33122 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33125 (__ASSUME_WAITID_SYSCALL): Likewise.
33126 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33127 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33128 * README: State 2.6.16 as minimum Linux kernel version. Do not
33129 refer to older versions.
33130
03af9520
RM
331312012-08-06 Roland McGrath <roland@hack.frob.com>
33132
8e49df1d
RM
33133 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33134 Define alphasort64 as an alias.
33135 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33136 Define versionsort64 as an alias.
33137 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33138 Define scandir64 as an alias.
33139 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33140 Define scandirat64 as an alias.
33141 * dirent/alphasort64.c (alphasort64):
33142 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33143 * dirent/versionsort64.c: Likewise.
33144 * dirent/scandir64.c: Likewise.
33145 * dirent/scandirat64.c: Likewise.
33146 * sysdeps/wordsize-64/alphasort.c: File removed.
33147 * sysdeps/wordsize-64/alphasort64.c: File removed.
33148 * sysdeps/wordsize-64/scandir.c: File removed.
33149 * sysdeps/wordsize-64/scandir64.c: File removed.
33150 * sysdeps/wordsize-64/scandirat.c: File removed.
33151 * sysdeps/wordsize-64/scandirat64.c: File removed.
33152 * sysdeps/wordsize-64/versionsort.c: File removed.
33153 * sysdeps/wordsize-64/versionsort64.c: File removed.
33154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33157 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33159 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33161 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33162
33163 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33165 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33167 [defined __arch64__ || defined __sparcv9]
33168 (__INO_T_MATCHES_INO64_T): New macro.
33169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33170 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33171 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33172 * sysdeps/unix/sysv/linux/bits/dirent.h
33173 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33174 (_DIRENT_MATCHES_DIRENT64): New macro.
33175
03af9520
RM
33176 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33177 Define lockf64 as an alias.
33178 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33179 Define fseeko64 as an alias.
33180 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33181 Define ftello64 as an alias.
33182 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33183 Define _IO_fgetpos64 and fgetpos64 as aliases.
33184 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33185 Define _IO_fsetpos64 and fsetpos64 as aliases.
33186 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33187 Conditionalize body on this.
33188 * libio/fseeko64.c: Likewise.
33189 * libio/ftello64.c: Likewise.
33190 * libio/iofgetpos64.c: Likewise.
33191 * libio/iofsetpos64.c: Likewise.
33192 * sysdeps/wordsize-64/lockf.c: File removed.
33193 * sysdeps/wordsize-64/lockf64.c: File removed.
33194 * sysdeps/wordsize-64/fseeko.c: File removed.
33195 * sysdeps/wordsize-64/fseeko64.c: File removed.
33196 * sysdeps/wordsize-64/ftello.c: File removed.
33197 * sysdeps/wordsize-64/ftello64.c: File removed.
33198 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33199 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33200 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33201 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33203 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33205 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33207 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33212
33213 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33215 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33217 [defined __arch64__ || defined __sparcv9]
33218 (__OFF_T_MATCHES_OFF64_T): New macro.
33219 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33220 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33222 (__OFF_T_MATCHES_OFF64_T): New macro.
33223
c5757acd
L
332242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33225
33226 * stdlib/secure-getenv.c (__secure_getenv): Replace
33227 GLIBC_2_16 with GLIBC_2_17.
33228
3a31811e
L
332292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33230
33231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33233
faa2bccb
DM
332342012-08-03 David S. Miller <davem@davemloft.net>
33235
33236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33237
85fe1997
JM
332382012-08-03 Joseph Myers <joseph@codesourcery.com>
33239
33240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33241 Remove.
33242 (__ASSUME_CORRECT_SI_PID): Likewise.
33243 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33244 (__ASSUME_TMPFS_NAME): Likewise.
33245 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33246 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33247 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33248 (HAVE_AUX_SECURE): Make definition unconditional.
33249 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33250 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33251
4f75b7a0
RM
332522012-08-03 Roland McGrath <roland@hack.frob.com>
33253
33254 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33255 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33256 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33258 __eloop_threshold instead of SYMLOOP_MAX.
33259
33260 * sysdeps/generic/eloop-threshold.h: New file.
33261 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33262 of MAXSYMLINKS.
33263 * elf/chroot_canon.c (chroot_canon): Likewise.
33264
7aab07e4
JM
332652012-08-03 Joseph Myers <joseph@codesourcery.com>
33266
33267 [BZ #13717]
33268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33269 Change to 2.6.0 everywhere.
33270 * sysdeps/unix/sysv/linux/configure: Regenerated.
33271 * sysdeps/unix/sysv/linux/kernel-features.h
33272 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33273 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33274 kernel versions.
33275 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33276 (__ASSUME_FUTEX_REQUEUE): Remove.
33277 (__ASSUME_STATFS64): Define unconditionally.
33278 (__ASSUME_AT_SECURE): Likewise.
33279 (__ASSUME_CORRECT_SI_PID): Likewise.
33280 (__ASSUME_TGKILL): Define without depending on kernel version for
33281 i386.
33282 (__ASSUME_UTIMES): Likewise.
33283 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33284 kernel version.
33285 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33286 (__ASSUME_TMPFS_NAME): Likewise.
33287 * README: Update reference to Linux kernel versions.
33288
b67e9372
MP
332892012-08-02 Marek Polacek <polacek@redhat.com>
33290
1f529f7d 33291 [BZ# 14150]
b67e9372
MP
33292 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33293 libc_cv_asm_type_prefix with %.
33294 * configure: Regenerated.
d2441631
RM
33295 * include/libc-symbols.h: Remove comment about
33296 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33297 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33298 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33299 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33300 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33301 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33302 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33303 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33304 * elf/tst-unique2mod1.c: Likewise.
33305 * elf/tst-unique1mod2.c: Likewise.
33306 * elf/tst-unique1mod1.c: Likewise.
33307 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33308 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33309 Replace ASM_TYPE_DIRECTIVE with .type.
33310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33311 * sysdeps/i386/sysdep.h: Likewise.
33312 * sysdeps/x86_64/sysdep.h: Likewise.
33313 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33315 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33316 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33317 * sysdeps/powerpc/powerpc32/sysdep.h:
33318 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33320 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33321 * sysdeps/i386/fpu/e_powf.S: Likewise.
33322 * sysdeps/i386/fpu/e_expl.S: Likewise.
33323 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33325 * sysdeps/i386/fpu/e_pow.S: Likewise.
33326 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33328 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33329 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33330 * sysdeps/i386/fpu/e_log2.S: Likewise.
33331 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33332 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33333 * sysdeps/i386/fpu/e_powl.S: Likewise.
33334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33336 * sysdeps/i386/fpu/e_logl.S: Likewise.
33337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33338 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33339 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33340 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33341 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33342 * sysdeps/i386/fpu/e_log.S: Likewise.
33343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33344 * sysdeps/i386/fpu/e_logf.S: Likewise.
33345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33347 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33348 * sysdeps/i386/fpu/e_log10.S: Likewise.
33349 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33351 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33352 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33353 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33354 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33355 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33356 * sysdeps/i386/i686/strtok.S: Likewise.
33357 * sysdeps/i386/i386-mcount.S: Likewise.
33358 * sysdeps/i386/strtok.S: Likewise.
33359 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33361 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33362 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33363 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33365 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33366 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33367 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33368 * sysdeps/x86_64/_mcount.S: Likewise.
33369 * sysdeps/x86_64/strtok.S: Likewise.
33370 * sysdeps/sh/_mcount.S: Likewise.
33371
2747bf9a
RM
333722012-08-01 Roland McGrath <roland@hack.frob.com>
33373
33374 * libio/iofopen.c: Include <fcntl.h>.
33375 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33376 (_IO_fopen64, fopen64): Define as aliases.
33377 * libio/iofopen64.c: Include <fcntl.h>.
33378 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33379 Conditionalize body on this.
33380 * sysdeps/wordsize-64/iofopen.c: File removed.
33381 * sysdeps/wordsize-64/iofopen64.c: File removed.
33382
3fb791b8
MP
333832012-08-01 Marek Polacek <polacek@redhat.com>
33384
33385 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33386 Use dlfcn directly instead of a variable.
33387 (binfmt-subdir): Do not define.
33388 (dlfcn): Likewise.
33389
a9f1039f
JM
333902012-08-01 Joseph Myers <joseph@codesourcery.com>
33391
23bddc06
JM
33392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33393 Remove all definitions.
33394 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33395 <kernel-features.h>.
33396 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33397 (miss_F_GETOWN_EX): Remove all definitions.
33398 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33399 macro definition.
33400 [!__ASSUME_FCNTL64]: Remove conditional code.
33401 [__ASSUME_FCNTL64]: Make code unconditional.
33402 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33403 <kernel-features.h>.
33404 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33405 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33406 (lockf64) [__NR_fcntl64]: Make code unconditional.
33407 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33408
a9f1039f
JM
33409 * sysdeps/unix/sysv/linux/kernel-features.h
33410 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33411 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33412 Make code unconditional.
33413 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33414 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33416 [__NR_vfork]: Make code unconditional.
33417 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33418 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33420 [__NR_vfork]: Make code unconditional.
33421 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33422 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33423
09c0ee5f
RM
334242012-08-01 Roland McGrath <roland@hack.frob.com>
33425
48aec5b9
RM
33426 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33427 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33428
cd97c966
RM
33429 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33430 Define mkstemp64 as an alias.
3f55550c
RM
33431 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33432 Define mkstemps64 as an alias.
cd97c966
RM
33433 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33434 Define mkostemp64 as an alias.
b8625cfc
RM
33435 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33436 Define mkostemps64 as an alias.
cd97c966
RM
33437 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33438 Conditionalize body on this.
33439 * misc/mkostemp64.c: Likewise.
b8625cfc 33440 * misc/mkostemps64.c: Likewise.
3f55550c 33441 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33442 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33443 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33444 * sysdeps/wordsize-64/mkostemp.c: File removed.
33445 * sysdeps/wordsize-64/mkstemp.c: File removed.
33446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33448 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33450
09c0ee5f
RM
33451 [BZ #14138]
33452 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33454 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33455 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33456
33457 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33458 compat_symbol macros from <shlib-compat.h> rather than the underlying
33459 default_symbol_version and symbol_version macros, so that DEFAULT
33460 lines in shlib-versions are respected.
33461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33462
7e66ee51
FW
334632012-08-01 Florian Weimer <fweimer@redhat.com>
33464
33465 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33466 Declare with warn_unused_result.
33467 (setgid, setregid, setegid, setresgid): Likewise.
33468 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33469 Likewise.
33470 * WUR-REPORT: Remove set*id functions.
33471
d2a54255
PT
334722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33473
33474 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33475
7ecdb005
RM
334762012-07-31 Roland McGrath <roland@hack.frob.com>
33477
b4180a5e 33478 [BZ #10191]
789bd351
RM
33479 * include/sys/socket.h (__libc_accept, __libc_accept4):
33480 Add attribute_hidden.
33481 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33482
40ce302d
RM
33483 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33484 use of PTR_MANGLE.
33485 * inet/getnetgrent_r.c (setup): Likewise.
33486
7ecdb005
RM
33487 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33488
e2eabb2c
DM
334892012-07-31 David S. Miller <davem@davemloft.net>
33490
33491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33492
d0419dbf
JM
334932012-07-31 Joseph Myers <joseph@codesourcery.com>
33494
33495 [BZ #13629]
33496 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33497 value between 1.0 and 2.0 and smaller part has absolute value less
33498 than 1.0.
33499 * math/s_clog10.c (__clog10): Likewise.
33500 * math/s_clog10f.c (__clog10f): Likewise.
33501 * math/s_clog10l.c (__clog10l): Likewise.
33502 * math/s_clogf.c (__clogf): Likewise.
33503 * math/s_clogl.c (__clogl): Likewise.
33504 * math/libm-test.inc (clog_test): Add more tests.
33505 (clog10_test): Likewise.
33506 * sysdeps/i386/fpu/libm-test-ulps: Update.
33507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33508
2bc13872
FW
335092012-07-31 Florian Weimer <fweimer@redhat.com>
33510
33511 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33512 Exit with zero in case no suitable GID is found, and write a
33513 message to standard error.
33514
bea9b193
RM
335152012-07-30 Roland McGrath <roland@hack.frob.com>
33516
33517 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33518 rather than to 1.
33519 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33520 (MAXPATHLEN): Removed.
33521 (NOGROUP, NODEV): New macros.
33522 (setbit, clrbit, isset, isclr): New macros.
33523 (howmany, roundup, powerof2): New macros.
33524 (DEV_BSIZE): New macro.
33525
33526 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33527 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33528
33529 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33530 definition on [!__NO_LONG_DOUBLE_MATH].
33531
33532 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33533 PTR_MANGLE and PTR_DEMANGLE.
33534
33535 * socket/accept4.c (accept4): Rename to __libc_accept4.
33536 Define accept4 as a weak alias.
33537
33538 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33539 on [_DIRENT_HAVE_D_TYPE].
33540 * io/ftw.c (ftw_dir): Likewise.
33541
33542 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33543
33544 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33545
33546 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33547 Use the BSD numbers rather than the arbitrary ones we had.
33548 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33549 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33550 (SIGXCPU, SIGXFSZ): New macros.
33551 (_NSIG): Now 32.
33552
33553 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33554 initializer on [_LIBC_REENTRANT].
33555
33556 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33557 definitions inside [_POSIX_MAPPED_FILES].
33558
33559 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33560
33561 * dirent/opendir.c: Include <fcntl.h>.
33562
33563 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33564 (__libc_getspecific): Likewise.
33565 (__libc_key_create): Likewise.
33566
33567 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33568 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33569 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33570 (tmpfile64): Define as alias.
33571 * sysdeps/wordsize-64/tmpfile.c: File removed.
33572 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33575
33576 * stdio-common/vfscanf.c: Include <stdbool.h>.
33577 * nss/makedb.c: Likewise.
33578 * stdio-common/_i18n_number.h: Likewise.
33579 * argp/argp-help.c: Likewise.
33580 * posix/wordexp.c: Likewise.
33581 * sysdeps/posix/spawni.c: Likewise.
33582 * nss/nss_files/files-initgroups.c: Likewise.
33583 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33584 * nss/nss_files/files-initgroups.c: Likewise.
33585 * nss/nss_db/db-netgrp.c: Likewise.
33586 * nss/nss_db/db-initgroups.c: Likewise.
33587 * io/fchmodat.c: Include <sys/stat.h>.
33588
33589 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33590 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33591
33592 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33593 [HAVE_MMAP].
33594
33595 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33596 Add multiple inclusion protection.
33597
e5abc686
DM
335982012-07-27 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33601
815e6fa3
GB
336022012-07-27 Gary Benson <gbenson@redhat.com>
33603
33604 [BZ #14298]
33605 * elf/rtld.c: Include <stap-probe.h>.
33606 (dl_main): Added static probes "init_start" and "init_complete".
33607 * elf/dl-load.c: Include <stap-probe.h>.
33608 (lose): Take new parameter "nsid".
33609 Added static probe "map_failed".
33610 (_dl_map_object_from_fd): Pass namespace id to lose.
33611 Added static probe "map_start".
33612 (open_verify): Pass namespace id to lose.
33613 * elf/dl-open.c: Include <stap-probe.h>.
33614 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33615 and "reloc_complete".
33616 * elf/dl-close.c: Include <stap-probe.h>.
33617 (_dl_close_worker): Added static probes "unmap_start" and
33618 "unmap_complete".
33619 * elf/rtld-debugger-interface.txt: New file documenting the above.
33620
9f98c16c
RM
336212012-07-26 Roland McGrath <roland@hack.frob.com>
33622
33623 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33624 rather than a string variable.
33625 * sunrpc/rpc_main.c (h_output): Likewise.
33626 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33627
f3c22df3
PT
336282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33629
33630 * inet/check_native.c: New file.
33631
3129cfc6
JM
336322012-07-26 Joseph Myers <joseph@codesourcery.com>
33633
da865e95
JM
33634 [BZ #13629]
33635 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33636 if larger part has absolute value 1.0.
33637 * math/s_clog10.c (__clog10): Likewise.
33638 * math/s_clog10f.c (__clog10f): Likewise.
33639 * math/s_clog10l.c (__clog10l): Likewise.
33640 * math/s_clogf.c (__clogf): Likewise.
33641 * math/s_clogl.c (__clogl): Likewise.
33642 * math/libm-test.inc (clog_test): Add more tests.
33643 (clog10_test): Likewise.
33644 * sysdeps/i386/fpu/libm-test-ulps: Update.
33645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33646
3129cfc6
JM
33647 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33648 (pltexit): Likewise.
33649 (La_regs): Likewise.
33650 (La_retval): Likewise.
33651 (int_retval): Likewise.
33652 Update #error for removed macros to refer only to definitions in
33653 tst-audit.h.
33654 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33655 macro.
33656 (pltexit): Likewise.
33657 (La_regs): Likewise.
33658 (La_retval): Likewise.
33659 (int_retval): Likewise.
33660 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33661 macro.
33662 (pltexit): Likewise.
33663 (La_regs): Likewise.
33664 (La_retval): Likewise.
33665 (int_retval): Likewise.
33666 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33667 macro.
33668 (pltexit): Likewise.
33669 (La_regs): Likewise.
33670 (La_retval): Likewise.
33671 (int_retval): Likewise.
33672 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33673 macro.
33674 (pltexit): Likewise.
33675 (La_regs): Likewise.
33676 (La_retval): Likewise.
33677 (int_retval): Likewise.
33678 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33679 macro.
33680 (pltexit): Likewise.
33681 (La_regs): Likewise.
33682 (La_retval): Likewise.
33683 (int_retval): Likewise.
33684 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33685 macro.
33686 (pltexit): Likewise.
33687 (La_regs): Likewise.
33688 (La_retval): Likewise.
33689 (int_retval): Likewise.
33690 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33691 macro definitions in tst-audit.h.
33692 * sysdeps/i386/tst-audit.h: New file.
33693 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33694 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33695 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33696 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33697 * sysdeps/sh/tst-audit.h: Likewise.
33698 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33699 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33700 * sysdeps/x86_64/tst-audit.h: Likewise.
33701
bfc07087
AJ
337022012-07-26 Andreas Jaeger <aj@suse.de>
33703
b1b2aaf8
AJ
33704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33705 ptrace.
33706
33707 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33708 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33709 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33710 PTRACE_O_MASK.
33711 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33712 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33713 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33714
bfc07087
AJ
33715 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33716 value.
33717
33718 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33719 _sigsys.
33720 (si_call_addr, si_syscall, si_arch): Define new macro.
33721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33722 _sigsys.
33723 (si_call_addr, si_syscall, si_arch): Define new marcro.
33724 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33725 _sigsys.
33726 (si_call_addr, si_syscall, si_arch): Define new macro.
33727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33728 _sigsys.
33729 (si_call_addr, si_syscall, si_arch): Define new macro.
33730
89b4b02f
JM
337312012-07-25 Joseph Myers <joseph@codesourcery.com>
33732
33733 [BZ #13717]
33734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33735 Change to 2.4.21 where previously 2.4.1.
33736 * sysdeps/unix/sysv/linux/configure: Regenerated.
33737 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33738 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33739 Linux kernel version.
33740 (__ASSUME_STD_AUXV): Remove.
33741 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33742 kernel version.
33743 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33744 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33745 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33746 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33747 (__ASSUME_NETLINK_SUPPORT): Likewise.
33748 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33749 (__no_netlink_support): Remove conditional definition.
33750 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33751 Remove.
33752 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33753 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33754 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33755 (if_nameindex_ioctl): Remove.
33756 (if_nameindex_netlink): Do not handle __no_netlink_support.
33757 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33758 code.
33759 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33760 Remove conditional code.
33761 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33762 code.
33763 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33764 unconditional.
33765 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33766 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33767 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33768 Remove.
33769 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33770 [!__ASSUME_STD_AUXV]: Remove conditional code.
33771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33772 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33773 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33775 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33776 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33777 code.
33778 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33780 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33781 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33782 conditional code.
33783 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33786 code.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33788 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33789 conditional code.
33790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33791 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33792 code unconditional.
33793 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33794 conditional code.
33795 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33796 unconditional.
33797 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33798 conditional code.
33799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33800 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33801 unconditional.
33802 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33803 conditional code.
33804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33805 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33806 code unconditional.
33807 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33808 conditional code.
33809 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33810 unconditional.
33811 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33812 conditional code.
33813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33814 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33815 code unconditional.
33816 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33817 conditional code.
33818 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33819 unconditional.
33820 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33821 conditional code.
33822
842a39cd
AS
338232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33824
33825 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33826 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33827 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33828 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33829 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33830 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33831 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33832 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33833 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33834 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33835 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33836 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33837 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33838 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33839 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33840 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33841 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33842 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33843 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33846 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33848
84b3fd84
FW
338492012-07-25 Florian Weimer <fweimer@redhat.com>
33850
33851 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33852 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33853 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33854 Introduce __libc_secure_getenv.
0c7936d5
FW
33855 * stdlib/Versions (2.17): Add secure_getenv
33856 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33857 * stdlib/secure-getenv.c: Rename __secure_getenv to
33858 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33859 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33860 * stdlib/tst-secure-getenv.c: New.
33861 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33862 * manual/startup.texi (Environment Access): Document
33863 secure_getenv.
84b3fd84
FW
33864 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33865 __libc_secure_getenv.
33866 * inet/ruserpass.c (ruserpass): Likewise.
33867 * malloc/mtrace.c (mtrace): Likewise.
33868 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33869 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33870 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33871 * sysdeps/posix/tempname.c: Likewise. Evaluate
33872 HAVE_SECURE_GETENV.
33873 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33874 __secure_getenv to __libc_secure_getenv.
84b3fd84 33875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33877 Likewise.
33878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33879 Likewise.
33880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33887
56e49b71
JM
338882012-07-25 Joseph Myers <joseph@codesourcery.com>
33889
33890 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33891 (struct La_i86_retval): Likewise.
33892 (struct La_x86_64_regs): Likewise.
33893 (struct La_x86_64_retval): Likewise.
33894 (struct La_x32_regs): Likewise.
33895 (struct La_x32_retval): Likewise.
33896 (struct La_ppc32_regs): Likewise.
33897 (struct La_ppc32_retval): Likewise.
33898 (struct La_ppc64_regs): Likewise.
33899 (struct La_ppc64_retval): Likewise.
33900 (struct La_sh_regs): Likewise.
33901 (struct La_sh_retval): Likewise.
33902 (struct La_s390_32_regs): Likewise.
33903 (struct La_s390_32_retval): Likewise.
33904 (struct La_s390_64_regs): Likewise.
33905 (struct La_s390_64_retval): Likewise.
33906 (struct La_sparc32_regs): Likewise.
33907 (struct La_sparc32_retval): Likewise.
33908 (struct La_sparc64_regs): Likewise.
33909 (struct La_sparc64_retval): Likewise.
33910 (struct audit_ifaces): Remove architecture-specific pltenter and
33911 pltexit members.
33912 * sysdeps/i386/ldsodefs.h: New file.
33913 * sysdeps/powerpc/ldsodefs.h: Likewise.
33914 * sysdeps/s390/ldsodefs.h: Likewise.
33915 * sysdeps/sh/ldsodefs.h: Likewise.
33916 * sysdeps/sparc/ldsodefs.h: Likewise.
33917 * sysdeps/x86_64/ldsodefs.h: Likewise.
33918
354691b7
MP
339192012-07-25 Marek Polacek <polacek@redhat.com>
33920
33921 [BZ #6808]
33922 * math/libm-test.inc (yn_test): Add another test.
33923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33924 to ERANGE when the result is +-Inf.
33925 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33926 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33927 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33928 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33929
bf9e2071
JM
339302012-07-24 Joseph Myers <joseph@codesourcery.com>
33931
33932 * conform/data/time.h-data (NULL): Use macro-constant. Require
33933 equal to 0.
33934 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33935 clock_t.
33936 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33937
57633811
TS
339382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33939
33940 * configure.in <sysdeps resolving>: Correct printing
33941 Implies_before.
33942 * configure: Regenerate.
33943
c23c33b0
TS
339442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33945
33946 * math/w_ilogb.c: Include <limits.h>.
33947 * math/w_ilogbl.c: Likewise.
33948
b5982523
JM
339492012-07-20 Joseph Myers <joseph@codesourcery.com>
33950
33951 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33952 va_copy. Document allowing for unavailable va_copy only as
33953 pre-C99 compatibility.
33954 * manual/string.texi (Copying and Concatenation): Use va_copy
33955 instead of __va_copy in concat example.
33956
ac4ea442
PT
339572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33958
33959 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33960 (__sendto): Use create_address_port. Initialize APORT and deallocate
33961 it if not null.
33962
f98eafbd
PT
33963 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33964 with O_NOLINK passed to __file_name_lookup.
33965
898c7aab
PT
33966 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33967 with O_NOLINK passed to __file_name_lookup.
33968
0ced335a
PT
33969 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33970 negative N or less than NGIDS.
33971
b3404dbd
PT
33972 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33973 type to string_t. Set ERANGE as errno and return it if NAME is not big
33974 enough. Use memcpy instead of strncpy.
33975
0f48659e
JM
339762012-07-20 Joseph Myers <joseph@codesourcery.com>
33977
33978 * elf/Makefile (check-data): Remove.
33979 (localplt.data): New vpath directive.
33980 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33981 instead of $(check-data).
33982 * scripts/data/localplt-generic.data: Move to ...
33983 * sysdeps/generic/localplt.data: ... here.
33984 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33985 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33986 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33988 ... here.
33989 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33991 ... here.
33992 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33994 ... here.
33995 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33997 ... here.
33998 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34000 ... here.
34001 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34003 ... here.
34004
d37cbdaa
AZ
340052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34006
34007 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34008 PPC32 and PPC64 files.
34009 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34010 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34011
46f85fc2
AK
340122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34013
34014 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34015 __makecontext_ret to ...
34016 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34017 ... here and call exit if uc_link is NULL. New file.
34018 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34019 __makecontext_ret.S.
34020 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34021 __makecontext_ret to ...
34022 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34023 ... here and call exit if uc_link is NULL. New file.
34024 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34025 __makecontext_ret.S.
34026
08f43f9b
AK
340272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34028
34029 * elf/elf.h (R_390_IRELATIVE): New definition.
34030 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34031 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34032 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34034 (elf_machine_lazy_rel): Likewise.
34035 * sysdeps/s390/dl-irel.h: New file.
34036 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34037 * sysdeps/s390/s390-64/memset.S: New asm code.
34038 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34039 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34040 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34041 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34042 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34043 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34045 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34046 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34047 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34048 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34049 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34050 * sysdeps/s390/s390-32/memset.S: New asm code.
34051 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34052
3b05db33
MP
340532012-07-17 Marek Polacek <polacek@redhat.com>
34054
34055 [BZ #14349]
34056 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34057 * sysdeps/s390/s390-64/configure.in: Likewise.
34058 * sysdeps/sparc/configure.in: Likewise.
34059 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34060 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34061 * sysdeps/i386/configure.in: Likewise.
34062 * sysdeps/x86_64/configure.in: Likewise.
34063 * sysdeps/sh/configure.in: Likewise.
34064 * sysdeps/s390/s390-32/configure: Regenerated.
34065 * sysdeps/s390/s390-64/configure: Likewise.
34066 * sysdeps/x86_64/configure: Likewise.
34067 * sysdeps/sh/configure: Likewise.
34068 * sysdeps/powerpc/powerpc64/configure: Likewise.
34069 * sysdeps/powerpc/powerpc32/configure: Likewise.
34070 * sysdeps/sparc/configure: Likwise.
34071 * sysdeps/i386/configure: Likewise.
34072
a66877c6
MP
34073 * elf/dl-open.c: Comment fixes.
34074
cfc82fd8
JM
340752012-07-17 Joseph Myers <joseph@codesourcery.com>
34076
bd29910a
JM
34077 * Makefile [CXX] (check-data): Remove.
34078 [CXX] (c++-types.data): New vpath directive.
34079 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34080 vpath. Do not allow for C++ type data being missing.
34081 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34082 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34083 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34084 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34085 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34086 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34087 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34089 ... here.
34090 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34092 ... here.
34093 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34095 ... here.
34096 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34098 ... here.
34099 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34101 ... here.
34102 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34104 ... here.
34105 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34107 ... here.
34108 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34110
cfc82fd8
JM
34111 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34112 definitions to architecture-specific files.
34113 (TLS_IE): Likewise.
34114 (TLS_LD): Likewise.
34115 (TLS_GD): Likewise.
34116 * sysdeps/i386/tls-macros.h: New file.
34117 * sysdeps/powerpc/tls-macros.h: Likewise.
34118 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34119 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34120 * sysdeps/sh/tls-macros.h: Likewise.
34121 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34122 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34123 * sysdeps/x86_64/tls-macros.h: Likewise.
34124
f7db3170
TS
341252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34126
07cbfc23
TS
34127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34128 zero value for regular exit case.
34129
f7db3170
TS
34130 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34131 (__start_context): Preserve zero value for regular exit case.
34132
dc97c227
TS
341332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34134 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34135
34136 * manual/setjmp.texi (setcontext): Clarify normal process
34137 termination when uc_link is the null pointer.
34138 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34139 exit call.
34140
d0cd7d02
AS
341412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34142
34143 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34144 preprocessor. Test for each exception mask separately.
34145
dd318934
AJ
341462012-07-16 Andreas Jaeger <aj@suse.de>
34147
34148 * po/ru.po: Update from translation team.
34149
8048311a
JM
341502012-07-15 Joseph Myers <joseph@codesourcery.com>
34151
34152 * conform/data/string.h-data (NULL): Use macro-constant. Require
34153 equal to 0.
34154 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34155 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34156 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34157 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34159
b637d46e
AJ
341602012-07-13 Andreas Jaeger <aj@suse.de>
34161
34162 * po/fr.po: Update from translation team.
34163
541428fe
MP
341642012-07-12 Marek Polacek <polacek@redhat.com>
34165
34166 [BZ #14173]
34167 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34168 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34169 loop condition.
34170
ec332e94
JM
341712012-07-12 Joseph Myers <joseph@codesourcery.com>
34172
34173 [BZ #13717]
34174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34175 Change to 2.4.1 where previously 2.4.0.
34176 * sysdeps/unix/sysv/linux/configure: Regenerated.
34177 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34178 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34179 version.
34180 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34181 (__ASSUME_AT_CLKTCK): Remove.
34182 (__ASSUME_AT_PAGESIZE): Likewise.
34183 (__ASSUME_AT_XID): Likewise.
34184 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34185 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34186 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34187 unconditionally.
34188 (HAVE_AUX_PAGESIZE): Likewise.
34189 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34190 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34191 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34192
7b6e99be
JB
341932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34194
34195 [BZ #14307]
34196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34197 the temporary buffer used to invoke __gethostbyname2_r,
34198 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34199 host_data / struct gaih_addrtuple.
34200 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34201 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34202 header file nss/nsswitch.h.
34203 * nss/nsswitch.h (global scope): Add definition of implementation
34204 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34205 resolv/nss_dns/dns-host.c).
34206
608404eb
AJ
342072012-07-11 Andreas Jaeger <aj@suse.de>
34208
34209 * po/fr.po: Update from translation team.
34210
71220aca
AJ
34211 * po/sv.po: Update from translation team
34212 * po/fr.po: Another update from translation team.
34213
28cfe843
AZ
342142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34215
34216 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34217 for subnormals or multiply small sinh result by itself.
34218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34220
6b90f981
DM
342212012-07-11 David S. Miller <davem@davemloft.net>
34222
34223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34224
c6825772
AS
342252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34226
34227 [BZ #14347]
34228 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34229 (INTERNAL_MARK): Shift it here.
34230
7b8e0d49
MP
342312012-07-10 Marek Polacek <polacek@redhat.com>
34232
34233 [BZ #14151]
34234 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34235 libc_cv_asm_global_directive with .globl.
34236 * configure: Regenerated.
34237 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34238 with .globl.
34239 * sysdeps/i386/configure: Regenerated.
34240 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34241 with .globl.
34242 * sysdeps/x86_64/configure: Regenerated.
34243 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34244 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34245 * elf/tst-unique2mod2.c: Likewise.
34246 * elf/tst-unique2mod1.c: Likewise.
34247 * elf/tst-unique1mod2.c: Likewise.
34248 * elf/tst-unique1mod1.c: Likewise.
34249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34250 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34252 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34253 * sysdeps/mach/sysdep.h: Likewise.
34254 * sysdeps/i386/sysdep.h: Likewise.
34255 * sysdeps/i386/i386-mcount.S: Likewise.
34256 * sysdeps/x86_64/_mcount.S: Likewise.
34257 * sysdeps/x86_64/sysdep.h: Likewise.
34258 * sysdeps/sh/_mcount.S: Likewise.
34259 * sysdeps/sh/sysdep.h: Likewise.
34260 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34261 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34262 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34263 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34264 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34265 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34266 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34267 * locale/localeinfo.h: Likewise.
34268 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34269 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34270
6c55cda3
RM
342712012-07-09 Roland McGrath <roland@hack.frob.com>
34272
34273 [BZ #14336]
34274 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34275 system".
34276 * manual/message.texi (The Uniforum approach): Likewise.
34277 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34278 (glibc iconv Implementation): Likewise.
34279
638a572e
JM
342802012-07-09 Joseph Myers <joseph@codesourcery.com>
34281
34282 [BZ #14337]
34283 * math/s_clog.c (__clog): Avoid scaling a value down where that
34284 could result in underflow.
34285 * math/s_clog10.c (__clog10): Likewise.
34286 * math/s_clog10f.c (__clog10f): Likewise.
34287 * math/s_clog10l.c (__clog10l): Likewise.
34288 * math/s_clogf.c (__clogf): Likewise.
34289 * math/s_clogl.c (__clogl): Likewise.
34290 * math/libm-test.inc (clog_test): Add more tests.
34291 (clog10_test): Likewise.
34292 * sysdeps/i386/fpu/libm-test-ulps: Update.
34293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34294
261f4859
AS
342952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34296
0abaf3e4
AS
34297 [BZ #14283]
34298 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34299 by 7 not 8 to examine high bit of fractional part.
34300
261f4859
AS
34301 [BZ #14042]
34302 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34303 for call to __mcount_internal.
34304 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34305 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34306 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34307
f17ac40d
JM
343082012-07-06 Joseph Myers <joseph@codesourcery.com>
34309
9ad63c23
JM
34310 [BZ #14154]
34311 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34312 approximation for values within 0x1p-13f of an odd multiple of
34313 pi/4.
34314 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34315 exception. Add more tests.
34316 * sysdeps/i386/fpu/libm-test-ulps: Update.
34317
f17ac40d
JM
34318 [BZ #6778]
34319 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34320 inputs and return -1 for them. Do not check for +Inf in case not
34321 reachable for +Inf.
34322 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34323 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34324 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34325 and return -1 for them. Do not check for +Inf in case not
34326 reachable for +Inf.
34327 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34328 define.
34329 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34330 and return -1 for them. Do not check for +Inf in case not
34331 reachable for +Inf.
34332 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34333 spurious underflow.
34334 * sysdeps/i386/fpu/libm-test-ulps: Update.
34335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34336
fb21f89b
MF
343372012-07-06 Mike Frysinger <vapier@gentoo.org>
34338
34339 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34340
cdfe2c5e
JM
343412012-07-05 Joseph Myers <joseph@codesourcery.com>
34342
34343 [BZ #14157]
34344 [BZ #14331]
34345 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34346 could result in spurious underflow. Scale down values above
34347 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34348 * math/s_csqrtf.c (__csqrtf): Likewise.
34349 * math/s_csqrtl.c (__csqrtl): Likewise.
34350 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34351 spurious underflow.
34352 * sysdeps/i386/fpu/libm-test-ulps: Update.
34353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34354
70d35b67
AS
343552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34356
704bc459
AS
34357 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34358 xopen-msg.sed.
34359 * catgets/xopen-msg.awk: New file.
34360 * catgets/xopen-msg.sed: Removed.
34361
70d35b67
AS
34362 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34363 po2text.sed.
34364 * intl/po2test.awk: New file.
34365 * intl/po2test.sed: Removed.
34366
ca61cf32
JM
343672012-07-04 Joseph Myers <joseph@codesourcery.com>
34368
34369 [BZ #14328]
34370 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34371 or multiply small sinh result by itself.
34372 * math/s_ctanf.c (__ctanf): Likewise.
34373 * math/s_ctanh.c (__ctanh): Likewise.
34374 * math/s_ctanhf.c (__ctanhf): Likewise.
34375 * math/s_ctanhl.c (__ctanhl): Likewise.
34376 * math/s_ctanl.c (__ctanl): Likewise.
34377 * math/libm-test.inc (ctan_test_tonearest): New function.
34378 (ctan_test_towardzero): Likewise.
34379 (ctan_test_downward): Likewise.
34380 (ctan_test_upward): Likewise.
34381 (ctanh_test_tonearest): Likewise.
34382 (ctanh_test_towardzero): Likewise.
34383 (ctanh_test_downward): Likewise.
34384 (ctanh_test_upward): Likewise.
34385 (main): Call these new functions.
34386 * sysdeps/i386/fpu/libm-test-ulps: Update.
34387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34388
ca48a46a
MF
343892012-07-03 Mike Frysinger <vapier@gentoo.org>
34390
34391 * .gitignore: Delete /ports entry.
34392
9d63d37d
AJ
343932012-07-03 Andreas Jaeger <aj@suse.de>
34394
34395 * po/bg.po: Update from translation team.
34396 * po/cs.po: Likewise.
34397 * po/de.po: Likewise.
34398 * po/hr.po: Likewise.
34399 * po/nl.pl: Likewise.
34400 * po/pl.po: Likewise.
34401 * po/vi.po: Likewise.
34402
370ca3d2
JM
344032012-07-03 Joseph Myers <joseph@codesourcery.com>
34404
95f5a9a8
JM
34405 * Makeconfig [!+link] (+link-before-libc): New variable.
34406 [!+link] (+link-after-libc): Likewise.
34407 [!+link] (+link-tests): Likewise.
34408 [!+link] (+link): Define in terms of $(+link-before-libc) and
34409 $(+link-after-libc).
34410 [!+link-static] (+link-static-before-libc): New variable.
34411 [!+link-static] (+link-static-after-libc): Likewise.
34412 [!+link-static] (+link-static-tests): Likewise.
34413 [!+link-static] (+link-static): Define in terms of
34414 $(+link-static-before-libc) and $(+link-static-after-libc).
34415 [build-shared] (link-libc-before-gnulib): New variable.
34416 [build-shared] (link-libc-tests): Likewise.
34417 [build-shared] (link-libc): Define in terms of
34418 $(link-libc-before-gnulib).
34419 [!build-shared] (link-libc-tests): New variable.
34420 (link-libc-static-tests): New variable.
34421 [!gnulib] (gnulib-arch): New variable.
34422 [!gnulib] (gnulib-tests): Likewise.
34423 [!gnulib] (static-gnulib-arch): Likewise.
34424 [!gnulib] (static-gnulib-tests): Likewise.
34425 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34426 Define with "=" instead of ":=".
34427 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34428 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34429 * Rules (binaries-all-notests): New variable.
34430 (binaries-all-tests): Likewise.
34431 (binaries-static-notests): Likewise.
34432 (binaries-static-tests): Likewise.
34433 (binaries-all): Define using $(binaries-all-notests) and
34434 $(binaries-all-tests).
34435 (binaries-static): Define using $(binaries-static-notests) and
34436 $(binaries-static-tests).
34437 (binaries-shared-tests): New variable.
34438 (binaries-shared-notests): Likewise.
34439 (binaries-shared): Remove variable.
34440 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34441 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34442 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34443 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34444 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34445 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34446 * elf/Makefile (sln-modules): New variable.
34447 (extra-objs): Add $(sln-modules:=.o).
34448 (ldconfig-modules): Add static-stubs.
34449 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34450 * elf/static-stubs.c: New file.
34451
7a845b2c
JM
34452 [BZ #14283]
34453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34454 by 7 not 8 to examine high bit of fractional part. Use volatile
34455 variables when splitting into final array of floats if
34456 __FLT_EVAL_METHOD__ != 0.
34457 * math/libm-test.inc (cos_test): Add another test.
34458 (sin_test): Likewise.
34459 * sysdeps/i386/fpu/libm-test-ulps: Update.
34460
e2283f38
JM
34461 [BZ #14273]
34462 * math/libm-test.inc (cosh_test): Add more tests.
34463
370ca3d2
JM
34464 * version.h (RELEASE): Set to "development".
34465 (VERSION): Set to "2.16.90".
34466
ee9247c3
CD
344672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34468
34469 * NEWS: Update copyright. Remove last-updated date.
34470 Mention math library bug fixes and timezone data changes.
34471 * README: Mention GNU/Hurd, x32, and HPPA support status.
34472
4648c381
TS
344732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34474
34475 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34476
aac78a43
AJ
344772012-06-27 Andreas Jaeger <aj@suse.de>
34478
34479 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34480
ed3dbfad
AJ
344812012-06-25 Andreas Jaeger <aj@suse.de>
34482
34483 * sysdeps/s390/fpu/libm-test-ulps: Update.
34484
4d0ee855
AS
344852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34486 Thomas Schwinge <thomas@codesourcery.com>
34487
34488 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34489 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34491 fanotify_mark.
34492
af1bce34
TS
344932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34494
a9fa33ba
TS
34495 * sysdeps/mach/start.c: Remove file.
34496 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34497 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34498 * sysdeps/sh/init-first.c: Likewise.
34499
58f902b8
TS
34500 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34501 registers for frame unwinding purposes, add CFI directives.
34502 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34503 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34504 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34505 Likewise.
34506
1518f58b
TS
34507 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34508 __fortify_fail returning.
34509 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34510
db9b5059
TS
34511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34512 sysdeps/sh/____longjmp_chk.S.
34513 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34514 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34515 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34516 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34517
967705fe
TS
34518 * sysdeps/sh/abort-instr.h: New file.
34519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34520 process in case exit returns.
34521
a9def8c4
TS
34522 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34523 initialize the GOT register before use.
34524
2a649725
TS
34525 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34526 calculation of ARGC > 4.
34527
af1bce34
TS
34528 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34529 meaningful names to some local labels.
34530
d230f50a
KK
345312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34532 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34533
34534 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34535 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34536 (__arch_compare_and_exchange_val_16_acq): Likewise.
34537 (__arch_compare_and_exchange_val_32_acq): Likewise.
34538 (atomic_exchange_and_add): Fix gUSA sequence.
34539 (atomic_add): Likewise.
34540 (atomic_add_negative): Likewise.
34541 (atomic_add_zero): Likewise.
34542 (atomic_bit_test_set): Likewise.
34543
0479b305
AS
345442012-06-22 Andreas Schwab <schwab@redhat.com>
34545
34546 [BZ #13579]
34547 * include/link.h (struct link_map): Add l_free_initfini.
34548 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34549 l_initfini.
34550 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34551 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34552 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34553 set.
34554
0e3933b9
CD
345552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34556
34557 * configure.in: Use AC_LANG_SOURCE.
34558 * configure: Regenerate.
34559
4248b1b1
RM
345602012-06-22 Roland McGrath <roland@hack.frob.com>
34561
34562 * configure.in (libc_cv_localstatedir): New substituted variable.
34563 * configure: Regenerated.
34564 * config.make.in (localstatedir): New variable, substituted from
34565 libc_cv_localstatedir.
34566 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34567 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34568 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34569 * sysdeps/gnu/configure: Regenerated.
34570
006dd861
JL
345712012-06-21 Jeff Law <law@redhat.com>
34572
34573 [BZ #14277]
34574 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34575 free. Simplify list management for _LIBC case.
34576
79662d42
JM
345772012-06-21 Joseph Myers <joseph@codesourcery.com>
34578
b7abb4bf
JM
34579 [BZ #14273]
34580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34581 Clear sign bit of 64-bit integer value before comparing against
34582 overflow value.
34583
79662d42
JM
34584 * sysdeps/mach/configure: Regenerated.
34585
1f150908
L
345862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34587
34588 [BZ #14278]
34589 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34590
28363bbf
JL
345912012-06-21 Jeff Law <law@redhat.com>
34592
34593 [BZ #13882]
34594 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34595 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34597 * elf/dl-open.c (dl_open_worker): Likewise.
34598
09615db4
CD
345992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34600
34601 * scripts/list-sources.sh: Scan PORTS for translations.
34602 * po/libc.pot: Regenerated.
34603
2174c6dd
AJ
346042012-06-21 Andreas Jaeger <aj@suse.de>
34605
34606 [BZ #12194]
34607 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34608 warning.
34609 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34610 * bits/byteswap-16.h (__bswap_16): Likewise.
34611 * bits/byteswap.h (__bswap_constant_16): Likewise.
34612
3ee947b1
L
346132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34614
34615 [BZ #14117]
a2f34833
L
34616 * sysdeps/i386/fpu_control.h: Removed.
34617 * sysdeps/x86_64/fpu_control.h: Moved to ...
34618 * sysdeps/x86/fpu_control.h: Here.
34619
3ee947b1
L
34620 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34621 (_FPU_SETCW): Likewise.
34622
ed1825f8
L
346232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34624
25f1282a
L
34625 [BZ #14117]
34626 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34627 * sysdeps/x86/fpu/bits/mathinline.h: This.
34628 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34629
ed1825f8
L
34630 [BZ #14050]
34631 [BZ #14117]
34632 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34633 functions if __x86_64__ is defined.
34634
36d54b74
CLT
346352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34636
34637 * string/endian.h: Add !__ASSEMBLER__ condition for including
34638 conversion interfaces.
34639
10285c21
JM
346402012-06-15 Joseph Myers <joseph@codesourcery.com>
34641
34642 [BZ #14241]
34643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34644 of ABS(x) in calculating zero to negative powers other than odd
34645 integers.
34646 * math/libm-test.inc (pow_test): Add more tests.
34647
06c5abbd
AJ
346482012-06-15 Andreas Jaeger <aj@suse.de>
34649
34650 * manual/contrib.texi (Contributors): Update entry of Liubov
34651 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34652 Machado Filho.
34653
a3aeac40
CH
346542012-06-15 Cyril Hrubis <metan@ucw.cz>
34655
34656 * string/string.h: Add __wur to GNU version of strerror_r.
34657
49bdf4c1
L
346582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34659
34660 [BZ #14229]
34661 * string/Makefile (tests): Add tst-strtok_r.
34662 * string/tst-strtok_r.c: New file.
34663 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34664 RAX_LP/RDX_LP on SAVE_PTR.
34665
834f9b8d
RM
346662012-06-14 Roland McGrath <roland@hack.frob.com>
34667
34668 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34669
75fa1921
JM
346702012-06-14 Joseph Myers <joseph@codesourcery.com>
34671
34672 * libm_test.inc (csqrt_test): Allow more spurious underflow
34673 exceptions.
34674 (j0_test): Likewise.
34675 (j1_test): Likewise.
34676 (y0_test): Likewise.
34677 (y1_test): Likewise.
34678
771766df
CD
346792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34680
34681 * po/Makefile (libc.pot): Use UTF-8 charset.
34682
ceb9e56b
PP
346832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34684
34685 [BZ #14210]
34686 Suppress sign-conversion warning from FD_SET.
34687 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34688 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34689 not unsigned long int.
34690 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34691
ddb28975
L
346922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 [BZ #14050]
34695 [BZ #14117]
34696 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34697 __extern_always_inline instead of __extern_inline.
34698 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34699 (__signbit): Likewise.
34700 (__signbitl): Support C++ namespace.
34701 (lrintf): New inline function.
34702 (lrint): Likewise.
34703 (llrintf): Likewise.
34704 (llrint): Likewise.
34705 (fmaxf): Likewise.
34706 (fmax): Likewise.
34707 (fminf): Likewise.
34708 (fmin): Likewise.
34709 (rint): Likewise.
34710 (rintf): Likewise.
34711 (ceil): Likewise.
34712 (ceilf): Likewise.
34713 (floor): Likewise.
34714 (floorf): Likewise.
34715 (nearbyint): Likewise.
34716 (nearbyintf): Likewise.
34717
d7b4fb26
TS
347182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34719
34720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34721 non-default versions.
34722
eb55f5c2
RM
347232012-06-11 Roland McGrath <roland@hack.frob.com>
34724
34725 [BZ #14218]
34726 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34727
366af02c
TS
347282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34729
99ff6e5c
TS
34730 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34731 (FE_UPWARD, FE_DOWNWARD): Don't define.
34732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34734
366af02c
TS
34735 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34736 reading it.
34737 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34739
793ea851
KK
347402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34741
34742 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34744 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34745 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34746
a728a38f
L
347472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34748
34749 [BZ #14117]
c08010c7
L
34750 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34751 * sysdeps/i386/fpu/Implies: New file.
34752 * sysdeps/x86_64/fpu/Implies: Likewise.
34753 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34754 * sysdeps/x86/fpu/bits/fenv.h: This.
34755
a728a38f
L
34756 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34757 __SSE_MATH__.
34758
6e230d11
SP
347592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34760
34761 [BZ #14134]
34762 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34763 character 0xffff that matches the last element of the
34764 conversion table.
34765
1b671feb
AZ
347662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34767
34768 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34769 fmodl commit.
34770
6043738b
AZ
347712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34772
34773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34774 values higher than 25.6283.
34775
34ae0b32
AZ
347762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34777
34778 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34779 subnormal exponent extraction and add some __builtin_expect.
34780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34781 Fix for subnormal mantissa calculation.
34782
1214ec8f
MF
347832012-06-04 Mike Frysinger <vapier@gentoo.org>
34784
34785 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34786 cpu2 is -1 and errno is not ENOSYS.
34787
f3d1f93c
L
347882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34789
34790 [BZ #14117]
0e4a3cd7
L
34791 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34792 * sysdeps/x86/bits/string.h: This.
34793 * sysdeps/x86_64/bits/string.h: Removed.
34794
6704c645
L
34795 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34796 if not compiling for x86-64, but compiling for >= i486.
34797
48495318
L
34798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34799 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34800
14adcbfc
L
34801 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34802 New macro from Linux kernel 3.4.0.
34803 (FP_XSTATE_MAGIC2): Likewise.
34804 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34805 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34806 (struct _fpx_sw_bytes): New struct.
34807 (struct _xsave_hdr): Likewise.
34808 (struct _ymmh_state): Likewise.
34809 (struct _xstate): Likewise.
34810
68e408ab
L
34811 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34812 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34814 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34815 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34816 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34817
f3d1f93c
L
34818 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34819 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34820 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34821 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34822 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34823 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34824
d9dc34cd
TMQMF
348252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34826
34827 [BZ #13743]
34828 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34829 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34830 (sysdep_headers): Include sys/platform/ppc.h.
34831 * sysdeps/powerpc/test-gettimebase.c: Test for
34832 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34833 * manual/Makefile (appendices): Include platform.texi.
34834 * manual/contrib.texi (Contributors): Update @node pointers.
34835 * manual/maint.texi (Maintenance): Likewise.
34836 (Platform): New node.
34837 * manual/platform.texi: New file. Document the new features.
34838
4af3879c
SP
348392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34840 Jakub Jelinek <jakub@redhat.com>
34841
34842 [BZ #14188]
34843 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34844 where __builtin_expect is unavailable.
34845
2fd6ff13
DM
348462012-06-03 David S. Miller <davem@davemloft.net>
34847
34848 * stdlib/longlong.h: Updated from GCC.
34849
173f7220
AS
348502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34851
34852 [BZ #14042]
34853 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34854 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34855 __mcount_internal.
34856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34857 (GLIBC_2.16): Likewise.
34858
f34a1c6f
L
348592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34860
34861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34862
88a4576f
JM
348632012-06-01 Joseph Myers <joseph@codesourcery.com>
34864
ea32bcdd
JM
34865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34866 (default-abi): New variable.
34867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34868 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34869 variable.
34870 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34871 Likewise.
34872 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34873 Likewise.
34874 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34875 Likewise.
34876
88a4576f
JM
34877 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34878 definition. Document in comment.
34879
402fe938
DM
348802012-06-01 David S. Miller <davem@davemloft.net>
34881
34882 * stdlib/longlong.h: Updated from GCC.
34883
3553723f
L
348842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34885
34886 [BZ #14117]
3bd872c4
L
34887 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34888 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34889 sys/debugreg.h sys/io.h here.
34890 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34891 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34892 sys/io.h.
34893 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34894 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34895 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34896 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34897 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34898 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34899
3553723f
L
34900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34901 Define only if __x86_64__ is defined.
34902
4842e4fe
JM
349032012-06-01 Joseph Myers <joseph@codesourcery.com>
34904
c5bfe3d5
JM
34905 [BZ #14048]
34906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34907 Use int64_t for variable i.
34908 * math/libm-test.inc (fmod_test): Add more tests.
34909
4842e4fe
JM
34910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34911 z computation is not scheduled after fetestexcept.
34912 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34913 Use math_force_eval instead of asm to ensure calculation scheduled
34914 before exception test.
34915 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34916 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34917
efb73488
AJ
349182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34919
34920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34921 computation is not scheduled after fetestexcept.
34922
29bcce7c
L
349232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34924
34925 [BZ #14117]
34926 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34927 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34928
73a68f94
AZ
349292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34930
34931 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34932 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34933
67b6df78
L
349342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34935
edf2933a 34936 [BZ #14117]
ebc64a18
L
34937 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34938 <bits/wordsize.h>.
34939 (__WCHAR_MIN): Support __WORDSIZE == 64.
34940 (__WCHAR_MAX): Likewise.
34941
edf2933a
L
34942 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34944
57c6cf40
L
34945 [BZ #14183]
34946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34947 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34948
67b6df78 34949 [BZ #14117]
8eb6281e
L
34950 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34951 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34952
aac639f4
L
34953 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34954 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34955
67b6df78
L
34956 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34957 Defined to 1 if __x86_64__ isn't defined.
34958 (_STAT_VER_LINUX_OLD): New.
34959 (st_atime): Remove duplicate.
34960 (st_mtime): Likewise.
34961 (st_ctime): Likewise.
34962
1c2cfe81
DM
349632012-05-31 David S. Miller <davem@davemloft.net>
34964
34965 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34966 entries.
34967
5be8418c
AS
349682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34969
e7725326
AS
34970 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34971 gen-libm-test.pl.
34972
5be8418c
AS
34973 [BZ #14132]
34974 * elf/dl-reloc.c: Include <_itoa.h>.
34975 (_dl_reloc_bad_type): Remove use of INTUSE.
34976 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34977 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34978 * stdio-common/psiginfo.c (psiginfo): Likewise.
34979 * stdio-common/psignal.c (psignal): Likewise.
34980 * string/strsignal.c (strsignal): Likewise.
34981 * include/signal.h (_sys_siglist): Declare hidden proto.
34982 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34983 INTVARDEF with libc_hidden_data_def.
34984 * stdio-common/itoa-udigits.c: Likewise.
34985 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34986 (_itoa_lower_digits_internal): Remove declaration.
34987 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34988 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34989 (_sys_sigabbrev_internal): Remove aliases.
34990 (_sys_siglist): Define hidden alias.
34991
507352f1
MT
349922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34993
34994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34995 bits/sysctl.h.
34996
42bbb1c3
L
349972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34998
34999 [BZ #14117]
6bd784b6
L
35000 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35001 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35002
8bca20f0
L
35003 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35004 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35005 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35006 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35008 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35009
f9e890a9
L
35010 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35011 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35012 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35013
471101a1
L
35014 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35015 with __addr.
35016 (insw): Likewise.
35017 (insl): Likewise.
35018 (outsb): Likewise.
35019 (outsw): Likewise.
35020 (outsl): Likewise.
35021
6451c862
L
35022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35025
a254b8c9
L
35026 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35027 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35029 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35030 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35031 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35032
b8dfdd92
L
35033 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35034 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35035
578cd270
L
35036 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35037 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35038
de662f5f
L
35039 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35042
25653439
L
35043 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35044 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35045 to ...
35046 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35047
6bad24a0
L
35048 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35050 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35051
42bbb1c3
L
35052 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35053 for x86-64.
35054 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35055
2d10d547
JM
350562012-05-31 Joseph Myers <joseph@codesourcery.com>
35057
35058 * math/math.h (M_El): Use two more decimal places.
35059 (M_LOG2El): Likewise.
35060 (M_LOG10El): Likewise.
35061 (M_LN2l): Likewise.
35062 (M_LN10l): Likewise.
35063 (M_PIl): Likewise.
35064 (M_PI_2l): Likewise.
35065 (M_PI_4l): Likewise.
35066 (M_1_PIl): Likewise.
35067 (M_2_PIl): Likewise.
35068 (M_2_SQRTPIl): Likewise.
35069 (M_SQRT2l): Likewise.
35070 (M_SQRT1_2l): Likewise.
35071
f230c29b
DM
350722012-05-31 David S. Miller <davem@davemloft.net>
35073
35074 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35075 values between float registers.
35076 * sysdeps/sparc/sparc64/memset.S: Likewise.
35077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35078
fed806c3
MF
350792012-05-31 Mike Frysinger <vapier@gentoo.org>
35080
35081 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35082 -D_FORTIFY_SOURCE=1.
35083 (CPPFLAGS-tst-longjmp_chk.c): Define.
35084 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35085 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35086 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35087 CFLAGS-tst-wchar-h.c.
35088
30917259
MP
350892012-05-31 Marek Polacek <polacek@redhat.com>
35090
35091 [BZ #14132]
35092 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35093 __endmntent_internal): Remove declaration.
35094 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35095 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35096 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35097
1c58d5dc
DM
350982012-05-30 David S. Miller <davem@davemloft.net>
35099
35100 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35101 (___Q_simulate_exceptions): Use real FP ops rather than writing
35102 into the %fsr.
35103 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35104 Likewise.
35105
7dc00e0d
L
351062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 [BZ #14117]
0bd53985
L
35109 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35110 * sysdeps/x86/bits/xtitypes.h: This.
35111
3a257e66
L
35112 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35113 * sysdeps/x86/bits/wordsize.h: This.
35114
62f62904
L
35115 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35116 * sysdeps/x86/bits/huge_vall.h: This.
35117
404fe9d9
L
35118 * sysdeps/i386/bits/select.h: Removed.
35119 * sysdeps/x86_64/bits/select.h: Renamed to ...
35120 * sysdeps/x86/bits/select.h: This.
35121
d48d0446
L
35122 * sysdeps/i386/bits/setjmp.h: Removed.
35123 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35124 * sysdeps/x86/bits/setjmp.h: This.
35125
7dc00e0d
L
35126 * sysdeps/i386/bits/mathdef.h: Removed.
35127 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35128 * sysdeps/x86/bits/mathdef.h: This.
35129
03277f8f
AS
351302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35131
35132 [BZ #14132]
35133 * include/sys/socket.h (__connect_internal)
35134 (__libc_sa_len_internal): Remove declaration.
35135 (__connect, __libc_sa_len): Declare hidden_proto.
35136 (SA_LEN): Remove use of INTUSE.
35137 * socket/connect.c: Add libc_hidden_def.
35138 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35139 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35140 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35141 alias.
35142 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35144 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35145 of adding _internal alias.
35146
13764867
L
351472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35148
35149 [BZ #14117]
6bd97696
L
35150 * sysdeps/i386/bits/link.h: Removed.
35151 * sysdeps/i386/bits/linkmap.h: Likewise.
35152 * sysdeps/x86_64/bits/link.h: Renamed to ...
35153 * sysdeps/x86/bits/link.h: This.
35154 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35155 * sysdeps/x86/bits/linkmap.h: This.
35156
f726f0bb
L
35157 * sysdeps/i386/bits/endian.h: Removed.
35158 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35159 * sysdeps/x86/bits/endian.h: This.
35160
13764867
L
35161 * sysdeps/i386/bits/byteswap.h: Removed.
35162 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35163 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35164 * sysdeps/x86/bits/byteswap.h: This.
35165 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35166 * sysdeps/x86/bits/byteswap-16.h: This.
35167 * sysdeps/i386/Implies: Add x86.
35168 * sysdeps/x86_64/Implies: Likewise.
35169
ae251b0b
DM
351702012-05-30 David S. Miller <davem@davemloft.net>
35171
35172 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35173 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35175 (FP_TRAPPING_EXCEPTIONS): Define.
35176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35177 (FP_TRAPPING_EXCEPTIONS): Define.
35178 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35179 subnormals only when inexact has been signalled or underflow
35180 exceptions are enabled.
35181 (_FP_PACK_CANONICAL): Likewise.
35182
d5c90867
L
351832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35184
35185 [BZ #14183]
35186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35187 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35188
63f1549e
RH
351892012-05-30 Richard Henderson <rth@twiddle.net>
35190
8d8f2279
RH
35191 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35192 with #ifndef NOT_IN_libc.
35193
63f1549e
RH
35194 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35195 marked to avoid plt entry.
35196
0ab0291b
L
351972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35198
35199 [BZ #14112]
35200 * Makeconfig (default-abi): New macro.
35201 (abi-includes): Likewise.
35202 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35203 $(abi-$(default-abi)-lib-soname) for soname if defined.
35204 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35205 abi-variants.
35206 * Makefile (installed-stubs): Likewise.
35207 * include/stubs-biarch.h: Removed.
35208 * scripts/lib-names.awk: Only handle one library at a time.
35209 * scripts/soversions.awk: Remove WORDSIZE support.
35210 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35211 entries.
35212 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35213 Removed.
35214 (syscall-list-default-condition): Likewise.
35215 (syscall-list-default-condition): Likewise.
35216 (syscall-list-includes): Likewise.
35217 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35218 syscall-list-* with abi-*. Handle undefined abi-variants.
35219 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35220 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35221 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35222 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35223 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35224 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35225 Removed.
35226 (syscall-list-32-options): Likewise.
35227 (syscall-list-32-condition): Likewise.
35228 (syscall-list-64-options): Likewise.
35229 (syscall-list-64-condition): Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35231 macro.
35232 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35233 Renamed to ...
35234 (abi-*): This.
35235 (abi-64-ld-soname): New macro.
35236 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35237 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35238 Renamed to ...
35239 (abi-*): This.
35240 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35241 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35242
4da0431d
JM
352432012-05-30 Joseph Myers <joseph@codesourcery.com>
35244
3a85279c
JM
35245 * sysdeps/unix/sysv/linux/kernel-features.h
35246 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35247 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35248 include <kernel-features.h>.
35249 [!__NR_ftruncate64]: Remove conditional code.
35250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35251 [__NR_ftruncate64]: Make code unconditional.
35252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35253 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35254 include <kernel-features.h>.
35255 [!__NR_ftruncate64]: Remove conditional code.
35256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35257 [__NR_ftruncate64]: Make code unconditional.
35258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35260 include <kernel-features.h>.
35261 [!__NR_ftruncate64]: Remove conditional code.
35262 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35263 [__NR_ftruncate64]: Make code unconditional.
35264 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35266 include <kernel-features.h>.
35267 [!__NR_ftruncate64]: Remove conditional code.
35268 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35269 [__NR_ftruncate64]: Make code unconditional.
35270 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35271
4da0431d
JM
35272 * configure.in (libc_cv_fpie): Weaken to a compile test using
35273 LIBC_TRY_CC_OPTION.
35274 * configure: Regenerated.
35275
11ef492c
AK
352762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35277
35278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35282 Refreshed.
35283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35289 Refreshed.
35290
d66ef399
DM
352912012-05-27 David S. Miller <davem@davemloft.net>
35292
35293 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35294 (___Q_zero): New.
35295 (__Q_simulate_exceptions): Return void. Change to simulate
35296 exceptions by writing into the %fsr.
35297 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35298 (__Qp_handle_exceptions): Likewise.
35299 (numbers): Delete.
35300 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35301 __Qp_handle_exceptions.
35302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35303 __Qp_handle_exceptions.
35304 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35305 as unused and give dummy FP_RND_NEAREST initializer.
35306 (FP_INHIBIT_RESULTS): Define.
35307 (___Q_simulate_exceptions): Update declaration.
35308 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35309 formatting.
35310 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35311 as unused and give dummy FP_RND_NEAREST initializer.
35312 (__Qp_handle_exceptions): Update declaration.
35313 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35314 formatting.
35315
04fb54b5
TS
353162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35317
35318 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35319 the temporary FPU control word.
35320 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35321 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35322 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35323 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35324 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35325 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35326 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35328 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35329 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35330 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35331
3f99608f
KK
353322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35333
35334 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35335 fields.
35336
65a4de4e
CLT
353372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35338
35339 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35340 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35341 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35342 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35343 Likewise.
35344 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35345 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35346 Likewise.
35347
15749d40
UD
353482012-05-27 Ulrich Drepper <drepper@gmail.com>
35349
35350 * po/h.po: Update from translation team.
35351
25dbcb27
AS
353522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35353
3d3f8e55
AS
35354 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35355
25dbcb27
AS
35356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35357 handling of denormals.
35358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35359 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35360 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35361 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35365 Likewise.
35366
7ad47a80 353672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35368
35369 [BZ #14152]
35370 * math/libm-test.inc (fma_test): Don't always expect underflow
35371 exception.
35372
9c6ea9fa
SP
353732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35374
35375 [BZ #12416]
35376 * elf/tst-execstack.c: Include stackinfo.h.
35377 (do_test): Adjust test case to ensure that pthread_getattr_np
35378 behaviour remains the same after marking stack executable.
35379
a8239222
JM
353802012-05-25 Joseph Myers <joseph@codesourcery.com>
35381
35382 * sysdeps/unix/sysv/linux/kernel-features.h
35383 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35384 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35385 kernel-features.h.
35386 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35387 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35388 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35389 kernel-features.h.
35390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35392
918b5606
L
353932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35394
35395 * configure.in: Define the default includes to being none.
35396 * configure: Regenerated.
35397
3a097cc7
RM
353982012-05-25 Roland McGrath <roland@hack.frob.com>
35399
8422c9a5
RM
35400 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35401 * sysdeps/x86_64/setjmp.S: Likewise.
35402 * sysdeps/i386/bsd-setjmp.S: Likewise.
35403 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35404 * sysdeps/i386/setjmp.S: Likewise.
35405 * sysdeps/i386/__longjmp.S: Likewise.
35406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35407 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35408
3a097cc7
RM
35409 * include/stap-probe.h: New file.
35410 * configure.in: Handle --enable-systemtap.
35411 * configure: Regenerated.
35412 * config.h.in (USE_STAP_PROBE): New #undef.
35413 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35414 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35415 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35416
21708942
JM
354172012-05-25 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #13717]
35420 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35421 to 2.4.0 where earlier.
35422 * sysdeps/unix/sysv/linux/configure: Regenerated.
35423 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35424 <kernel-features.h>.
35425 [__ASSUME_32BITUIDS]: Make code unconditional.
35426 [!__ASSUME_32BITUIDS]: Remove conditional code.
35427 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35428 <kernel-features.h>.
35429 [__ASSUME_32BITUIDS]: Make code unconditional.
35430 [!__ASSUME_32BITUIDS]: Remove conditional code.
35431 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35432 [__ASSUME_32BITUIDS]: Make code unconditional.
35433 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35434 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35435 <kernel-features.h>.
35436 [__ASSUME_32BITUIDS]: Make code unconditional.
35437 [!__ASSUME_32BITUIDS]: Remove conditional code.
35438 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35439 <kernel-features.h>.
35440 [__ASSUME_32BITUIDS]: Make code unconditional.
35441 [!__ASSUME_32BITUIDS]: Remove conditional code.
35442 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35443 <kernel-features.h>.
35444 [__ASSUME_32BITUIDS]: Make code unconditional.
35445 [!__ASSUME_32BITUIDS]: Remove conditional code.
35446 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35447 <kernel-features.h>.
35448 [__ASSUME_32BITUIDS]: Make code unconditional.
35449 [!__ASSUME_32BITUIDS]: Remove conditional code.
35450 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35451 <kernel-features.h>.
35452 [__ASSUME_32BITUIDS]: Make code unconditional.
35453 [!__ASSUME_32BITUIDS]: Remove conditional code.
35454 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35455 <kernel-features.h>.
35456 [__ASSUME_32BITUIDS]: Make code unconditional.
35457 [!__ASSUME_32BITUIDS]: Remove conditional code.
35458 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35459 <kernel-features.h>.
35460 [__ASSUME_32BITUIDS]: Make code unconditional.
35461 [!__ASSUME_32BITUIDS]: Remove conditional code.
35462 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35463 <kernel-features.h>.
35464 [__ASSUME_32BITUIDS]: Make code unconditional.
35465 [!__ASSUME_32BITUIDS]: Remove conditional code.
35466 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35467 <kernel-features.h>.
35468 [__ASSUME_32BITUIDS]: Make code unconditional.
35469 [!__ASSUME_32BITUIDS]: Remove conditional code.
35470 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35471 <kernel-features.h>.
35472 [__ASSUME_32BITUIDS]: Make code unconditional.
35473 [!__ASSUME_32BITUIDS]: Remove conditional code.
35474 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35475 <kernel-features.h>.
35476 [__NR_setresgid] (__setresgid): Do not declare.
35477 [__ASSUME_32BITUIDS]: Make code unconditional.
35478 [!__ASSUME_32BITUIDS]: Remove conditional code.
35479 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35480 <kernel-features.h>.
35481 [__NR_setresuid] (__setresuid): Do not declare.
35482 [__ASSUME_32BITUIDS]: Make code unconditional.
35483 [!__ASSUME_32BITUIDS]: Remove conditional code.
35484 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35485 <kernel-features.h>.
35486 [__ASSUME_32BITUIDS]: Make code unconditional.
35487 [!__ASSUME_32BITUIDS]: Remove conditional code.
35488 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35489 <kernel-features.h>.
35490 [__ASSUME_32BITUIDS]: Make code unconditional.
35491 [!__ASSUME_32BITUIDS]: Remove conditional code.
35492 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35493 <kernel-features.h>.
35494 [__ASSUME_32BITUIDS]: Make code unconditional.
35495 [!__ASSUME_32BITUIDS]: Remove conditional code.
35496 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35497 <kernel-features.h>.
35498 [__ASSUME_32BITUIDS]: Make code unconditional.
35499 [!__ASSUME_32BITUIDS]: Remove conditional code.
35500 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35501 <kernel-features.h>.
35502 [__ASSUME_32BITUIDS]: Make code unconditional.
35503 [!__ASSUME_32BITUIDS]: Remove conditional code.
35504 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35505 <kernel-features.h>.
35506 [__ASSUME_32BITUIDS]: Make code unconditional.
35507 [!__ASSUME_32BITUIDS]: Remove conditional code.
35508 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35509 <kernel-features.h>.
35510 [__ASSUME_32BITUIDS]: Make code unconditional.
35511 [!__ASSUME_32BITUIDS]: Remove conditional code.
35512 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35513 <kernel-features.h>.
35514 [__ASSUME_32BITUIDS]: Make code unconditional.
35515 [!__ASSUME_32BITUIDS]: Remove conditional code.
35516 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35517 <kernel-features.h>.
35518 [__ASSUME_32BITUIDS]: Make code unconditional.
35519 [!__ASSUME_32BITUIDS]: Remove conditional code.
35520 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35521 <kernel-features.h>.
35522 [__ASSUME_32BITUIDS]: Make code unconditional.
35523 [!__ASSUME_32BITUIDS]: Remove conditional code.
35524 * sysdeps/unix/sysv/linux/kernel-features.h
35525 (__ASSUME_SETRESUID_SYSCALL): Remove.
35526 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35527 (__ASSUME_32BITUIDS): Likewise.
35528 (__ASSUME_LDT_WORKS): Likewise.
35529 (__ASSUME_O_DIRECTORY): Likewise.
35530 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35531 architecture but not kernel version.
35532 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35533 (__ASSUME_MMAP2_SYSCALL): Likewise.
35534 (__ASSUME_STAT64_SYSCALL): Likewise.
35535 (__ASSUME_IPC64): Likewise.
35536 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35537 <kernel-features.h>.
35538 [__ASSUME_32BITUIDS]: Make code unconditional.
35539 [!__ASSUME_32BITUIDS]: Remove conditional code.
35540 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35541 <kernel-features.h>.
35542 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35543 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35544 132096]: Remove conditional code.
35545 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35547 <kernel-features.h>.
35548 [__ASSUME_32BITUIDS]: Make code unconditional.
35549 [!__ASSUME_32BITUIDS]: Remove conditional code.
35550 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35551 <kernel-features.h>.
35552 [__ASSUME_32BITUIDS]: Make code unconditional.
35553 [!__ASSUME_32BITUIDS]: Remove conditional code.
35554 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35555 <kernel-features.h>.
35556 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35557 unconditional.
35558 (__setresgid): Do not declare.
35559 [__ASSUME_32BITUIDS]: Make code unconditional.
35560 [!__ASSUME_32BITUIDS]: Remove conditional code.
35561 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35562 <kernel-features.h>.
35563 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35564 unconditional.
35565 (__setresuid): Do not declare.
35566 [__ASSUME_32BITUIDS]: Make code unconditional.
35567 [!__ASSUME_32BITUIDS]: Remove conditional code.
35568 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35569 <kernel-features.h>.
35570 [__ASSUME_32BITUIDS]: Make code unconditional.
35571 [!__ASSUME_32BITUIDS]: Remove conditional code.
35572 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35573 <kernel-features.h>.
35574 [__ASSUME_32BITUIDS]: Make code unconditional.
35575 [!__ASSUME_32BITUIDS]: Remove conditional code.
35576
a386f1cc
RH
355772012-05-25 Richard Henderson <rth@twiddle.net>
35578
35579 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35580 dl_hwcap to ifunc resolver.
35581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35582 elf_ifunc_invoke.
35583 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35584 dl_hwcap to ifunc resolver.
35585 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35586
b6550497
JM
355872012-05-24 Joseph Myers <joseph@codesourcery.com>
35588
35589 [BZ #14153]
35590 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35591 for |x| <= 2**-26, not 2**-57.
35592 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35593 exception.
35594
b0bc23a1
JL
355952012-05-24 Jeff Law <law@redhat.com>
35596
35597 * stdio-common/Makefile (tests): Add bug25.
35598 * stdio-common/bug25.c: New test.
35599
347c92e9
L
356002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35601
35602 [BZ #13576]
35603 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35604 multiple of MALLOC_ALIGNMENT in size.
35605 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35606
6bcc8b3f
JM
356072012-05-24 Joseph Myers <joseph@codesourcery.com>
35608
35609 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35610 Require >= 256.
35611 (FILENAME_MAX): Use macro-int-constant.
35612 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35613 (_IOFBF): Use macro-int-constant.
35614 (_IOLBF): Likewise.
35615 (_IONBF): Likewise.
35616 (SEEK_CUR): Likewise.
35617 (SEEK_END): Likewise.
35618 (SEEK_SET): Likewise.
35619 (TMP_MAX): Likewise.
35620 (EOF): Use macro-int-constant. Require < 0.
35621 (NULL): Use macro-constant. Require == 0.
35622 (stdin): Require type to be FILE *.
35623 (stdout): Likewise.
35624 (stderr): Likewise.
35625 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35626 macro-int-constant.
35627 (EXIT_SUCCESS): Likewise.
35628 (NULL): Use macro-constant. Require == 0.
35629 (RAND_MAX): Use macro-int-constant.
35630 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35631 [C99-based standards] (strtof): Require function.
35632 [C99-based standards] (strtold): Likewise.
35633 [C99-based standards] (strtoll): Likewise.
35634 [C99-based standards] (strtoull): Likewise.
35635 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35636 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35637 [ISO || ISO99 || ISO11] (math.h): Likewise.
35638 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35639 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35641
d18ea0c5
AS
356422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35643
35644 [BZ #14132]
56d25bb8
AS
35645 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35646 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35647 * intl/dgettext.c (DCGETTEXT): Likewise.
35648 * intl/gettext.c (DCGETTEXT): Likewise.
35649 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35650 * posix/regex_internal.h (gettext): Likewise.
35651 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35652 Remove declaration.
35653 * include/argz.h (__argz_count_internal)
35654 (__argz_stringify_internal): Remove declaration.
35655 (__argz_count, __argz_stringify): Declare hidden proto.
35656 * intl/dcgettext.c: Remove use of INTDEF.
35657 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35658 * string/argz-stringify.c: Likewise.
35659 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35660 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35661 Declare hidden proto.
d18ea0c5
AS
35662 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35663 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35664 Declare hidden proto.
35665 * include/stdio.h (__asprintf_internal): Don't declare.
35666 (__asprintf): Don't define as macro. Declare hidden proto.
35667 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35668 (__fsetlocking): Declare hidden proto.
35669 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35670 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35671 hidden proto.
35672 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35673 (_IO_setlinebuf): Remove use of INTUSE.
35674 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35675 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35676 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35677 Remove declaration.
35678 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35679 (_IO_do_flush): Remove use of INTUSE.
35680 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35681 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35682 (_IO_adjust_column, _IO_least_wmarker)
35683 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35684 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35685 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35686 (_IO_default_doallocate, _IO_wdefault_doallocate)
35687 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35688 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35689 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35690 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35691 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35692 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35693 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35694 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35695 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35696 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35697 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35698 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35699 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35700 proto.
35701 (_IO_flush_all_internal, _IO_adjust_column_internal)
35702 (_IO_default_uflow_internal, _IO_default_finish_internal)
35703 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35704 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35705 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35706 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35707 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35708 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35709 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35710 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35711 (_IO_file_close_internal, _IO_file_close_it_internal)
35712 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35713 (_IO_file_init_internal, _IO_file_attach_internal)
35714 (_IO_file_fopen_internal, _IO_file_read_internal)
35715 (_IO_file_sync_internal, _IO_file_seek_internal)
35716 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35717 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35718 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35719 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35720 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35721 (_IO_list_all_internal, _IO_link_in_internal)
35722 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35723 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35724 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35725 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35726 (_IO_do_write_internal, _IO_padn_internal)
35727 (_IO_getline_info_internal, _IO_getline_internal)
35728 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35729 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35730 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35731 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35732 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35733 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35734 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35735 with libc_hidden_ver, remove use of INTUSE.
35736 * libio/genops.c: Likewise.
35737 * libio/freopen.c: Likewise.
35738 * libio/freopen64.c: Likewise.
35739 * libio/iofclose.c: Likewise.
35740 * libio/iofdopen.c: Likewise.
35741 * libio/iofflush.c: Likewise.
35742 * libio/iofflush_u.c: Likewise.
35743 * libio/iofgets.c: Likewise.
35744 * libio/iofgets_u.c: Likewise.
35745 * libio/iofopen.c: Likewise.
35746 * libio/iofopncook.c: Likewise.
35747 * libio/iofread.c: Likewise.
35748 * libio/iofread_u.c: Likewise.
35749 * libio/ioftell.c: Likewise.
35750 * libio/iofwrite.c: Likewise.
35751 * libio/iogetline.c: Likewise.
35752 * libio/iogets.c: Likewise.
35753 * libio/iogetwline.c: Likewise.
35754 * libio/iopadn.c: Likewise.
35755 * libio/iopopen.c: Likewise.
35756 * libio/ioseekoff.c: Likewise.
35757 * libio/ioseekpos.c: Likewise.
35758 * libio/iosetbuffer.c: Likewise.
35759 * libio/iosetvbuf.c: Likewise.
35760 * libio/ioungetc.c: Likewise.
35761 * libio/ioungetwc.c: Likewise.
35762 * libio/iovdprintf.c: Likewise.
35763 * libio/iovsprintf.c: Likewise.
35764 * libio/iovsscanf.c: Likewise.
35765 * libio/memstream.c: Likewise.
35766 * libio/obprintf.c: Likewise.
35767 * libio/oldfileops.c: Likewise.
35768 * libio/oldiofclose.c: Likewise.
35769 * libio/oldiofdopen.c: Likewise.
35770 * libio/oldiofopen.c: Likewise.
35771 * libio/oldiopopen.c: Likewise.
35772 * libio/oldstdfiles.c: Likewise.
35773 * libio/putc.c: Likewise.
35774 * libio/setbuf.c: Likewise.
35775 * libio/setlinebuf.c: Likewise.
35776 * libio/stdfiles.c: Likewise.
35777 * libio/strops.c: Likewise.
35778 * libio/vasprintf.c: Likewise.
35779 * libio/vscanf.c: Likewise.
35780 * libio/vsnprintf.c: Likewise.
35781 * libio/vswprintf.c: Likewise.
35782 * libio/wfiledoalloc.c: Likewise.
35783 * libio/wfileops.c: Likewise.
35784 * libio/wgenops.c: Likewise.
35785 * libio/wmemstream.c: Likewise.
35786 * libio/wstrops.c: Likewise.
35787 * libio/__fpurge.c: Likewise.
35788 * libio/__fsetlocking.c: Likewise.
35789 * assert/assert.c: Likewise.
35790 * debug/fgets_chk.c: Likewise.
35791 * debug/fgets_u_chk.c: Likewise.
35792 * debug/fread_chk.c: Likewise.
35793 * debug/fread_u_chk.c: Likewise.
35794 * debug/gets_chk.c: Likewise.
35795 * debug/obprintf_chk.c: Likewise.
35796 * debug/vasprintf_chk.c: Likewise.
35797 * debug/vdprintf_chk.c: Likewise.
35798 * debug/vsnprintf_chk.c: Likewise.
35799 * debug/vsprintf_chk.c: Likewise.
35800 * malloc/mtrace.c: Likewise.
35801 * misc/error.c: Likewise.
35802 * misc/syslog.c: Likewise.
35803 * stdio-common/asprintf.c: Likewise.
35804 * stdio-common/fxprintf.c: Likewise.
35805 * stdio-common/getw.c: Likewise.
35806 * stdio-common/isoc99_fscanf.c: Likewise.
35807 * stdio-common/isoc99_scanf.c: Likewise.
35808 * stdio-common/isoc99_vfscanf.c: Likewise.
35809 * stdio-common/isoc99_vscanf.c: Likewise.
35810 * stdio-common/isoc99_vsscanf.c: Likewise.
35811 * stdio-common/printf-prs.c: Likewise.
35812 * stdio-common/printf_fp.c: Likewise.
35813 * stdio-common/printf_fphex.c: Likewise.
35814 * stdio-common/printf_size.c: Likewise.
35815 * stdio-common/putw.c: Likewise.
35816 * stdio-common/scanf.c: Likewise.
35817 * stdio-common/sprintf.c: Likewise.
35818 * stdio-common/tmpfile.c: Likewise.
35819 * stdio-common/vfprintf.c: Likewise.
35820 * stdio-common/vfscanf.c: Likewise.
35821 * stdlib/strfmon_l.c: Likewise.
35822 * sunrpc/openchild.c: Likewise.
35823 * sunrpc/xdr_stdio.c: Likewise.
35824 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35825 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35826
d6c33fda
RM
358272012-05-24 Roland McGrath <roland@hack.frob.com>
35828
c1487492
RM
35829 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35830
35831 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35832 in the third column, to generate for the shared library an IFUNC
35833 that uses _dl_vdso_vsym.
35834 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35835 * Makeconfig (object-suffixes-noshared): New variable.
35836
35837 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35838 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35839 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35840 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35841
d6c33fda
RM
35842 [BZ #14132]
35843 * include/sys/time.h (__gettimeofday): Remove macro.
35844 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35845 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35846 Remove INTDEF.
35847 (__gettimeofday): Add libc_hidden_def.
35848 (gettimeofday): Add libc_hidden_weak.
35849 * sysdeps/mach/gettimeofday.c: Likewise.
35850 * sysdeps/posix/gettimeofday.c: Likewise.
35851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35852 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35854 (__gettimeofday_internal): Remove strong_alias.
35855 (__gettimeofday): Add libc_hidden_def.
35856 (gettimeofday): Add libc_hidden_weak.
35857 * sysdeps/unix/syscalls.list (gettimeofday):
35858 Remove __gettimeofday_internal alias.
35859
b5a2bbe6
L
358602012-05-24 Daniel Jacobowitz <drow@false.org>
35861 H.J. Lu <hongjiu.lu@intel.com>
35862
35863 [BZ #12495]
35864 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35865 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35866 (largebin_index_32_big): New.
35867 (largebin_index): Use it for 16-byte alignment.
35868 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35869 correction with front_misalign.
35870
cfba4fda
L
358712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35872
7f907421
L
35873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35875 Likewise.
35876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35877 Likewise.
35878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35879 Likewise.
35880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35881 Likewise.
35882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35883 Likewise.
35884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35885 Likewise.
35886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35887 Likewise.
35888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35889 Likewise.
35890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35891 Likewise.
35892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35893 Likewise.
35894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35895 Likewise.
35896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35897 Likewise.
35898
cfba4fda
L
35899 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35900 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35901
80bad0cc
JM
359022012-05-24 Joseph Myers <joseph@codesourcery.com>
35903
7a25eb06
JM
35904 [BZ #10846]
35905 [BZ #14036]
35906 * math/libm-test.inc (exp_test): Add test from bug 14036.
35907 (pow_test): Add test from bug 10846.
35908
795405f9
JM
35909 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35910 and other flags.
35911 (special_function): Do not include flags in test name.
35912 (parse_args): Likewise.
35913 * sysdeps/i386/fpu/libm-test-ulps: Update.
35914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35916 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35918
80bad0cc
JM
35919 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35920 exceptions.
35921 * math/libm-test.inc ("Philosophy"): Update comment about
35922 exception testing.
35923 (UNDERFLOW_EXCEPTION): New macro.
35924 (UNDERFLOW_EXCEPTION_OK): Likewise.
35925 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35926 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35927 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35928 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35929 (INVALID_EXCEPTION_OK): Update value.
35930 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35931 (OVERFLOW_EXCEPTION_OK): Likewise.
35932 (IGNORE_ZERO_INF_SIGN): Likewise.
35933 (test_exceptions): Handle underflow exceptions.
35934 (acos_test): Update for underflow exception expectations.
35935 (cexp_test): Likewise.
35936 (clog_test): Likewise.
35937 (clog10_test): Likewise.
35938 (csqrt_test): Likewise.
35939 (ctan_test): Likewise.
35940 (ctanh_test): Likewise.
35941 (exp_test): Likewise.
35942 (exp10_test): Likewise.
35943 (exp2_test): Likewise.
35944 (expm1_test): Likewise.
35945 (fma_test): Likewise.
35946 (j0_test): Likewise.
35947 (jn_test): Likewise.
35948 (nexttoward_test): Likewise.
35949 (pow_test): Likewise.
35950 (scalbn_test): Likewise.
35951 (scalbln_test): Likewise.
35952 (tan_test): Likewise.
35953 (y1_test): Likewise.
35954 * sysdeps/i386/fpu/libm-test-ulps: Update.
35955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35956
9e0e3d0b
DM
359572012-05-23 David S. Miller <davem@davemloft.net>
35958
35959 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35960 (__libc_sigaction): Remove unused local variables.
35961
ccd0a08f
L
359622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35963
35964 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35965
62bdf9a6
PE
359662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35967
f8591f80
PE
35968 mktime: avoid signed integer overflow
35969 * time/mktime.c (__mktime_internal): Do not mishandle the case
35970 where diff == INT_MIN.
35971
94c7d826
PE
35972 mktime: simplify computation of average
35973 * time/mktime.c (ranged_convert): Use new time_t_avg function
35974 instead of rolling our own (probably-slower) code.
35975
ce73d683
PE
35976 mktime: do not assume signed right shift propagates sign bit
35977 * time/mktime.c (isdst_differ): New static function.
35978 (__mktime_internal): No need to normalize tm_isdst now.
35979 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35980 tm_isdst values.
35981
72a22e59
PE
35982 mktime: merge another wrapv change from gnulib
35983 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35984 from some compilers.
35985
68605433
PE
35986 mktime: remove incorrect attempt at unusual arithmetics
35987 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35988 The code didn't really work on such machines anyway.
35989 (TYPE_MINIMUM): Assume two's complement.
35990 (twos_complement_arithmetic): Verify that long_int and time_t
35991 are two's complement (or unsigned, in the latter case).
35992
03cf7fe3
PE
35993 mktime: check signed shifts on long_int and time_t, too
35994 * time/mktime.c (SHR): Check that shifts work as desired
35995 on the types long_int and time_t too, as SHR is used on
35996 such types.
35997
f04dfbc2
PE
35998 mktime: do not assume 'long' is wide enough
35999 * time/mktime.c (verify): Move decl up.
36000 (long_int): New type.
36001 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36002 to remove assumption in the code that 'long' is wide enough to
36003 store year values. This assumption is not true on x32 and on
36004 some non-glibc platforms.
36005
62bdf9a6
PE
36006 mktime: merge wrapv change from gnulib
36007 * time/mktime.c (WRAPV): New macro.
36008 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36009 (guess_time_tm, __mktime_internal): Do not assume that signed
36010 integer overflow wraps around; modern compilers generate code
36011 where this assumption is no longer valid.
36012
5e292e4f
L
360132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36016 Replace "jmp L(pseudo_end)" with "ret".
36017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36018 Likewise.
36019
8caf8c87
AJ
360202012-05-23 Andreas Jaeger <aj@suse.de>
36021
36022 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36023 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36024
1a09dc56
AJ
360252012-05-23 Andreas Jaeger <aj@suse.de>
36026 Maximilian Attems <max@stro.at>
36027
36028 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36029 New macros.
36030
1c87aba0
L
360312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36032
36033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36034 code so that pseudo_end is just ret and the stack pointer is
36035 correct also for static library in error case.
36036
40e45bd5
JM
360372012-05-23 Joseph Myers <joseph@codesourcery.com>
36038
c2670533
JM
36039 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36040 move to syscalls.list.
36041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36045
40e45bd5
JM
36046 * manual/install.texi (Running make install): Do not mention Linux
36047 kernel version for which pt_chown is not needed.
36048 (Linux): Do not mention problems with nscd with 2.0 kernels.
36049 * INSTALL: Regenerated.
36050
be08eda5
AJ
360512012-05-23 Andreas Jaeger <aj@suse.de>
36052
36053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36054 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36055 macro.
36056 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36057 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36058 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36060 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36062 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36066 * sysdeps/unix/sysv/linux/bits/in.h
36067 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36068
a6a056bb
RM
360692012-05-22 Roland McGrath <roland@hack.frob.com>
36070
36071 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36072 (PREPARE_VERSION): Just use assert instead, it will be elided
36073 under [NDEBUG] anyway.
36074
c9009328
L
360752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36076
36077 * sysdeps/unix/sysv/linux/Makefile: Include
36078 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36079 (sysdep_routines): Remove sysctl.
c9009328
L
36080 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36081 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36082 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36083 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36084 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36085
73338355
AJ
360862012-05-22 Andreas Jaeger <aj@suse.de>
36087
36088 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36089 that pseudo_end is just ret and the stack pointer is correct also
36090 for static library in error case.
36091
d44638b0
PP
360922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36093
36094 [BZ #14122]
36095 * nss/nsswitch.c (defconfig_entries): New variable.
36096 (__nss_database_lookup): Don't leak defconfig entries.
36097 (nss_parse_service_list): Don't leak on error paths.
36098 (free_database_entries): New function.
36099 (free_defconfig): New function.
36100 (free_mem): Move common code to free_database_entries.
36101
31a39bd8
L
361022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36103
da0331a8
L
36104 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36105 Add arch_prctl.
36106 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36107
31a39bd8
L
36108 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36109 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36111 New macro.
36112 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36113 (INTERNAL_SYSCALL_TYPES): Likewise.
36114 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36115 (LOAD_REGS_TYPES_[1-6]): Likewise.
36116 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36117 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36118
45470df3
AZ
361192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36120
36121 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36122 copysignl for GLIBC_2_0.
36123 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36124 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36126 logbl for GLIBC_2_0.
36127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36128 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36129
98a61bcb
L
361302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36131
a4f6e481
L
36132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36134
f63d5db6
L
36135 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36136 Use "neg %eax".
36137
98a61bcb
L
36138 * time/mktime.c: Update copyright years.
36139
95770f14
PE
361402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36141
6226efbd
PE
36142 mktime: merge comment-quoting-style change from gnulib
36143 * time/mktime.c: Quote 'like this' in comments.
36144 The GNU coding standards suggest that we no longer quote `like this',
36145 as "`" and "'" are typically rendered asymmetrically nowadays.
36146 The typical gnulib style is to quote 'like this' when quoting
36147 code, and "like this" when quoting English.
36148
b99e4f78
PE
36149 * time/mktime.c (compile-command): Add "-I.".
36150
643e01e6
PE
36151 mktime: merge mktime-internal.h change from gnulib
36152 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36153
2554247d
PE
36154 mktime: merge time_r change from gnulib
36155 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36156
826dd0ab
PE
36157 mktime: merge DEBUG change from gnulib
36158 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36159 case system <time.h> has a #define.
36160
bd83aabe
PE
36161 mktime: merge <sys/types.h> change from gnulib
36162 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36163 since <time.t> is now guaranteed to define time_t.
36164
95770f14
PE
36165 mktime: merge HAVE_CONFIG_H change from gnulib
36166 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36167
5e1a27a9
L
361682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36169
0e44a77e
L
36170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36171 Use "neg %eax".
36172
5e1a27a9
L
36173 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36174 __rlim_t cast.
36175 (struct rusage): Use anonymous union to pad each field to
36176 __syscall_slong_t.
36177
46259bec
DM
361782012-05-21 David S. Miller <davem@davemloft.net>
36179
36180 * Makefules (o-iterator): Remove .s cases.
36181 (compile-command.s): Delete.
36182 (COMPILE.s): Delete.
36183 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36184
59f0c22e
JM
361852012-05-21 Joseph Myers <joseph@codesourcery.com>
36186
36187 * configure.in (libc_cv_predef_stack_protector): Only consider
36188 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36189 * configure: Regenerated.
36190
20c07380
L
361912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36192
bbb3154b
L
36193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36194 New macro. Use R*LP on int and pointer.
36195 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36196 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36197 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36198 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36199
20c07380
L
36200 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36201 [__WORDSIZE_TIME64_COMPAT32] instead of
36202 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36203 (struct utmp): Likewise.
36204 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36205 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36206 Renamed to ...
36207 (__WORDSIZE_TIME64_COMPAT32): This.
36208 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36209 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36210 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36211 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36212 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36213 (__WORDSIZE_TIME64_COMPAT32): New macro.
36214
d8d1017e
AJ
362152012-05-21 Andreas Jaeger <aj@suse.de>
36216
36217 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36218 only if [SHARED]. Add prototype for __wcschr_ia32.
36219
6c7fb145
RM
362202012-05-21 Roland McGrath <roland@hack.frob.com>
36221
36222 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36223 of %rbp unmolested in the jmp_buf while mangling the low bits.
36224 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36225 unmolested high bits of %rbp while demangling the low bits.
36226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36227
66274218
AJ
362282012-05-21 Andreas Jaeger <aj@suse.de>
36229
07c58f8f
AJ
36230 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36231 * sunrpc/svc_simple.c: Use it for registerrpc.
36232 * sunrpc/xcrypt.c: Use it for passwd2des.
36233
66274218
AJ
36234 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36235
61f65140
L
362362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36237
36238 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36239 Don't define if [__SYSCALL_WORDSIZE != 32].
36240 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36241 New macro.
36242
5fefb436
AJ
362432012-05-21 Bruno Haible <bruno@clisp.org>
36244 Andreas Jaeger <aj@suse.de>
36245
36246 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36247 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36248 inptr and inend for must_buffer_ch.
36249 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36250 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36251 * stdio-common/Makefile (tests): Remove bug15.
36252 (bug15-ENV): Remove macro.
36253 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36254 anymore.
36255
d8e272ab
AJ
362562012-05-19 Andreas Jaeger <aj@suse.de>
36257 Roland McGrath <roland@hack.frob.com>
36258
36259 * manual/contrib.texi: Completely rewritten. It contains now an
36260 alphabetical list of contributors and their contributions.
36261
4a56a162
RH
362622012-05-21 Richard Henderson <rth@twiddle.net>
36263
36264 * misc/getauxval.c (__getauxval): Use unsigned long int.
36265 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36266 (getauxval): Use unsigned long int.
36267
d024d23c
L
362682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36269
36270 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36271
cbc00a03
RM
362722012-05-21 Roland McGrath <roland@hack.frob.com>
36273
36274 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36275 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36276 __alignof__ (long double).
36277
478143fa
AZ
362782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36279
36280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36281
c7683a6d
RH
362822012-05-20 Richard Henderson <rth@twiddle.net>
36283
36284 * misc/getauxval.c: New file.
36285 * misc/sys/auxv.h: New file.
36286 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36287 (routines): Add getauxval.
36288 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36289 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36290 * elf/dl-sysdep.c (_dl_auxv): Remove.
36291 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36292 * elf/dl-support.c (_dl_auxv): New variable.
36293 (_dl_aux_init): Initialize it.
36294 * manual/startup.texi (Auxiliary Vector): New node.
36295 * sysdeps/generic/bits/hwcap.h: New file.
36296 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36297 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36298 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36299 * sysdeps/sparc/sysdep.h: ... here. Include it.
36300 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36303 Update.
c7683a6d
RH
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36312
a6f1845d
AZ
363132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36314
36315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36316
cbcbe830
DM
363172012-05-19 David S. Miller <davem@davemloft.net>
36318
36319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36320
e0b16cc2
JM
363212012-05-19 Joseph Myers <joseph@codesourcery.com>
36322
36323 [BZ #14123]
36324 * math/s_ccosh.c: Include <float.h>
36325 (__ccosh): Avoid internal overflow calculating sinh and cosh
36326 values before multiplying by sin and cos values.
36327 * math/s_ccoshf.c: Likewise.
36328 * math/s_ccoshl.c: Likewise.
36329 * math/s_csin.c: Likewise.
36330 * math/s_csinf.c: Likewise.
36331 * math/s_csinl.c: Likewise.
36332 * math/s_csinh.c: Likewise.
36333 * math/s_csinhf.c: Likewise.
36334 * math/s_csinhl.c: Likewise.
36335 * math/libm-test.inc (ccos_test): Add more tests.
36336 (ccosh_test): Likewise.
36337 (csin_test): Likewise.
36338 (csinh_test): Likewise.
36339 * sysdeps/i386/fpu/libm-test-ulps: Update.
36340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36341
6ad13e08
L
363422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36343
f66f0ce8
L
36344 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36345 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36346
6ad13e08
L
36347 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36348
b1d072a7
JM
363492012-05-19 Joseph Myers <joseph@codesourcery.com>
36350
36351 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36352 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36353 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36354 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36355 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36356 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36357 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36358 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36359 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36360 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36361 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36362 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36363 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36364 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36365 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36366 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36367 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36368 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36369 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36370 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36371 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36372 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36373 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36374 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36375 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36376 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36377 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36378 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36379 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36380 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36381 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36382
9eae47cb
AJ
363832012-05-18 Andreas Jaeger <aj@suse.de>
36384
36385 * csu/.gitignore: Delete.
36386
bb07f69f
L
363872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36388
36389 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36390 (timex): Use __syscall_slong_t.
36391
e6bdb741
AJ
363922012-05-18 Andreas Jaeger <aj@suse.de>
36393 Carlos O'Donell <carlos_odonell@mentor.com>
36394
36395 * manual/install.texi (Configuring and compiling): Update
36396 description about files modified in the source directory.
d6c33fda 36397 * INSTALL: Regenerated.
e6bdb741 36398
1b74487e
L
363992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36400
36401 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36402 value. Use "or" to set return value to -1.
36403 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36404 negate return value.
36405
a88b64b9
TMQMF
364062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36407
57f41c40
AS
36408 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36409 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36410 failure if the compiler has Graphite support disabled.
36411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36412 Likewise.
57f41c40
AS
36413 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36414 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36415 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36416 Likewise.
36417
3707636e
L
364182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36419
610b8622
L
36420 * sysdeps/x86_64/x32/_itoa.h: New file.
36421
7cd195df
L
36422 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36423 getdents system call only if kernel and user dirents have the
36424 same d_ino and d_off.
36425
94b07d20
L
36426 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36427 LLONG_MAX != LONG_MAX.
36428 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36429 (_fitoa_word): Likewise.
36430
18298070
L
36431 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36432 years.
36433 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36434 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36435 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36436
553c7ea4
L
36437 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36438 include <bits/wordsize.h>. Check __x86_64__ instead of
36439 __WORDSIZE.
36440 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36441 if __x86_64__ is defined. Use anonymous union on fpstate.
36442
3707636e
L
36443 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36444 anonymous union.
36445
b53ef01a
AS
364462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36447
37fb1dc0
AS
36448 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36449 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36450 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36451 Refer to _rtld_local_ro instead of _rtld_global_ro.
36452 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36453 Likewise.
36454 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36455 Likewise.
36456 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36457 Likewise.
36458 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36459 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36460 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36461
b53ef01a
AS
36462 * sysdeps/powerpc/powerpc32/dl-machine.c
36463 (__elf_machine_runtime_setup) [PROF]: Don't reference
36464 _dl_prof_resolve.
36465
7a185db2
AJ
364662012-05-18 Andreas Jaeger <aj@suse.de>
36467
36468 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36469 function only available for GCCs before 3.4 since GCC 3.4
36470 introduced a builtin.
36471 (lrint): Likewise.
36472 (llrintf): Likewise.
36473 (llrint): Likewise.
36474 (fmaxf): Likewise.
36475 (fmax): Likewise.
36476 (fminf): Likewise.
36477 (fmin): Likewise.
36478 (rint): Likewise.
36479 (rintf): Likewise.
36480 (nearbyint): Likewise.
36481 (nearbyintf): Likewise.
36482 (ceil): Likewise.
36483 (ceilf): Likewise.
36484 (floor): Likewise.
36485 (floorf): Likewise.
36486
3e5aef87
L
364872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36488
428bd707
L
36489 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36490 on both fields and cast pointer to __syscall_ulong_t.
36491
3e5aef87
L
36492 * bits/types.h (__fsword_t): New type.
36493 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36494 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36496 (__FSWORD_T_TYPE): Likewise.
36497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36498 (__FSWORD_T_TYPE): Likewise.
36499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36500 (__FSWORD_T_TYPE): Likewise.
36501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36502 (__FSWORD_T_TYPE): Likewise.
36503 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36504 __SWORD_TYPE with __fsword_t.
36505 (statfs64): Likewise.
36506
1ba7c3dc
DM
365072012-05-17 David S. Miller <davem@davemloft.net>
36508
36509 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36510
59910343
AJ
365112012-05-17 Andreas Jaeger <aj@suse.de>
36512
36513 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36514 warning.
36515
2e4c1e9e
L
365162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36517
36518 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36519
de7f5ce7
AJ
365202012-05-17 Andreas Jaeger <aj@suse.de>
36521
36522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36523 when it is used.
36524
286abc3d
CM
365252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36526
36527 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36528
477cc68e
L
365292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36530
36531 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36532 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36533
1a0994f5
CD
365342012-05-17 Andreas Jaeger <aj@suse.de>
36535 Carlos O'Donell <carlos_odonell@mentor.com>
36536
36537 [BZ #14059]
36538 * sysdeps/x86_64/multiarch/init-arch.h
36539 (bit_YMM_Usable): Rename to...
36540 (bit_AVX_Usable): ... this.
36541 (bit_FMA4_Usable): New macro.
36542 (bit_XMM_state): New macro.
36543 (bit_YMM_state): New macro.
36544 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36545 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36546 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36547 (CPUID_OSXSAVE): New macro.
36548 (CPUID_AVX): New macro.
36549 (CPUID_FMA4): New macro.
36550 (index_YMM_Usable): Rename to...
36551 (index_AVX_Usable): ... this.
36552 (HAS_AVX): Use HAS_ARCH_FEATURE.
36553 (HAS_FMA4): Likewise.
36554 (HAS_YMM_USABLE): Remove.
36555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36556 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36557 are present.
36558 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36559 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36560 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36561 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36562 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36563
0af797de
CM
365642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36565
36566 * math/libm-test.c: Support platforms without multiple rounding modes.
36567 * math/bug-nextafter.c: Support platforms without FP exceptions.
36568 * math/bug-nexttoward.c: Likewise.
36569 * math/test-fenv.c: Likewise.
36570 * math/test-misc.c: Likewise.
36571 * stdlib/bug-getcontext.c: Likewise.
36572
e39745ff
AJ
365732012-05-17 Andreas Jaeger <aj@suse.de>
36574
36575 * manual/examples/search.c (critter_cmp): Change signature to
36576 avoid warnings.
36577 * manual/string.texi (Collation Functions): Likewise.
36578
48970aba
L
365792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36580
36581 * bits/types.h: Fold copyright years.
36582 * bits/typesizes.h: Likewise.
36583 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36587 * time/time.h: Likewise.
36588
bedee953
PP
365892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36590
36591 [BZ #208]
36592 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36593 in instead of returning them. Return void.
36594 (__libc_mallinfo): Accumulate over all arenas.
36595 (__malloc_stats): Adjust for change in int_mallinfo interface.
36596
61653dfb
RM
365972012-05-16 Roland McGrath <roland@hack.frob.com>
36598
30b99d79
RM
36599 [BZ #10375]
36600 * configure.in (NM): Add AC_CHECK_TOOL for it.
36601 (libc_extra_cflags): New substituted variable.
36602 Check for -fstack-protector being used implicitly.
36603 * configure: Regenerated.
36604 * config.make.in (config-extra-cflags): New variable,
36605 gets @libc_extra_cflags@.
36606 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36607
61653dfb
RM
36608 [BZ #10375]
36609 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36610 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36611 * configure: Regenerated.
36612 * config.make.in (CPPUNDEFS): New substituted variable.
36613 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36614 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36615 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36616
661768bb
L
366172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36618
36619 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36620 (mq_attr): Use __syscall_slong_t.
36621
d4261567
L
366222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36623
36624 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36625 Check __x86_64__ instead of __WORDSIZE.
36626 (_STAT_VER_LINUX): Likewise.
36627 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36628 __syscall_ulong_t and __syscall_slong_t.
36629 (stat64): Likewise.
36630
cf3ff365
L
366312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36632
36633 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36634
76cf3e4d
L
366352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36636
36637 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36638
a637753a
L
366392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36640
36641 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36642 __syscall_ulong_t.
36643
d5e05119
L
36644 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36645 include <bits/wordsize.h>. Check __x86_64__ instead of
36646 __WORDSIZE.
36647 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36648 defined.
36649 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36650
f62ee380
L
36651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36652 include <bits/wordsize.h>. Check __x86_64__ instead of
36653 __WORDSIZE.
36654 (user_regs_struct): Use "__extension__ unsigned long long"
36655 instead of "unsigned long" if __x86_64__ is defined.
36656 (user): Likewise. Pad after pointer field if __ILP32__ is
36657 defined.
36658
4e124ced
JM
366592012-05-16 Joseph Myers <joseph@codesourcery.com>
36660
6a3951a0
JM
36661 * configure.in (makeinfo): Require version 4.5 or later. Allow
36662 versions 5 to 9.
36663 * configure: Regenerated.
36664 * manual/install.texi (texinfo): Increase version requirement to
36665 4.5 or later.
36666 * INSTALL: Regenerated.
36667
4e124ced
JM
36668 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36669
953ca31a
L
366702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36671
36672 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36673
617aca05
L
36674 * sysdeps/x86_64/x32/ffs.c: New file.
36675
5762f7ae
L
36676 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36677 __syscall_ulong_t.
36678 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36679 defined. Use __syscall_ulong_t.
36680 (shminfo): Use __syscall_ulong_t.
36681 (shm_info): Likewise.
36682
a26b6856
L
36683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36684 __syscall_ulong_t.
36685
cb2b9ef7
L
36686 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36687 <bits/wordsize.h>.
36688 (msgqnum_t): Use __syscall_ulong_t.
36689 (msglen_t): Likewise.
36690 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36691 __syscall_ulong_t.
36692
34683bb0
L
36693 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36694 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36695
84a68786
L
36696 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36697
48baa5f1
L
36698 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36699 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36700
180be88b
L
36701 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36702 __syscall_slong_t.
36703
5e90c8ad
L
36704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36705 include <bits/wordsize.h>. Check __x86_64__ instead of
36706 __WORDSIZE.
36707
23dfb58b
L
36708 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36709 "unsigned long long int" if __x86_64__ is defined.
36710 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36711
ce5d54b0
L
36712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36714 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36715
13dc9eac
L
36716 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36717 <stdint.h>.
36718 (GET_PC): Cast to uintptr_t first.
36719 (GET_FRAME): Likewise.
36720 (GET_STACK): Likewise.
36721
a7895d15
L
36722 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36724 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36725 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36726 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36727 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36728 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36729 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36730 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36732 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36734 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36735 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36740 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36742 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36750 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36751
656416c9
AS
367522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36753
5bd66283
AS
36754 * Makerules (+depfiles): Also collect depfiles from .oS in
36755 $(extra-objs).
36756 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36757 .oS, $(libnldbl-routines)).
36758
656416c9
AS
36759 * Makerules (native-compile-mkdep-flags): Define.
36760 * sunrpc/Makefile (extra-objs): Add $(addprefix
36761 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36762 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36763 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36764 calling $(make-target-directory).
36765
a46f2169
L
367662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 * bits/types.h (__snseconds_t): Removed.
36769 * time/time.h (struct timespec): Replace __snseconds_t with
36770 __syscall_slong_t.
36771 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36772 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36773 Likewise.
36774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36775 (__SNSECONDS_T_TYPE): Likewise.
36776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36777 (__SNSECONDS_T_TYPE): Likewise.
36778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36779 (__SNSECONDS_T_TYPE): Likewise.
36780
6af6528b
L
367812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36782
36783 * sysdeps/mach/hurd/bits/typesizes.h
36784 (__SYSCALL_SLONG_TYPE): New macro.
36785 (__SYSCALL_ULONG_TYPE): Likewise.
36786
de986b56
L
367872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36788
36789 * bits/types.h (__syscall_slong_t): New type.
36790 (__syscall_ulong_t): Likewise.
36791
36792 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36793 (__SYSCALL_ULONG_TYPE): Likewise.
36794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36795 (__SYSCALL_SLONG_TYPE): Likewise.
36796 (__SYSCALL_ULONG_TYPE): Likewise.
36797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36798 (__SYSCALL_SLONG_TYPE): Likewise.
36799 (__SYSCALL_ULONG_TYPE): Likewise.
36800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36801 (__SYSCALL_SLONG_TYPE): Likewise.
36802 (__SYSCALL_ULONG_TYPE): Likewise.
36803
85736dc7
L
368042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36805
36806 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36807 Add sigaltstack-offsets.sym.
36808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36809 <sigaltstack-offsets.h>.
36810 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36811 longjmp_msg pointer.
36812 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36813 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36814 signal stack.
36815 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36816
cc03b296
JM
368172012-05-15 Joseph Myers <joseph@codesourcery.com>
36818
a9538892
JM
36819 * elf/stackguard-macros.h: Remove file.
36820 * sysdeps/generic/stackguard-macros.h: New file.
36821 * sysdeps/i386/stackguard-macros.h: Likewise.
36822 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36823 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36824 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36825 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36826 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36827 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36828 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36829 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36830 <elf/stackguard-macros.h>.
36831
cc03b296
JM
36832 [BZ #14109]
36833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36834 __aligned__ in attribute.
36835 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36836 (gregset_t): Likewise.
36837
93171016
L
368382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36839
36840 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36841 * sysdeps/x86_64/64/Implies-after: Here. New file.
36842 * sysdeps/x86_64/x32/Implies-after: New file.
36843
d86813a0
L
368442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36845
36846 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36847 and access return value for _dl_profile_fixup. Use R10_LP to
36848 load frame size.
36849
2953ec75
L
368502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36851
36852 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36853
3b550e9e
L
368542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36855
36856 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36857 * sysdeps/x86_64/x32/sysdep.h: New file.
36858
eda41706
L
368592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36860
36861 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36862 * sysdeps/x86_64/setjmp.S: Likewise.
36863
9ea01d93
AZ
368642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36865
36866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36867 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36868 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36870 remove unused global constant.
36871
02a91938
CM
368722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36873
36874 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36875 include of <not-cancel.h>.
36876
6540185f
RM
368772012-05-15 Roland McGrath <roland@hack.frob.com>
36878
36879 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36880
509072a0
AJ
368812012-05-15 Jeff Law <law@redhat.com>
36882 Andreas Jaeger <aj@suse.de>
36883
36884 [BZ #13594]
36885 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36886 out from...
36887 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36888 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36889 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36890 code changing __hst_map_handle.map.
36891
ba75122d
RM
368922012-05-15 Roland McGrath <roland@hack.frob.com>
36893
36894 * configure.in (sysnames): Look for Implies-before and Implies-after
36895 files.
36896 * configure: Regenerated.
36897
890d8bd8
L
368982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36899
36900 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36901 8-byte data alignment with LP_SIZE alignment.
36902
f6ee6623
L
369032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36906 into R10_LP.
36907
ea2626f6
L
369082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36909
36910 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36911
085f715e
L
369122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36915 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36917 Likewise.
36918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36919
be8498fc
L
369202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36921
36922 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36923 (stackinfo_sub_sp): Likewise.
36924
70bc83b9
L
369252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36928 RAX_LP.
36929
9bc0b730
L
369302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36931
36932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36933 into R*_LP.
36934
6d2850e7
L
369352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36936
36937 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36938 sizes into R*_LP.
36939
3cb84561
L
369402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36941
36942 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36943
54e2ed81
L
369442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36945
36946 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36947 into R11_LP and load __x86_64_shared_cache_size_half into
36948 R8_LP.
36949
8a17f349
L
369502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36951
36952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36953 R8_LP.
36954
777b1eea
AZ
369552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36956
36957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36958 logb for POWER7.
36959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36960 logbf for POWER7.
36961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36962 logbl for POWER7.
36963 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36964 powerpc32/power7/fpu/s_logb.c via #include.
36965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36966 powerpc32/power7/fpu/s_logbf.c via #include.
36967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36968 powerpc32/power7/fpu/s_logbl.c via #include.
36969
d20d4ac2
JM
369702012-05-15 Joseph Myers <joseph@codesourcery.com>
36971
36972 * README.libm: Remove file.
36973
6cdef1ab
L
369742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36975
36976 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36977 count for x32. Use R*_LP and omit operand-size suffix.
36978
0b254d8f
L
369792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36980
36981 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36982 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36983 * sysdeps/x86_64/x32/shlib-versions: New file.
36984
ceb809dc
RM
369852012-05-14 Roland McGrath <roland@hack.frob.com>
36986
36987 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36988 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36989 Use _dl_fatal_printf instead.
36990
37f1abd4
JM
369912012-05-14 Joseph Myers <joseph@codesourcery.com>
36992
36993 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36994 set if not set by the user. Do not allow for being unset.
36995 * sysdeps/unix/sysv/linux/configure: Regenerated.
36996
11de3a33
L
369972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36998
36999 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37000 the `q' suffix from lea and replace .quad with ASM_ADDR.
37001
e02f153a
L
370022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37005 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37006 instead of $17.
37007 (PTR_DEMANGLE): Likewise.
37008
520ae0fd
L
370092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37010
37011 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37012 (LP_OP): Likewise.
37013 (ASM_ADDR): Likewise.
37014 (RAX_LP): Likewise.
37015 (RBP_LP): Likewise.
37016 (RBX_LP): Likewise.
37017 (RCX_LP): Likewise.
37018 (RDI_LP): Likewise.
37019 (RSI_LP): Likewise.
37020 (RSP_LP): Likewise.
37021 (R8_LP): Likewise.
37022 (R9_LP): Likewise.
37023 (R10_LP): Likewise.
37024 (R10_LP): Likewise.
37025 (R11_LP): Likewise.
37026 (R12_LP): Likewise.
37027 (R13_LP): Likewise.
37028 (R14_LP): Likewise.
37029 (R15_LP): Likewise.
37030
b985be81
L
370312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 * sysdeps/x86_64/x32/dl-machine.h: New file.
37034
6a4888ff
AJ
370352012-05-14 Andreas Jaeger <aj@suse.de>
37036
37037 * manual/Makefile (subdir): Remove export of subdir.
37038 (all): Remove target.
37039 (.PHONY): Remove all from list.
37040 (mkinstalldirs): Remove.
37041 (.PHONY): Remove installdirs from list.
37042 ($(inst_infodir)/libc.info): Use make-target-directory.
37043 (installdirs): Remove.
37044 (subdir_%): Remove.
37045 (glibc-targets): Remove.
37046 (lib): Remove.
37047 (stubs): Remove.
37048 ($(objpfx)stubs ../po/manual.pot): Remove.
37049 ($(objpfx)stamp%): Remove.
37050 (make-target-directory): Remove.
37051 (subdir_install): Remove.
37052 (routines): Remove.
37053 (aux): Remove.
37054 (sources): Remove.
37055 (objects): Remove.
37056 (headers): Remove.
37057
37058 [BZ #13750]
37059 * manual/.gitignore: Remove, it's not needed anymore.
37060 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37061 all files in it.
37062 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37063 directory.
37064 (texis): Renamed to $(objpfx)texis.
37065 (texis-path): New, contains path to generated files.
37066 (chapters.%): Use texis-path for complete path, add extra argument
37067 libc-texinfo.sh.
37068 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37069 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37070 (summary,texi, stamp-summary): Use complete path of
37071 files. Generate files in build dir.
37072 (dir-add.texi): Build in build dir.
37073 (libm-err.texi,stamp-libm-err): Likewise.
37074 (version.texi, stamp-version): Likewise.
37075 (.%c.texi): Likewise.
37076 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37077 (mostlyclean): Remove target.
37078 (realclean): Remove target.
37079 (generated): Add new variable with contents from mostlyclean and
37080 realclean, remove entries duplicated in common-mostlyclean, add
37081 stamp-libm-err and stamp-version.
37082 (generated-dirs): Add libc directory.
37083 ($(inst_infodir)/libc.info): Install files from build dir.
37084
37085 * manual/install.texi (Configuring and compiling): Adjust since
37086 the info files are not part of the tar ball anymore.
37087
7ac77294
AJ
370882012-05-14 Andreas Jaeger <aj@suse.de>
37089
37090 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37091 variable.
37092
ffb7875d
JM
370932012-05-14 Joseph Myers <joseph@codesourcery.com>
37094
37095 [BZ #13717]
37096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37097 to 2.2.0 where earlier.
37098 * sysdeps/unix/sysv/linux/configure: Regenerated.
37099 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37100 Remove conditional code.
37101 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37102 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37103 Remove conditional code.
37104 [!__NR_lchown]: Likewise.
37105 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37106 [__NR_lchown]: Likewise.
37107 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37108 comment referencing __ASSUME_LCHOWN_SYSCALL.
37109 * sysdeps/unix/sysv/linux/i386/sigaction.c
37110 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37111 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37112 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37113 Remove conditional code.
37114 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37115 (__protocol_available): Remove #if 0 code.
37116 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37117 conditional code.
37118 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37119 * sysdeps/unix/sysv/linux/kernel-features.h
37120 (__ASSUME_GETCWD_SYSCALL): Don't define.
37121 (__ASSUME_REALTIME_SIGNALS): Likewise.
37122 (__ASSUME_PREAD_SYSCALL): Likewise.
37123 (__ASSUME_PWRITE_SYSCALL): Likewise.
37124 (__ASSUME_POLL_SYSCALL): Likewise.
37125 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37126 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37127 non-SPARC.
37128 (__ASSUME_SIOCGIFNAME): Don't define.
37129 (__ASSUME_MSG_NOSIGNAL): Likewise.
37130 (__ASSUME_SENDFILE): Define unconditionally.
37131 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37132 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37133 conditional code.
37134 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37135 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37136 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37137 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37138 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37139 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37140 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37157 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37163 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37165 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37166 Remove conditional code.
37167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37168 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37169 Remove conditional code.
37170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37171 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37172 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37173 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37174 Remove conditional code.
37175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37176 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37177 Remove conditional code.
37178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37179 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37180 Remove conditional code.
37181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37182 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37183 Remove conditional code.
37184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37185 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37186 Remove conditional code.
37187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37188 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37191 * sysdeps/unix/sysv/linux/sigaction.c
37192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37194 * sysdeps/unix/sysv/linux/sigpending.c
37195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37197 * sysdeps/unix/sysv/linux/sigprocmask.c
37198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37200 * sysdeps/unix/sysv/linux/sigsuspend.c
37201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37204 (__libc_missing_rt_sigs): Remove.
37205 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37206 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37207 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37208 Remove conditional code.
37209 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37210 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37211 return 1.
37212 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37213 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37214 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37215 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37216
1bfb7291
AJ
372172012-05-14 Andreas Jaeger <aj@suse.de>
37218
caae5a81
AJ
37219 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37220 it's not used in glibc.
37221 (__coshm1): Likewise.
37222 (__acosh1p): Likewise.
37223 (__sgn): Likewise.
37224
1bfb7291
AJ
37225 * manual/string.texi (Copying and Concatenation): Add missing
37226 variable in concat example.
37227 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37228
c044d724
L
372292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37230
144c5467 37231 [BZ #14103]
c044d724
L
37232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37233 __builtin_clzl with __builtin_clzll.
37234
2523c62b
L
372352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37236
37237 [BZ #14104]
37238 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37239 libc_freeres_ptr.
37240
d7bb4c42
LD
372412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37242
37243 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37244 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37245 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37247
9dc4e1fb
MF
372482012-05-14 Mike Frysinger <vapier@gentoo.org>
37249
37250 * NEWS: Update ia64 info.
37251
c7df0112
AS
372522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37253
37254 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37255 used as bcopy.
37256
dc70356c
TS
372572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37258
37259 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37260 * sysdeps/unix/syscalls.list (dup3): Likewise.
37261 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37262 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37263
9fb1a21f
L
372642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37265
37266 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37267 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37268
4822a2a5
L
372692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37270
37271 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37272 thread pointer.
37273 (TLS_IE): Use mov/add instead of movq/addq to load thread
37274 pointer.
37275 (TLS_GD_PREFIX): New.
37276 (TLS_GD): Use it.
37277
842b81d6
DM
372782012-05-11 David S. Miller <davem@davemloft.net>
37279
37280 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37281 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37282 (_FPU_SETCW): Likewise.
37283
1cf463cd
L
372842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37285
37286 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37287 is 32-byte aligned.
37288
60cc4a18
AS
372892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37290
37291 [BZ #11837]
37292 * iconvdata/gb18030.c: Update tables.
37293 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37294 characters specially.
37295 (BODY for TO_LOOP): Add encoding of missing ranges.
37296
febb44a4
TS
372972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37298
37299 [BZ #13673]
37300 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37301 * sysdeps/mach/hurd/dup3.c: Likewise.
37302 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37303 * sysdeps/powerpc/memmove.c:: Likewise.
37304
0a10fb9e
L
373052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37306
37307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37308 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37309
df8a552f
L
373102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37311
37312 * elf/elf.h (R_X86_64_RELATIVE64): New.
37313 (R_X86_64_NUM): Updated.
37314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37315 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37316 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37317 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37318 tst-quad1pie tst-quad2pie
37319 (modules-names): Add tst-quadmod1 tst-quadmod2.
37320 ($(objpfx)tst-quad1): New dependency.
37321 ($(objpfx)tst-quad2): Likewise.
37322 ($(objpfx)tst-quad1pie): Likewise.
37323 ($(objpfx)tst-quad2pie): Likewise.
37324 * sysdeps/x86_64/tst-quad1.c: New file.
37325 * sysdeps/x86_64/tst-quad1pie.c: New file.
37326 * sysdeps/x86_64/tst-quad2.c: Likewise.
37327 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37328 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37329 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37330 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37331 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37332
f34d6f84
ST
373332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37334
f42d41d1
ST
37335 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37336 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37337 * streams/stropts.h (t_scalar_t): Define type.
37338
3c3571fc
ST
37339 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37340 (_PATH_PRESERVE): Set to "/var/lib".
37341 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37342
61f06bd3
ST
37343 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37344 instead of int.
37345
918d4d71
ST
37346 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37347 if __dir_mkfile succeeded.
37348
f34d6f84
ST
37349 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37350 checking for _hurd_dtablesize. Unlock it right after having
37351 finished _hurd_dtable allocation.
37352
10589b4a
TS
373532012-05-10 Thomas Schwinge <thomas@schwinge.name>
37354
674cdbc7
TS
37355 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37356 * sysdeps/mach/hurd/configure: Regenerated.
37357 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37358 special-casing to...
37359 * sysdeps/gnu/configure.in: ... this new file.
37360 * sysdeps/unix/sysv/linux/configure: Regenerated.
37361 * sysdeps/gnu/configure: New generated file.
37362
8e41b99f
TS
37363 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37364 for Linux: use nsec instead of usec, as well as:
37365 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37366 members of type struct timespec.
37367 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37368 New macros.
37369 (struct stat64): Likewise.
37370 (_STATBUF_ST_NSEC): New macro.
37371 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37372
10589b4a
TS
37373 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37374 __strtoul_internal rather than strtoul.
37375
63643c85
PT
373762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37377
37378 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37379 and reject them.
37380
3faebe6a
ST
373812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37382
37383 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37384 which preserves existing values.
37385 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37386
c6474b07
PT
373872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37388
37389 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37390 TIMEOUT values. Return EINVAL for NFDS values either negative or
37391 greater than FD_SETSIZE.
37392
1043890b
ST
373932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37394
37395 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37396 allocated, call __vm_protect to finish enabling the existing space, and
37397 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37398 allocate the remainder.
37399
37ed8b9b
PT
374002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37401
37402 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37403 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37404
db653660
ST
374052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37406
37ed8b9b
PT
37407 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37408 sysdeps/mach/hurd/readlink.c.
b29d4053 37409
db653660
ST
37410 * posix/tst-sysconf.c (posix_options): Only use
37411 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37412 _POSIX_SYNCHRONIZED_IO when they are defined
37413 * sysdeps/mach/hurd/bits/posix_opt.h:
37414 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37415 (_XOPEN_REALTIME): Undefine macro.
37416 (_XOPEN_REALTIME_THREADS): Undefine macro.
37417 (_XOPEN_SHM): Undefine macro.
37418 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37419 macro to -1.
37420 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37421 macro to -1.
37422 (_POSIX_ASYNC_IO): Undefine macro.
37423 (_POSIX_PRIORITIZED_IO): Undefine macro.
37424 (_POSIX_SPIN_LOCKS): Define macro to -1.
37425
ee16e894
ST
37426 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37427 SA_NODEFER, SA_RESETHAND.
37428 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37429 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37430 F_DUPFD_CLOEXEC.
37431
6103ae3b
TS
374322012-05-10 Thomas Schwinge <thomas@schwinge.name>
37433
37434 * elf/Makefile (pldd-modules): Define unconditionally.
37435
80b4e5f3
TS
374362012-05-10 Thomas Schwinge <thomas@schwinge.name>
37437
37438 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37439
edadcbd6
ST
374402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37441
37442 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37443 Return ENOENT when name is empty.
37444 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37445
80694780
TS
374462012-05-10 Thomas Schwinge <thomas@schwinge.name>
37447
1792c087
TS
37448 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37449
80694780
TS
37450 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37451
6b645f0d
ST
374522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37453
80694780
TS
37454 Fix mlock in all cases except non-readable pages.
37455 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37456 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37457
6b645f0d
ST
37458 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37459 (__mkdir): When path is `/', just fail with EEXIST.
37460 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37461
e468f8a3
TS
374622012-05-10 Thomas Schwinge <thomas@schwinge.name>
37463
37464 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37465 <sys/uio.h> (for writev).
37466 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37467 and <sys/param.h> (for MIN).
37468
a4186cff
PT
374692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37470
37471 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37472 REQUESTED_TIME. Properly set the remaining time and return EINTR
37473 if interrupted.
37474
510bbf14
TS
374752012-05-10 Thomas Schwinge <thomas@schwinge.name>
37476
37477 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37478 Depend on against $(link-rpcuserlibs).
37479
5d5722e8
ST
374802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37481
a4186cff
PT
37482 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37483 (__libc_stack_end): Do not use attribute_relro.
37484 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37485 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37486 to libthread-provided value.
a4186cff
PT
37487 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37488 attribute_relro.
5d5722e8 37489
37233df9
TS
374902012-05-10 Thomas Schwinge <thomas@schwinge.name>
37491
be971a2b
TS
37492 [BZ #3748]
37493 * bits/libc-lock.h (__libc_once_get): New macro.
37494 * sysdeps/mach/bits/libc-lock.h: Likewise.
37495 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37497 instead of using implementation details.
37498
37233df9
TS
37499 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37500 * libio/freopen.c: Likewise.
37501 * libio/freopen64.c: Likewise.
37502 * misc/syslog.c: Likewise.
37503 * nscd/connections.c: Likewise.
37504 * nscd/netgroupcache.c: Likewise.
37505 * sysdeps/posix/getcwd.c: Likewise.
37506
38de94a5
RM
375072012-05-10 Roland McGrath <roland@hack.frob.com>
37508
37509 * math/w_ilogbf.c: Add #include <limits.h>.
37510
67530489
ST
375112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37512
a4186cff 37513 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37514 path instead of returning without unlocking.
37515
67530489
ST
37516 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37517 immediate-write ioctls.
37518 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37519
5aa3a74a
TS
375202012-05-10 Thomas Schwinge <thomas@schwinge.name>
37521
18bad2ae
TS
37522 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37523 __builtin_frame_address instead of making assumptions about the
37524 location of the return address relative to DATA. Force early load of
37525 the return address.
37526 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37527 __builtin_frame_address.
37528
5aa3a74a
TS
37529 dup3 for GNU Hurd.
37530 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37531 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37532 implement dup3 and do some further code clean-ups.
37533 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37534 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37535
ecd0de9a
ST
375362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37537
cd9fa985
ST
37538 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37539
a4186cff
PT
37540 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37541 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37542 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37543 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37544 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37545 d->port.lock.
802ca5a5 37546
a4186cff
PT
37547 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37548 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37549 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37550
bcf55240
TS
375512012-05-10 Thomas Schwinge <thomas@schwinge.name>
37552
6960eb42
TS
37553 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37554 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37555 definitions.
37556
eb43375f
TS
37557 accept4 for GNU Hurd.
37558 * include/sys/socket.h (__libc_accept4): New prototype.
37559 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37560 to implement __libc_accept4.
37561 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37562 __libc_accept4.
37563 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37564
bcf55240
TS
37565 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37566 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37567 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37568 signal-defines.sym.
37569
6178c55b
ST
375702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37571
a4186cff 37572 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37573
6f080c2f
TS
375742012-05-10 Thomas Schwinge <thomas@schwinge.name>
37575
37576 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37577 assertion on O_CLOEXEC flag.
37578 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37579 * hurd/intern-fd.c: Likewise.
37580 * hurd/port2fd.c: Likewise.
37581
bcfe3a54
ST
375822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37583
37584 [BZ #3906]
37585 * bits/in.h (IPV6_PKTINFO): Define new macro.
37586 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37587
89c9aa49
AZ
375882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37589
37590 [BZ #13954]
37591 [BZ #13955]
37592 [BZ #13956]
37593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37595 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37596 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37597 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37598 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37599 * math/libm-test.inc (logb_test) : Additional logb tests.
37600
021db4be
AJ
376012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37602 Andreas Jaeger <aj@suse.de>
37603
37604 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37605 * configure: Regenerated.
37606 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37607 * config.make.in (link-obsolete-rpc): New substituted variable.
37608 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37609 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37610 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37611 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37612 so that libc.a contains the symbols.
37613 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37614 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37615 * sunrpc/auth_none.c: Likewise.
37616 * sunrpc/auth_unix.c: Likewise.
37617 * sunrpc/authdes_prot.c: Likewise.
37618 * sunrpc/authuxprot.c: Likewise.
37619 * sunrpc/clnt_gen.c: Likewise.
37620 * sunrpc/clnt_perr.c: Likewise.
37621 * sunrpc/clnt_raw.c: Likewise.
37622 * sunrpc/clnt_simp.c: Likewise.
37623 * sunrpc/clnt_tcp.c: Likewise.
37624 * sunrpc/clnt_udp.c: Likewise.
37625 * sunrpc/clnt_unix.c: Likewise.
37626 * sunrpc/des_crypt.c: Likewise.
37627 * sunrpc/des_soft.c: Likewise.
37628 * sunrpc/get_myaddr.c: Likewise.
37629 * sunrpc/key_call.c: Likewise.
37630 * sunrpc/key_prot.c: Likewise.
37631 * sunrpc/netname.c: Likewise.
37632 * sunrpc/pm_getmaps.c: Likewise.
37633 * sunrpc/pm_getport.c: Likewise.
37634 * sunrpc/pmap_clnt.c: Likewise.
37635 * sunrpc/pmap_prot.c: Likewise.
37636 * sunrpc/pmap_prot2.c: Likewise.
37637 * sunrpc/pmap_rmt.c: Likewise.
37638 * sunrpc/publickey.c: Likewise.
37639 * sunrpc/rpc_cmsg.c: Likewise.
37640 * sunrpc/rpc_common.c: Likewise.
37641 * sunrpc/rpc_dtable.c: Likewise.
37642 * sunrpc/rpc_prot.c: Likewise.
37643 * sunrpc/rpc_thread.c: Likewise.
37644 * sunrpc/rtime.c: Likewise.
37645 * sunrpc/svc.c: Likewise.
37646 * sunrpc/svc_auth.c: Likewise.
37647 * sunrpc/svc_raw.c: Likewise.
37648 * sunrpc/svc_run.c: Likewise.
37649 * sunrpc/svc_tcp.c: Likewise.
37650 * sunrpc/svc_udp.c: Likewise.
37651 * sunrpc/svc_unix.c: Likewise.
37652 * sunrpc/svcauth_des.c: Likewise.
37653 * sunrpc/xcrypt.c: Likewise.
37654 * sunrpc/xdr.c: Likewise.
37655 * sunrpc/xdr_array.c: Likewise.
37656 * sunrpc/xdr_float.c: Likewise.
37657 * sunrpc/xdr_intXX_t.c: Likewise.
37658 * sunrpc/xdr_mem.c: Likewise.
37659 * sunrpc/xdr_rec.c: Likewise.
37660 * sunrpc/xdr_ref.c: Likewise.
37661 * sunrpc/xdr_sizeof.c: Likewise.
37662 * sunrpc/xdr_stdio.c: Likewise.
37663
b5c086a2
RM
376642012-05-10 Roland McGrath <roland@hack.frob.com>
37665
37666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37667 change. Update copyright years.
37668
6d74dd09
JM
376692012-05-10 Joseph Myers <joseph@codesourcery.com>
37670
37671 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37672
28e72501
MK
376732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37674 Joseph Myers <joseph@codesourcery.com>
37675 Paul Pluzhnikov <ppluzhnikov@google.com>
37676
37677 [BZ #14012]
37678 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37679 requiring rpcgen.
37680 [cross-compiling] (extra-libs): Likewise.
37681 [cross-compiling] (extra-libs-others): Likewise.
37682 [cross-compiling] (librpcsvc-routines): Likewise.
37683 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37684 [cross-compiling] (omit-deps): Likewise.
37685 (sunrpc-CPPFLAGS): New variable.
37686 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37687 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37688 (cross-rpcgen-objs): New variable.
37689 (extra-objs): Append $(cross-rpcgen-objs).
37690 ($(cross-rpcgen-objs)): New rule.
37691 ($(objpfx)cross-rpcgen): Likewise.
37692 (rpcgen-cmd): Define to use $(built-program-file). Expand
37693 comment.
37694 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37695 ($(objpfx)x%.stmp): Likewise.
37696 * sunrpc/proto.h [IS_IN_build] (_): Define.
37697 [IS_IN_build] (_libc_intl_domainname): Likewise.
37698
c8c59454
L
376992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37700
37701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37702 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37703 and R_X86_64_TPOFF64.
37704
6f27cd16
JM
377052012-05-10 Joseph Myers <joseph@codesourcery.com>
37706
37707 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37708 sysdeps/unix/sysv/syscalls.list.
37709 (stime): Likewise.
37710 (utime): Likewise.
37711 * sysdeps/unix/sysv/syscalls.list: Remove file.
37712
02467e1c
PE
377132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37714
37715 [BZ #3440]
37716 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37717 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37718 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37719 (__LC_IDENTIFICATION): Make these macros useful in #if
37720 expressions, as required by C99.
37721
da392631
AS
377222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37723
37724 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37725 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37726 after this.
37727
8115f29b
L
377282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 * stdlib/longlong.h: Updated from GCC.
37731
bdd74070
AJ
377322012-05-09 Andreas Jaeger <aj@suse.de>
37733
edfe0dbe
AJ
37734 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37735 default is first entry.
37736 (run_mode): Set type.
37737 (main): Remove informal message about syslog.
37738 (options): Fix typo.
37739
bcfe3a54
ST
37740 [BZ #14053]
37741 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37742 to asm.
bcfe3a54
ST
37743 (lrint): Likewise.
37744 (llrintf): Likewise.
37745 (llrint): Likewise.
37746 (rint): Likewise.
37747 (rintf): Likewise.
37748 (nearbyint): Likewise.
37749 (nearbyintf): Likewise.
bdd74070 37750
91d8d69e
AJ
377512012-05-09 Andreas Jaeger <aj@suse.de>
37752 Pedro Alves <palves@redhat.com>
37753
37754 * nscd/nscd.c (run_mode): Use enum.
37755 (main): Cleanup coding style issue.
37756
bb90b80b
AJ
377572012-05-09 Alexandre Oliva <aoliva@redhat.com>
37758 Andreas Jaeger <aj@suse.de>
37759
bcfe3a54
ST
37760 * nscd/nscd.c (go_background): Replaced with...
37761 (run_mode): ... this.
bb90b80b 37762 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37763 (options): Add -F --foreground.
37764 (main): Implement it.
37765 (parse_opt): Parse it.
bb90b80b 37766
1a4b75a1
AJ
377672012-05-09 Andreas Jaeger <aj@suse.de>
37768
37769 [BZ #14083]
37770 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37771 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37772 -Wconversion warning.
37773 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37774 Likewise.
37775
b1cc2472
JM
377762012-05-09 Joseph Myers <joseph@codesourcery.com>
37777
37778 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37779 == 0.
37780 (LC_ALL): Use macro-int-constant.
37781 (LC_COLLATE): Likewise.
37782 (LC_CTYPE): Likewise.
37783 (LC_MESSAGES): Likewise.
37784 (LC_MONETARY): Likewise.
37785 (LC_NUMERIC): Likewise.
37786 (LC_TIME): Likewise.
37787 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37788 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37790 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37791 Specify type.
37792 [C99-based standards] (float_t): Expect type.
37793 [C99-based standards] (double_t): Expect type.
37794 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37795 type.
37796 [C99-based standards] (HUGE_VALL): Likewise.
37797 [C99-based standards] (INFINITY): Likewise.
37798 [C99-based standards] (NAN): Likewise.
37799 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37800 [C99-based standards] (FP_NAN): Likewise.
37801 [C99-based standards] (FP_NORMAL): Likewise.
37802 [C99-based standards] (FP_SUBNORMAL): Likewise.
37803 [C99-based standards] (FP_ZERO): Likewise.
37804 [C99-based standards] (FP_FAST_FMA): Use
37805 optional-macro-int-constant. Specify type. Require == 1.
37806 [C99-based standards] (FP_FAST_FMAF): Likewise.
37807 [C99-based standards] (FP_FAST_FMAL): Likewise.
37808 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37809 [C99-based standards] (FP_ILOGBNAN): Likewise.
37810 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37811 Specify type.
37812 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37813 [C99-based standards] (math_errhandling): Specify type.
37814 [ISO99 || ISO11] (signgam): Do not allow.
37815 [non-C99-based standards] (copysignf): Do not allow.
37816 [non-C99-based standards] (exp2f): Likewise.
37817 [non-C99-based standards] (log2f): Likewise.
37818 [non-C99-based standards] (modff): Allow.
37819 [non-C99-based standards] (erff): Do not allow.
37820 [non-C99-based standards] (erfcf): Likewise.
37821 [non-C99-based standards] (gammaf): Likewise.
37822 [non-C99-based standards] (hypotf): Likewise.
37823 [non-C99-based standards] (j0f): Likewise.
37824 [non-C99-based standards] (j1f): Likewise.
37825 [non-C99-based standards] (jnf): Likewise.
37826 [non-C99-based standards] (lgammaf): Likewise.
37827 [non-C99-based standards] (tgammaf): Likewise.
37828 [non-C99-based standards] (y0f): Likewise.
37829 [non-C99-based standards] (y1f): Likewise.
37830 [non-C99-based standards] (ynf): Likewise.
37831 [non-C99-based standards] (isnanf): Likewise.
37832 [non-C99-based standards] (acoshf): Likewise.
37833 [non-C99-based standards] (asinhf): Likewise.
37834 [non-C99-based standards] (atanhf): Likewise.
37835 [non-C99-based standards] (cbrtf): Likewise.
37836 [non-C99-based standards] (expm1f): Likewise.
37837 [non-C99-based standards] (ilogbf): Likewise.
37838 [non-C99-based standards] (log1pf): Likewise.
37839 [non-C99-based standards] (logbf): Likewise.
37840 [non-C99-based standards] (nextafterf): Likewise.
37841 [non-C99-based standards] (remainderf): Likewise.
37842 [non-C99-based standards] (rintf): Likewise.
37843 [non-C99-based standards] (scalbf): Likewise.
37844 [non-C99-based standards] (copysignl): Likewise.
37845 [non-C99-based standards] (exp2l): Likewise.
37846 [non-C99-based standards] (log2l): Likewise.
37847 [non-C99-based standards] (modfl): Allow.
37848 [non-C99-based standards] (erfl): Do not allow.
37849 [non-C99-based standards] (erfcl): Likewise.
37850 [non-C99-based standards] (gammal): Likewise.
37851 [non-C99-based standards] (hypotl): Likewise.
37852 [non-C99-based standards] (j0l): Likewise.
37853 [non-C99-based standards] (j1l): Likewise.
37854 [non-C99-based standards] (jnl): Likewise.
37855 [non-C99-based standards] (lgammal): Likewise.
37856 [non-C99-based standards] (tgammal): Likewise.
37857 [non-C99-based standards] (y0l): Likewise.
37858 [non-C99-based standards] (y1l): Likewise.
37859 [non-C99-based standards] (ynl): Likewise.
37860 [non-C99-based standards] (isnanl): Likewise.
37861 [non-C99-based standards] (acoshl): Likewise.
37862 [non-C99-based standards] (asinhl): Likewise.
37863 [non-C99-based standards] (atanhl): Likewise.
37864 [non-C99-based standards] (cbrtl): Likewise.
37865 [non-C99-based standards] (expm1l): Likewise.
37866 [non-C99-based standards] (ilogbl): Likewise.
37867 [non-C99-based standards] (log1pl): Likewise.
37868 [non-C99-based standards] (logbl): Likewise.
37869 [non-C99-based standards] (nextafterl): Likewise.
37870 [non-C99-based standards] (remainderl): Likewise.
37871 [non-C99-based standards] (rintl): Likewise.
37872 [non-C99-based standards] (scalbl): Likewise.
37873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37874 [non-C99-based standards] (FP_*): Do not allow.
37875 [C99-based standards] (FP_*): Change to
37876 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37877 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37878 allow.
37879 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37880 (SIG_ERR): Likewise.
37881 [X/Open-based standards] (SIG_HOLD): Likewise.
37882 (SIG_IGN): Likewise.
37883 (SIGABRT): Use macro-int-constant. Specify type. Require
37884 positive value.
37885 (SIGFPE): Likewise.
37886 (SIGILL): Likewise.
37887 (SIGINT): Likewise.
37888 (SIGSEGV): Likewise.
37889 (SIGTER): Likewise.
37890 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37891 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37892 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37893 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37894 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37895 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37896 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37897 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37898 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37899 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37900 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37901 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37902 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37903 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37904 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37905 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37906 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37907 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37908 [X/Open-based standards] (SIGTRAP): Likewise.
37909 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37910 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37911 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37912 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37913 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37914 allow.
37915
b9f1922d
IW
379162012-05-08 Ian Wienand <ianw@vmware.com>
37917
37918 [BZ #14080]
37919 * time/tzset.c (__tzset_parse_tz): Update default rules for
37920 daylight time changes in the Energy Policy Act of 2005.
37921
1db86e88
AJ
379222012-05-09 Andreas Jaeger <aj@suse.de>
37923
37924 [BZ #13983]
37925 * elf/ldconfig.c (parse_conf): Change string to make clear that
37926 ldconfig only issued a warning if ld.so.conf does not exist.
37927
dee4a4e3
DM
379282012-05-08 David S. Miller <davem@davemloft.net>
37929
ee0db190
DM
37930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37931 movxtod instead of popping the value on the stack.
37932
dee4a4e3
DM
37933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37934
6a43ec98
CD
379352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37936
37937 * config.h.in: Add HAVE_ARM_PCS_VFP.
37938
05c2c961
RMG
379392012-05-08 Roland Mc Grath <roland@hack.frob.com>
37940
bcfe3a54
ST
37941 [BZ #13979]
37942 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37943 checking but the checks are disabled for any reason.
05c2c961 37944
4b30f61a
L
379452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37946
37947 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37948 and ELF64_R_TYPE with ELFW(R_TYPE).
37949
eee2bc67
JM
379502012-05-08 Joseph Myers <joseph@codesourcery.com>
37951
7ea5391a
JM
37952 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37953 (ulimit): Likewise.
37954
eee2bc67
JM
37955 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37956 (settimeofday): Likewise.
37957
abb66a67
MF
379582012-05-08 Mike Frysinger <vapier@gentoo.org>
37959
37960 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37961 a struct th_u2 inside the union, and move tu_block/tu_code into
37962 a new th_u3 union of tu_block/tu_code inside of that. Move
37963 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37964 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37965 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37966 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37967 (th_stuff): Change to th_u1.tu_stuff.
37968 (th_data): Define.
37969 (th_msg): Change to th_u1.th_u2.tu_data.
37970
7f18b530
DM
379712012-05-07 David S. Miller <davem@davemloft.net>
37972
05760585
DM
37973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37974
7f18b530
DM
37975 [BZ #14074]
37976 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37977 (SETUP_PIC_REG): Use it.
37978 (SETUP_PIC_REG_LEAF): Use it.
37979
495fd99f
JM
379802012-05-07 Joseph Myers <joseph@codesourcery.com>
37981
37982 [BZ #13885]
37983 [BZ #13923]
37984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37985 USE_AS_EXPM1L.
37986 (EXPL_FINITE): Likewise.
37987 (FLDLOG): Likewise.
37988 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37989 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37990 e_expl.S.
37991 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37992 USE_AS_EXPM1L.
37993 (EXPL_FINITE): Likewise.
37994 (FLDLOG): Likewise.
37995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37996 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37997 e_expl.S.
37998 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37999 test of -max_value argument for long double.
38000 * sysdeps/i386/fpu/libm-test-ulps: Update.
38001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38002
6693d694
DM
380032012-05-06 David S. Miller <davem@davemloft.net>
38004
38005 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38006 quad soft-float symbols whose references which are compiler
38007 generated.
38008 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38009
6c23e11c
JM
380102012-05-06 Joseph Myers <joseph@codesourcery.com>
38011
d8b82cad
JM
38012 [BZ #13884]
38013 [BZ #13914]
38014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38015 USE_AS_EXP10L.
38016 (EXPL_FINITE): Likewise.
38017 (FLDLOG): Likewise.
38018 (c0): Likewise.
38019 (c1): Likewise.
38020 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38021 Adjust comments for base varying.
38022 (__expl_finite): Change alias to EXPL_FINITE.
38023 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38024 e_expl.S.
38025 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38026 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38028 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38030 USE_AS_EXP10L.
38031 (EXPL_FINITE): Likewise.
38032 (FLDLOG): Likewise.
38033 (c0): Likewise.
38034 (c1): Likewise.
38035 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38036 Adjust comments for base varying.
38037 (__expl_finite): Change alias to EXPL_FINITE.
38038 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38039 tests for bugs.
38040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38041
6c23e11c
JM
38042 [BZ #14064]
38043 * math/libm-test.inc (check_float_internal): Correct ulp
38044 calculation for subnormal expected results.
38045
29ba805c
AJ
380462012-05-06 Andreas Jaeger <aj@suse.de>
38047
38048 * Makeconfig (+math-flags): New, set to -frounding-math.
38049 (+cflags): Add +math-flags so that all of glibc gets compiled with
38050 it.
38051
38052 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38053
7b17aeda
JM
380542012-05-05 Joseph Myers <joseph@codesourcery.com>
38055
5779f134
JM
38056 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38057 Disable one test.
38058
41498f4d
JM
38059 [BZ #13787]
38060 [BZ #13922]
38061 [BZ #14036]
38062 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38063 (__ieee754_expl): Allow for and saturate large arguments.
38064 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38065 (u_threshold): Likewise.
38066 (__exp): Call __ieee754_exp before checking for overflow and
38067 underflow.
38068 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38069 (u_threshold): Likewise.
38070 (__expf): Call __ieee754_expf before checking for overflow and
38071 underflow.
38072 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38073 (u_threshold): Likewise.
38074 (__expl): Call __ieee754_expl before checking for overflow and
38075 underflow.
38076 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38077 (__ieee754_expl): Allow for and saturate large arguments.
38078 * math/libm-test.inc (exp_test): Add another test. Do not allow
38079 missing overflow exception on overflow.
38080 (expm1_test): Do not allow missing overflow exception on overflow.
38081
6698b8bf
JM
38082 * sysdeps/i386/fpu/e_expl.c: Move to ...
38083 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38084 rather than using inline asm.
38085 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38086 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38087 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38088
7b17aeda
JM
38089 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38090 (nice): Likewise.
38091 (poll): Likewise.
38092 (signal): Likewise.
38093 (time): Likewise.
38094 (times): Likewise.
38095
f7c85819
JM
380962012-05-04 Joseph Myers <joseph@codesourcery.com>
38097
38098 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38099 sysdeps/unix/common/syscalls.list.
38100 (fchmod): Likewise.
38101 (fchown): Likewise.
38102 (ftruncate): Likewise.
38103 (getrusage): Likewise.
38104 (gettimeofday): Likewise.
38105 (setpgid): Likewise.
38106 (setregid): Likewise.
38107 (setreuid): Likewise.
38108 (sigaction): Likewise.
38109 (truncate): Likewise.
38110 (vhangup): Likewise.
38111 * sysdeps/unix/common/syscalls.list: Remove file.
38112 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38113 * sysdeps/unix/sysv/linux/Implies: Likewise.
38114
336270d0
L
381152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38116
38117 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38119 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38120 Moved to ...
38121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38122 Here.
38123 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38124 to ...
38125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38126 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38127 to ...
38128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38129 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38130 to ...
38131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38132 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38133 to ...
38134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38135 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38136 to ...
38137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38138 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38139 to ...
38140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38141 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38142 to ...
38143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38144 Here.
38145 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38146 to ...
38147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38148 Here.
38149 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38150 to ...
38151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38153 Moved to ...
38154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38155 Here.
38156 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38157 to ...
38158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38159
d128e450
JM
381602012-05-04 Joseph Myers <joseph@codesourcery.com>
38161
fa8ee516
JM
38162 * sysdeps/unix/common/bits/dirent.h: Remove file.
38163 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38164
d128e450
JM
38165 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38166 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38167 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38168 * sysdeps/unix/bsd/isatty.c: Likewise.
38169 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38170 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38171 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38172
ff8faaf0 381732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38174
62881be4 38175 [BZ #13563]
31dc8730
AZ
38176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38177 long double comparison inaccuracies.
38178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38180
6fef930c
AS
381812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38182
38183 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38184 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38185
8f203e6c
JM
381862012-05-04 Joseph Myers <joseph@codesourcery.com>
38187
38188 [BZ #14049]
38189 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38190 nonzero digits before rounding a hex value.
38191 * stdlib/tst-strtod.c (tests): Add another test.
38192
5197d9c2
AK
381932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38194
38195 * sysdeps/s390/fpu/libm-test-ulps: Update.
38196
f0c1dedf
AJ
381972012-05-03 Andreas Jaeger <aj@suse.de>
38198
38199 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38200 does not get optimized out.
38201 (malloc_opt_barrier): New.
38202
a65ef2ae 382032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38204 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38205
2b942cb7 38206 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38207 intermediate file deletion.
2b942cb7 38208 (generated): Add .symlist files.
a65ef2ae 38209
54b71e02
JM
382102012-05-03 Joseph Myers <joseph@codesourcery.com>
38211
38212 [BZ #13775]
38213 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38214 Redirect under this condition.
38215 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38216 [__USE_GNU] (__dprintf_chk): Not under this condition.
38217 [__USE_GNU] (__vdprintf_chk): Likewise.
38218 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38219 under this condition.
38220 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38221 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38222 [__USE_XOPEN2K8] (vdprintf): Likewise.
38223 [__USE_GNU] (__dprintf_chk): Not under this condition.
38224 [__USE_GNU] (__vdprintf_chk): Likewise.
38225 [__USE_GNU] (dprintf): Likewise.
38226 [__USE_GNU] (vdprintf): Likewise.
38227
d3dfcc41
RM
382282012-05-03 Roland McGrath <roland@hack.frob.com>
38229
38230 * elf/Makefile (common-generated): Set this instead of generated for
38231 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38232 $(all-built-dso)-derived lists.
38233
7ac30cc5
AJ
382342012-05-03 Andreas Jaeger <aj@suse.de>
38235
0c51e550
AJ
38236 * sysdeps/i386/fpu/libm-test-ulps: Update.
38237
7ac30cc5
AJ
38238 * FAQ: Removed.
38239 * FAQ.in: Likewise.
38240 * scripts/gen-FAQ.pl: Likewise.
38241 * manual/install.texi (Installation): Point to online location of
38242 FAQ.
38243 * Makefile (files-for-dist): Remove FAQ.
38244 (FAQ): Remove.
38245
d4c2917f
AM
382462012-05-02 Allan McRae <allan@archlinux.org>
38247
38248 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38249 (LDFLAGS-reldepmod5.so): Likewise.
38250 (LDFLAGS-reldep6mod1.so): Likewise.
38251 (LDFLAGS-reldep6mod4.so): Likewise.
38252 (LDFLAGS-reldep8mod3.so): Likewise.
38253 (LDFLAGS-unload4mod1.so): Likewise.
38254 (LDFLAGS-unload4mod2.so): Likewise.
38255 (LDFLAGS-tst-initorder): Likewise.
38256 (LDFLAGS-tst-initordera2.so): Likewise.
38257 (LDFLAGS-tst-initordera3.so): Likewise.
38258 (LDFLAGS-tst-initordera4.so): Likewise.
38259 (LDFLAGS-tst-initorderb2.so): Likewise.
38260 (LDFLAGS-noload): Likewise.
38261 (LDFLAGS-next): Likewise.
38262 (LDFLAGS-order2mod1.so): Likewise.
38263 (LDFLAGS-order2mod2.so): Likewise.
38264 (LDFLAGS-tst-initorder2): Likewise.
38265 (LDFLAGS-tst-initorder2a.so): Likewise.
38266 (LDFLAGS-tst-initorder2b.so): Likewise.
38267 (LDFLAGS-tst-initorder2c.so): Likewise.
38268 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38269
d77f993f
DM
382702012-05-02 David S. Miller <davem@davemloft.net>
38271
38272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38273
171a70b4
PP
382742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38275
38276 [BZ #14055]
38277 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38278
0be196ad
AJ
382792012-05-02 Andreas Jaeger <aj@suse.de>
38280
38281 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38282 since we manipulate rounding mode.
38283 (CPPFLAGS-test-idouble.c): Likewise.
38284 (CPPFLAGS-test-ifloat.c): Likewise.
38285 (CFLAGS-test-ldouble.c): Likewise.
38286 (CFLAGS-test-double.c): Likewise.
38287 (CFLAGS-test-float.c): Likewise.
38288 (CFLAGS-test-misc.c): Likewise.
38289 (CFLAGS-test-test-fenv.c): Likewise.
38290
4f9d04aa
AZ
382912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38292
2b942cb7
RM
38293 [BZ #2550]
38294 [BZ #2570]
38295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38296 comparisons to determine direction to adjust input.
4f9d04aa 38297
82a79e7d
RM
382982012-05-01 Roland McGrath <roland@hack.frob.com>
38299
f5a01ca9
RM
38300 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38301 output to the target.
38302
90fe4186
RM
38303 * scripts/localplt.awk: New file.
38304 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38305 (check-localplt-CFLAGS): Variable removed.
38306 ($(all-built-dso:=.jmprel)): New static pattern rule.
38307 (generated): Add those targets.
38308 (localplt-built-dso): New variable.
38309 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38310
38311 * elf/check-localplt.c: File removed.
38312
82397ed6
RM
38313 * scripts/check-execstack.awk: New file.
38314 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38315 (check-execstack-CFLAGS): Variable removed.
38316 ($(objpfx)check-execstack.h): Target removed.
38317 ($(objpfx)execstack-default): New target.
38318 (generated): Add that instead of check-execstack.h.
38319 ($(all-built-dso:=.phdr)): New static pattern rule.
38320 (generated): Add those targets.
38321 * elf/check-execstack.c: File removed.
38322
82a79e7d
RM
38323 * scripts/check-textrel.awk: New file.
38324 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38325 (check-textrel-CFLAGS): Variable removed.
38326 (all-built-dso): Use := to define.o
38327 ($(all-built-dso:=.dyn)): New static pattern rule.
38328 (generated): Add those targets.
38329 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38330 * config.make.in (READELF): New substituted variable.
38331 * elf/check-textrel.c: File removed.
38332
62fde54f 383332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38334
615605c9
JM
38335 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38336 allow.
38337 * conform/data/ctype.h-data [C99-based standards] (isblank):
38338 Expect function.
38339 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38340 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38342 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38343 Specify type. Require positive value.
38344 (EILSEQ): Likewise.
38345 (ERANGE): Likewise.
38346 [ISO || POSIX] (EILSEQ): Do not expect.
38347 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38348 Specify type. Require positive value.
38349 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38350 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38351 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38352 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38353 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38354 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38355 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38356 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38357 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38358 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38359 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38360 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38361 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38362 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38363 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38364 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38365 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38366 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38367 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38368 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38369 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38370 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38371 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38372 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38373 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38374 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38375 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38376 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38377 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38378 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38379 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38380 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38381 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38382 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38383 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38384 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38385 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38386 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38387 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38388 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38389 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38390 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38391 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38392 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38393 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38394 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38395 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38396 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38397 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38398 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38399 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38400 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38401 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38402 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38403 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38404 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38405 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38406 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38407 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38408 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38409 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38410 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38411 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38412 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38413 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38414 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38415 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38416 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38417 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38418 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38419 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38420 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38421 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38422 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38423 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38424 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38425 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38426 Require >= 2.
38427 (FLT_ROUNDS): Expect as macro, not constant.
38428 (FLT_MANT_DIG): Use macro-int-constant.
38429 (DBL_MANT_DIG): Likewise.
38430 (LDBL_MANT_DIG): Likewise.
38431 (FLT_DIG): Likewise.
38432 (DBL_DIG): Likewise.
38433 (LDBL_DIG): Likewise.
38434 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38435 (DBL_MIN_EXP): Likewise.
38436 (LDBL_MIN_EXP): Likewise.
38437 (FLT_MAX_EXP): Use macro-int-constant.
38438 (DBL_MAX_EXP): Likewise.
38439 (LDBL_MAX_EXP): Likewise.
38440 (FLT_MAX_10_EXP): Likewise.
38441 (DBL_MAX_10_EXP): Likewise.
38442 (LDBL_MAX_10_EXP): Likewise.
38443 (FLT_MAX): Use macro-constant.
38444 (DBL_MAX): Likewise.
38445 (LDBL_MAX): Likewise.
38446 (FLT_EPSILON): Use macro-constant. Give upper bound.
38447 (DBL_EPSILON): Likewise.
38448 (LDBL_EPSILON): Likewise.
38449 (FLT_MIN): Likewise.
38450 (DBL_MIN): Likewise.
38451 (LDBL_MIN): Likewise.
38452 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38453 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38454 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38455 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38456 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38457 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38458 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38459 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38460 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38461 [ISO11] (FLT_TRUE_MIN): Likewise.
38462 [ISO11] (LDBL_TRUE_MIN): Likewise.
38463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38464 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38465 (SCHAR_MIN): Use macro-int-constant. Specify type.
38466 (SCHAR_MAX): Likewise.
38467 (UCHAR_MAX): Likewise.
38468 (CHAR_MIN): Likewise.
38469 (CHAR_MAX): Likewise.
38470 (MB_LEN_MAX): Use macro-int-constant.
38471 (SHRT_MIN): Use macro-int-constant. Specify type.
38472 (SHRT_MAX): Likewise.
38473 (USHRT_MAX): Likewise.
38474 (INT_MAX): Likewise.
38475 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38476 bound negative.
38477 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38478 bound with "U".
38479 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38480 bound with "L".
38481 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38482 bound negative. Suffix upper bound with "L".
38483 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38484 bound with "UL".
38485 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38486 Specify type.
38487 [C99-based standards] (LLONG_MAX): Likewise.
38488 [C99-based standards] (ULLONG_MAX): Likewise.
38489 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38490 == 0.
38491 [ISO11] (max_align_t): Require type.
38492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38493
c9140a62
JM
38494 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38495 from $CFLAGS, without defining away __attribute__ calls.
38496 (checknamespace): Use $CFLAGS_namespace.
38497
9af0bf29
JM
38498 * conform/conformtest.pl (@keywords): Only include C99 keywords
38499 for standards based on C99 or C11.
38500
343222a2
JM
38501 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38502 Disable tests.
38503 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38504 UNIX98]: Likewise.
38505
661f8cf0
JM
38506 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38507 usability of symbols in #if.
38508
ee74b9cb
JM
38509 * conform/conformtest.pl: If macro or constant types start
38510 "promoted:", expect the symbol to be of the following type
38511 promoted by the integer promotions.
62fde54f 38512
aafc49b3
JM
38513 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38514 in one place. Also handle "macro-constant".
38515
fefdf574
JM
38516 * conform/conformtest.pl: Only accept expected macro values with
38517 "==". Parse all "macro" lines in one place.
38518 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38519
f2d922fe
JM
38520 * conform/conformtest.pl: Handle braced types on "constant" lines
38521 instead of handling "typed-constant".
38522 * conform/data/signal.h-data: Use "constant" instead of
38523 "typed-constant".
38524
d22956c9
JM
38525 * conform/conformtest.pl: Handle "optional-" at start of lines in
38526 one place rather than duplicating several cases. Handle each
38527 format of "macro" line with initial "optional-".
38528
028e2e38
JM
38529 * conform/conformtest.pl: Only accept expected constant or
38530 optional-constant values with "==". Parse all "constant" lines in
38531 one place. Parse all "optional-constant" lines in one place.
38532 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38533 * conform/data/fmtmsg.h-data: Likewise.
38534 * conform/data/netinet/in.h-data: Likewise.
38535 * conform/data/tar.h-data: Likewise.
38536 * conform/data/limits.h-data: Use "==" form on "constant" and
38537 "optional-constant" lines.
38538
1b8f2850
JM
38539 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38540 Use -std=c99 for XOPEN2K.
38541 (@knownproblems): Remove.
38542 (newtoken): Don't check %isknown.
38543
a05a144b
JM
38544 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38545 Do not expect macro.
38546 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38547 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38548 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38549 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38550 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38551 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38552 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38553 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38554 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38555 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38556 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38557 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38558 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38559 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38560 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38561 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38562 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38563 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38564 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38565 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38566 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38567 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38568 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38569 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38570 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38571 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38572 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38573 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38574 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38575 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38576 [XPG3] (acosh): Likewise.
38577 [XPG3] (asinh): Likewise.
38578 [XPG3] (atanh): Likewise.
38579 [XPG3] (cbrt): Likewise.
38580 [XPG3] (expm1): Likewise.
38581 [XPG3] (ilogb): Likewise.
38582 [XPG3] (log1p): Likewise.
38583 [XPG3] (logb): Likewise.
38584 [XPG3] (nextafter): Likewise.
38585 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38586 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38587 [XPG3] (remainder): Likewise.
38588 [XPG3] (rint): Likewise.
38589 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38590 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38591 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38592 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38593 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38594 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38595 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38596 [UNIX98 || XOPEN2K] (scalb): Expect.
38597 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38598 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38599 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38600 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38601 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38602 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38603 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38604 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38605 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38606 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38607 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38608 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38609 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38610 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38611 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38612 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38613 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38614 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38615 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38616 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38617 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38618 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38619 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38620 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38621 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38622 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38623 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38624 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38625 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38626 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38627 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38628 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38629 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38630 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38631 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38632 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38633 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38634 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38635 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38636 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38637 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38638 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38639 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38640 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38641 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38642 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38643 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38644 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38645 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38646 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38647 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38648 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38649 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38650 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38651 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38652 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38653 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38654 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38655 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38656 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38657 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38658 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38659 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38660 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38661 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38662 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38663 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38664 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38665 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38666 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38667 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38668 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38669 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38670 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38671 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38672 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38673 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38674 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38675 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38676 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38677 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38678 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38679 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38680 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38681 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38682 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38683 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38684 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38685 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38686 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38687 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38688 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38689 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38690 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38691 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38692 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38693 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38694 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38695 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38696 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38697 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38698 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38699 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38700 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38701 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38702 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38703 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38704 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38705 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38706 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38707 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38708 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38709 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38710 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38711 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38712 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38713 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38714 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38715 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38716 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38717 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38718 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38719 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38720 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38721 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38722 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38723 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38724 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38725 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38726 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38727 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38728 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38729 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38730 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38731 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38732 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38733 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38734
73c5ebe3
JM
38735 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38736 _XOPEN_SOURCE_EXTENDED for XPG4.
38737
39c33b6c
JM
38738 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38739
62fde54f
JM
38740 * Makeconfig (localtime): Remove variable.
38741 (inst_localtime-file): Likewise.
38742
0741d64c
AS
387432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38744
38745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38746 Update.
38747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38748 Update.
38749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38750 Update.
38751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38752 Update.
38753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38754 Update.
38755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38756 Update.
38757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38758 Update.
38759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38760 Update.
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38762 Update.
38763
7cb029ee
JM
387642012-05-01 Joseph Myers <joseph@codesourcery.com>
38765
38766 [BZ #2550]
38767 [BZ #2570]
38768 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38769 comparisons to determine direction to adjust input.
38770 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38771 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38773 Likewise.
38774 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38775 Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38777 Likewise.
38778 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38779 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38780 Likewise.
38781 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38782 Likewise.
38783 * math/libm-test.inc (nexttoward_test): Add more tests.
38784
412bd966
AS
387852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38786
38787 [BZ #14040]
38788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38789 in version GLIBC_2.1, not GLIBC_2.0.
38790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38791 Likewise.
38792
9568c0c2
JM
387932012-04-30 Joseph Myers <joseph@codesourcery.com>
38794
adfbc8ac
JM
38795 [BZ #13942]
38796 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38797 (1 - x) * (1 + x).
38798 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38799 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38800 * math/libm-test.inc (acos_test): Add more tests.
38801 (asin_test): Likewise.
38802 * sysdeps/i386/fpu/libm-test-ulps: Update.
38803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38804
5ba3cc69
JM
38805 [BZ #14034]
38806 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38807 of square root.
38808 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38809 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38810 * math/libm-test.inc (acos_test_tonearest): New function.
38811 (acos_test_towardzero): Likewise.
38812 (acos_test_downward): Likewise.
38813 (acos_test_upward): Likewise.
38814 (asin_test_tonearest): Likewise.
38815 (asin_test_towardzero): Likewise.
38816 (asin_test_downward): Likewise.
38817 (asin_test_upward): Likewise.
38818 (main): Call the new functions.
38819 * sysdeps/i386/fpu/libm-test-ulps: Update.
38820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38821
9568c0c2
JM
38822 [BZ #13884]
38823 [BZ #13924]
38824 * math/e_exp10.c: Include <float.h>.
38825 (__ieee754_exp10): Handle underflow here rather than multiplying
38826 large negative argument by M_LN10.
38827 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38828 of __ieee754_expf.
38829 * math/e_exp10l.c: Include <float.h>.
38830 (__ieee754_exp10l): Handle underflow here rather than multiplying
38831 large negative argument by M_LN10l.
38832 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38833 spurious overflow exception on underflow.
38834
5ac3ea17
MP
388352012-04-29 Marek Polacek <polacek@redhat.com>
38836
38837 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38838 (__fortify_function): New macro.
38839 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38840 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38841 __extern_always_inline.
38842 * libio/bits/stdio2.h: Likewise.
38843 * libio/bits/stdio.h: Likewise.
38844 * string/string.h: Likewise.
38845 * string/bits/string3.h: Likewise.
38846 * include/stdio.h: Likewise.
38847 * stdlib/bits/stdlib.h: Likewise.
38848 * stdlib/stdlib.h: Likewise.
38849 * rt/bits/mqueue2.h: Likewise.
38850 * rt/mqueue.h: Likewise.
38851 * posix/bits/unistd.h: Likewise.
38852 * posix/unistd.h: Likewise.
38853 * io/bits/poll2.h: Likewise.
38854 * io/bits/fcntl2.h: Likewise.
38855 * io/fcntl.h: Likewise.
38856 * io/sys/poll.h: Likewise.
38857 * misc/bits/syslog.h: Likewise.
38858 * misc/bits/syslog-ldbl.h: Likewise.
38859 * misc/sys/syslog.h: Likewise.
38860 * socket/bits/socket2.h: Likewise.
38861 * socket/sys/socket.h: Likewise.
38862 * debug/tst-chk1.c: Likewise.
38863 * wcsmbs/bits/wchar2.h: Likewise.
38864 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38865 * wcsmbs/wchar.h: Likewise.
38866
ecf0ebfb
AJ
388672012-04-29 Andreas Jaeger <aj@suse.de>
38868
38869 * Makerules (tests): Remove enable-check-abi protection.
38870 (check-abi-warn): Remove.
38871 (check-abi-%): Remove check-abi-warn usage.
38872
38873 * configure.in: Remove check-abi configure option.
38874 * configure: Regenerated.
38875 * config.make.in (enable-check-abi): Remove.
38876
6d5c57fa
AS
388772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38878
24c5d07e 38879 [BZ #14033]
ded5180a
AS
38880 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38881 double functions to double *_finite functions.
38882
7e0d315d
AS
38883 [BZ #13941]
38884 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38885 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38886 LDBL_MIN_EXP.
38887 * stdio-common/Makefile (tests): Add tst-sprintf3.
38888 * stdio-common/tst-sprintf3.c: New file.
38889
6d5c57fa
AS
38890 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38891 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38892
0749ff8b
JM
388932012-04-28 Joseph Myers <joseph@codesourcery.com>
38894
38895 * conform/conformtest.pl: Remove duplicate typed-constant
38896 handling.
38897
8dbd5d7b
DM
388982012-04-28 David S. Miller <davem@davemloft.net>
38899
38900 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38901 (check-abi-%): Remove AWK script prerequisite and explicit
38902 abilist directory.
38903 (check-abi): Rewrite to just diff the symlist with the abilist.
38904 (config-tls, config-abi-config): Delete, no longer used.
38905 (update-abi-%): Remove AWK script and explicit abilist directory.
38906 (update-abi): Rewrite to simply compare and conditionally copy the
38907 symlist and the sysdep abilist file. Remove update-abi-config
38908 checks.
38909 * abilist/ld.abilist: Remove.
38910 * abilist/libBrokenLocale.abilist: Remove.
38911 * abilist/libanl.abilist: Remove.
38912 * abilist/libcrypt.abilist: Remove.
38913 * abilist/libdl.abilist: Remove.
38914 * abilist/librt.abilist: Remove.
38915 * abilist/libthread_db.abilist: Remove.
38916 * abilist/libutil.abilist: Remove.
38917 * scripts/extract-abilist.awk: Remove.
38918 * scripts/merge-abilist.awk: Remove.
38919 * sysdeps/generic/libcidn.abilist: New file.
38920 * sysdeps/generic/libnss_compat.abilist: New file.
38921 * sysdeps/generic/libnss_db.abilist: New file.
38922 * sysdeps/generic/libnss_dns.abilist: New file.
38923 * sysdeps/generic/libnss_files.abilist: New file.
38924 * sysdeps/generic/libnss_hesiod.abilist: New file.
38925 * sysdeps/generic/libnss_nis.abilist: New file.
38926 * sysdeps/generic/libnss_nisplus.abilist: New file.
38927 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38928 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38929 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38930 file.
38931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38932 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38933 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38934 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38935 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38936 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38937 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38938 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38939 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38940 file.
38941 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38942 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38943 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38944 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38945 file.
38946 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38947 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38948 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38949 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38950 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38951 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38952 file.
38953 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38954 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38955 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38956 file.
38957 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38959 New file.
38960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38961 New file.
38962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38963 New file.
38964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38965 New file.
38966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38967 New file.
38968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38969 New file.
38970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38971 New file.
38972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38973 New file.
38974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38975 New file.
38976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38977 New file.
38978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38979 New file.
38980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38981 New file.
38982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38983 New file.
38984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38985 file.
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38987 New file.
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38989 New file.
38990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38991 file.
38992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38993 New file.
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38995 New file.
38996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38997 file.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38999 New file.
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39001 New file.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39003 New file.
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39005 New file.
39006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39007 New file.
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39009 New file.
39010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39012 file.
39013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39014 New file.
39015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39016 file.
39017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39018 file.
39019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39020 file.
39021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39022 file.
39023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39024 file.
39025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39026 New file.
39027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39028 file.
39029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39030 file.
39031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39032 New file.
39033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39034 file.
39035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39037 file.
39038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39039 New file.
39040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39041 file.
39042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39043 file.
39044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39045 file.
39046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39047 file.
39048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39049 file.
39050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39051 New file.
39052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39053 file.
39054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39055 file.
39056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39057 New file.
39058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39059 file.
39060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39061 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39062 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39063 file.
39064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39065 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39066 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39067 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39068 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39069 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39070 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39071 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39072 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39073 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39076 file.
39077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39078 New file.
39079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39080 file.
39081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39082 file.
39083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39084 file.
39085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39086 file.
39087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39088 file.
39089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39090 New file.
39091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39092 New file.
39093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39094 file.
39095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39096 New file.
39097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39098 file.
39099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39101 file.
39102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39103 New file.
39104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39105 file.
39106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39107 file.
39108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39109 file.
39110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39111 file.
39112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39113 file.
39114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39115 New file.
39116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39117 New file.
39118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39119 file.
39120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39121 New file.
39122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39123 file.
39124
41d73a1b
JM
391252012-04-28 Joseph Myers <joseph@codesourcery.com>
39126
39127 * conform/conformtest.pl: Fix typo in handling typed-constant from
39128 allow-header.
39129
28aeeda4
JM
391302012-04-27 Joseph Myers <joseph@codesourcery.com>
39131
adae8f5e
JM
39132 * README: Cut down references to pre-2.6 Linux kernels and
39133 Linuxthreads. Update lists of configurations in libc and ports
39134 and sort alphabetically. Say "or newer" with Linux kernel version
39135 requirements.
39136
28aeeda4
JM
39137 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39138
a462cb63
RA
391392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39140
39141 [BZ #887]
39142 * math/libm-test.inc (logb_test_downward): New test to expose
39143 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39144 rounding mode.
39145
6ad3493e
JM
391462012-04-27 Joseph Myers <joseph@codesourcery.com>
39147
39148 [BZ #14027]
39149 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39150 to be done.
39151 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39152 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39153
2ce4f015
JM
391542012-04-26 Joseph Myers <joseph@codesourcery.com>
39155
5aeb141a
JM
39156 * sysdeps/unix/i386/brk.S: Remove file.
39157 * sysdeps/unix/i386/dl-brk.S: Likewise.
39158 * sysdeps/unix/i386/pipe.S: Likewise.
39159 * sysdeps/unix/i386/sigreturn.S: Likewise.
39160 * sysdeps/unix/i386/syscall.S: Likewise.
39161 * sysdeps/unix/i386/vfork.S: Likewise.
39162 * sysdeps/unix/i386/wait.S: Likewise.
39163
7143acae
JM
39164 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39165 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39166
2ce4f015
JM
39167 * configure.in (arm*-none*): Do not allow without
39168 --enable-hacker-mode.
39169 (netbsd*): Remove case setting base_os.
39170 (386bsd*): Likewise.
39171 (freebsd*): Likewise.
39172 (bsdi*): Likewise.
39173 (osf*): Likewise.
39174 (sunos*): Likewise.
39175 (ultrix*): Likewise.
39176 (newsos*): Likewise.
39177 (dynix*): Likewise.
39178 (*bsd*): Likewise.
39179 (sysv*): Likewise.
39180 (isc*): Likewise.
39181 (esix*): Likewise.
39182 (sco*): Likewise.
39183 (minix*): Likewise.
39184 (irix4*): Likewise.
39185 (irix6*): Likewise.
39186 (solaris[2-9]*): Likewise.
39187 (none): Likewise.
39188 * configure: Regenerated.
39189
0ac229c8
AZ
391902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39191
39192 [BZ #11521]
39193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39194 overflow or cancellation in calculating denominator.
39195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39197 down expression to avoid unexpected rounding in newer GCCs.
39198 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39199
33f244f4
DM
392002012-04-26 David S. Miller <davem@davemloft.net>
39201
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39203 long-double compat symbols.
39204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39217
cfa1f3e8
DM
392182012-04-25 David S. Miller <davem@davemloft.net>
39219
39220 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39221 HWCAP_* values only after the memory barriers have been defined.
39222 (atomic_full_barrier): Define.
39223 (atomic_read_barrier): Define.
39224 (atomic_write_barrier): Define.
39225
6e236b92
SP
392262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39227
39228 * shlib-versions: Add libgcc_s version information.
39229 * sysdeps/generic/libgcc_s.h: Remove.
39230 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39231 libgcc_s.h.
39232 * sysdeps/gnu/unwind-resume.c: Likewise.
39233 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39234
aab39a09
DM
392352012-04-25 David S. Miller <davem@davemloft.net>
39236
39237 * sysdeps/unix/sparc/brk.S: Delete.
39238 * sysdeps/unix/sparc/dl-brk.S: Delete.
39239 * sysdeps/unix/sparc/pipe.S: Delete.
39240 * sysdeps/unix/sparc/sysdep.S: Delete.
39241 * sysdeps/unix/sparc/sysdep.h: Delete.
39242 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39243 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39244 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39246 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39247 (JUMPTARGET): Remove.
39248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39249 sysdeps/unix/sparc/sysdep.h
39250 (ENTRY, END): Remove.
39251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39252
a3cc4f48
JM
392532012-04-25 Joseph Myers <joseph@codesourcery.com>
39254
2ed8cda2
JM
39255 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39256 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39257 -DIS_IN_build.
39258
35d76d59
JM
39259 * timezone/README: Update upstream location and email address for
39260 tzcode and tzdata.
39261 * timezone/zdump.c: Update from tzcode 2012b.
39262 * timezone/zic.c: Likewise.
39263
a3cc4f48
JM
39264 * configure.in (libc_cv_as_needed): Remove test.
39265 * configure: Regenerated.
39266 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39267 conditional definition.
39268 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39269 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39270 * config.make.in (have-as-needed): Remove variable.
39271
ceab42c3
SP
392722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39273 Paul Pluzhnikov <ppluzhnikov@google.com>
39274
39275 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39276 strings correctly.
39277
3ce2865f
CLT
392782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39279
39280 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39281 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39282 * sysdeps/sh/strlen.S: Likewise.
39283
f37e0d68
JM
392842012-04-24 Joseph Myers <joseph@codesourcery.com>
39285
ae186e9a
JM
39286 * sysdeps/unix/fork.S: Remove file.
39287 * sysdeps/unix/i386/fork.S: Likewise.
39288 * sysdeps/unix/sparc/fork.S: Likewise.
39289
b96914af
JM
39290 * sysdeps/unix/system.c: Remove file.
39291 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39292
f37e0d68
JM
39293 * sysdeps/unix/getegid.S: Remove file.
39294 * sysdeps/unix/geteuid.S: Likewise.
39295
87ef29ca
RM
392962012-04-24 Roland McGrath <roland@hack.frob.com>
39297
83bcd236
RM
39298 * scripts/check-localplt.awk: New file.
39299 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39300 of diff.
39301 * scripts/data/localplt-generic.data: Add a comment.
39302
87ef29ca
RM
39303 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39304 NODE when __dir_mkfile failed.
39305 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39306 Reported by Ludovic Courtès <ludo@gnu.org>.
39307
e5a6e567
AJ
393082012-04-24 Andreas Jaeger <aj@suse.de>
39309
39310 * Makerules (common-clean): Also remove gen-as-const-headers
39311 files.
39312
c1820385
JM
393132012-04-24 Joseph Myers <joseph@codesourcery.com>
39314
39315 * Makerules (native-compile): Do not change working directory for
39316 build. Use $(OUTPUT_OPTION) in command.
39317 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39318
94e02fc4
AZ
393192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39320
39321 [BZ #13886]
39322 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39323 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39324 * math/libm-test.inc (floor_test): Add more tests.
39325 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39326
3a533ca3
JM
393272012-04-24 Joseph Myers <joseph@codesourcery.com>
39328
940ab4b3
JM
39329 * sysdeps/unix/getdents.c: Remove file.
39330 * sysdeps/unix/sysv/getdents.c: Likewise.
39331 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39332
90e037bd
JM
39333 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39334 sysdeps/unix/mman/syscalls.list.
39335 (mmap): Likewise.
39336 (mprotect): Likewise.
39337 (msync): Likewise.
39338 (munmap): Likewise.
39339 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39340 * sysdeps/unix/mman/syscalls.list: Remove.
39341 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39342
3a533ca3
JM
39343 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39344 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39345 * configure: Regenerated.
39346 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39347 $(libgcc_s_suffix).
39348 * config.make.in (libgcc_s_suffix): Remove variable.
39349
1ad743de
JM
393502012-04-23 Joseph Myers <joseph@codesourcery.com>
39351
4ad451e2
JM
39352 * sysdeps/unix/sysv/gethostname.c: Move to ...
39353 * sysdeps/posix/gethostname.c: ... here.
39354
5e37ce39
JM
39355 * sysdeps/unix/execve.S: Remove file.
39356
1ad743de
JM
39357 * sysdeps/unix/_exit.S: Remove file.
39358
4e681b5b
AJ
393592012-04-23 Andreas Jaeger <aj@suse.de>
39360
39361 [BZ #13739]
39362 * manual/Makefile: Remove make dist support, there's no
39363 need for a stand-alone documentation tar ball.
39364 (TEXI2DVI): Define always, it's not in Makeconfig.
39365 (dist): Removed.
39366 (tar-it): Removed.
39367 (edition): Removed.
39368 (glibc-doc-$(edition).tar): Removed
39369 (%.Z): Removed.
39370 (%.gz): Removed.
39371 (%.uu): Removed.
39372 (ETAGS): Remove, it's in Makeconfig.
39373 (move-if-change): Remove, it's in Makeconfig.
39374
38686a03 393752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39376
39377 [BZ #13970]
39378 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39379 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39380 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39381 (strtod_l, strtof_l, strtold_l): Remove __wur.
39382 It is not necessarily an error to ignore strtol's return value.
39383 One can reliably look at the stored endptr to decide whether
39384 the number had valid syntax.
39385
7c0616fa
AJ
393862012-04-21 Andreas Jaeger <aj@suse.de>
39387
803cb6b7 39388 [BZ #13739]
7c0616fa
AJ
39389 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39390
b0fe253f
JM
393912012-04-21 Joseph Myers <joseph@codesourcery.com>
39392
39393 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39394 * sysdeps/unix/sysv/Versions: Remove file.
39395
8280f22d
MT
393962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39397
39398 [BZ #13927]
39399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39400
75ce411f 394012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39402
39403 [BZ #7064]
39404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39405 version from __vm86.
39406
097d59fa
JM
394072012-04-20 Joseph Myers <joseph@codesourcery.com>
39408
a90f3bcb
JM
39409 * sysdeps/unix/common/lxstat.c: Remove file.
39410 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39411
edc7ea78
JM
39412 * sysdeps/unix/sysv/Makefile: Remove file.
39413
cb78c221
JM
39414 * sysdeps/unix/sysv/direct.h: Remove file.
39415
efa6a45f
JM
39416 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39417 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39418 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39419 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39420 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39421 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39422 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39423
9c9f2d0c
JM
39424 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39425
4541c83b
JM
39426 * sysdeps/unix/xmknod.c: Remove file.
39427 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39428
f5d153a0
JM
39429 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39430
aa746595
JM
39431 * sysdeps/unix/sysv/i386/time.S: Remove file.
39432
cce5905e
JM
39433 * sysdeps/unix/fxstat.c: Remove file.
39434 * sysdeps/unix/xstat.c: Likewise.
39435 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39436
37fa3841
JM
39437 * sysdeps/unix/sysv/sigaction.c: Remove file.
39438
ff1962a3
JM
39439 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39440 (sysdep_headers): Remove variable.
39441 [termio.h not in sysdep_headers] (generated): Likewise.
39442 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39443 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39444 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39445 * sysdeps/unix/sysv/tcflow.c: Likewise.
39446 * sysdeps/unix/sysv/tcflush.c: Likewise.
39447 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39448 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39449 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39450 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39451 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39452
e7740d31
JM
39453 * sysdeps/unix/siglist.c: Remove file.
39454
ee06f18b
JM
39455 * sysdeps/unix/getppid.S: Remove file.
39456
097d59fa
JM
39457 * sysdeps/unix/mkdir.c: Remove file.
39458 * sysdeps/unix/rmdir.c: Likewise.
39459
ff3d51ec
AS
394602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39461
39462 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39463 ERR_MAX value.
39464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39465 errlist-compat value.
39466
50f81fd7
DM
394672012-04-18 David S. Miller <davem@davemloft.net>
39468
39469 * sysdeps/generic/memcopy.h (reg_char): Delete.
39470 * debug/strcat_chk.c: Use char, not reg_char.
39471 * debug/strcpy_chk.c: Likewise.
39472 * debug/strncat_chk.c: Likewise.
39473 * debug/strncpy_chk.c: Likewise.
39474 * string/memchr.c: Likewise.
39475 * string/memrchr.c: Likewise.
39476 * string/rawmemchr.c: Likewise.
39477 * string/strcat.c: Likewise.
39478 * string/strchr.c: Likewise.
39479 * string/strchrnul.c: Likewise.
39480 * string/strcmp.c: Likewise.
39481 * string/strcpy.c: Likewise.
39482 * string/strncat.c: Likewise.
39483 * string/strncmp.c: Likewise.
39484 * string/strncpy.c: Likewise.
39485
8ff41c46
WS
394862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39487
39488 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39489 __builtin_memcopy is called when src and dest ranges are known to not
39490 overlap.
39491
6b652f46
WS
394922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39493
39494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39495 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39496 fwd_align_merge macro call.
39497 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39498 bwd_align_merge macro call.
39499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39500
b282631e
WS
395012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39502
39503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39504 bwd_align_merge macros.
39505 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39506 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39507 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39508
95aa737c
DM
395092012-04-18 David S. Miller <davem@davemloft.net>
39510
39511 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39512
7a99a614
AJ
395132012-04-18 Andreas Jaeger <aj@suse.de>
39514
39515 [BZ# 6794]
39516 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39517 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39519
39520 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39521 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39523
39524 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39525 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39526 Adjust for changed ldbl-128 files.
39527
39528 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39529 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39530 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39531
e5270c23
DM
395322012-04-17 David S. Miller <davem@davemloft.net>
39533
39534 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39535
fb5e92c9
AS
395362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39537
39538 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39539 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39540 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39541 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39542 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39543 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39544
76da7265
AZ
395452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39546
39547 [BZ #6794]
39548 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39549 * math/libm-test.inc: Add ilogb errno and exception tests.
39550 * math/w_ilogb.c: New file: ilogb wrapper.
39551 * math/w_ilogbf.c: New file: ilogbf wrapper.
39552 * math/w_ilogbl.c: New file: ilogbl wrapper.
39553 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39554 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39555 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39556 exception being thrown with 0.0 as argument.
39557 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39558 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39559 exception being thrown with 0.0 as argument.
39560 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39561 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39562 exception being thrown with 0.0 as argument.
39563 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39564 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39565 exception being thrown with 0.0 as argument.
39566 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39567 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39568 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39569 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39571 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39572 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39573 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39574 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39575
0396e69d
PB
395762012-04-17 Petr Baudis <pasky@ucw.cz>
39577
39578 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39579 with altivec.
39580
750b5926
MP
395812012-04-16 Marek Polacek <polacek@redhat.com>
39582
39583 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39584
751728a1
MP
395852012-04-16 Marek Polacek <polacek@redhat.com>
39586
39587 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39588 operands of fdivp instruction.
39589
34a27407
L
395902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39591
39592 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39593 * elf/tst-auditmod3b.c: Likewise.
39594 * elf/tst-auditmod4b.c: Likewise.
39595 * elf/tst-auditmod5b.c: Likewise.
39596 * elf/tst-auditmod6b.c: Likewise.
39597 * elf/tst-auditmod6c.c: Likewise.
39598 * elf/tst-auditmod7b.c: Likewise.
39599 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39600 * sysdeps/x86_64/preconfigure.in: Likewise.
39601 * sysdeps/x86_64/preconfigure: Regenerated.
39602
7e73e17d
L
396032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39604
39605 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39606 __ILP32__.
39607
c7a6ab72
AB
396082012-04-13 Antoine Balestrat <merkil33@gmail.com>
39609
39610 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39611 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39612
a9e8e0e0
CL
396132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39614
39615 [BZ #13973]
39616 * locale/iso-639.def: Fix gl language name. Spotted by
39617 Yaron Shahrabani.
39618
ec98af7d
RM
396192012-04-12 Roland McGrath <roland@hack.frob.com>
39620
39621 [BZ #2074]
39622 * libio/libio.h (__io_write_fn): Update comment.
39623
247c3ede
PB
396242012-04-12 Petr Baudis <pasky@ucw.cz>
39625
39626 [BZ #2074]
39627 * stdio.texi (Hook Functions): The user provided writer function
39628 is not allowed to return -1.
39629
55939d6d
DM
396302012-04-11 David S. Miller <davem@davemloft.net>
39631
39632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39633
90020f5a
MF
396342012-04-11 Mike Frysinger <vapier@gentoo.org>
39635
39636 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39637 Add a leading slash to rtkaio.
39638
288f9098
JM
396392012-04-11 Jim Meyering <meyering@redhat.com>
39640
90020f5a
MF
39641 [BZ #11959]
39642 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39643 It is not necessarily an error to ignore fwrite's return
39644 value. One can reliably use ferror to test for errors after
39645 the fact.
288f9098 39646
4be2b570
L
396472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39648
39649 * bits/types.h (__snseconds_t): New type.
39650 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39651
39652 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39654 (__SNSECONDS_T_TYPE): Likewise.
39655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39656 (__SNSECONDS_T_TYPE): Likewise.
39657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39658 (__SNSECONDS_T_TYPE): Likewise.
39659
288f9098 396602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39661
39662 [BZ #2636]
39663 * manual/time.texi (Processor Time): Return type of times is
39664 elapsed real time since an arbitrary point in the past.
39665 (CPU Time): Move CLK_TCK from here...
39666 (Processor Time): ...to here. Correct description.
39667 * manual/conf.texi (Constants for Sysconf): Correct description of
39668 _SC_CLK_TCK.
39669
d7dd4413
DM
396702012-04-10 David S. Miller <davem@davemloft.net>
39671
39672 [BZ #13967]
39673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39674 where the is a gap between DT_REL(A) and DT_JMPREL.
39675
b46068fc
L
396762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39677
39678 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39679 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39680 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39681
73d65cc3
SP
396822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39683
39684 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39685 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39686 (dl_main): Handle --inhibit-cache.
39687 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39688 _dl_inhibit_cache.
39689 * elf/dl-load.c (_dl_map_object): Use it.
39690 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39691
bcc8d661
JM
396922012-04-09 Joseph Myers <joseph@codesourcery.com>
39693
8f9a2fae
JM
39694 [BZ #13872]
39695 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39696 (__ieee754_powl): Saturate large exponents rather than testing for
39697 overflow of y*log2(x).
39698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39699 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39700 exceptions.
39701
bcc8d661
JM
39702 [BZ #11521]
39703 * math/s_ctan.c: Include <float.h>.
39704 (__ctan): Avoid internal overflow or cancellation in calculating
39705 denominator.
39706 * math/s_ctanf.c: Likewise.
39707 * math/s_ctanl.c: Likewise.
39708 * math/s_ctanh.c: Likewise.
39709 * math/s_ctanhf.c: Likewise.
39710 * math/s_ctanhl.c: Likewise.
39711 * math/libm-test.inc (ctan_test): Add more tests.
39712 (ctanh_test): Likewise.
39713 * sysdeps/i386/fpu/libm-test-ulps: Update.
39714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39715
823fbbb4
AJ
397162012-04-09 Andreas Jaeger <aj@suse.de>
39717
03879793
AJ
39718 [BZ #6894]
39719 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39720 is an optional BSD extension.
39721
823fbbb4
AJ
39722 [BZ #10254]
39723 * manual/stdio.texi (Opening Streams): Document additional fopen
39724 parameters.
39725
8de131cb
RM
397262012-04-09 Roland McGrath <roland@hack.frob.com>
39727
39728 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39729 %eax without telling the compiler.
39730
c0ed9d7d
CD
397312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39732
39733 [BZ # 13963]
39734 * manual/install.texi: Use sourceware.org.
39735
c483f6b4
JM
397362012-04-09 Joseph Myers <joseph@codesourcery.com>
39737
d7dd9453
JM
39738 [BZ #13873]
39739 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39740 (__ieee754_pow): Generate overflow and underflow using huge*huge
39741 and tiny*tiny rather than just returning constant infinity or zero
39742 for large exponents.
39743 * math/libm-test.inc (pow_test): Require overflow exceptions for
39744 applicable cases of large exponents.
39745
c483f6b4
JM
39746 [BZ #706]
39747 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39748 (__ieee754_pow): Use iterative multiplication algorithm only for
39749 integer exponents with absolute value below 1024. Check for odd
39750 integer exponents when using algorithm for real exponents.
39751 * math/libm-test.inc (pow_test): Add more tests.
39752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39753
d2de7579
JM
397542012-04-08 Joseph Myers <joseph@codesourcery.com>
39755
39756 [BZ #13705]
39757 * math/libm-test.inc (exp_test): Do not allow overflow exception
39758 on underflow test.
39759
f77f1232
AJ
397602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39761
39762 [BZ #13705]
39763 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39764 instead of __kernel_standard_f.
39765
3884932b
MF
397662012-04-08 Mike Frysinger <vapier@gentoo.org>
39767
39768 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39769 * sysdeps/x86_64/memset_chk.S: Likewise.
39770
54472e9c
AJ
397712012-04-08 Andreas Jaeger <aj@suse.de>
39772
6ab0fbfc
AJ
39773 [BZ #10153]
39774 * manual/startup.texi (Environment Access): Describe return value
39775 for putenv and setenv.
39776
61efba8c
AJ
39777 [BZ #6895]
39778 * manual/filesys.texi (Directory Entries): Add description for
39779 DT_LNK.
39780
95c3f29a
AJ
39781 [BZ #6890]
39782 * manual/filesys.texi (Directory Entries): Clarify that it's file
39783 system not operating system in the description of DT_UNKNOWN.
39784
54472e9c
AJ
39785 [BZ #6578]
39786 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39787
624254b1
SC
397882012-04-08 Stephen Compall <s11@member.fsf.org>
39789
39790 [BZ #6649]
39791 * manual/llio.texi (Opening and Closing Files): Add cross
39792 reference to explain mode argument.
39793
1e4920e0
MF
397942012-04-07 Mike Frysinger <vapier@gentoo.org>
39795
39796 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39797 * sysdeps/x86_64/memset_chk.S: Likewise.
39798
5ed848f3
DM
397992012-04-07 David S. Miller <davem@davemloft.net>
39800
39801 * elf/elf.h (R_SPARC_WDISP10): Define.
39802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39803 R_SPARC_SIZE32.
39804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39805 R_SPARC_SIZE64 and R_SPARC_H34.
39806
96154cd8
CD
398072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39808
39809 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39810 conditions and remove no longer applicable assertion.
39811
9904dc47
L
398122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39813
39814 * bits/byteswap.h: Include <features.h>.
39815 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39816 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39817
f8887d0a
L
398182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39819
39820 * bits/byteswap.h (__bswap_16): Removed.
39821 Include <bits/byteswap-16.h> to get __bswap_16.
39822 * sysdeps/i386/bits/byteswap.h: Likewise.
39823 * sysdeps/s390/bits/byteswap.h: Likewise.
39824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39825 * bits/byteswap-16.h: New file.
39826 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39827 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39828 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39829 * string/Makefile (headers): Add bits/byteswap-16.h.
39830
62470f60
PP
398312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39832
39833 [BZ #13895]
39834 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39835 extra indirection.
39836 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39837 * nss/tst-nss-static.c: New.
39838
4dad7bab
RM
398392012-04-06 Robert Millan <rmh@gnu.org>
39840
39841 [BZ #6486]
39842 * manual/llio.texi (File Position Primitive): lseek
39843 refers to WHENCE when it really means OFFSET.
39844
e9142a17
AJ
398452012-04-06 Andreas Jaeger <aj@suse.de>
39846
2c040eff
AJ
39847 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39848 strncmp declarations.
39849
e9142a17
AJ
39850 * abilist/libc.abilist: Add __poll and __ppoll.
39851
ff9f1c5f
DM
398522012-04-05 David S. Miller <davem@davemloft.net>
39853
dcd2ae90
DM
39854 * scripts/check-local-headers.sh: Accept a host triplet in the
39855 path matched by the exclude regexp.
39856
993eb054
DM
39857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39858 definition.
39859 * sysdeps/powerpc/powerpc32/dl-machine.h
39860 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39861 * sysdeps/s390/s390-32/dl-machine.h
39862 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39863 * sysdeps/sparc/sparc32/dl-machine.h
39864 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39865 * sysdeps/sparc/sparc64/dl-machine.h
39866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39867
ff9f1c5f
DM
39868 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39869 lazy binding.
48e2e132 39870 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39871 undefined symbol errors.
39872
48e2e132 39873 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39874 DT_NEEDED entries.
39875
e80d6f94
MM
398762012-04-05 Michael Matz <matz@suse.de>
39877
39878 [BZ #13592]
39879 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39880
349fa79f
AJ
398812012-04-05 Andreas Jaeger <aj@suse.de>
39882
39883 [BZ #13908]
39884 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39885 comment.
39886
f402708f
KK
398872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39888
39889 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39890 which ROUND is no valid rounding mode.
39891
2ecccfc9
KK
398922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39893
39894 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39895 read again.
39896 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39897
8a53f50f
KK
398982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39899
39900 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39901 an exception using FPU order intentionally.
39902
399032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39904
39905 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39906 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39907 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39908 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39909
d653abb7
SJ
399102012-04-05 Simon Josefsson <simon@josefsson.org>
39911
39912 [BZ #12340]
39913 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39914 EINVAL when BUFLEN is too smal.
39915
c3b1bf7d
TS
399162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39917
39918 [BZ #13553]
39919 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39920 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39921
b1aa60f3
AJ
399222012-04-03 Andreas Jaeger <aj@suse.de>
39923
c3b1bf7d 39924 [BZ #13938]
67f60a26
AJ
39925 * manual/setjmp.texi (System V contexts): Fix sentence.
39926
b1aa60f3
AJ
39927 [BZ #13926]
39928 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39929 New macro for this case.
39930 [!__GNUC__] (__bswap_64): New inline function for this case.
39931 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39932 * bits/byteswap.h: Likewise.
39933 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39934 ull, guard with __GLIBC_HAVE_LONG_LONG.
39935
39936 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39937 __GLIBC_HAVE_LONG_LONG.
39938
39939 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39940 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39941
39c59c35
TMQMF
399422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39943
39944 [BZ #13691]
39945 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39946 inptr and inend, rather than using last_ch.
39947
135ffda8
DM
399482012-04-02 David S. Miller <davem@davemloft.net>
39949
39950 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39951 * stdio-common/printf-parse.h (read_int): Change return type to
39952 'int', return -1 on INT_MAX overflow.
39953 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39954 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39955 overflows INT_MAX. Check for overflow of in-format-string precision
39956 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39957 SIZE_MAX not INT_MAX for integer overflow test.
39958 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39959 skip the construct in the format string but do not record anything.
39960 * stdio-common/bug22.c: Adjust to test both width/prevision
39961 INT_MAX overflow as well as total length INT_MAX overflow. Check
39962 explicitly for proper errno values.
39963
228c019e
TS
399642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39965
302cadd3
TS
39966 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39967 CHAR_MAX.
39968 * string/test-strcmp.c [! WIDE]: Likewise.
39969 * time/tst-mktime2.c: Likewise for INT_MAX.
39970 * string/test-string.h: #include <sys/param.h> for MIN.
39971
228c019e
TS
39972 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39973 * sysdeps/i386/init-first.c (init): Likewise.
39974 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39975 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39976 * sysdeps/sh/init-first.c (init): Likewise.
39977
cfa633f5
UD
399782012-04-01 Ulrich Drepper <drepper@gmail.com>
39979
39980 * po/ru.po: Update from translation team.
d1635ef8 39981 * po/vi.po: Likewise.
cfa633f5 39982
6cd0a5ea
SP
399832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39984
39985 * resolv/nss_dns/dns-host.c: Merge copyright years.
39986
4b43400f
LD
399872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39988
39989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39990 Optimize memcpy with prefetch if
39991 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39992 src, dst pointers have unequal 16 byte alignments.
39993
48c41d04
SP
399942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39995
39996 [BZ #13928]
39997 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39998 from a CNAME entry and return the minimum ttl for the query.
39999 (gaih_getanswer_slice): Likewise.
40000
b8dc394d
JL
400012012-03-30 Jeff Law <law@redhat.com>
40002
40003 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40004 due to long keys.
40005 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40006 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40007
2f5a5ed0
JL
40008 * resolv/nss_dns/dns-host.c: Update copyright year.
40009
1d39e359
UD
400102012-03-30 Ulrich Drepper <drepper@gmail.com>
40011
c030f70c 40012 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40013 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40014
1d39e359
UD
40015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40016 comments for sendmmsg.
40017
400182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40019
40020 [BZ #13691]
40021 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40022 with only 1 character between 0x0041 and 0x01b0.
40023 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40024 * wcsmbs/tst-mbsnrtowcs.c: New file.
40025
20fde227
DM
400262012-03-29 David S. Miller <davem@davemloft.net>
40027
40028 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40029 small copies by hand.
40030
984a4237
JL
400312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40032
40033 [BZ #13761]
57f41c40
AS
40034 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40035 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40036 group memberships.
984a4237 40037
18c9d62b
DM
400382012-03-28 David S. Miller <davem@davemloft.net>
40039
88d85d4f
DM
40040 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40041 that branches into memcpy.
40042 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40044 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40045 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40047 bits.
40048 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40049 implementation too.
40050 * sysdeps/sparc/mempcpy.S: New file.
40051
e5aa83e1
DM
40052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40053 the IFUNC routine in the libc case.
40054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40055
88570753
DM
40056 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40057 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40058 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40059 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40060 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40061 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40062 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40063 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40064
249d7567
DM
40065 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40066 loop to 256 bytes instead of 64 bytes and fix test signedness.
40067
18c9d62b
DM
40068 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40069 * sysdeps/sparc/sparc32/Makefile: rather than here...
40070 * sysdeps/sparc/sparc64/Makefile: and here.
40071
05f3d1f6
UD
400722012-03-28 Ulrich Drepper <drepper@gmail.com>
40073
40074 * malloc/mallocbug.c: Avoid warnings about unused variables.
40075
86ae07a8
JL
400762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40077
40078 [BZ #13760]
40079 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40080 in the right place. Discard and retry query if response is
40081 larger than input buffer size.
40082
41bf21a1
JM
400832012-03-28 Joseph Myers <joseph@codesourcery.com>
40084
d6270972
JM
40085 [BZ #369]
40086 [BZ #2678]
40087 [BZ #3866]
40088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40089 x for large integer exponent.
40090 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40091 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40092 sign of result as needed afterwards.
40093 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40094 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40095 result for underflowing pow the same as for overflow.
40096 (__kernel_standard_l): Handle powl overflow and underflow here
40097 rather than calling __kernel_standard.
40098 * math/libm-test.inc (pow_test): Add more tests.
40099
414fca03 40100 [BZ #3868]
41bf21a1
JM
40101 [BZ #13879]
40102 [BZ #13910]
40103 [BZ #13911]
40104 [BZ #13912]
40105 [BZ #13913]
40106 [BZ #13915]
40107 [BZ #13916]
40108 [BZ #13917]
40109 [BZ #13918]
40110 [BZ #13919]
40111 [BZ #13920]
40112 [BZ #13921]
40113 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40114 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40115 (__kernel_standard_l): New function.
40116 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40117 __kernel_standard.
40118 * math/w_acosl.c (__acosl): Likewise.
40119 * math/w_asinl.c (__asinl): Likewise.
40120 * math/w_atan2l.c (__atan2l): Likewise.
40121 * math/w_atanhl.c (__atanhl): Likewise.
40122 * math/w_coshl.c (__coshl): Likewise.
40123 * math/w_exp10l.c (__exp10l): Likewise.
40124 * math/w_exp2l.c (__exp2l): Likewise.
40125 * math/w_fmodl.c (__fmodl): Likewise.
40126 * math/w_hypotl.c (__hypotl): Likewise.
40127 * math/w_j0l.c (__j0l, __y0l): Likewise.
40128 * math/w_j1l.c (__j1l, __y1l): Likewise.
40129 * math/w_jnl.c (__jnl, __ynl): Likewise.
40130 * math/w_lgammal.c (__lgammal): Likewise.
40131 * math/w_log10l.c (__log10l): Likewise.
40132 * math/w_log2l.c (__log2l): Likewise.
40133 * math/w_logl.c (__logl): Likewise.
40134 * math/w_powl.c (__powl): Likewise.
40135 * math/w_remainderl.c (__remainderl): Likewise.
40136 * math/w_scalbl.c (sysv_scalbl): Likewise.
40137 * math/w_sinhl.c (__sinhl): Likewise.
40138 * math/w_sqrtl.c (__sqrtl): Likewise.
40139 * math/w_tgammal.c (__tgammal): Likewise.
40140 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40141 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40142 * math/libm-test.inc (acos_test): Add more tests.
40143 (acosh_test): Likewise.
40144 (asin_test): Likewise.
40145 (atanh_test): Likewise.
40146 (exp_test): Likewise.
40147 (exp10_test): Likewise.
40148 (exp2_test): Likewise.
40149 (expm1_test): Likewise.
40150 (lgamma_test): Likewise.
40151 (log_test): Likewise.
40152 (log10_test): Likewise.
40153 (log1p_test): Likewise.
40154 (log2_test): Likewise.
40155 (pow_test): Do not allow some spurious overflow exceptions.
40156 (sqrt_test): Add more tests.
40157 (tgamma_test): Likewise.
40158 (y0_test): Likewise.
40159 (y1_test): Likewise.
40160 (yn_test): Likewise.
40161
dd62fda6
AB
401622012-03-27 Anton Blanchard <anton@samba.org>
40163
40164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40165 MAP_HUGETLB.
40166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40169
1e3cdfda
AJ
401702012-03-27 David S. Miller <davem@davemloft.net>
40171
b855ab85
DM
40172 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40173
1e3cdfda
AJ
40174 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40175 have-as-vis3 check.
40176
401772012-03-27 Andreas Jaeger <aj@suse.de>
40178
40179 * sysdeps/x86_64/elf/configure.in: Moved to ...
40180 * sysdeps/x86_64/configure.in: ... here.
40181 * sysdeps/x86_64/elf/start.S: Moved to ...
40182 * sysdeps/x86_64/start.S: ... here.
40183 * sysdeps/x86_64/elf/configure: Delete.
40184
40185 * sysdeps/x86_64/configure.in: Merge contents from
40186 sysdeps/i386/configure.in (without i686 check).
40187
40188 * sysdeps/i386/elf/Versions: Merge into ...
40189 * sysdeps/i386/Versions: ... this.
40190 * sysdeps/i386/elf/Versions: Delete file.
40191 * sysdeps/i386/elf/start.S: Moved to ...
40192 * sysdeps/i386/start.S: ...here.
40193 * sysdeps/i386/elf/configure.in: Merge into...
40194 * sysdeps/i386/configure.in: ...here.
40195 * sysdeps/i386/elf/configure.in: Delete file.
40196 * sysdeps/i386/elf/configure: Delete file.
40197
40198 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40199 * debug/backtracesyms.c: ... here.
40200 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40201 * debug/backtracesymsfd.c: ... here.
40202 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40203 * sysdeps/generic/ifunc-sel.h: ... here.
40204
40205 * sysdeps/unix/i386/start.c: Delete file.
40206 * sysdeps/unix/sparc/start.c: Delete file.
40207 * sysdeps/unix/start.c: Delete file.
40208
40209 * sysdeps/sh/elf/configure.in: Moved to ...
40210 * sysdeps/sh/configure.in: ... here.
40211 * sysdeps/sh/elf/start.S: Moved to ...
40212 * sysdeps/sh/start.S: ... here.
40213 * sysdeps/sh/elf/configure: Delete file.
40214
40215 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40216 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40217 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40218 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40219 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40220 * sysdeps/powerpc/powerpc64/start.S: here.
40221 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40222 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40223 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40224 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40225 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40226
40227 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40228 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40229 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40230 * sysdeps/powerpc/powerpc32/start.S: ... here.
40231 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40232 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40233 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40234
40235 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40236 * sysdeps/powerpc/ifunc-sel.h: ... here.
40237 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40238 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40239
40240 * sysdeps/sparc/elf/configure.in: Moved to ...
40241 * sysdeps/sparc/configure.in: ... here.
40242 * sysdeps/sparc/elf/configure: Delete file.
40243 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40244 * sysdeps/sparc/sparc32/start.S: ... here.
40245 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40246 * sysdeps/sparc/sparc64/start.S: ... here.
40247 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40248 * sysdeps/sparc/sparc32/Makefile: ... this.
40249 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40250 * sysdeps/sparc/sparc64/Makefile: ... this.
40251
40252 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40253 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40254 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40255 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40256 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40257 * sysdeps/s390/s390-32/setjmp.S: ... here.
40258 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40259 * sysdeps/s390/s390-32/configure.in: ... here.
40260 * sysdeps/s390/s390-32/elf/configure: Delete file.
40261 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40262 * sysdeps/s390/s390-32/start.S: ... here.
40263
40264 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40265 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40266 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40267 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40268 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40269 * sysdeps/s390/s390-64/setjmp.S: ... here.
40270 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40271 * sysdeps/s390/s390-64/configure.in: ... here
40272 * sysdeps/s390/s390-64/elf/configure: Delete file.
40273 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40274 * sysdeps/s390/s390-64/start.S: ... here.
40275 * sysdeps/s390/s390-64/elf/configure: Delete.
40276
40277 * configure.in: Remove support for elf directories in sysdeps.
40278
40279 * configure: Regenerated.
40280 * sysdeps/i386/configure: Regenerated.
40281 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40282 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40283 * sysdeps/s390/s390-32/configure: Regenerated.
40284 * sysdeps/s390/s390-64/configure: Regenerated.
40285 * sysdeps/sh/configure: Regenerated.
40286 * sysdeps/sparc/configure: Regenerated.
40287 * sysdeps/x86_64/configure: Regenerated.
40288
a3f61311
AS
402892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40290
c876e002
AS
40291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40292
a3f61311
AS
40293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40294 denormal result into account.
40295
ac4c54f0
RM
402962012-03-25 Roland McGrath <roland@hack.frob.com>
40297
40298 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40299 Reported by Allan McRae <allan@archlinux.org>.
40300
6a9b9c02
JL
403012012-03-23 Jeff Law <law@redhat.com>
40302
40303 * nss/getnssent.c (__nss_getent): Fix typo.
40304
4c42a0c1
DM
403052012-03-23 David S. Miller <davem@davemloft.net>
40306
40307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40308
1532c7ac
L
403092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40310
40311 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40312 to pad to uint64_t for each field.
40313 (dl_tls_index): Replace unsigned long with uint64_t.
40314
3ff42526
PP
403152012-03-23 Daniel Jacobowitz <dmj@google.com>
40316 Paul Pluzhnikov <ppluzhnikov@google.com>
40317
40318 [BZ #6528]
40319 * grp/Makefile (otherlibs): Don't set it.
40320 * inet/Makefile (otherlibs): Likewise.
40321 * login/Makefile (otherlibs): Likewise.
40322 * nscd/Makefile (otherlibs): Likewise.
40323 * posix/Makefile (otherlibs): Likewise.
40324 * pwd/Makefile (otherlibs): Likewise.
40325 * rt/Makefile (otherlibs): Likewise.
40326 * sunrpc/Makefile (otherlibs): Likewise.
40327 * nss/Makefile (otherlibs): Likewise.
40328 Add libnss_files to routines and static-only-routines.
40329 ($(objpfx)getent): Remove rule.
40330 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40331 static-only-routines.
40332
7c69cd14
JM
403332012-03-22 Joseph Myers <joseph@codesourcery.com>
40334
40335 [BZ #13892]
40336 * math/s_cexp.c: Include <float.h>.
40337 (__cexp): Handle exp result overflowing not necessarily
40338 overflowing both real and imaginary parts of result.
40339 * math/s_cexpf.c: Likewise.
40340 * math/s_cexpl.c: Likewise.
40341 * math/libm-test.inc (cexp_test): Add more tests.
40342 * sysdeps/i386/fpu/libm-test-ulps: Update.
40343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40344
81b035fe
L
403452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40346
40347 * include/link.h (ELFW): New macro.
40348 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40349 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40350
1da7940c
L
403512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40352
40353 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40354 with uint64_t.
40355
b749dbb9
L
403562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40357
40358 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40359 declaration.
40360 (struct La_x32_retval): Likewise.
40361
2ff87f3f
L
403622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40363
40364 * sysdeps/x86_64/preconfigure.in: New file.
40365 * sysdeps/x86_64/preconfigure: New generated file.
40366
c0df8e69
JM
403672012-03-22 Joseph Myers <joseph@codesourcery.com>
40368
48e44791
JM
40369 [BZ #13824]
40370 * math/e_exp2l.c: Include <float.h>.
40371 (__ieee754_exp2l): Handle overflow and underflow cases
40372 separately. Only pass fractional part of argument to
40373 __ieee754_expl.
40374 * math/libm-test.inc (exp2_test): Add more tests.
40375
c0df8e69
JM
40376 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40377 negating x to take absolute value.
40378 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40379 Likewise.
40380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40382 Likewise.
40383 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40384 computing low part if x was negated.
40385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40386
c8e43ba7
L
403872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40388
40389 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40390 la_x32_gnu_pltexit.
40391 (pltexit): Cast int_retval to ptrdiff_t.
40392 * elf/tst-auditmod3b.c: Likewise.
40393 * elf/tst-auditmod4b.c: Likewise.
40394 * elf/tst-auditmod5b.c: Likewise.
40395 * elf/tst-auditmod6b.c: Likewise.
40396 * elf/tst-auditmod6c.c: Likewise.
40397 * elf/tst-auditmod7b.c: Likewise.
40398
40399 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40400 and x32_gnu_pltexit.
40401
40402 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40403 __ELF_NATIVE_CLASS.
40404 (La_x32_regs): New macro.
40405 (La_x32_retval): Likewise.
40406 (la_x32_gnu_pltenter): New function prototype.
40407 (la_x32_gnu_pltexit): Likewise.
40408
7998fa78
AS
404092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40410
dcb33988
AS
40411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40412 exponent.
40413
233fc563
AS
40414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40415
7998fa78
AS
40416 * configure.in (libc_cv_cc_nofma): Check for option to disable
40417 generation of FMA instructions.
40418 * configure: Regenerate.
40419 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40420 * sysdeps/ieee754/dbl-64/Makefile: New file.
40421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40422 Remove brandred-fma4.
40423 (CFLAGS-brandred-fma4.c): Remove.
40424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40426 define.
40427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40428 define.
40429
8e95c99a
L
404302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40431
40432 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40433 LLONG_MAX != LONG_MAX.
40434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40435 (_fitoa_word): Likewise.
40436 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40437 LLONG_MAX != LONG_MAX.
40438 * stdio-common/_itowa.h: Include <_itoa.h>.
40439 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40440 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40441 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40442 only if not defined.
40443 (_ITOA_WORD_TYPE): Likewise.
40444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40445 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40446
6f4db457
DM
404472012-03-21 David S. Miller <davem@davemloft.net>
40448
40449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40450
7785fe5a
L
404512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40452
40453 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40454 of x86_64 when setting libc_cv_slibdir, libdir and
40455 libc_cv_localedir.
40456 * sysdeps/unix/sysv/linux/configure: Regenerated.
40457
4535cd55
JM
404582012-03-21 Joseph Myers <joseph@codesourcery.com>
40459
40460 * manual/lang.texi (Old Varargs): Remove section.
40461 (How Variadic): Update menu.
40462 (va_start): Do not mention varargs.h.
40463
17228132
TS
404642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40465 Joseph Myers <joseph@codesourcery.com>
40466
40467 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40468 link test.
40469 * configure: Regenerated.
40470
8149f976
TS
404712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40472
05f3d1f6
UD
40473 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40474 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40475 conformtest.pl
8149f976 40476
1a4ac776
JM
404772012-03-21 Joseph Myers <joseph@codesourcery.com>
40478
be22ce65
JM
40479 * NOTES: Remove.
40480 * Makefile (files-for-dist): Remove NOTES.
40481 (NOTES): Remove rule.
40482 * README: Don't refer to NOTES.
40483 * manual/creature.texi: Don't include macros.texi.
40484 * manual/intro.texi (creature.texi): Remove comment referring to
40485 NOTES.
40486
40b601fb
JM
40487 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40488 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40489 * configure: Regenerated.
40490 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40491 LIBC_TRY_CC_OPTION.
40492 (libc_cv_as_i686): Likewise.
40493 (libc_cv_cc_avx): Likewise.
40494 (libc_cv_cc_sse2avx): Likewise.
40495 (libc_cv_cc_fma4): Likewise.
40496 (libc_cv_cc_novzeroupper): Likewise.
40497 * sysdeps/i386/configure: Regenerated.
40498
1a4ac776
JM
40499 [BZ #13883]
40500 * sysdeps/i386/fpu/s_cexp.S: Remove.
40501 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40502 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40503 * math/libm-test.inc (cexp_test): Add more tests.
40504 * sysdeps/i386/fpu/libm-test-ulps: Update.
40505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40506
a458e7fe
AM
405072012-03-21 Allan McRae <allan@archlinux.org>
40508
40509 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40510
0cb7efc5
JM
405112012-03-21 Joseph Myers <joseph@codesourcery.com>
40512
40513 [BZ #13871]
40514 * math/w_exp2.c: Do not include <float.h>.
40515 (o_threshold, u_threshold): Remove.
40516 (__exp2): Calculate result before checking finiteness and calling
40517 __kernel_standard.
40518 * math/w_exp2f.c: Likewise.
40519 * math/w_exp2l.c: Likewise.
40520 * math/libm-test.inc (exp2_test): Require overflow exception for
40521 1e6 input.
2460d3aa
JM
40522
40523 [BZ #3866]
40524 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40525 range of signed 64-bit integers before using fistpll. Remove
40526 checks for whether integers fit in mantissa bits.
40527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40528 the range of signed 32-bit integers before using fistpl. Remove
40529 checks for whether integers fit in mantissa bits.
40530 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40531 (__ieee754_powl): Test for y outside the range of signed 64-bit
40532 integers before using fistpll. Reduce 64-bit values to 63-bit
40533 ones as needed.
40534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40535 divide-by-zero is raised for zero to large negative powers.
40536 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40537 (__ieee754_powl): Test for y outside the range of signed 64-bit
40538 integers before using fistpll. Reduce 64-bit values to 63-bit
40539 ones as needed.
40540 * math/libm-test.inc (pow_test): Add more tests.
40541
eb96ffb0
L
405422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40543
40544 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40545 <stdio-common/_itoa.h>.
40546 * debug/segfault.c: Likewise.
40547 * elf/dl-cache.c: Likewise.
40548 * elf/dl-minimal.c: Likewise.
40549 * elf/dl-misc.c: Likewise.
40550 * elf/dl-sysdep.c: Likewise.
40551 * elf/dl-version.c: Likewise.
40552 * elf/rtld.c: Likewise.
40553 * hurd/hurdsock.c: Likewise.
40554 * hurd/lookup-retry.c: Likewise.
40555 * malloc/malloc.c: Likewise.
40556 * malloc/mtrace.c: Likewise.
40557 * nscd/nscd_getgr_r.c: Likewise.
40558 * nscd/nscd_getpw_r.c: Likewise.
40559 * nscd/nscd_getserv_r.c: Likewise.
40560 * posix/getopt_init.c: Likewise.
40561 * posix/wordexp.c: Likewise.
40562 * stdio-common/_itoa.c: Likewise.
40563 * stdio-common/printf_fphex.c: Likewise.
40564 * stdio-common/vfprintf.c: Likewise.
40565 * string/_strerror.c: Likewise.
40566 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40567 * sysdeps/i386/i686/hp-timing.h: Likewise.
40568 * sysdeps/mach/_strerror.c: Likewise.
40569 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40570 * sysdeps/mach/hurd/sethostid.c: Likewise.
40571 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40572 * sysdeps/mach/xpg-strerror.c: Likewise.
40573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40574 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40575 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40576 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40577 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40578 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40580 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40581 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40582 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40583 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40584 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40585 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40586 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40588 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40589 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40590 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40591 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40592 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40593 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40594
40595 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40596
40597 * stdio-common/_itoa.h: Moved to ...
40598 * sysdeps/generic/_itoa.h: Here.
40599
40600 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40601
40602 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40603 instead of "_itoa.h" and "_itowa.h".
40604 * stdio-common/vfprintf.: Likewise.
40605
d1af992d
L
406062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40607
40608 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40609 <bits/wordsize.h>.
40610 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40611 (__signbit): Likwise.
40612 (llrintf): Likwise.
40613 (llrint): Likwise.
40614
114883e0
L
406152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40616
40617 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40618 __WORDSIZE != 64.
40619
c135cc1b
JM
406202012-03-20 Joseph Myers <joseph@codesourcery.com>
40621
40622 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40623 OVERFLOW_EXCEPTION_OK.
40624 * math/libm-test.inc ("Philosophy"): Update comment about
40625 exception testing.
40626 (OVERFLOW_EXCEPTION): Define.
40627 (OVERFLOW_EXCEPTION_OK): Likewise.
40628 (INVALID_EXCEPTION_OK): Renumber.
40629 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40630 (IGNORE_ZERO_INF_SIGN): Likewise.
40631 (test_exceptions): Handle FE_OVERFLOW.
40632 (exp10_test): Expect overflow exceptions.
40633 (exp2_test): Likewise.
40634 (expm1_test): Likewise.
40635 (nextafter_test): Likewise.
40636 (pow_test): Likewise.
40637 (scalbn_test): Likewise.
40638 (scalbln_test): Likewise.
40639
95443d88
L
406402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40641
40642 * sysdeps/x86_64/bits/atomic.h
40643 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40644 64bit integer.
40645 (atomic_exchange_acq): Likewise.
40646 (__arch_exchange_and_add_body): Likewise.
40647 (__arch_add_body): Likewise.
40648 (atomic_add_negative): Likewise.
40649 (atomic_add_zero): Likewise.
40650
490df6c4
L
406512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40652
c2722551 40653 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40654 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40655
5e52b189
L
406562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40657
40658 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40659 Check __x86_64__ instead of __WORDSIZE.
40660
a9879d4c
L
406612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40662
40663 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40664
5df98260
DM
406652012-03-19 David S. Miller <davem@davemloft.net>
40666
e1497744
DM
40667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40668
5df98260
DM
40669 * sysdeps/sparc/fpu/fenv_private.h: New file.
40670 * sysdeps/sparc/fpu/math_private.h: Use it.
40671 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40672 Remove.
57f41c40 40673 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40674 (libc_feholdexcept_setroundl): Remove.
40675 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40676 Remove.
40677 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40678 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40679
b4c35121
L
406802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40681
40682 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40683 int64_t instead of long int.
40684 (INSERT_WORDS64): Likwise.
40685
56965fd7
L
406862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40687
40688 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40689 _Unwind_GetCFA return to _Unwind_Ptr first.
40690
83d1aec8
JM
406912012-03-19 Joseph Myers <joseph@codesourcery.com>
40692
1897ad44
JM
40693 [BZ #13629]
40694 * math/s_clog.c: Include <float.h>.
40695 (__clog): Scale large or subnormal inputs.
40696 * math/s_clogf.c: Likewise.
40697 * math/s_clogl.c: Likewise.
40698 * math/s_clog10.c: Include <float.h>.
40699 (M_LOG10_2): Define.
40700 (__clog10): Scale large or subnormal inputs.
40701 * math/s_clog10f.c: Likewise.
40702 * math/s_clog10l.c: Likewise.
40703 * math/libm-test.inc (clog_test): Add more tests.
40704 (clog10_test): Likewise.
40705 * sysdeps/i386/fpu/libm-test-ulps: Update.
40706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707
7726d6a9
JM
40708 [BZ #11451]
40709 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40710 x and y.
40711 * math/libm-test.inc (atan2_test): Add another test.
40712
83d1aec8
JM
40713 * Makerules (common-objdir-compile): Remove.
40714 * sysdeps/unix/Makefile (config-generated): Do not add
40715 $(unix-generated) to variable.
40716 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40717 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40718 Remove rule.
40719 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40720 Likewise.
40721 [generic bits/local_lim.h] (before-compile): Do not append to
40722 variable.
40723 [generic bits/local_lim.h] (common-generated): Likewise.
40724 [generic sys/param.h] (before-compile): Do not append to variable.
40725 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40726 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40727 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40728 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40729 include.
40730 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40731 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40732 [generic sys/param.h] ($(addprefix
40733 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40734 [generic sys/param.h] (common-generated): Do not append to
40735 variable.
40736 [generic sys/param.h] (sysdep_headers): Likewise.
40737 [generic bits/errno.h] (before-compile): Do not append to
40738 variable.
40739 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40740 rule.
40741 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40742 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40743 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40744 [generic bits/errno.h] (common-generated): Do not append to
40745 variable.
40746 [generic bits/ioctls.h] (before-compile): Do not append to
40747 variable.
40748 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40749 rule.
40750 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40751 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40752 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40753 rule.
40754 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40755 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40756 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40757 [generic bits/ioctls.h] (common-generated): Do not append to
40758 variable.
40759 [generic sys/syscall.h] (syscall.h): Remove variable.
40760 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40761 rule.
40762 [generic sys/syscall.h] (before-compile): Do not append to
40763 variable.
40764 [generic sys/syscall.h] (common-generated): Likewise.
40765 * sysdeps/unix/errnos-tmpl.c: Remove file.
40766 * sysdeps/unix/errnos.awk: Likewise.
40767 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40768 * sysdeps/unix/ioctls.awk: Likewise.
40769 * sysdeps/unix/mk-local_lim.c: Likewise.
40770 * sysdeps/unix/snarf-ioctls: Likewise.
40771
4851a949
RH
407722012-03-19 Richard Henderson <rth@twiddle.net>
40773
bd37f2ee
RH
40774 * sysdeps/i386/fpu/fenv_private.h: New file.
40775 * sysdeps/i386/fpu/math_private.h: Use it.
40776 (math_opt_barrier, math_force_eval): Remove.
40777 (libc_feholdexcept_setround_53bit): Remove.
40778 (libc_feupdateenv_53bit): Remove.
40779 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40780 (math_opt_barrier, math_force_eval): Remove.
40781 (libc_feholdexcept): Remove.
40782 (libc_feholdexcept_setround): Remove.
40783 (libc_fetestexcept, libc_fesetenv): Remove.
40784 (libc_feupdateenv_test): Remove.
40785 (libc_feupdateenv, libc_feholdsetround): Remove.
40786 (libc_feresetround): Remove.
40787
d0adc922
RH
40788 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40789 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40790
0fe0f1f8
RH
40791 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40792 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40793 (libc_feupdateenv_testl): New.
40794 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40795 (libc_feupdateenv_testf): New.
40796 (libc_feupdateenv): Use libc_feupdateenv_test.
40797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40799
eb92c487
RH
40800 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40801 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40802 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40803 (libc_feresetround_noex): New.
40804 (libc_feresetround_noexf): New.
40805 (libc_feresetround_noexl): New.
40806 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40807 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40808 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40809 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40810 SET_RESTORE_ROUND.
40811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40813 (__cos): Likewise.
40814 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40816 SET_RESTORE_ROUND_NOEX.
40817 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40818 SET_RESTORE_ROUND_NOEXF.
40819 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40820 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40821 (libc_feholdsetroundf): New.
40822 (libc_feresetround, libc_feresetroundf): New.
40823
7d2e8012
RH
40824 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40825 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40826 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40827
b4dabbb4
RH
40828 * sysdeps/generic/math_private.h: Include <fenv.h>.
40829 (default_libc_feholdexcept): New.
40830 (default_libc_feholdexcept_setround): New.
40831 (default_libc_fesetenv, default_libc_feupdateenv): New.
40832 (libc_feholdexcept): Only define if undefined.
40833 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40835 (libc_feholdexcept_setroundl): Likewise.
40836 (libc_feholdexcept_setround_53bit): Likewise.
40837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40840 (libc_feupdateenv_53bit): Likewise.
40841 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40842 (libc_feholdexcept): Convert from macro to inline function.
40843 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40844 (libc_fesetenv, libc_feupdateenv): Likewise.
40845
4851a949
RH
40846 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40847 not previously defined.
40848 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40849 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40850 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40851 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40852 * sysdeps/ieee754/flt-32/math_private.h: New file.
40853 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40854 math_private.h below SET_FLOAT_WORD.
40855 (__isnan, __isinf_ns, __finite): Remove.
40856 (__isnanf, __isinf_nsf, __finitef): Remove.
40857
e79d442e
AS
408582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40859
40860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40861
90b80344
DM
408622012-03-17 David S. Miller <davem@davemloft.net>
40863
40864 [BZ #6471]
40865 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40866 for 2.16.
40867
edc21804
DM
408682012-03-16 David S. Miller <davem@davemloft.net>
40869
77e927af
DM
40870 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40871 warnings.
40872
374976dd
DM
40873 [BZ #6471]
40874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40875 properly.
40876 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40877 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40878 sysdep_routines when subdir is sysvipc.
40879 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40880 __getshmlba helper.
40881
edc21804
DM
40882 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40883
473c3ef3
L
408842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40885
40886 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40887 [__LP64__].
40888
eb0f39b6
L
408892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40890
40891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40892 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40893 (__lround): Renamed to ...
40894 (__llround): This. Replace long int with long long int.
40895 Define lround functions as aliases of llround functions.
40896 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40897
6b6cd74b
L
408982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40899
40900 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40901 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40902 adresses to uintptr_t. Replace "long int" and "unsigned long
40903 int" with "greg_t" on va_arg.
40904
f1a77b01
L
409052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40906
40907 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40908 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40909
40910 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40911 Move e_machine check before EI_CLASS check. Handle x32
40912 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40913 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40914 SKIP_EM_IA_64 and include
40915 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40916
40917 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40918 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40919 (add_system_dir): New macro.
40920
40921 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40922 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40923
11b90b9f
JM
409242012-03-16 Joseph Myers <joseph@codesourcery.com>
40925
c36e1d23
JM
40926 [BZ #2551]
40927 [BZ #2552]
40928 [BZ #2553]
40929 [BZ #2554]
40930 [BZ #2562]
40931 [BZ #2563]
40932 [BZ #2565]
40933 [BZ #2566]
40934 [BZ #2576]
40935 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40936 (y0): Likewise.
40937 * math/w_j0f.c (j0f): Likewise.
40938 (y0f): Likewise.
40939 * math/w_j0l.c (__j0l): Likewise.
40940 (__y0l): Likewise.
40941 * math/w_j1.c (j1): Likewise.
40942 (y1): Likewise.
40943 * math/w_j1f.c (j1f): Likewise.
40944 (y1f): Likewise.
40945 * math/w_j1l.c (__j1l): Likewise.
40946 (__y1l): Likewise.
40947 * math/w_jn.c (jn): Likewise.
40948 (yn): Likewise.
40949 * math/w_jnf.c (jnf): Likewise.
40950 (ynf): Likewise.
40951 * math/w_jnl.c (__jnl): Likewise.
40952 (__ynl): Likewise.
40953 * math/libm-test.inc (j0_test): Add more tests.
40954 (j1_test): Likewise.
40955 (jn_test): Likewise. Add trailing semicolon to existing test.
40956 (y0_test): Likewise.
40957 (y1_test): Likewise.
40958 * sysdeps/i386/fpu/libm-test-ulps: Update.
40959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40960
11b90b9f
JM
40961 [BZ #13851]
40962 [BZ #13854]
40963 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40964 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40965 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40967 (__tanl): Set errno for infinite argument.
40968 * sysdeps/i386/fpu/mptan.c: Remove.
40969 * sysdeps/i386/fpu/s_tan.S: Likewise.
40970 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40971 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40972 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40973 * math/libm-test.inc (tan_test): Add more tests and enable more
40974 tests for double and long double.
40975 * sysdeps/i386/fpu/libm-test-ulps: Update.
40976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40977
6a1bd2a1
JK
409782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40979
40980 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40981 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40982
10a803e0
RM
409832012-03-16 Roland McGrath <roland@hack.frob.com>
40984
40985 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40986 * configure.in: Use it for both main tree and add-ons.
40987 * configure: Regenerated.
40988
f196c7f7
L
409892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40990
40991 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40992
8848d99d
JM
409932012-03-16 Joseph Myers <joseph@codesourcery.com>
40994
96cbe7f4
JM
40995 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40996 in comment.
40997
8848d99d
JM
40998 [BZ #13851]
40999 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41000 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41004 infinite argument.
41005 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41007 != 0 for prec == 2.
41008 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41009 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41010 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41011 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41012 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41013 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41014 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41015 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41016 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41017 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41018 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41019 * math/libm-test.inc (cos_test): Add more tests and enable more
41020 tests for long double.
41021 (sin_test): Likewise.
41022 (sincos_test): Likewise.
41023 * sysdeps/i386/fpu/libm-test-ulps: Update.
41024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41025
dd7f4703
DM
410262012-03-16 David S. Miller <davem@davemloft.net>
41027
41028 * sysdeps/sparc/fpu/math_private.h: New file.
41029
006f1daa
DM
410302012-03-15 David S. Miller <davem@davemloft.net>
41031
c0c83bc8
DM
41032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41033 file.
e6a62e18 41034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41036 file.
e6a62e18
DM
41037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41043 sysdep routines.
41044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41045
88cb87d9
DM
41046 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41047 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41048
006f1daa 41049 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41051 sparc-ifunc.h
006f1daa 41052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41054 Likewise.
41055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41056 Likewise.
006f1daa
DM
41057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41061 Likewise.
006f1daa
DM
41062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41067 Likewise.
41068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41069 Likewise.
006f1daa
DM
41070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41094
11e0098e
AS
410952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41096
41097 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41098 scaling.
41099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41100
e85b09d0
AJ
411012012-03-15 Andreas Jaeger <aj@suse.de>
41102
41103 [BZ #13852]
41104 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41105 ieee754/flt-32 implementation for sin, cos and sincos.
41106 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41107 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41108 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41109 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41110 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41111 ieee754/flt-32 implementation for tan.
41112
41113 * math/libm-test.inc (cos_test): Enable some large input tests for
41114 float as well
41115 (sin_test): Likewise.
41116 (sincos_test): Likewise.
41117 (tan_test): Add tests for large input.
41118
41119 * sysdeps/i386/fpu/libm-test-ulps: Update.
41120
81c64153
AJ
411212012-03-15 Andreas Jaeger <aj@suse.de>
41122
41123 [BZ #13658]
41124 * math/libm-test.inc (cos_test): Add more test cases.
41125 (sin_test): Likewise.
41126 (sincos_test): Likewise.
41127
7bbfa5c6
AJ
411282012-03-15 Andreas Jaeger <aj@suse.de>
41129
41130 [BZ #13837]
41131 * math/libm-test.inc (cos_test): Add a test case for large input
41132 value.
41133 (sin_test): Likewise.
41134 (sincos_test): Likewise.
41135
57f41c40
AS
411362012-03-15 Andreas Jaeger <aj@suse.de>
41137 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41138
41139 [BZ #13658]
0671f479 41140 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41141 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41142 * sysdeps/i386/fpu/branred.c: Likewise.
41143 * sysdeps/i386/fpu/dosincos.c: Likewise.
41144 * sysdeps/i386/fpu/mpa.c: Likewise.
41145 * sysdeps/i386/fpu/s_cos.S: Likewise.
41146 * sysdeps/i386/fpu/s_sin.S: Likewise.
41147 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41148 * sysdeps/i386/fpu/sincos32.c: Likewise.
41149
41150 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41151 Define.
41152 (libc_feupdateenv_53bit): Define.
41153 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41154 Define.
41155 (libc_feupdateenv_53bit): Define.
41156
41157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41158 53 bit (without extend i386 double precision).
41159
41160 * math/libm-test.inc (sincos_test): Add tests for large input.
41161 (sin): Likewise.
41162 (cos): Likewise.
41163
41164 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41165
9cad04ea
AS
411662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41167
41168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41169
f7062b9a
DM
411702012-03-15 David S. Miller <davem@davemloft.net>
41171
41172 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41175 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41188 file.
f7062b9a 41189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41191 file.
f7062b9a 41192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41194 file.
f7062b9a 41195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41197 file.
f7062b9a
DM
41198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41200 fmin/fmax sysdep routines.
41201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41202
7bd951ff
DM
412032012-03-14 David S. Miller <davem@davemloft.net>
41204
559398ab
DM
41205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41234 routines.
41235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41236 file.
559398ab 41237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41239 file.
559398ab 41240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41242 file.
559398ab 41243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41245 file.
559398ab 41246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41248 file.
559398ab 41249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41251 file.
41252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41253 file.
41254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41255 file.
41256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41257 file.
41258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41259 New file.
41260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41261 file.
41262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41263 file.
559398ab 41264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41266 file.
559398ab 41267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41269 file.
559398ab 41270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41272 file.
559398ab 41273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41275 VIS3 routines.
559398ab
DM
41276
41277 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41278 New file.
41279
5a1c1e32
DM
41280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41281
eae47a36
DM
41282 * sysdeps/sparc/configure.in: New file.
41283 * sysdeps/sparc/configure: Generate.
41284 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41285 * configure: Regenerate.
41286 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41287 * config.make.in (have-as-vis3): New.
41288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41289 available use -Av9d instead of -Av9a.
41290 * sysdeps/sparc/sparc64/Makefile: Likewise.
41291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41293 New file.
41294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41295 file.
41296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41297 New file.
41298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41299 file.
eae47a36
DM
41300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41305
c0c83bc8
DM
41306 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41307 fzeros/fnegs to load 0x80000000 into a float register instead of
41308 using the stack.
7bd951ff
DM
41309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41310
bd951ccb
JM
413112012-03-14 Joseph Myers <joseph@codesourcery.com>
41312
41313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41314 bits/syscall.h.
41315 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41316 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41317 ($(inst_includedir)/bits/syscall.h): Remove rule.
41318 ($(objpfx)bits/syscall.d): Include instead of
41319 $(objpfx)syscall-list.d.
41320 (generated): Change syscall-list.h and syscall-list.d to
41321 bits/syscall.h and bits/syscall.d.
41322
bb4e6db2
RM
413232012-03-14 Roland McGrath <roland@hack.frob.com>
41324
41325 [BZ #13846]
41326 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41327
aa4a2ae1
JM
413282012-03-14 Joseph Myers <joseph@codesourcery.com>
41329
e456826d
JM
41330 [BZ #13841]
41331 * math/s_csqrt.c: Include <float.h>.
41332 (__csqrt): Scale large or subnormal inputs.
41333 * math/s_csqrtf.c: Likewise.
41334 * math/s_csqrtl.c: Likewise.
41335 * math/libm-test.inc (csqrt_test): Add more tests.
41336 * sysdeps/i386/fpu/libm-test-ulps: Update.
41337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41338
aa4a2ae1
JM
41339 [BZ #13840]
41340 * math/libm-test.inc (hypot_test): Add more tests.
41341
7c10fd35
DM
413422012-03-13 David S. Miller <davem@davemloft.net>
41343
41344 [BZ #13840]
41345 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41346 double-precision for the calculation instead of scaling.
41347
f453b98b
JM
413482012-03-13 Joseph Myers <joseph@codesourcery.com>
41349
41350 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41351 manipulate bits before adding and subtracting TWO52[sx].
41352 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41354 Likewise.
41355 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41356
09a3453f
DM
413572012-03-13 David S. Miller <davem@davemloft.net>
41358
8e59da90
DM
41359 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41360 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41362 rtld-global-offsets.h
41363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41364
2a8ab7f2
DM
41365 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41366 large parameters.
41367
10f62770
DM
41368 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41369
5f0bdb18
DM
41370 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41371 'err' in the ifdef scope in which it is actually used.
41372
09a3453f
DM
41373 * nss/nss_db/db-init.c: Include string.h
41374
b4b2eb5e
DM
413752012-03-12 David S. Miller <davem@davemloft.net>
41376
98bb2f1c
DM
41377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41378 masking out of the most significant byte of random value used.
41379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41380 Fix coding style in previous change.
41381
b4b2eb5e
DM
41382 * sysdeps/unix/sysv/linux/kernel-features.h
41383 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41384 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41385 expression.
41386 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41387 later.
41388
6e226b09
DM
413892012-03-11 David S. Miller <davem@davemloft.net>
41390
a1bcbd40
DM
41391 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41392 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41394 for 'resultvar' otherwise things get truncated on 64-bit.
41395
cb9d6174
DM
41396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41397 Fix masking out of the most significant byte of random value used.
41398
6e226b09
DM
41399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41400
058c132d
AS
414012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41402
41403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41404
2d2cd515
DM
414052012-03-09 David S. Miller <davem@davemloft.net>
41406
41407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41408 variables with appropriate CPP guards.
57f41c40
AS
41409 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41410 from the frame pointer, not the stack pointer. Correct layout
41411 comments. Fix test on resulting framesize and the management of
41412 the outregs buffer for pltexit. Preserve floating point return
41413 values across _dl_call_pltexit call.
2d2cd515
DM
41414 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41415 framesize and the management of the outregs buffer for pltexit.
41416 Preserve floating point return values across _dl_call_pltexit
41417 call.
57f41c40
AS
41418 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41419 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41420 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41421 (print_exit): Fix format string for return register value.
41422
9a07f9d0
JM
414232012-03-10 Joseph Myers <joseph@codesourcery.com>
41424
41425 * sunrpc/Makefile (others): Add rpcgen.
41426 ($(objpfx)rpcgen): Remove special build rule and dependency on
41427 libc.
41428 * sunrpc/rpcgen.c: New file.
41429
547b5e30
PE
414302012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41431
c524201a
PE
41432 [BZ #13673]
41433 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41434 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41435 * sysdeps/i386/crti.S: Likewise.
41436 * sysdeps/i386/crtn.S: Likewise.
41437 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41438 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41439 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41440 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41441 * sysdeps/sh/crti.S: Likewise.
41442 * sysdeps/sh/crtn.S: Likewise.
41443 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41444
7b6235f2
PE
41445 [BZ #13673]
41446 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41447 with URL.
41448 * locale/programs/locfile-kw.gperf: Likewise.
41449 * locale/programs/charmap-kw.h: Regenerated.
41450 * locale/programs/locfile-kw.h: Likewise.
41451
547b5e30
PE
41452 [BZ #13673]
41453 * intl/plural.y: Replace FSF snail mail address with URL.
41454 * intl/plural.c: Regenerated.
41455
5f0a5dae
RH
414562012-03-09 Richard Henderson <rth@twiddle.net>
41457
41458 * include/math_private.h: Remove file.
41459 * math/math_private.h: Move file ...
41460 * sysdeps/generic/math_private.h: ... here.
41461
b8c03620
RH
41462 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41463 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41465
4e234f5d 41466 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41467 and <math_private.h>.
41468 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41469 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41470 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41471 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41472 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41473 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41474 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41476 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41483 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41484 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41485 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41492 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41498 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41500 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41521 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41527 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41529 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41531 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41532 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41533 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41534 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41535 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41536 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41550 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41552 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41556 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41559 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41562 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41563 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41565 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41566 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41567 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41568 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41569 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41570 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41573 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41575 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41576 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41577 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41578 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41579 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41582 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41585 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41586 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41587 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41588 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41589 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41591 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41594 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41595 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41596 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41597 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41598 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41599 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41600 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41601 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41602 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41603 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41604 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41605 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41606 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41609 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41610 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41611 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41612 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41613 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41614 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41615 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41616 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41617 * sysdeps/ieee754/k_standard.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41695 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41700 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41733 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41737 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41740 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41750 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41778 * sysdeps/ieee754/s_lib_version.c: Likewise.
41779 * sysdeps/ieee754/s_matherr.c: Likewise.
41780 * sysdeps/ieee754/s_signgam.c: Likewise.
41781 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41782 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41783 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41784 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41785 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41786 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41787 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41788 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41789 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41790 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41792 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41793 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41794 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41795 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41796 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41797 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41798 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41802
1991fa03
JM
418032012-03-09 Joseph Myers <joseph@codesourcery.com>
41804
41805 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41806 * sunrpc/rpc_main.c: Likewise.
41807 * sunrpc/rpc_svcout.c: Likewise.
41808
60d6f5a6
DM
418092012-03-09 David S. Miller <davem@davemloft.net>
41810
41811 * include/math_private.h: New file.
41812
4962050e
JM
418132012-03-09 Joseph Myers <joseph@codesourcery.com>
41814
02a6f887
JM
41815 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41816 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41817 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41818 from <bits/socket_type.h>.
41819 (enum __socket_type): Don't define here.
41820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41822 bits/socket_type.h.
41823
c6e013c1
JM
41824 [BZ #13566]
41825 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41826 checking __USE_GNU.
41827
4962050e
JM
41828 * Makerules ($(inst_includedir)/%.h): New rule.
41829 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41830 (install-others): Remove variable setting.
41831 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41832
38842f45
RH
418332012-03-08 Richard Henderson <rth@twiddle.net>
41834
67bb6da6
RH
41835 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41836 from macro to inline function; merge with the
41837 !__LIBC_INTERNAL_MATH_INLINES version.
41838 (__ieee754_sqrtf): Likewise.
41839
15194b4b
RH
41840 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41841 to inline function.
41842 (__rintf, __floor, __floorf): Likewise.
41843
64e21ede
RH
41844 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41845 macro to inline function.
41846 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41847
38842f45
RH
41848 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41849 not <math/math_private.h>.
41850
c64bf5fe
DM
418512012-03-08 David S. Miller <davem@davemloft.net>
41852
41853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41854 copyright year.
41855 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41856
82d86f28
TS
418572012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41858
41859 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41860 normalization.
41861 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41862 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41863
aea5d727
UD
418642012-03-08 Ulrich Drepper <drepper@gmail.com>
41865
41866 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41867 be defined individually, they must be defined as a block. Define
41868 S for printing a string instead of hidint the different by using a
41869 macro for adding the 'l'.
41870 * stdio-common/tst-fphex-wide.c: Adjust.
41871
70bca0a3
MP
418722012-03-07 Marek Polacek <polacek@redhat.com>
41873
41874 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41875
65b81130
MP
418762012-03-08 Marek Polacek <polacek@redhat.com>
41877
41878 [BZ #13806]
41879 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41880 * stdio-common/tst-fphex.c: Define a few macros to make the
41881 test reusable. Use them.
41882 * stdio-common/tst-fphex-wide.c: New file.
41883
07037eeb
JM
418842012-03-08 Joseph Myers <joseph@codesourcery.com>
41885
a7a93d50
JM
41886 [BZ #6911]
41887 * manual/macros.texi (gnusystems): New macro.
41888 (nongnusystems): Likewise.
41889 (gnulinuxhurdsystems): Likewise.
41890 (gnuhurdsystems): Likewise..
41891 (gnulinuxsystems): Likewise.
41892 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41893 variants of the GNU system, not "GNU system".
41894 * manual/conf.texi: Likewise.
41895 * manual/errno.texi: Likewise. Update example of errno macro
41896 expansion.
41897 * manual/filesys.texi: Likewise.
41898 (getumask): Document as specific to GNU/Hurd.
41899 * manual/install.texi: Likewise. Reword some references to
41900 GNU/Linux.
41901 * manual/intro.texi: Likewise.
41902 * manual/io.texi: Likewise.
41903 (File Name Portability): Detail which constraints are inapplicable
41904 to all GNU systems and which are only inapplicable to GNU/Hurd.
41905 * manual/job.texi: Likewise.
41906 * manual/llio.texi: Likewise.
41907 (O_NOCTTY): Document as present on GNU/Linux.
41908 * manual/maint.texi: Likewise.
41909 * manual/memory.texi: Likewise.
41910 * manual/pattern.texi: Likewise.
41911 * manual/pipe.texi: Likewise.
41912 * manual/process.texi: Likewise.
41913 * manual/resource.texi: Likewise.
41914 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41915 child on GNU/Hurd.
41916 * manual/setjmp.texi: Likewise.
41917 * manual/signal.texi: Likewise.
41918 * manual/startup.texi: Likewise.
41919 * manual/stdio.texi: Likewise.
41920 * manual/terminal.texi: Likewise.
41921 (ONLCR): Document as POSIX.
41922 (OXTABS): Document availability on GNU/Linux as XTABS.
41923 (ONOEOT): Document availability separately from other bits.
41924 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41925 * manual/time.texi: Likewise.
41926 * manual/users.texi: Likewise.
41927 * INSTALL: Regenerated.
41928 * sysdeps/gnu/errlist.c: Regenerated.
41929
07037eeb
JM
41930 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41931 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41932 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41933 puts.
41934 * configure: Regenerated.
41935
d1d3431a
JM
419362012-03-07 Joseph Myers <joseph@codesourcery.com>
41937
af6a1e37
JM
41938 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41939 default includes instead of AC_HEADER_CHECK.
41940 * sysdeps/i386/configure: Regenerated.
41941
d1d3431a
JM
41942 [BZ #10716]
41943 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41944 * math/s_cacoshf.c (__cacoshf): Likewise.
41945 * math/s_cacoshl.c (__cacoshl): Likewise.
41946 * math/s_casinh.c (__casinh): Set signs of result from argument.
41947 * math/s_casinhf.c (__casinhf): Likewise.
41948 * math/s_casinhl.c (__casinhl): Likewise.
41949 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41950 (casinh_test): Add more tests.
41951 * sysdeps/i386/fpu/libm-test-ulps: Update.
41952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41953
482ff4da
UD
419542012-03-07 Ulrich Drepper <drepper@gmail.com>
41955
872fda05
UD
41956 * po/zh_TW.po: Update from translation team.
41957
a4300c7a
UD
41958 * login/Makefile (distribute): Remove variable.
41959 * catgets/Makefile: Likewise.
41960 * mach/Makefile: Likewise.
41961 * malloc/Makefile: Likewise.
41962 * misc/Makefile: Likewise.
41963 * iconv/Makefile: Likewise.
41964 * nscd/Makefile: Likewise.
41965 * hurd/Makefile: Likewise.
41966 * manual/Makefile: Likewise.
41967 * locale/Makefile: Likewise.
41968 * intl/Makefile: Likewise.
41969 * conform/Makefile: Likewise.
41970 * nss/Makefile: Likewise.
41971 * time/Makefile: Likewise.
41972 * soft-fp/Makefile: Likewise.
41973 * dirent/Makefile: Likewise.
41974 * gmon/Makefile: Likewise.
41975 * po/Makefile: Likewise.
41976 * rt/Makefile: Likewise.
41977 * socket/Makefile: Likewise.
41978 * math/Makefile: Likewise.
41979 * signal/Makefile: Likewise.
41980 * debug/Makefile: Likewise.
41981 * elf/Makefile: Likewise.
41982 * timezone/Makefile: Likewise.
41983 * stdlib/Makefile: Likewise.
41984 * iconvdata/Makefile: Likewise.
41985 * sunrpc/Makefile: Likewise.
41986 * io/Makefile: Likewise.
41987 * argp/Makefile: Likewise.
41988 * inet/Makefile: Likewise.
41989 * hesiod/Makefile: Likewise.
41990 * grp/Makefile: Likewise.
41991 * csu/Makefile: Likewise.
41992 * wctype/Makefile: Likewise.
41993 * crypt/Makefile: Likewise.
41994 * libio/Makefile: Likewise.
41995 * string/Makefile: Likewise.
41996 * nis/Makefile: Likewise.
41997 * resolv/Makefile: Likewise.
41998 * stdio-common/Makefile: Likewise.
41999 * wcsmbs/Makefile: Likewise.
42000 * dlfcn/Makefile: Likewise.
42001 * posix/Makefile: Likewise.
42002
3b7c4e74 42003 [BZ #6959]
482ff4da
UD
42004 * timezone/Makefile: Don't install timezone files, just the programs
42005 and scripts.
42006
f72ed77d
UD
420072012-03-06 Ulrich Drepper <drepper@gmail.com>
42008
a000466f
UD
42009 * nss/databases.def: Add missing gshadow entry.
42010
f72ed77d
UD
42011 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42012
a53b7a4e
MP
420132012-03-06 Marek Polacek <polacek@redhat.com>
42014
42015 [BZ #13726]
42016 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42017 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42018 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42019 * stdio-common/tst-long-dbl-fphex.c: New file.
42020
e9258400
DM
420212012-03-06 David S. Miller <davem@davemloft.net>
42022
42023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42024 (set_obp_int): New function.
42025 (get_obp_int): New function.
42026 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42028 Avoid unused variable warnings on 'val' and use builtin_expect.
42029 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42030 __builtin_expect.
e9258400
DM
42031 (INLINE_CLONE_SYSCALL): Likewise.
42032
3bd2c723
DM
420332012-03-05 David S. Miller <davem@davemloft.net>
42034
42035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42036
bbb78d03
AS
420372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42038
884c5db4
AS
42039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42040
bbb78d03
AS
42041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42042 only for |x| >= 40.
42043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42044
1c9f702a 420452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42046
42047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42048 Replace gettimeofday with __vdso_gettimeofday.
42049
7be16f82
RM
42050 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42051 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42052 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42053
42054 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42055 time with __vdso_time.
42056
ed58a00f
JM
420572012-03-05 Joseph Myers <joseph@codesourcery.com>
42058
42059 * manual/lang.texi (size_t): Note types to which size_t may be
42060 equivalent with the GNU C Library, but do not describe when
42061 differences between them are significant.
42062
30ee4ced
AJ
420632012-03-05 Andreas Jaeger <aj@suse.de>
42064
42065 * sysdeps/i386/fpu/libm-test-ulps: Update.
42066
b7cd39e8
JM
420672012-03-05 Joseph Myers <joseph@codesourcery.com>
42068
42069 [BZ #3976]
42070 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42071 (__ieee754_pow): Save and restore rounding mode and use
42072 round-to-nearest for main computations.
42073 * math/libm-test.inc (pow_test_tonearest): New function.
42074 (pow_test_towardzero): Likewise.
42075 (pow_test_downward): Likewise.
42076 (pow_test_upward): Likewise.
42077 (main): Call the new functions.
42078 * sysdeps/i386/fpu/libm-test-ulps: Update.
42079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42080
42081 [BZ #3976]
42082 * math/libm-test.inc (cosh_test_tonearest): New function.
42083 (cosh_test_towardzero): Likewise.
42084 (cosh_test_downward): Likewise.
42085 (cosh_test_upward): Likewise.
42086 (sinh_test_tonearest): Likewise.
42087 (sinh_test_towardzero): Likewise.
42088 (sinh_test_downward): Likewise.
42089 (sinh_test_upward): Likewise.
42090 (main): Call the new functions.
42091 * sysdeps/i386/fpu/libm-test-ulps: Update.
42092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42093
6c6a98c9
TV
420942012-03-05 Tom de Vries <tom@codesourcery.com>
42095
42096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42097 default stack guard is set in last bytes.
42098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42099
21bb2d2e 421002012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42101
21bb2d2e 42102 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42103
21bb2d2e
AJ
42104 [BZ #13656]
42105 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42106 possibly allocate from heap instead of stack.
42107 * stdio-common/bug-vfprintf-nargs.c: New file.
42108 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42109
c6922934
AS
421102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42111
42112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42113
bc957d53
MP
421142012-03-03 Marek Polacek <polacek@redhat.com>
42115
42116 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42117 * math/math_private.h: Likewise.
42118 * stdlib/tst-strtod.c: Likewise.
42119 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42120 * sysdeps/x86_64/bits/atomic.h: Likewise.
42121
6358490d
DM
421222012-03-02 David S. Miller <davem@davemloft.net>
42123
42124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42128 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42129 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42130 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42131 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42132
01ae168d
RM
421332012-03-02 Roland McGrath <roland@hack.frob.com>
42134
d9a17c07
RM
42135 [BZ #13792]
42136 * manual/examples/README: New file, says the example source files
42137 can be used under GPL>=2.
42138 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42139 line containing just "*/".
42140 * manual/examples/add.c: Add copyright header (GPL>=2).
42141 * manual/examples/argp-ex1.c: Likewise.
42142 * manual/examples/argp-ex2.c: Likewise.
42143 * manual/examples/argp-ex3.c: Likewise.
42144 * manual/examples/argp-ex4.c: Likewise.
42145 * manual/examples/atexit.c: Likewise.
42146 * manual/examples/db.c: Likewise.
42147 * manual/examples/dir.c: Likewise.
42148 * manual/examples/dir2.c: Likewise.
42149 * manual/examples/execinfo.c: Likewise.
42150 * manual/examples/filecli.c: Likewise.
42151 * manual/examples/filesrv.c: Likewise.
42152 * manual/examples/fmtmsgexpl.c: Likewise.
42153 * manual/examples/genpass.c: Likewise.
42154 * manual/examples/inetcli.c: Likewise.
42155 * manual/examples/inetsrv.c: Likewise.
42156 * manual/examples/isockad.c: Likewise.
42157 * manual/examples/longopt.c: Likewise.
42158 * manual/examples/memopen.c: Likewise.
42159 * manual/examples/memstrm.c: Likewise.
42160 * manual/examples/mkfsock.c: Likewise.
42161 * manual/examples/mkisock.c: Likewise.
42162 * manual/examples/mygetpass.c: Likewise.
42163 * manual/examples/pipe.c: Likewise.
42164 * manual/examples/popen.c: Likewise.
42165 * manual/examples/rprintf.c: Likewise.
42166 * manual/examples/search.c: Likewise.
42167 * manual/examples/select.c: Likewise.
42168 * manual/examples/setjmp.c: Likewise.
42169 * manual/examples/sigh1.c: Likewise.
42170 * manual/examples/sigusr.c: Likewise.
42171 * manual/examples/stpcpy.c: Likewise.
42172 * manual/examples/strdupa.c: Likewise.
42173 * manual/examples/strftim.c: Likewise.
42174 * manual/examples/strncat.c: Likewise.
42175 * manual/examples/subopt.c: Likewise.
42176 * manual/examples/swapcontext.c: Likewise.
42177 * manual/examples/termios.c: Likewise.
42178 * manual/examples/testopt.c: Likewise.
42179 * manual/examples/testpass.c: Likewise.
42180 * manual/examples/timeval_subtract.c: Likewise.
42181
01ae168d
RM
42182 [BZ #13792]
42183 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42184 function to ...
42185 * manual/timeval_subtract.c.texi: ... here, new file.
42186
49efa33d
DM
421872012-03-02 David S. Miller <davem@davemloft.net>
42188
42189 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42190
28afd92d
JM
421912012-03-02 Joseph Myers <joseph@codesourcery.com>
42192
804360ed
JM
42193 [BZ #3976]
42194 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42195 (__sin): Save and restore rounding mode and use round-to-nearest
42196 for all computations.
42197 (__cos): Save and restore rounding mode and use round-to-nearest
42198 for all computations.
42199 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42200 <fenv.h>.
42201 (tan): Save and restore rounding mode and use round-to-nearest for
42202 all computations.
42203 * math/libm-test.inc (cos_test_tonearest): New function.
42204 (cos_test_towardzero): Likewise.
42205 (cos_test_downward): Likewise.
42206 (cos_test_upward): Likewise.
42207 (sin_test_tonearest): Likewise.
42208 (sin_test_towardzero): Likewise.
42209 (sin_test_downward): Likewise.
42210 (sin_test_upward): Likewise.
42211 (tan_test_tonearest): Likewise.
42212 (tan_test_towardzero): Likewise.
42213 (tan_test_downward): Likewise.
42214 (tan_test_upward): Likewise.
42215 (main): Call the new functions.
42216 * sysdeps/i386/fpu/libm-test-ulps: Update.
42217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42218
a6d06d7b
JM
42219 [BZ #10135]
42220 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42221 small n, then large n, before computing and testing k+n.
42222 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42224 Likewise.
42225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42226 Likewise.
42227 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42228 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42235 * math/libm-test.inc (scalbn_test): Add more tests.
42236 (scalbln_test): Likewise.
42237
07e12bb3
JM
42238 * manual/filesys.texi (mode_t): Describe constraints on size and
42239 signedness, not exact equivalence to a particular type.
42240 (ino_t): Likewise.
42241 (ino64_t): Likewise.
42242 (dev_t): Likewise.
42243 (nlink_t): Likewise.
42244 (blkcnt_t): Likewise.
42245 (blkcnt64_t): Likewise.
42246 * manual/llio.texi (off_t): Likewise.
42247
28afd92d
JM
42248 [BZ #3976]
42249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42250 (__ieee754_exp): Save and restore rounding mode and use
42251 round-to-nearest for all computations.
42252 * math/libm-test.inc (exp_test_tonearest): New function.
42253 (exp_test_towardzero): Likewise.
42254 (exp_test_downward): Likewise.
42255 (exp_test_upward): Likewise.
42256 (main): Call the new functions.
42257 * sysdeps/i386/fpu/libm-test-ulps: Update.
42258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42259
b1eeb65d
CD
422602012-03-01 Chris Demetriou <cgd@google.com>
42261
42262 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42263 have predictable order.
42264
53362a4b
DM
422652012-03-01 David S. Miller <davem@davemloft.net>
42266
3c969083
DM
42267 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42268
759707de
DM
42269 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42270 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42271 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42272 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42273
dfdb8ff2
DM
42274 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42275 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42276 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42278 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42279 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42280 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42281 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42282 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42283
ead89f96
DM
42284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42285
7f66bd07
DM
42286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42287 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42288 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42289
53362a4b
DM
42290 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42291 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42292 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42293 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42294 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42298 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42299 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42300 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42303 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42306 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42307 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42308 * sysdeps/sparc/elf/configure: Regenerated.
42309
7b1902cb
JM
423102012-03-01 Joseph Myers <joseph@codesourcery.com>
42311
bec039bc
JM
42312 * configure.in (AS, LD): Require binutils 2.20 or later.
42313 * configure: Regenerated.
42314 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42315 as required minimum version.
42316 * INSTALL: Regenerated.
42317
7b1902cb
JM
42318 [BZ #2541]
42319 [BZ #4108]
42320 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42321 before squaring exponent.
42322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42323 bottom long double and 27 bits of top long double before squaring
42324 exponent.
42325 * math/libm-test.inc (erfc_test): Add more tests.
42326 * sysdeps/i386/fpu/libm-test-ulps: Update.
42327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42329
f775c276
KT
423302012-03-01 Kai Tietz <ktietz@redhat.com>
42331
42332 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42333 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42334 containing bit-fields.
42335 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42336 * soft-fp/single.h (_FP_UNION_S): Likewise.
42337 * soft-fp/double.h (_FP_UNION_D): Likewise.
42338
5b8a4d4a
JM
423392012-02-29 Joseph Myers <joseph@codesourcery.com>
42340
0bab47b6
JM
42341 [BZ #13786]
42342 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42343 not include ../strcmp.S.
42344 [USE_AS_STRNCASECMP_L]: Likewise.
42345 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42346 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42347 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42348 (__strncasecmp_l_ia32): Define as alias to
42349 __strncasecmp_l_nonascii.
42350
0fcad3e2
JM
42351 [BZ #5794]
42352 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42353 * sysdeps/i386/fpu/libm-test-ulps: Update.
42354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42355
5b8a4d4a
JM
42356 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42358
8fdceb2e
JL
423592012-02-29 Jeff Law <law@redhat.com>
42360
42361 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42362 out of bounds read.
42363
1f393a11
MP
423642012-02-29 Marek Polacek <polacek@redhat.com>
42365
42366 [BZ #13706]
42367 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42368 * elf/Makefile: Add rules to run tst-unused-dep.out.
42369
8847f037
DM
423702012-02-28 David S. Miller <davem@davemloft.net>
42371
42372 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42373 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42376 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42377 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42378
169d7f11
JM
423792012-02-29 Joseph Myers <joseph@codesourcery.com>
42380
42381 * math/libm-test.inc (llround_test): Move one test from
42382 lround_test. Use TEST_f_L in moved test.
42383 (lround_test): Move misplaced test to llround_test. Add testcase
42384 from bug 2561.
42385
39adf059
UD
423862012-02-28 Ulrich Drepper <drepper@gmail.com>
42387
42388 * sysdeps/x86_64/fpu/e_expf.S: New file.
42389 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42390
71b5d1c5
SB
423912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42392
42393 [BZ #13637]
42394 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42395 of remain_len that may cause incomplete multi-byte character and
42396 false match.
42397 * posix/bug-regex33.c: New file.
42398 * posix/Makefile (tests): Add bug-regex33.
42399
1f77f049
JM
424002012-02-28 Joseph Myers <joseph@codesourcery.com>
42401
42402 * manual/macros.texi: New file.
42403 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42404 * manual/libc.texinfo: Include macros.texi.
42405 * manual/creatute.texi: Likewise.
42406 * manual/install.texi: Likewise.
42407 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42408 @glibcadj{} in references to the GNU C Library.
42409 * manual/charset.texi: Likewise.
42410 * manual/conf.texi: Likewise.
42411 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42412 when not using those macros.
42413 * manual/creature.texi: Likewise.
42414 * manual/crypt.texi: Likewise.
42415 * manual/errno.texi: Likewise.
42416 * manual/filesys.texi: Likewise.
42417 * manual/header.texi: Likewise.
42418 * manual/install.texi: Likewise.
42419 * manual/intro.texi: Likewise.
42420 * manual/io.texi: Likewise.
42421 * manual/job.texi: Likewise.
42422 * manual/lang.texi: Likewise.
42423 * manual/libc.texiinfo: Likewise.
42424 * manual/llio.texi: Likewise.
42425 * manual/locale.texi: Likewise.
42426 * manual/maint.texi: Likewise.
42427 * manual/math.texi: Likewise.
42428 * manual/memory.texi: Likewise.
42429 * manual/message.texi: Likewise.
42430 * manual/nss.texi: Likewise.
42431 * manual/pattern.texi: Likewise.
42432 * manual/process.texi: Likewise.
42433 * manual/resource.texi: Likewise.
42434 * manual/search.texi: Likewise.
42435 * manual/setjmp.texi: Likewise.
42436 * manual/signal.texi: Likewise.
42437 * manual/socket.texi: Likewise.
42438 * manual/startup.texi: Likewise.
42439 * manual/stdio.texi: Likewise.
42440 * manual/string.texi: Likewise.
42441 * manual/sysinfo.texi: Likewise.
42442 * manual/syslog.texi: Likewise.
42443 * manual/terminal.texi: Likewise.
42444 * manual/time.texi: Likewise.
42445 * manual/users.texi: Likewise.
42446 * INSTALL: Regenerated.
42447 * NOTES: Regenerated.
d40c5d54 42448 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42449
450bf206
AS
424502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42451
42452 * include/dirent.h: Include <dirstream.h> before
42453 <dirent/dirent.h>.
42454
741a235b
DM
424552012-02-28 David S. Miller <davem@davemloft.net>
42456
42457 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42458 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42459 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42461
d6b5aa58
DM
424622012-02-27 David S. Miller <davem@davemloft.net>
42463
1aff59a3
DM
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42466 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42467 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42468
d6b5aa58
DM
42469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42470 frame pointer instead of stack pointer relative arg slot.
42471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42474
433f48bf
CD
424752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42476
42477 [BZ #3992]
42478 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42479
d674b76d
DM
424802012-02-27 David S. Miller <davem@davemloft.net>
42481
42482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42488 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42489 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42490
0e7727f7
JM
424912012-02-27 Joseph Myers <joseph@codesourcery.com>
42492
42493 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42494 later. Allow versions 5-9.
43be4ca2 42495 * configure: Regenerated.
0e7727f7
JM
42496 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42497 required minimum version and 4.6 as recommended version. Do not
42498 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42499 * INSTALL: Regenerated.
0e7727f7 42500
a78bc654
DM
425012012-02-27 David S. Miller <davem@davemloft.net>
42502
428d5830
DM
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42509 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42511
a78bc654
DM
42512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42513 manipulate bits before adding and subtracting TWO112[sx].
42514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42515
4579f81c
RM
425162012-02-27 Roland McGrath <roland@hack.frob.com>
42517
36c8acb4
RM
42518 [BZ #13775]
42519 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42520 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42521 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42522 being in POSIX, because they are in 1003.1-2008.
42523
84ad622b
RM
42524 * rt/tst-aio.c: Include <fcntl.h>.
42525 * rt/tst-aio7.c: Likewise.
42526 * rt/tst-aio64.c: Likewise.
42527
4579f81c
RM
42528 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42529
abd923db
JM
425302012-02-27 Joseph Myers <joseph@codesourcery.com>
42531
42532 * manual/install.texi (--with-headers): Describe headers as
42533 interface headers, not private headers.
42534 (Specific advice for GNU/Linux systems): Describe use of headers
42535 from "make headers_install", not private headers from older
42536 kernels.
43be4ca2 42537 * INSTALL: Regenerated.
abd923db
JM
42538 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42539 Change to 2.6.19.
42540 * sysdeps/unix/sysv/linux/configure: Regenerated.
42541
6664049b
JM
42542 * manual/llio.texi (fclean): Remove documentation.
42543
bb8b6697
JM
42544 * manual/Makefile (libc-texi-generated): New variable. Include
42545 version.texi.
42546 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42547 $(libc-texi-generated), not duplicated list of files.
42548 (version.texi, stamp-version): New rules.
42549 (realclean): Remove $(libc-texi-generated), not individual files
42550 from that list. Do not remove dir-add.texinfo.
42551 * manual/libc.texinfo: Comment out uses of edition numbers and
42552 references to printed manual. Remove last-updated dates.
42553 (EDITION): Comment out.
42554 (ISBN): Likewise.
42555 (VERSION, UPDATED): Remove.
42556 (version.texi): Include.
42557
12e5c3b9
AS
425582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42559
42560 * sysdeps/posix/spawni.c: Include <signal.h>.
42561 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42562 * sysdeps/pthread/aio_fsync.c: Likewise.
42563
4efeffc1 425642012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42565
ba63ba08
UD
42566 * conform/Makefile (tests): Run only when not cross-compiling and
42567 when fast-check is not defined.
42568
d94a4670
UD
42569 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42570 * conform/data/limits.h-data: Fixes for POSIX2008.
42571 * conform/run-conformtest.sh: Run all tests.
42572 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42573 headers.
42574 * include/bits/dlfcn.h: Likewise.
42575 * include/langinfo.h: Likewise.
42576 * include/monetary.h: Likewise.
42577 * include/sys/poll.h: Likewise.
42578
42579 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42580 for __USE_GNU.
42581 * posix/spawn.h: Define __need_sigset_t.
42582 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42583 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42584 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42585 to get sigevent_t only.
42586 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42587 only for __USE_GNU.
42588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42589 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42590 process_vm_writev only for __USE_GNU.
42591 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42592
42593 * conform/Makefile: For now ignore errors from run-conformtest.
42594 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42595 POSIX to avoid namespace pollution. Don't prepend headers.
42596 * conform/data/aio.h-data: Fixes for POSIX testing.
42597 * conform/data/fcntl.h-data: Likewise.
42598 * conform/data/glob.h-data: Likewise.
42599 * conform/data/grp.h-data: Likewise.
42600 * conform/data/pthread.h-data: Likewise.
42601 * conform/data/pwd.h-data: Likewise.
42602 * conform/data/signal.h-data: Likewise.
42603 * conform/data/spawn.h-data: Likewise.
42604 * conform/data/stdio.h-data: Likewise.
42605 * conform/data/stdlib.h-data: Likewise.
42606 * conform/data/stropts.h-data: Likewise.
42607 * conform/data/sys/mman.h-data: Likewise.
42608 * conform/data/sys/stat.h-data: Likewise.
42609 * conform/data/sys/types.h-data: Likewise.
42610 * conform/data/sys/wait.h-data: Likewise.
42611 * conform/data/time.h-data: Likewise.
42612 * conform/data/unistd.h-data: Likewise.
42613 * conform/data/utime.h-data: Likewise.
42614
42615 * io/sys/stat.h: fchmod was always in POSIX.
42616 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42617 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42618 * rt/aio.h: Define __need_timespec before including <time.h>.
42619 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42620 struct. Add forward declaration of pthread_attr_t and use it in
42621 sigevent.
42622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42624 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42625 always remove CLK_TCK definition.
42626
c20105c3
AS
426272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42628
42629 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42630
7a270350
UD
426312012-02-25 Ulrich Drepper <drepper@gmail.com>
42632
31341567
UD
42633 * conform/run-conformtest.sh: New file.
42634 * conform/Makefile: Run run-conformtest for tests.
42635 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42636 support.
42637
42638 * conform/data/uchar.h-data: New file.
42639 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42640 * conform/data/arpa/inet.h-data: Likewise.
42641 * conform/data/assert.h-data: Likewise.
42642 * conform/data/complex.h-data: Likewise.
42643 * conform/data/cpio.h-data: Likewise.
42644 * conform/data/ctype.h-data: Likewise.
42645 * conform/data/dirent.h-data: Likewise.
42646 * conform/data/dlfcn.h-data: Likewise.
42647 * conform/data/errno.h-data: Likewise.
42648 * conform/data/fcntl.h-data: Likewise.
42649 * conform/data/float.h-data: Likewise.
42650 * conform/data/fmtmsg.h-data: Likewise.
42651 * conform/data/fnmatch.h-data: Likewise.
42652 * conform/data/ftw.h-data: Likewise.
42653 * conform/data/glob.h-data: Likewise.
42654 * conform/data/grp.h-data: Likewise.
42655 * conform/data/iconv.h-data: Likewise.
42656 * conform/data/inttypes.h-data: Likewise.
42657 * conform/data/langinfo.h-data: Likewise.
42658 * conform/data/libgen.h-data: Likewise.
42659 * conform/data/limits.h-data: Likewise.
42660 * conform/data/locale.h-data: Likewise.
42661 * conform/data/math.h-data: Likewise.
42662 * conform/data/monetary.h-data: Likewise.
42663 * conform/data/mqueue.h-data: Likewise.
42664 * conform/data/ndbm.h-data: Likewise.
42665 * conform/data/net/if.h-data: Likewise.
42666 * conform/data/netdb.h-data: Likewise.
42667 * conform/data/netinet/in.h-data: Likewise.
42668 * conform/data/nl_types.h-data: Likewise.
42669 * conform/data/poll.h-data: Likewise.
42670 * conform/data/pthread.h-data: Likewise.
42671 * conform/data/pwd.h-data: Likewise.
42672 * conform/data/regex.h-data: Likewise.
42673 * conform/data/sched.h-data: Likewise.
42674 * conform/data/search.h-data: Likewise.
42675 * conform/data/semaphore.h-data: Likewise.
42676 * conform/data/setjmp.h-data: Likewise.
42677 * conform/data/signal.h-data: Likewise.
42678 * conform/data/spawn.h-data: Likewise.
42679 * conform/data/stdarg.h-data: Likewise.
42680 * conform/data/stdio.h-data: Likewise.
42681 * conform/data/stdlib.h-data: Likewise.
42682 * conform/data/string.h-data: Likewise.
42683 * conform/data/strings.h-data: Likewise.
42684 * conform/data/stropts.h-data: Likewise.
42685 * conform/data/sys/ipc.h-data: Likewise.
42686 * conform/data/sys/mman.h-data: Likewise.
42687 * conform/data/sys/msg.h-data: Likewise.
42688 * conform/data/sys/resource.h-data: Likewise.
42689 * conform/data/sys/select.h-data: Likewise.
42690 * conform/data/sys/sem.h-data: Likewise.
42691 * conform/data/sys/shm.h-data: Likewise.
42692 * conform/data/sys/socket.h-data: Likewise.
42693 * conform/data/sys/stat.h-data: Likewise.
42694 * conform/data/sys/statvfs.h-data: Likewise.
42695 * conform/data/sys/time.h-data: Likewise.
42696 * conform/data/sys/timeb.h-data: Likewise.
42697 * conform/data/sys/times.h-data: Likewise.
42698 * conform/data/sys/types.h-data: Likewise.
42699 * conform/data/sys/uio.h-data: Likewise.
42700 * conform/data/sys/un.h-data: Likewise.
42701 * conform/data/sys/utsname.h-data: Likewise.
42702 * conform/data/sys/wait.h-data: Likewise.
42703 * conform/data/syslog.h-data: Likewise.
42704 * conform/data/tar.h-data: Likewise.
42705 * conform/data/termios.h-data: Likewise.
42706 * conform/data/utime.h-data: Likewise.
42707 * conform/data/utmpx.h-data: Likewise.
42708 * conform/data/varargs.h-data: Likewise.
42709 * conform/data/wchar.h-data: Likewise.
42710 * conform/data/wctype.h-data: Likewise.
42711 * conform/data/wordexp.h-data: Likewise.
42712
42713 * include/stropts.h: New file.
42714 * include/uchar.h: New file.
42715 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42716 * include/assert.h: Likewise.
42717 * include/ctype.h: Likewise.
42718 * include/dirent.h: Likewise.
42719 * include/dlfcn.h: Likewise.
42720 * include/fcntl.h: Likewise.
42721 * include/fnmatch.h: Likewise.
42722 * include/glob.h: Likewise.
42723 * include/grp.h: Likewise.
42724 * include/libio.h: Likewise.
42725 * include/locale.h: Likewise.
42726 * include/math.h: Likewise.
42727 * include/net/if.h: Likewise.
42728 * include/netdb.h: Likewise.
42729 * include/netinet/in.h: Likewise.
42730 * include/pthread.h: Likewise.
42731 * include/pwd.h: Likewise.
42732 * include/regex.h: Likewise.
42733 * include/sched.h: Likewise.
42734 * include/search.h: Likewise.
42735 * include/setjmp.h: Likewise.
42736 * include/signal.h: Likewise.
42737 * include/stdio.h: Likewise.
42738 * include/stdlib.h: Likewise.
42739 * include/string.h: Likewise.
42740 * include/sys/cdefs.h: Likewise.
42741 * include/sys/mman.h: Likewise.
42742 * include/sys/msg.h: Likewise.
42743 * include/sys/resource.h: Likewise.
42744 * include/sys/select.h: Likewise.
42745 * include/sys/socket.h: Likewise.
42746 * include/sys/stat.h: Likewise.
42747 * include/sys/statvfs.h: Likewise.
42748 * include/sys/time.h: Likewise.
42749 * include/sys/times.h: Likewise.
42750 * include/sys/uio.h: Likewise.
42751 * include/sys/utsname.h: Likewise.
42752 * include/sys/wait.h: Likewise.
42753 * include/termios.h: Likewise.
42754 * include/time.h: Likewise.
42755 * include/ulimit.h: Likewise.
42756 * include/unistd.h: Likewise.
42757 * include/utime.h: Likewise.
42758 * include/wchar.h: Likewise.
42759 * include/wctype.h: Likewise.
42760 * include/wordexp.h: Likewise.
42761
42762 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42763
7a270350
UD
42764 * time/time.h: TIME_UTC must be a macro.
42765 Make timespec_get available for ISO C11 only as well.
42766
7724defc
UD
427672012-02-24 Ulrich Drepper <drepper@gmail.com>
42768
42769 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42770 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42771
6b1d1d46
JM
427722012-02-24 Joseph Myers <joseph@codesourcery.com>
42773
42774 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42775
0f8bbd69
JM
427762012-02-24 Joseph Myers <joseph@codesourcery.com>
42777
42778 * manual/texinfo.tex: Update to version 2012-01-19.16.
42779
66ab80bc
JM
427802012-02-24 Joseph Myers <joseph@codesourcery.com>
42781
42782 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42783
74981cc5
RM
427842012-02-24 Roland McGrath <roland@hack.frob.com>
42785
ee968201
RM
42786 [BZ #13738]
42787 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42788 * manual/fdl-1.3.texi: New file.
42789 * manual/fdl-1.1.texi: File removed.
42790
74981cc5
RM
42791 [BZ #13738]
42792 * manual/libc.texinfo (FDL_VERSION): New @set.
42793 Use it for mention of FDL in cover text.
42794 (Documentation License): Use it in @include file name.
42795
7bb764bc
JM
427962012-02-22 Joseph Myers <joseph@codesourcery.com>
42797 Roland McGrath <roland@hack.frob.com>
42798
42799 [BZ #5461]
57f41c40
AS
42800 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42801 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42802 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42803 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42804 name.
42805 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42806
6cbeae47
JM
428072012-02-22 Joseph Myers <joseph@codesourcery.com>
42808
42809 [BZ #2547]
42810 [BZ #11365]
42811 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42812 manipulate bits before adding and subtracting TWO23[sx].
42813 * math/libm-test.inc (nearbyint_test): Add more tests.
42814
fe45ce09
JM
428152012-02-22 Joseph Myers <joseph@codesourcery.com>
42816
42817 [BZ #2548]
42818 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42819 bits before adding and subtracting TWO23[sx].
42820 * math/libm-test.inc (rint_test): Add more tests.
42821 (rint_test_tonearest): Likewise.
42822 (rint_test_towardzero): Likewise.
42823 (rint_test_downward): Likewise.
42824 (rint_test_upward: Likewise.
42825
ff3b3d82
JM
428262012-02-22 Joseph Myers <joseph@codesourcery.com>
42827
42828 [BZ #10110]
42829 * include/stdc-predef.h: New file. Extracted from features.h.
42830 * include/features.h: Include stdc-predef.h.
42831 * Makefile (headers): Add stdc-predef.h.
42832 * CONFORMANCE (Compiler limitations): Update.
42833
ef0aab35
JM
428342012-02-22 Joseph Myers <joseph@codesourcery.com>
42835
42836 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42837
58639409
DM
428382012-02-21 David S. Miller <davem@davemloft.net>
42839
42840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42842
c0e70b25
DM
428432012-02-20 David S. Miller <davem@davemloft.net>
42844
42845 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42846 using a normal save/restore sequence, rather than allocating a
42847 dummy stack frame just to store a frame pointer and restore.
42848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42849
fb06851d
JM
428502012-02-21 Joseph Myers <joseph@codesourcery.com>
42851
42852 * manual/install.texi: Fix stray word in line-wrapped comment.
42853
7a8b71c3
DM
428542012-02-20 David S. Miller <davem@davemloft.net>
42855
d510c123
DM
42856 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42857 both binutils and gcc support GOTDATA.
42858
0722d7c2
DM
42859 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42860 "rd %pc" in the PIC register setup sequences.
42861
3d2b3019
DM
42862 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42863 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42864 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42865 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42871 (SYSCALL_ERROR_HANDLER): Likewise.
42872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42875 (SYSCALL_ERROR_HANDLER): Likewise.
42876
c80098a9
DM
42877 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42878 (HAVE_GCC_GOTDATA): New.
42879 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42880 relocation support in both binutils and gcc.
42881 * sysdeps/sparc/elf/configure: Regenerate.
42882
3a2545a0
DM
42883 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42884 * sysdeps/sparc/sparc32/elf/configure: Delete.
42885 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42886 * sysdeps/sparc/sparc64/elf/configure: Delete.
42887 * sysdeps/sparc/elf/configure.in: New file.
42888 * sysdeps/sparc/elf/configure: Generate.
42889
7a8b71c3
DM
42890 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42891 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42892 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42893 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42894 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42895
f1e86fca
JM
428962012-02-21 Joseph Myers <joseph@codesourcery.com>
42897
42898 * manual/install.texi: Do not mention specific glibc version
42899 numbers.
42900 * manual/libc.texinfo (VERSION, UPDATED): Update.
42901 (@copying): Use @copyright{} and range of years.
42902
0e7dfaef
JM
429032012-02-21 Joseph Myers <joseph@codesourcery.com>
42904
42905 [BZ #13695]
42906 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42907 [crti.S not in sysdirs] (generated): Do not append.
42908 [crti.S not in sysdirs] (omit-deps): Likewise.
42909 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42910 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42911 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42912 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42913 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42914 Likewise.
42915 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42916 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42917 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42918 * csu/defs.awk: Remove file.
42919 * sysdeps/generic/initfini.c: Likewise.
42920 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42921 variable.
42922 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42923 Likewise.
42924
599af3ca
JM
429252012-02-20 Joseph Myers <joseph@codesourcery.com>
42926
42927 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42928 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42929 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42932 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42933 <bits/epoll.h>.
42934 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42935 (__EPOLL_PACKED): Define to empty if not defined by
42936 <bits/epoll.h>.
42937 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42939 bits/epoll.h.
42940
0e499750
JM
429412012-02-20 Joseph Myers <joseph@codesourcery.com>
42942
42943 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42944 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42945 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42947 <bits/timerfd.h>.
42948 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42950 bits/timerfd.h.
42951
5ad91f6e
JM
429522012-02-20 Joseph Myers <joseph@codesourcery.com>
42953
42954 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42955 in C locale.
42956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42960
06b99b02
AJ
429612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42962
42963 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42965
7638c0fd
AS
429662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42967
42968 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42969 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42970 defined.
42971 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42972 Likewise.
42973 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42974 entry for 2.16.
42975
92221550
AJ
429762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42977
42978 * math/w_acos.c: Use non-signaling floating-point comparisons.
42979 * math/w_acosf.c: Likewise.
42980 * math/w_acosh.c: Likewise.
42981 * math/w_acoshf.c: Likewise.
42982 * math/w_acoshl.c: Likewise.
42983 * math/w_acosl.c: Likewise.
42984 * math/w_asin.c: Likewise.
42985 * math/w_asinf.c: Likewise.
42986 * math/w_asinl.c: Likewise.
42987 * math/w_atanh.c: Likewise.
42988 * math/w_atanhf.c: Likewise.
42989 * math/w_atanhl.c: Likewise.
42990 * math/w_exp2.c: Likewise.
42991 * math/w_exp2f.c: Likewise.
42992 * math/w_exp2l.c: Likewise.
42993 * math/w_j0.c: Likewise.
42994 * math/w_j0f.c: Likewise.
42995 * math/w_j0l.c: Likewise.
42996 * math/w_j1.c: Likewise.
42997 * math/w_j1f.c: Likewise.
42998 * math/w_j1l.c: Likewise.
42999 * math/w_jn.c: Likewise.
43000 * math/w_jnf.c: Likewise.
43001 * math/w_log.c: Likewise.
43002 * math/w_log10.c: Likewise.
43003 * math/w_log10f.c: Likewise.
43004 * math/w_log10l.c: Likewise.
43005 * math/w_log2.c: Likewise.
43006 * math/w_log2f.c: Likewise.
43007 * math/w_log2l.c: Likewise.
43008 * math/w_logf.c: Likewise.
43009 * math/w_logl.c: Likewise.
43010 * math/w_sqrt.c: Likewise.
43011 * math/w_sqrtf.c: Likewise.
43012 * math/w_sqrtl.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43016 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43018
ebaf36eb
JM
430192012-02-19 Joseph Myers <joseph@codesourcery.com>
43020
43021 [BZ #9739]
43022 * manual/string.texi (strnlen): Use correct parameter name in
43023 equivalent expression.
43024
71c254a6
JM
430252012-02-19 Joseph Myers <joseph@codesourcery.com>
43026
43027 [BZ #11174]
43028 * manual/users.texi (seteuid): Consistently use neweuid for
43029 argument name.
43030
16d2c631
JM
430312012-02-19 Joseph Myers <joseph@codesourcery.com>
43032
43033 [BZ #13704]
43034 * manual/nss.texi (Services in the NSS configuration): Correct
43035 list of services in example configuration file.
43036
cd837b09
NB
430372012-02-19 Nick Bowler <nbowler@draconx.ca>
43038
43039 [BZ #11322]
43040 * manual/arith.texi: Remove statements about negative zero
43041 behaving identically to zero.
43042
02c4bbad
JM
430432012-02-18 Joseph Myers <joseph@codesourcery.com>
43044
43045 [BZ #5993]
43046 * manual/install.texi: Do not document upgrading from libc5.
43047
366842e7
JM
430482012-02-18 Joseph Myers <joseph@codesourcery.com>
43049
43050 [BZ #4596]
43051 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43052
dd54084d
DM
430532012-02-18 David S. Miller <davem@davemloft.net>
43054
43055 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43056 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43057 %o7 across the call.
43058 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43059 instead.
43060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43061 SETUP_PIC_REG_LEAF.
43062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43063 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43064 * sysdeps/sparc/crtn.S: Likewise.
43065
2bcc53a3
UD
430662012-02-17 Ulrich Drepper <drepper@gmail.com>
43067
43068 * aout/Makefile: Remove.
43069
09c093b5
RK
430702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43071
43072 [BZ #13058]
43073 * manual/examples/argp-ex1.c (main): Format definition in GNU
43074 style.
43075 * manual/examples/argp-ex2.c (main): Likewise.
43076 * manual/examples/argp-ex3.c (main): Likewise.
43077 * manual/examples/argp-ex4.c (main): Likewise.
43078 * manual/examples/longopt.c (main): Use new-style prototype
43079 definition.
43080 * manual/examples/strncat.c (main): Specify return type and use
43081 (void) for arguments.
43082 * manual/examples/subopt.c (main): Use char **argv argument.
43083
2ee633a2
JM
430842012-02-17 Joseph Myers <joseph@codesourcery.com>
43085
43086 [BZ #5077]
43087 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43088 rounding modes.
43089
0520adde
FB
430902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43091
43092 [BZ #6907]
43093 * manual/string.texi (strchr): Change when strchrnul is
43094 recommended.
43095
3f4081cd
DGM
430962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43097
43098 [BZ #174]
43099 * manual/locale.texi (setlocale): Document LOCPATH.
43100
d1b10e78
JM
431012012-02-17 Joseph Myers <joseph@codesourcery.com>
43102
43103 [BZ #10210]
43104 * manual/process.texi (execle): Move @dots{} before last argument.
43105
79c6869c
PB
431062012-02-17 Paul Bolle <pebolle@tiscali.nl>
43107
43108 [BZ #12047]
43109 * manual/charset.texi (Generic Charset Conversion): Fix typo
43110 (LC_TYPE -> LC_CTYPE).
43111
cc6e48bc
NB
431122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43113
43114 [BZ #5805]
43115 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43116 (scalbnf): Likewise.
43117 (scalbnl): Likewise.
43118 (scalbln): Likewise.
43119 (scalblnf): Likewise.
43120 (scalblnl): Likewise.
43121 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43122 (vwarnx): Likewise.
43123 (verr): Likewise.
43124 (verrx): Likewise.
43125 * manual/filesys.texi (telldir): Use braces around return type.
43126 * manual/llio.texi (mmap): Add space after comma.
43127 (mmap64): Likewise.
43128 * manual/math.texi (jn): Use @var{} on parameter names.
43129 (jnf): Likewise.
43130 (jnl): Likewise.
43131 (yn): Likewise.
43132 (ynf): Likewise.
43133 (ynl): Likewise.
43134 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43135 line.
43136 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43137 "...".
43138 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43139 (sched_get_priority_max): Likewise.
43140 * manual/signal.texi (sigvec): Add space after comma.
43141 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43142 names.
43143 (if_indextoname): Likewise.
43144 (if_freenameindex): Likewise.
43145 (sendto): Use ',' instead of '.' in prototype.
43146 * manual/startup.texi (syscall): Use @dots{} instead of literal
43147 "...".
43148 * manual/stdio.texi (__fpending): Separate initial words of
43149 paragraph from @deftypefun line.
43150 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43151 "...".
43152 (vsyslog): Use @var{} on parameter names.
43153 * manual/terminal.texi (stty): Use @var{} on parameter names.
43154 * manual/users.texi (getutmp): Use @var{} on parameter names.
43155 (getutmpx): Likewise.
43156
5b23062f
JM
431572012-02-17 Joseph Myers <joseph@codesourcery.com>
43158
43159 [BZ #6884]
43160 * manual/stdio.texi (fopen): Fix typos in description of
43161 ",ccs=STRING".
43162
8dee4833
AJ
431632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43164
43165 [BZ #4026]
43166 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43167 get clock_id definition.
43168
9078ce93
TS
431692012-02-17 Thomas Schwinge <thomas@schwinge.name>
43170
43171 [BZ #4822]
43172 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43173 (madvise): Cast every argument to void on its own.
43174
3835c55f
JM
431752012-02-17 Joseph Myers <joseph@codesourcery.com>
43176
43177 [BZ #9902]
43178 * manual/startup.texi (Exit Status): Fix typo.
43179
35c47e37
JM
431802012-02-17 Joseph Myers <joseph@codesourcery.com>
43181
43182 [BZ #10140]
43183 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43184 * manual/examples/argp-ex2.c: Likewise.
43185 * manual/examples/argp-ex3.c: Likewise.
43186
e3b69ca7
RH
431872012-02-16 Richard Henderson <rth@redhat.com>
43188
43189 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43190 * sysdeps/s390/s390-32/initfini.c: Remove.
43191 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43192 * sysdeps/s390/s390-64/initfini.c: Remove.
43193
df83af67
KK
431942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43195
43196 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43197 compiler output for sysdeps/generic/initfini.c.
43198 * sysdeps/sh/elf/initfini.c: Remove file.
43199
f63f3380
DM
432002012-02-16 David S. Miller <davem@davemloft.net>
43201
fb59b3a4
DM
43202 [BZ #11494]
43203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43204
f63f3380
DM
43205 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43206 * sysdeps/sparc/crti.S: New file.
43207 * sysdeps/sparc/crtn.S: New file.
43208 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43209 * sysdeps/sparc/sparc64/Makefile: Likewise.
43210
df6a4a4a
MF
432112012-02-15 Mike Frysinger <vapier@gentoo.org>
43212
6dd8f3dc 43213 [BZ #3335]
df6a4a4a
MF
43214 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43215
1cac7236
RM
432162012-02-15 Roland McGrath <roland@hack.frob.com>
43217
d2c736f8
RM
43218 [BZ #4822]
43219 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43220
1cac7236
RM
43221 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43222 (write, read, close): Likewise.
43223 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43224
8e475601
JM
432252012-02-15 Joseph Myers <joseph@codesourcery.com>
43226
43227 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43228 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43229 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43230 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43231 <bits/signalfd.h>.
43232 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43234 bits/signalfd.h.
43235
ed656b40
MP
432362012-02-14 Marek Polacek <polacek@redhat.com>
43237
43238 * sysdeps/x86_64/crti.S: New file.
43239 * sysdeps/x86_64/crtn.S: New file.
43240 * sysdeps/x86_64/elf/initfini.c: Remove file.
43241
2a979d3a
JM
432422012-02-13 Joseph Myers <joseph@codesourcery.com>
43243
43244 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43245 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43246 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43247 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43248 <bits/inotify.h>.
43249 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43251 bits/inotify.h.
43252
2a418ac3
JM
432532012-02-13 Joseph Myers <joseph@codesourcery.com>
43254
43255 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43256 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43257 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43258 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43259 <bits/eventfd.h>.
43260 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43262 bits/eventfd.h.
43263
fb779be7
TS
432642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43265
e19e83c5
RM
43266 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43267 __feraiseexcept instead of feraiseexcept.
7c35ffed 43268
fb779be7
TS
43269 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43270 nanosleep invocations.
43271 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43272 strings, and add error checking for a nanosleep invocations.
43273
59ba27a6
PE
432742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43275
43276 Replace FSF snail mail address with URLs, as per GNU coding standards.
43277 Most of the snail mail addresses were wrong anyway, and omitting
43278 them makes the source code easier to maintain. Almost all of the
43279 changes are to license notices and to locale LC_IDENTIFICATION
43280 addresses, except for this one:
43281 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43282 not its snail mail address.
43283
57b957eb
RH
432842012-02-09 Richard Henderson <rth@twiddle.net>
43285
af850b1c
RH
43286 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43287 of kernel-features.h.
43288
57b957eb
RH
43289 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43290
6b73181a
MP
432912012-02-08 Marek Polacek <polacek@redhat.com>
43292
43293 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43294 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43295 * sysdeps/gnu/_G_config.h: Likewise.
43296 * sysdeps/generic/_G_config.h: Likewise.
43297
26ecc33a
AS
432982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43299
6c6dbc63
AS
43300 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43301 tests.
43302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43303
e216c012
AS
43304 * sysdeps/powerpc/powerpc32/crti.S: New file.
43305 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43306 * sysdeps/powerpc/powerpc64/crti.S: New file.
43307 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43308
26ecc33a
AS
43309 * Makeconfig (have-initfini): Don't set.
43310 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43311 * configure.in (nopic_initfini): Don't substitute.
43312 * config.h.in (HAVE_INITFINI): Don't #undef.
43313 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43314 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43315
3add8e13
JM
433162012-02-08 Joseph Myers <joseph@codesourcery.com>
43317
43318 Support crti.S and crtn.S provided directly by architectures.
43319 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43320 [crti.S in sysdirs] (omit-deps): Likewise.
43321 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43322 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43323 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43324 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43325 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43326 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43327 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43328 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43329 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43330 compiler output for sysdeps/generic/initfini.c.
43331 * sysdeps/i386/elf/Makefile: Remove file.
43332 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43333
a22f12b4
MP
433342012-02-07 Marek Polacek <polacek@redhat.com>
43335
43336 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43337 * sysdeps/gnu/_G_config.h: Likewise.
43338 * sysdeps/mach/hurd/_G_config.h: Likewise.
43339
148cf100
MP
433402012-02-07 Marek Polacek <polacek@redhat.com>
43341
43342 * math/Makefile (tests): Add tst-CMPLX2.
43343 * math/tst-CMPLX2.c: New file.
43344
cfdc0dd7
AS
433452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43346
84ba42c4
AS
43347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43348
cfdc0dd7
AS
43349 * math/libm-test.inc (jn_test): Add missing L suffix.
43350
622c86f4
MP
433512012-02-06 Marek Polacek <polacek@redhat.com>
43352
43353 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43354 * sysdeps/i386/fpu/e_powf.S: Likewise.
43355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43356 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43358 * sysdeps/i386/fpu/e_pow.S: Likewise.
43359 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43360 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43361 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43362 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43363 * sysdeps/i386/fpu/e_log2.S: Likewise.
43364 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43365 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43366 * sysdeps/i386/fpu/e_powl.S: Likewise.
43367 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43370 * sysdeps/i386/fpu/e_logl.S: Likewise.
43371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43372 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43373 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43374 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43377 * sysdeps/i386/fpu/e_log.S: Likewise.
43378 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43379 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43380 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43381 * sysdeps/i386/fpu/e_logf.S: Likewise.
43382 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43383 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43384 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43386 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43387 * sysdeps/i386/fpu/e_log10.S: Likewise.
43388 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43389 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43390 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43391 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43394 * sysdeps/i386/asm-syntax.h: Likewise.
43395 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43396 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43398 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43399 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43400 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43401 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43402 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43404 * sysdeps/powerpc/sysdep.h: Likewise.
43405 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43406 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43407
d4a54ac6
JM
434082012-02-06 Joseph Myers <joseph@codesourcery.com>
43409
43410 [BZ #411]
43411 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43412
314054ea
JM
434132012-02-06 Joseph Myers <joseph@codesourcery.com>
43414
43415 * sysdeps/i386/sysdep.h: Include <features.h>.
43416 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43417 version.
43418
d8e0ca50
JM
434192012-02-05 Joseph Myers <joseph@codesourcery.com>
43420
43421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43422 Define.
43423 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43424 LOAD_PIC_REG_STR.
43425
b1da7dd9
JM
434262012-02-03 Joseph Myers <joseph@codesourcery.com>
43427
43428 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43429 (SETUP_PIC_REG): Use GET_PC_THUNK.
43430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43431 macro.
43432
9a1d9254
JM
434332012-02-03 Joseph Myers <joseph@codesourcery.com>
43434
43435 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43436 for non-PIC compilation.
43437 (SETUP_PIC_REG): Add .p2align directive.
43438 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43439 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43441 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43444 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43452 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43453 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43454 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43455 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43456 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43457 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43459 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43466 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43467 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43470 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43471 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43472 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43473 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43474 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43475 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43476 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43477 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43478 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43479
65dc3b75
JM
434802012-02-03 Joseph Myers <joseph@codesourcery.com>
43481
43482 * math/tst-CMPLX.c: Include <stdio.h>.
43483
d55bf177
JM
434842012-01-31 Joseph Myers <joseph@codesourcery.com>
43485
43486 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43487 float.
43488 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43489 * sysdeps/sparc/bits/mathdef.h: Likewise.
43490
69db4f8f
MP
434912012-01-31 Marek Polacek <polacek@redhat.com>
43492
43493 * libio/libio.h: Don't define _PARAMS.
43494 * locale/programs/config.h: Don't define PARAMS.
43495 * stdlib/strtol_l.c: Likewise.
43496 (__strtol_l): Remove PARAMS from the prototype.
43497
41b81892
UD
434982012-01-31 Ulrich Drepper <drepper@gmail.com>
43499
3b49edc0
UD
43500 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43501 names. Just use the correct names. Remove unnecessary wrapper
43502 functions.
43503 * malloc/arena.c: Likewise.
43504 * malloc/hooks.c: Likewise.
43505
41b81892
UD
43506 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43507 ARENA_TEST says not to. Simplify test for creation of a new arena.
43508 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43509
27a25b6e
UD
435102012-01-30 Ulrich Drepper <drepper@gmail.com>
43511
43512 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43513 into tail calls.
43514 (update_get_addr): New function.
43515 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43516 GET_ADDR_MODULE parameter.
43517
c8a89e7d
JM
435182012-01-30 Joseph Myers <joseph@codesourcery.com>
43519
43520 * crypt/cert.c: Remove __STDC__ conditionals.
43521 * crypt/crypt-entry.c: Likewise.
43522 * crypt/crypt_util.c: Likewise.
43523 * libio/filedoalloc.c: Likewise.
43524 * libio/fileops.c: Likewise.
43525 * libio/genops.c: Likewise.
43526 * libio/iofclose.c: Likewise.
43527 * libio/iofdopen.c: Likewise.
43528 * libio/iofopen.c: Likewise.
43529 * libio/iofopen64.c: Likewise.
43530 * libio/iogetdelim.c: Likewise.
43531 * libio/iopopen.c: Likewise.
43532 * libio/obprintf.c: Likewise.
43533 * libio/oldfileops.c: Likewise.
43534 * libio/oldiofclose.c: Likewise.
43535 * libio/oldiofdopen.c: Likewise.
43536 * libio/oldiofopen.c: Likewise.
43537 * libio/oldiopopen.c: Likewise.
43538 * libio/wfiledoalloc.c: Likewise.
43539 * libio/wgenops.c: Likewise.
43540 * locale/programs/xmalloc.c: Likewise.
43541 * misc/syslog.c: Likewise.
43542 * stdio-common/xbug.c: Likewise.
43543 * string/memchr.c: Likewise.
43544 * string/memcmp.c: Likewise.
43545 * string/memrchr.c: Likewise.
43546 * string/rawmemchr.c: Likewise.
43547 * sysdeps/posix/getcwd.c: Likewise.
43548 * time/strftime_l.c: Likewise.
43549
3b100462
JM
435502012-01-30 Joseph Myers <joseph@codesourcery.com>
43551
43552 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43553 * config.make.in (config-cflags-sse2avx): Define.
43554 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43555 Fix typo.
43556
607998af
CM
435572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43558
43559 * scripts/config.guess: Update from upstream config git repository.
43560 * scripts/config.sub: Likewise.
43561
3601428f
CM
435622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43563
3ac8b282
CM
43564 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43565 (EM_NUM): Update.
43566 (R_TILEPRO_*, R_TILEGX_*): New macros.
43567
e034841e
CM
43568 * scripts/firstversions.awk: Fix bug in version range handling.
43569
540d7568
CM
43570 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43571
3601428f
CM
43572 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43573
463de862
CM
43574 * include/sys/epoll.h: New file.
43575 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43576 libc_hidden_def.
43577
73139a76
UD
435782012-01-28 Ulrich Drepper <drepper@gmail.com>
43579
96bc5b45
UD
43580 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43581 Avoid unnecessary __WORDSIZE == 64 test.
43582 (fmaxf): Use VEX format if possible.
43583 (fmax): Likewise.
43584 (fminf): Likewise.
43585 (fmin): Likewise.
43586
56f6f6a2
UD
43587 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43588 * math/math_private.h: Remove libc_fegetround* and
43589 libc_fesetround*.
43590 * sysdeps/i386/configure.in: Check for -msse2avx.
43591 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43592 also if SSE2AVX is defined.
43593 Remove libc_fegetround* and libc_fesetround*.
43594 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43595 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43597 of HAS_YMM_USABLE.
43598 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43599 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43601 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43603
73139a76
UD
43604 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43605
d73f93a4
AZ
436062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43607
43608 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43609 size is not set.
43610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43611
6ee65ed6
UD
436122012-01-27 Ulrich Drepper <drepper@gmail.com>
43613
43614 [BZ #13618]
43615 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43616 relocation.
43617 * Makeconfig (libm): Define.
43618 * elf/Makefile: Add rules to build and run tst-relsort1.
43619 * elf/tst-relsort1.c: New file.
43620 * elf/tst-relsort1mod1.c: New file.
43621 * elf/tst-relsort1mod2.c: New file.
43622
8db21882
JM
436232012-01-27 Joseph Myers <joseph@codesourcery.com>
43624
43625 * math/s_ldexp.c: Remove __STDC__ conditionals.
43626 * math/s_ldexpf.c: Likewise.
43627 * math/s_ldexpl.c: Likewise.
43628 * math/s_nextafter.c: Likewise.
43629 * math/s_nexttowardf.c: Likewise.
43630 * math/s_significand.c: Likewise.
43631 * math/s_significandf.c: Likewise.
43632 * math/s_significandl.c: Likewise.
43633 * math/w_jnl.c: Likewise.
43634 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43635 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43636 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43637 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43638 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43640 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43655 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43662 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43663 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43664 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43665 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43668 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43671 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43672 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43673 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43674 * sysdeps/ieee754/k_standard.c: Likewise.
43675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43678 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43679 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43680 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43681 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43682 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43683 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43687 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43688 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43689 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43694 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43705 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43706 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43707 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43708 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43711 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43714 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43715 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43717 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43718 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43720 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43724 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43725 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43728 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43729 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43730 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43731 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43733 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43736 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43737 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43739 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43740 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43741 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43742 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43743 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43750 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43751 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43752 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43753 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43754 * sysdeps/ieee754/s_matherr.c: Likewise.
43755 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43756 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43759
965a54a4
JM
437602012-01-26 Joseph Myers <joseph@codesourcery.com>
43761
43762 * crypt/md5.h: Remove __STDC__ conditionals.
43763 * libio/libioP.h: Likewise.
43764 * locale/programs/config.h: Likewise.
43765 * sysdeps/generic/sysdep.h: Likewise.
43766 * sysdeps/i386/asm-syntax.h: Likewise.
43767 * sysdeps/s390/asm-syntax.h: Likewise.
43768 * sysdeps/unix/sysdep.h: Likewise.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43771
7071ad79
JM
437722012-01-26 Joseph Myers <joseph@codesourcery.com>
43773
43774 * libio/libio.h: Remove __STDC__ conditionals.
43775 * malloc/obstack.h: Likewise.
43776 * math/complex.h: Likewise.
43777 * math/math.h: Likewise.
43778 * sysdeps/generic/_G_config.h: Likewise.
43779 * sysdeps/gnu/_G_config.h: Likewise.
43780 * sysdeps/mach/hurd/_G_config.h: Likewise.
43781 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43783 * sysdeps/sparc/bits/mathdef.h: Likewise.
43784
afc5ed09
UD
437852012-01-26 Ulrich Drepper <drepper@gmail.com>
43786
43787 [BZ #13583]
43788 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43789 Clean up HAS_* macros.
afc5ed09 43790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43791 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43792 possible.
43793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43794 HAS_AVX.
43795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43800
bdb6de1d
JM
438012012-01-25 Joseph Myers <joseph@codesourcery.com>
43802
43803 * elf/tst-unique3.cc (gets): Remove declaration.
43804 * elf/tst-unique3lib.cc (gets): Likewise.
43805 * elf/tst-unique3lib2.cc (gets): Likewise.
43806 * elf/tst-unique4.cc (gets): Likewise.
43807
b15549e6
UD
438082012-01-24 Ulrich Drepper <drepper@gmail.com>
43809
43810 * include/stdio.h: Add C++ protection. Add gets declarations and
43811 definitions.
43812 * debug/tst-chk1.c: Don't declare gets here.
43813 * stdio-common/tst-gets.c: Likewise.
43814
a037381f
JM
438152012-01-24 Joseph Myers <joseph@codesourcery.com>
43816
43817 * posix/glob: Remove directory.
43818
f1d4aa75
JM
438192012-01-24 Joseph Myers <joseph@codesourcery.com>
43820
43821 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43822
81c0c964
PT
438232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43824
43825 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43826 of the non-standard EPFNOSUPPORT.
43827
0ea698ae
ST
438282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43829
43830 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43831 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43832 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43833
d220b117
UD
438342012-01-21 Ulrich Drepper <drepper@gmail.com>
43835
43836 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43837
3e1aa84e
UD
438382012-01-20 Ulrich Drepper <drepper@gmail.com>
43839
43840 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43841 transient errors.
43842 * nscd/grpcache.c (cache_addgr): Likewise.
43843 * nscd/hstcache.c (cache_addhst): Likewise.
43844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43845 * nscd/pwdcache.c (cache_addpw): Likewise.
43846 * nscd/servicescache.c (cache_addserv): Likewise.
43847
400aa020
UD
438482012-01-16 Ulrich Drepper <drepper@gmail.com>
43849
d77e7869
UD
43850 * malloc/malloc.c: Various cleanups.
43851 * malloc/hooks.c: Likewise.
43852
400aa020
UD
43853 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43854 * stdlib/bug-fmtmsg1.c: New file.
43855
43856 * stdlib/fmtmsg.c (init): Add missing unlock.
43857 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43858
e0a309cf
MP
438592012-01-12 Marek Polacek <polacek@redhat.com>
43860
43861 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43862 and _GNU_SOURCE.
43863
929d11c7
WS
438642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43865
43866 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43867 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43868 macro to ensure uniqueness of label name.
43869 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43870 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43871
41d0e869
UD
438722012-01-11 Ulrich Drepper <drepper@gmail.com>
43873
0cc5ed3b
UD
43874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43875
41d0e869
UD
43876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43877 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43880
a47a831a
UD
438812012-01-10 Ulrich Drepper <drepper@gmail.com>
43882
daa891c0
UD
43883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43884
43885 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43886 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43888
e58ef0f2
UD
43889 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43890
a47a831a 43891 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43895
43896 * math/bits/math-finite.h: Add ldexp support.
43897
a0bfc9c7
MP
438982012-01-10 Marek Polacek <polacek@redhat.com>
43899
43900 * locale/programs/localedef.h (show_archive_content): Add noreturn
43901 attribute.
43902
d6e97a1d
UD
439032012-01-09 Ulrich Drepper <drepper@gmail.com>
43904
43905 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43906
d5835c26
UD
439072012-01-08 Ulrich Drepper <drepper@gmail.com>
43908
e5f484c6
UD
43909 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43910
d5835c26
UD
43911 * io/Makefile (headers): Add bits/poll2.h.
43912
d1f741e9
WS
439132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43914
43915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43916 typo #include statement.
43917
ec09c1c4
UD
439182012-01-08 Ulrich Drepper <drepper@gmail.com>
43919
43920 * include/sys/cdefs.h: Define __attribute_alloc_size.
43921 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43922 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43923 * elf/pldd.c: Likewise.
43924 * iconv/iconv_charmap.c: Likewise.
43925 * iconv/iconvconfig.c: Likewise.
43926 * iconv/strtab.c: Likewise.
43927 * locale/programs/locale.c: Likewise.
43928 * locale/programs/localedef.h: Likewise.
43929 * locale/programs/simple-hash.c: Likewise.
43930 * nscd/nscd.h: Likewise.
43931 * nss/makedb.c: Likewise.
43932 * sysdeps/generic/ldconfig.h: Likewise.
43933 * locale/programs/localedef.c: Remove xmalloc prototype.
43934 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43935
20b38e03
PP
439362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43937
43938 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43939 appropriate.
43940
a0da5fe1
UD
439412012-01-08 Ulrich Drepper <drepper@gmail.com>
43942
1d5a644a 43943 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43944 * math/tst-CMPLX.c: New file.
1d5a644a 43945
8784a6db
UD
43946 * math/complex.h (CMPLXL): Fix typo.
43947
d9a216c0
UD
43948 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43949 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43950 GLIBC_2.16.
43951 * debug/tst-chk1.c: Add poll and ppoll tests.
43952 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43953 * include/sys/poll.h: Add hidden proto for ppoll.
43954 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43955 * sysdeps/mach/hurd/ppoll.c: Likewise.
43956 * io/ppoll.c: Likewise.
43957 * debug/poll_chk.c: New file.
43958 * debug/ppoll_chk.c: New file.
43959 * include/bits/poll2.h: New file.
43960 * io/bits/poll2.h: New file.
43961
ac097f5c
UD
43962 [BZ #1350]
43963 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43964
2119dcfa
UD
43965 * configure.in: static is always set to yes. Remove.
43966 * config.make.in: Don't set build-static.
43967 * Makeconfig: Remove use of build-static.
43968 * dlfcn/Makefile: Likewise.
43969 * elf/Makefile: Likewise.
43970 * math/Makefile: Likewise.
43971 * misc/Makefile: Likewise.
43972 * nptl/Makefile: Likewise.
43973 * sysdeps/mach/hurd/Makefile: Likewise.
43974
121766a9
UD
43975 * configure.in: PWD_P is not used anymore.
43976 * config.make.in: Remove PWD_P entry.
43977
51a1d39c 43978 * configure.in: Remove last remnants of RANLIB.
8720d066 43979 No need to check for signed size_t anymore.
215f4bdc
UD
43980 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43981 and IA-64.
3857022a 43982 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43983 * aclocal.m4: Likewise.
43984
d3ed7225
UD
43985 * wcsmbs/mbrtoc16.c: Implement using towc function.
43986 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43987 * wcsmbs/wcsmbsload.c: Likewise.
43988 * iconv/gconv_simple.c: Likewise.
43989 * iconv/gconv_int.h: Likewise.
43990 * iconv/gconv_builtin.h: Likewise.
43991 * iconv/iconv_prog.c: Remove CHAR16 handling.
43992
43993 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43994
43995 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43996
a0da5fe1
UD
43997 * configure.in: Remove --with-elf and --enable-bounded options.
43998 Dont set base_machine for ia64. More non-ELF conditions removed.
43999 Remove testing and setting of leading underscore information.
44000 * config.make.in (build-bounded): Set to no.
44001 * config.h.in: Remove NO_UNDERSCORES entry.
44002 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44003 them.
44004 * csu/start.c: Remove !NO_UNDERSCORE code.
44005 * locale/localeinfo.h: Likewise.
44006 * sysdeps/generic/machine-gmon.h: Likewise.
44007 * sysdeps/generic/sysdep.h: Likewise.
44008 * sysdeps/i386/sysdep.h: Likewise.
44009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44010 * sysdeps/mach/sysdep.h: Likewise.
44011 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44013 * sysdeps/sh/sysdep.h: Likewise.
44014 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44015 * sysdeps/unix/i386/sysdep.S: Likewise.
44016 * sysdeps/unix/sparc/start.c: Likewise.
44017 * sysdeps/unix/sparc/sysdep.S: Likewise.
44018 * sysdeps/unix/sparc/sysdep.h: Likewise.
44019 * sysdeps/unix/start.c: Likewise.
44020 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44021 * sysdeps/x86_64/sysdep.h: Likewise.
44022
df78418a
UD
440232012-01-07 Ulrich Drepper <drepper@gmail.com>
44024
a784e502
UD
44025 [BZ #13553]
44026 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44027 for non-gcc.
44028 * argp/argp-fmtstream.h: Use const instead __const.
44029 * argp/argp.h: Likewise.
44030 * assert/assert.h: Likewise.
44031 * bits/fenv.h: Likewise.
44032 * bits/sched.h: Likewise.
44033 * bits/sigset.h: Likewise.
44034 * bits/sigthread.h: Likewise.
44035 * catgets/nl_types.h: Likewise.
44036 * conform/data/pthread.h-data: Likewise.
44037 * crypt/crypt-private.h: Likewise.
44038 * crypt/crypt.h: Likewise.
44039 * crypt/crypt_util.c: Likewise.
44040 * ctype/ctype.h: Likewise.
44041 * debug/execinfo.h: Likewise.
44042 * debug/mbsnrtowcs_chk.c: Likewise.
44043 * debug/mbsrtowcs_chk.c: Likewise.
44044 * debug/wcsnrtombs_chk.c: Likewise.
44045 * debug/wcsrtombs_chk.c: Likewise.
44046 * debug/wcstombs_chk.c: Likewise.
44047 * dirent/dirent.h: Likewise.
44048 * dlfcn/dlfcn.h: Likewise.
44049 * elf/neededtest4.c: Likewise.
44050 * grp/grp.h: Likewise.
44051 * gshadow/gshadow.h: Likewise.
44052 * iconv/gconv.h: Likewise.
44053 * iconv/gconv_int.h: Likewise.
44054 * iconv/gconv_simple.c: Likewise.
44055 * iconv/iconv.h: Likewise.
44056 * iconv/loop.c: Likewise.
44057 * iconv/skeleton.c: Likewise.
44058 * include/aio.h: Likewise.
44059 * include/aliases.h: Likewise.
44060 * include/argz.h: Likewise.
44061 * include/arpa/inet.h: Likewise.
44062 * include/assert.h: Likewise.
44063 * include/dirent.h: Likewise.
44064 * include/dlfcn.h: Likewise.
44065 * include/execinfo.h: Likewise.
44066 * include/fcntl.h: Likewise.
44067 * include/fenv.h: Likewise.
44068 * include/glob.h: Likewise.
44069 * include/grp.h: Likewise.
44070 * include/libintl.h: Likewise.
44071 * include/mntent.h: Likewise.
44072 * include/netdb.h: Likewise.
44073 * include/pwd.h: Likewise.
44074 * include/rpc/netdb.h: Likewise.
44075 * include/sched.h: Likewise.
44076 * include/search.h: Likewise.
44077 * include/shadow.h: Likewise.
44078 * include/signal.h: Likewise.
44079 * include/stdio.h: Likewise.
44080 * include/stdlib.h: Likewise.
44081 * include/string.h: Likewise.
44082 * include/sys/socket.h: Likewise.
44083 * include/sys/stat.h: Likewise.
44084 * include/sys/statfs.h: Likewise.
44085 * include/sys/statvfs.h: Likewise.
44086 * include/sys/syslog.h: Likewise.
44087 * include/sys/time.h: Likewise.
44088 * include/sys/uio.h: Likewise.
44089 * include/time.h: Likewise.
44090 * include/unistd.h: Likewise.
44091 * include/utmp.h: Likewise.
44092 * include/wchar.h: Likewise.
44093 * include/wctype.h: Likewise.
44094 * inet/aliases.h: Likewise.
44095 * inet/arpa/inet.h: Likewise.
44096 * inet/netinet/ether.h: Likewise.
44097 * inet/netinet/in.h: Likewise.
44098 * intl/libintl.h: Likewise.
44099 * io/bits/fcntl2.h: Likewise.
44100 * io/fcntl.h: Likewise.
44101 * io/ftw.h: Likewise.
44102 * io/sys/poll.h: Likewise.
44103 * io/sys/stat.h: Likewise.
44104 * io/sys/statfs.h: Likewise.
44105 * io/sys/statvfs.h: Likewise.
44106 * io/utime.h: Likewise.
44107 * libio/bits/stdio.h: Likewise.
44108 * libio/bits/stdio2.h: Likewise.
44109 * libio/libio.h: Likewise.
44110 * libio/libioP.h: Likewise.
44111 * libio/stdio.h: Likewise.
44112 * locale/lc-ctype.c: Likewise.
44113 * locale/locale.h: Likewise.
44114 * login/utmp.h: Likewise.
44115 * malloc/arena.c: Likewise.
44116 * malloc/malloc.c: Likewise.
44117 * malloc/malloc.h: Likewise.
44118 * malloc/mcheck.c: Likewise.
44119 * malloc/mtrace.c: Likewise.
44120 * math/bits/mathcalls.h: Likewise.
44121 * math/fenv.h: Likewise.
44122 * math/math_private.h: Likewise.
44123 * misc/bits/error.h: Likewise.
44124 * misc/bits/syslog.h: Likewise.
44125 * misc/err.h: Likewise.
44126 * misc/error.h: Likewise.
44127 * misc/fstab.h: Likewise.
44128 * misc/mntent.h: Likewise.
44129 * misc/regexp.h: Likewise.
44130 * misc/search.h: Likewise.
44131 * misc/sgtty.h: Likewise.
44132 * misc/sys/mman.h: Likewise.
44133 * misc/sys/syslog.h: Likewise.
44134 * misc/sys/uio.h: Likewise.
44135 * misc/sys/xattr.h: Likewise.
44136 * misc/ttyent.h: Likewise.
44137 * nis/rpcsvc/ypclnt.h: Likewise.
44138 * nss/nss.h: Likewise.
44139 * posix/bits/unistd.h: Likewise.
44140 * posix/fnmatch.h: Likewise.
44141 * posix/glob.h: Likewise.
44142 * posix/sched.h: Likewise.
44143 * posix/spawn.h: Likewise.
44144 * posix/sys/wait.h: Likewise.
44145 * posix/unistd.h: Likewise.
44146 * posix/wordexp.h: Likewise.
44147 * pwd/pwd.h: Likewise.
44148 * resolv/netdb.h: Likewise.
44149 * resource/sys/resource.h: Likewise.
44150 * rt/aio.h: Likewise.
44151 * rt/bits/mqueue2.h: Likewise.
44152 * rt/mqueue.h: Likewise.
44153 * shadow/shadow.h: Likewise.
44154 * signal/signal.h: Likewise.
44155 * socket/send.c: Likewise.
44156 * socket/sendto.c: Likewise.
44157 * socket/sys/socket.h: Likewise.
44158 * stdio-common/printf.h: Likewise.
44159 * stdlib/bits/stdlib.h: Likewise.
44160 * stdlib/fmtmsg.h: Likewise.
44161 * stdlib/monetary.h: Likewise.
44162 * stdlib/stdlib.h: Likewise.
44163 * stdlib/ucontext.h: Likewise.
44164 * streams/stropts.h: Likewise.
44165 * string/argz.h: Likewise.
44166 * string/bits/string2.h: Likewise.
44167 * string/string.h: Likewise.
44168 * string/strings.h: Likewise.
44169 * sunrpc/rpc/auth.h: Likewise.
44170 * sunrpc/rpc/auth_des.h: Likewise.
44171 * sunrpc/rpc/clnt.h: Likewise.
44172 * sunrpc/rpc/netdb.h: Likewise.
44173 * sunrpc/rpc/pmap_clnt.h: Likewise.
44174 * sunrpc/rpc/xdr.h: Likewise.
44175 * sysdeps/generic/inttypes.h: Likewise.
44176 * sysdeps/generic/net/if.h: Likewise.
44177 * sysdeps/generic/sys/swap.h: Likewise.
44178 * sysdeps/gnu/net/if.h: Likewise.
44179 * sysdeps/gnu/utmpx.h: Likewise.
44180 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44181 * sysdeps/i386/i486/bits/string.h: Likewise.
44182 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44183 * sysdeps/s390/bits/string.h: Likewise.
44184 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44185 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44186 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44187 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44188 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44189 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44190 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44191 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44192 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44193 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44194 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44195 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44196 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44197 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44198 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44199 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44200 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44205 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44206 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44207 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44208 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44209 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44210 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44212 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44214 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44215 * sysvipc/sys/ipc.h: Likewise.
44216 * sysvipc/sys/msg.h: Likewise.
44217 * sysvipc/sys/sem.h: Likewise.
44218 * sysvipc/sys/shm.h: Likewise.
44219 * termios/termios.h: Likewise.
44220 * time/sys/time.h: Likewise.
44221 * time/time.h: Likewise.
44222 * wcsmbs/bits/wchar2.h: Likewise.
44223 * wcsmbs/uchar.h: Likewise.
44224 * wcsmbs/wchar.h: Likewise.
44225 * wctype/wctype.h: Likewise.
44226
0269750c
UD
44227 [BZ #13551]
44228 * Makeconfig: Remove all but ELF support including AIX support.
44229 * Makerules: Likewise.
44230 * config.h.in: Likewise.
44231 * config.make.in: Likewise.
44232 * configure: Likewise.
44233 * configure.in: Likewise.
44234 * csu/Makefile: Likewise.
44235 * csu/version.c: Likewise.
44236 * debug/Makefile: Likewise.
44237 * dlfcn/Makefile: Likewise.
44238 * elf/Makefile: Likewise.
44239 * extra-lib.mk: Likewise.
44240 * iconv/Makefile: Likewise.
44241 * include/libc-symbols.h: Likewise.
44242 * include/shlib-compat.h: Likewise.
44243 * resolv/Makefile: Likewise.
44244 * resolv/res_libc.c: Likewise.
44245 * rt/Makefile: Likewise.
44246 * sysdeps/i386/asm-syntax.h: Likewise.
44247 * sysdeps/i386/sysdep.h: Likewise.
44248 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44249 * sysdeps/mach/sysdep.h: Likewise.
44250 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44251 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44252 * sysdeps/s390/asm-syntax.h: Likewise.
44253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44255 * sysdeps/sh/sysdep.h: Likewise.
44256 * sysdeps/unix/sparc/sysdep.h: Likewise.
44257 * sysdeps/wordsize-32/divdi3.c: Likewise.
44258 * sysdeps/x86_64/sysdep.h: Likewise.
44259
00bbd29b
UD
44260 * argp/Versions: Remove _argp_unlock_xxx.
44261
44262 [BZ #13559]
44263 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44264 * abilist/libBrokenLocale.abilist: Likewise.
44265 * abilist/libanl.abilist: Likewise.
44266 * abilist/libc.abilist: Likewise.
44267 * abilist/libcrypt.abilist: Likewise.
44268 * abilist/libdl.abilist: Likewise.
44269 * abilist/libm.abilist: Likewise.
44270 * abilist/libnsl.abilist: Likewise.
44271 * abilist/libpthread.abilist: Likewise.
44272 * abilist/libresolv.abilist: Likewise.
44273 * abilist/librt.abilist: Likewise.
44274 * abilist/libthread_db.abilist: Likewise.
44275 * abilist/libutil.abilist: Likewise.
44276 * abilist/libnss_db.abilist: New file.
44277
44278 * scripts/abilist.awk: Add support for indirect functions.
44279
a2693a0e
UD
44280 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44281
3f05895f
UD
44282 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44283
ecb6fb48
UD
44284 * shlib-versions: Remove entries for ports architectures.
44285
664f8cb9
UD
44286 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44287 files in ports.
44288 * elf/stackguard-macros.h: Remove support for IA-64.
44289 * elf/tst-auditmod1.c: Likewise.
44290 * sysdeps/generic/ldsodefs.h: Likewise.
44291
7ae81d88
UD
44292 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44293 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44294 configure files.
44295
bdeba135
UD
44296 [BZ #13552]
44297 * configure.in: Remove --enable-omitfp support.
44298 * FAQ.in: Adjust.
44299 * config.make.in: Likewise.
44300 * Makeconfig: Likewise.
44301 * manual/install.texi: Likewise.
44302
d75a0a62
UD
44303 In case anyone cares, the IA-64 architecture could move to ports.
44304 * sysdeps/ia64/*: Removed.
44305 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44306 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44307
dcc9756b
UD
44308 [BZ #13555]
44309 * configure.in: Remove entries for unsupported architectures.
44310
d3761ebc 44311 [BZ #13533]
9954432e
UD
44312 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44313 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44314 routines.
44315 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44316 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44317 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44318 fall back to using wcrtomb.
44319 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44320 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44321 renaming.
44322 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44323 * wcsmbs/tst-c16c32-1.c: New file.
44324
44325 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44326 local variable.
44327
c3a87236
UD
44328 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44329
28926a1b
UD
44330 * elf/tst-unique3.cc: Add explicit declaration of gets.
44331 * elf/tst-unique3lib.cc: Likewise.
44332 * elf/tst-unique3lib2.cc: Likewise.
44333 * elf/tst-unique4.cc: Likewise.
44334
df78418a
UD
44335 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44336
8ecd6b2a
JM
443372012-01-06 Joseph Myers <joseph@codesourcery.com>
44338
44339 [BZ #13566]
44340 * assert/assert.h (static_assert): Don't define for C++.
44341 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44342 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44343
9f115170
UD
443442012-01-03 Ulrich Drepper <drepper@gmail.com>
44345
5e0d0300
UD
44346 * iconv/loop.c (single loop): Fix assertion in storing of
44347 remaining bytes.
44348
9f115170
UD
44349 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44350
81fb02b0
UD
443512012-01-01 Ulrich Drepper <drepper@gmail.com>
44352
44353 * posix/getconf.c: Update copyright year.
44354 * nss/getent.c: Likewise.
a316c1f6 44355 * nss/makedb.c: Likewise.
81fb02b0
UD
44356 * iconv/iconvconfig.c: Likewise.
44357 * iconv/iconv_prog.c: Likewise.
44358 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44359 * elf/pldd.c: Likewise.
44360 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44361 * catgets/gencat.c: Likewise.
44362 * csu/version.c: Likewise.
44363 * elf/ldd.bash.in: Likewise.
44364 * elf/sprof.c (print_version): Likewise.
44365 * locale/programs/locale.c: Likewise.
44366 * locale/programs/localedef.c: Likewise.
a316c1f6 44367 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44368 * nscd/nscd.c (print_version): Likewise.
44369 * debug/xtrace.sh: Likewise.
44370 * malloc/memusage.sh: Likewise.
44371 * malloc/mtrace.pl: Likewise.
44372 * debug/catchsegv.sh: Likewise.
44373
2ba92745
JJ
443742011-12-30 Jakub Jelinek <jakub@redhat.com>
44375
44376 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44377 pure attribute.
44378
dadebdae
UD
443792011-12-24 Ulrich Drepper <drepper@gmail.com>
44380
d3761ebc 44381 [BZ #13533]
db6af3eb
UD
44382 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44383 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44384 transformations.
44385 * iconv/gconv_int.h: Likewise.
44386 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44387 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44388 from libc for GLIBC_2.16.
44389 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44390 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44391 * wcsmbs/uchar.h: Really define mbstate_t.
44392 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44393 * wcsmbs/c16rtomb.c: New file.
44394 * wcsmbs/mbrtoc16.c: New file.
44395 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44396 for C/POSIX locale.
44397 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44398 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44399
dadebdae
UD
44400 * wcsmbs/wchar.h: Add missing __restrict.
44401
67371b56
UD
444022011-12-23 Ulrich Drepper <drepper@gmail.com>
44403
74033a25
UD
44404 [BZ #13532]
44405 * time/Makefile (routines): Add timespec_get.
44406 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44407 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44408 timespec for ISO C11.
44409 * time/timespec_get.c: New file.
44410 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44411 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44412
380d7e87
UD
44413 [BZ #13531]
44414 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44415 * stdlib/stdlib.h: Declare aligned_alloc.
44416 * Versions.def: Add GLIBC_2.16 for libc.
44417 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44418
4e9e7a35
UD
44419 [BZ 13527]
44420 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44421 ISO C11.
44422
380d7e87 44423 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44424 code.
44425
03a71829
UD
44426 [BZ #13528]
44427 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44428
839e283e
UD
44429 [BZ #13529]
44430 * assert/assert.h (static_assert): Define.
44431
ce5294e2 44432 * version.h: Update for 2.16 development version.
90fa7312 44433
8d44e150 44434 [BZ #13526]
d7809905
UD
44435 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44436 _ISOC11_SOURCE.
44437
c0da14cd
UD
44438 * version.h (RELEASE): Bump for 2.15 release.
44439 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44440
530a3249
MP
44441 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44442 Patch by Marek Polacek <mpolacek@redhat.com>.
44443
67371b56
UD
44444 * bits/byteswap.h: Protect long long constants with __extension__.
44445 * sysdeps/i386/bits/byteswap.h: Likewise.
44446 * sysdeps/ia64/bits/byteswap.h: Likewise.
44447 * sysdeps/s390/bits/byteswap.h: Likewise.
44448 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44449
15db4de1
LD
444502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44451
44452 [BZ #13540]
bbe315ea
LD
44453 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44454 destination buffer.
15db4de1
LD
44455 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44456
2b2596b1
MP
444572011-12-23 Marek Polacek <polacek@redhat.com>
44458
44459 * elf/dl-addr.c (determine_info): Add inline keyword.
44460 * elf/tst-auditmod4b.c (check_avx): Likewise.
44461 * elf/tst-auditmod6b.c (check_avx): Likewise.
44462 * elf/tst-auditmod6c.c (check_avx): Likewise.
44463 * elf/tst-auditmod7b.c (check_avx): Likewise.
44464
70c6c246
UD
444652011-12-23 Ulrich Drepper <drepper@gmail.com>
44466
44467 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44468 !__SSE_MATH__.
44469
c044cf14
LD
444702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44471
15db4de1 44472 [BZ #13540]
c044cf14
LD
44473 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44474 processing for last bytes.
44475
6b13d9d9
BH
444762011-08-06 Bruno Haible <bruno@clisp.org>
44477
d455f537
BH
44478 [BZ #13061]
44479 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44480 U+0385, not to U+1FEE.
44481
6b13d9d9
BH
44482 [BZ #13062]
44483 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44484 entry for U+00A5 U+0301.
44485
db910efd
UD
444862011-12-22 Ulrich Drepper <drepper@gmail.com>
44487
27deeafc
UD
44488 [BZ #13166]
44489 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44490 buffer for the output is too small.
44491
aed9d171
UD
44492 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44493 optimization.
44494
db910efd
UD
44495 [BZ #13185]
44496 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44497 SSE flags if possible.
44498
2bd779ae
LD
444992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44500
e7f9dac3 44501 [BZ #13540]
2bd779ae
LD
44502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44503 processing for last bytes.
44504
154bfc16
JM
445052011-12-22 Joseph Myers <joseph@codesourcery.com>
44506
44507 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44508 (syscall-list-default-options, syscall-list-default-condition)
44509 (syscall-list-includes): Define.
44510 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44511 list of ABIs and options and #if conditions for each ABI. Do not
44512 handle common syscalls between ABIs specially.
44513 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44514 Remove.
44515 (syscall-list-variants, syscall-list-32bit-options)
44516 (syscall-list-32bit-condition, syscall-list-64bit-options)
44517 (syscall-list-64bit-condition): Define.
44518 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44519 (syscall-list-variants, syscall-list-32bit-options)
44520 (syscall-list-32bit-condition, syscall-list-64bit-options)
44521 (syscall-list-64bit-condition): Define.
44522 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44523 Remove.
44524 (syscall-list-variants, syscall-list-32bit-options)
44525 (syscall-list-32bit-condition, syscall-list-64bit-options)
44526 (syscall-list-64bit-condition): Define.
44527 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44528 Remove.
44529 (syscall-list-variants, syscall-list-32bit-options)
44530 (syscall-list-32bit-condition, syscall-list-64bit-options)
44531 (syscall-list-64bit-condition): Define.
44532
21eaf3a5
UD
445332011-12-22 Ulrich Drepper <drepper@gmail.com>
44534
16c6f992
UD
44535 * locale/iso-639.def: Add brx entry.
44536
41043168
UD
44537 [BZ #13328]
44538 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44539 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44540
21eaf3a5
UD
44541 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44542 __feraiseexcept_renamed.
44543
e3a851a2
UD
445442011-12-21 Ulrich Drepper <drepper@gmail.com>
44545
4920765e
UD
44546 [BZ #13538]
44547 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44548 EPOLLET with unsigned values.
44549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44550 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44551
e3a851a2
UD
44552 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44553 to large cancellation.
44554 * math/s_cacoshf.c: Likewise.
44555 * math/s_cacoshl.c: Likewise.
44556
b27e24b8
RK
445572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44558
44559 [BZ #13305]
aebefeee 44560 [BZ #12786]
b27e24b8
RK
44561 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44562 * math/s_cacoshf.c: Likewise.
44563 * math/s_cacoshl.c: Likewise.
44564
ee190f67
UD
445652011-12-21 Ulrich Drepper <drepper@gmail.com>
44566
44567 [BZ #13439]
44568 * iconv/gconv.h: Define __GCONV_SWAP.
44569 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44570 * iconvdata/utf-16.c: Likewise.
44571 * iconvdata/utf-32.c: Likewise.
44572
707f25df
AS
445732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44574
44575 [BZ #13524]
44576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44577 numerator after shifting it by one limb.
44578
d2daaa1e
RÁE
445792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44580
44581 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44582 under [__USE_EXTERN_INLINES].
44583
a4647e72
UD
445842011-12-17 Ulrich Drepper <drepper@gmail.com>
44585
44586 [BZ #13446]
44587 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44588
f0b264f1
AZ
445892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44590
44591 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44592 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44593 optimized code.
44594 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44595 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44596 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44597 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44598 for strncasecmp/strncasecmp_l compilation.
44599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44600 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44601
8ef4f244
MP
446022011-12-08 Marek Polacek <mpolacek@redhat.com>
44603
44604 [BZ #13484]
44605 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44606 of __asm__.
44607
97ac2654
UD
446082011-12-17 Ulrich Drepper <drepper@gmail.com>
44609
44610 [BZ #13506]
44611 * time/tzfile.c (__tzfile_read): Check values from file header.
44612
91d2a845
WS
446132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44614
44615 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44616 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44617 * powerpc/powerpc32/dl-start.S: Likewise.
44618 * powerpc/powerpc32/elf/start.S: Likewise.
44619 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44620 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44621 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44622 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44623 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44624 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44625 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44626 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44627 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44628 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44629 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44630 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44631 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44632 * powerpc/powerpc32/memset.S: Likewise.
44633 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44634 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44635 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44636 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44637 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44638 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44639 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44640 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44641 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44642 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44643 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44646
a1267ba1
AZ
446472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44648
44649 * math/libm-test.inc: Added more nearbyint tests.
44650 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44654
ad8ac1bd
RL
446552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44656
44657 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44658 FD_CLOEXEC.
44659
1d3e4b61
UD
446602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44661
44662 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44663 Add wcscpy-ssse3 wcscpy-c.
44664 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44665 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44666 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44667 * sysdeps/x86_64/wcschr.S: New file.
44668 * sysdeps/x86_64/wcsrchr.S: New file.
44669 * string/test-strcmp.c: Remove checking of wcscmp function for
44670 wrong alignments.
44671 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44672 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44673 wcsrchr-sse2 wcsrchr-c.
44674 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44675 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44676 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44677 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44678 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44679 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44680 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44681 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44683 * wcsmbc/wcschr.c (WCSCHR): New macro.
44684
5b330a2d
UD
446852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44686
44687 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44688 * wcsmbs/test-wcsrchr.c: New file.
44689 * string/test-strrchr.c: Add wcsrchr support.
44690 (WIDE): New macro.
44691 * wcsmbs/test-wcscpy.c: New file.
44692 * string/test-strcpy.c: Add wcscpy support.
44693 (WIDE): New macro.
26428b7c 44694
f039c043
UD
446952011-12-10 Ulrich Drepper <drepper@gmail.com>
44696
44697 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44698 the inner loop.
44699
850fb039
AS
447002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44701
44702 [BZ #13472]
44703 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44704
4efbd5cb
UD
447052011-12-04 Ulrich Drepper <drepper@gmail.com>
44706
52ff5dd0 44707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44708 Minor optimizations.
52ff5dd0 44709
4efbd5cb
UD
44710 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44711 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44712 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44713
8a426e12
UD
447142011-12-03 Ulrich Drepper <drepper@gmail.com>
44715
aff2453d
UD
44716 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44717 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44718 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44719 for gcc to avoid warnings.
44720 * inet/Makefile (tests): Add tst-checks.
44721 * inet/tst-checks.c: New file.
44722
44723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44724 warning.
44725
44726 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44727 __wmemcmp_sse2.
44728
44729 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44730 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44731
8a426e12
UD
44732 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44733
9bea3473
UD
447342011-12-02 Ulrich Drepper <drepper@gmail.com>
44735
3a965496
UD
44736 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44737 problem.
44738
9bea3473
UD
44739 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44740
f101631b
UD
447412011-11-29 Joseph Myers <joseph@codesourcery.com>
44742
44743 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44744 conditional on GCC version.
44745 (__arch_compare_and_exchange_val_8_acq)
44746 (__arch_compare_and_exchange_val_16_acq)
44747 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44748 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44749 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44750
a98275aa
UD
447512011-12-02 Joseph Myers <joseph@codesourcery.com>
44752
44753 * sysdeps/sh/backtrace.c: New file.
44754
d4cc29a2
AS
447552011-12-02 Andreas Schwab <schwab@redhat.com>
44756
44757 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44758 parenthesis.
44759
6257af2d
AS
447602011-12-01 Andreas Schwab <schwab@redhat.com>
44761
44762 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44763 falling back to utime.
44764
b5f44c1a
AS
447652011-11-30 Andreas Schwab <schwab@redhat.com>
44766
44767 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44768 expectations for float.
44769
f3a6cc0a
AS
447702011-11-29 Andreas Schwab <schwab@redhat.com>
44771
44772 * locale/weight.h (findidx): Add parameter len.
44773 * locale/weightwc.h (findidx): Likewise.
44774 * posix/fnmatch_loop.c (FCT): Adjust caller.
44775 * posix/regcomp.c (build_equiv_class): Likewise.
44776 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44777 * posix/regexec.c (check_node_accept_bytes): Likewise.
44778 * string/strcoll_l.c (STRCOLL): Likewise.
44779 * string/strxfrm_l.c (STRXFRM): Likewise.
44780
9d65ea3a
UD
447812011-11-17 Ulrich Drepper <drepper@gmail.com>
44782
44783 * Makefile.in: Remove CVSOPT handling.
44784 * configure.in: Remove use of AC_REVISION.
44785 * iconvdata/Makefile (distribute): No need to filter out CVS.
44786 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44787 handling.
44788
5583a086
AS
447892011-11-16 Andreas Schwab <schwab@redhat.com>
44790
44791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44792 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44793 [USE_AS_STRNCASECMP_L]: Likewise.
44794 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44795 NO_TLS_DIRECT_SEG_REFS.
44796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44797 Fix argument offsets for non-PIC.
44798 [USE_AS_STRNCASECMP_L]: Likewise.
44799 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44800 NO_TLS_DIRECT_SEG_REFS.
44801
d62a8200
UD
448022011-11-15 Ulrich Drepper <drepper@gmail.com>
44803
9d65ea3a 44804 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44805 O_CLOEXEC.
44806 * locale/loadlocale.c (_nl_load_locale): Likewise.
44807
09f93bd3
AS
448082011-11-15 Andreas Schwab <schwab@redhat.com>
44809
446514f9
AS
44810 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44811 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44812 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44813 (SYSCALL_GETTIME): Set errno on error.
44814
09f93bd3
AS
44815 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44816 count references to noai6ai_cached.
44817
312be3f9
UD
448182011-11-15 Ulrich Drepper <drepper@gmail.com>
44819
44820 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44821
44822 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44823 FD_CLOEXEC for /proc/self/maps.
44824
44825 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44826 FD_CLOEXEC for /proc/meminfo.
44827
44828 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44829 gai.conf.
44830
44831 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44832 FD_CLOEXEC for given file.
44833
44834 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44835
44836 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44837 FD_CLOEXEC for /etc/hosts.
44838 (_gethtent): Likewise.
44839
44840 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44841
44842 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44843 cancellation and set FD_CLOEXEC for /etc/netgroup.
44844
44845 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44846 reading /etc/publickey.
44847
44848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44849 allow cancellation when reading /etc/group.
44850
44851 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44852 cancellation.
44853 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44854
44855 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44856 when using data file.
44857
44858 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44859
44860 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44861 (write_nis_obj): Use "c" and "e" in fopen.
44862
44863 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44864
44865 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44866
44867 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44868
44869 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44870
44871 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44872 locale.alias.
44873
44874 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44875
44876 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44877
44878 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44879
44880 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44881 file parsing and set FD_CLOEXEC.
44882
82af0fa8
UD
448832011-11-14 Ulrich Drepper <drepper@gmail.com>
44884
44885 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44886
a5fb313c
AS
448872011-11-14 Andreas Schwab <schwab@redhat.com>
44888
44889 * malloc/arena.c (arena_get2): Don't call reused_arena when
44890 _int_new_arena failed.
44891
6abf3465
UD
448922011-11-14 Ulrich Drepper <drepper@gmail.com>
44893
44894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44895 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44896 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44900 to compile strcasecmp and strncasecmp.
44901 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44902 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44903
44904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44905
76e3966e
UD
449062011-11-13 Ulrich Drepper <drepper@gmail.com>
44907
44908 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44909 locale-defines.sym to gen-as-const-headers.
44910 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44911 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44913 to compile strcasecmp and strncasecmp.
44914 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44915 strcasecmp_l and strncasecmp_l.
44916 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44917 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44918 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44919 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44920 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44922 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44923 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44924 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44925 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44926 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44927
ab26144e
UD
449282011-11-12 Ulrich Drepper <drepper@gmail.com>
44929
7edb22ef
UD
44930 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44931 result of SYSDEP_GETTIME_CPU to retval.
44932 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44933 parameter list to macro. Remove trailing semicolon. Adjust users.
44934
9694fc44
UD
44935 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44936 variable.
44937
8ad89ef8
UD
44938 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44939 mantissa words.
44940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44941
0c822ef9
UD
44942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44943 from unused variable.
44944
874e0564
UD
44945 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44946 DWARF definitions.
44947 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44948 for assembling.
44949
3a2edc79
UD
44950 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44951 over namespaces.
44952
f3c2577f
UD
44953 * sunrpc/rpc_prot.c (rejected): Fix case value.
44954
294ce126
UD
44955 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44956 unsigned long long int to avoid warnings in shift.
44957
5e2b63c6
UD
44958 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44959 of use of trans.
44960 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44961 variable tmp.
44962
e7f4b08e
UD
44963 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44964 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44965 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44966
ab26144e
UD
44967 * nis/nis_table.c (nis_list): Use variable of correct type for
44968 result of __follow_path call.
44969
8a6d5255
AZ
449702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44971
44972 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44973 of math functions ceil, trunc, floor, round, and sqrt, when
44974 avaliable on the platform.
44975 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44976 name clash.
44977 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44978 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44979 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44980
aaddc98c
MP
449812011-10-30 Marek Polacek <mpolacek@redhat.com>
44982
44983 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44985
95b7042b
RM
449862011-11-11 Roland McGrath <roland@hack.frob.com>
44987
44988 * include/unistd.h: Fix __readlink return type.
44989 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44990
57769839
UD
449912011-11-11 Ulrich Drepper <drepper@gmail.com>
44992
44993 * stdlib/ucontext.h: Undo last change for makecontext.
44994
edc5984d
AS
449952011-11-11 Andreas Schwab <schwab@redhat.com>
44996
98591e58
AS
44997 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44998
edc5984d
AS
44999 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45000 * setjmp/setjmp.h: Mark functions as non-leaf.
45001 * setjmp/bits/setjmp2.h: Likewise.
45002 * stdlib/ucontext.h: Likewise.
45003
77cdc054
AS
450042011-11-10 Andreas Schwab <schwab@redhat.com>
45005
45006 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45007 (reused_arena): Don't check arena limit.
45008 (arena_get2): Atomically check arena limit.
45009
fe72eebd
UD
450102011-11-08 Ulrich Drepper <drepper@gmail.com>
45011
5f078c32
UD
45012 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45013 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45014
fe72eebd
UD
45015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45016 instructions.
45017
ae1bc2fa
AS
450182011-11-07 Andreas Schwab <schwab@redhat.com>
45019
7583a88d
AS
45020 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45021 handler when locking.
45022
ae1bc2fa
AS
45023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45024 Fix size of allocated buffer.
45025
10fb0bfa
AS
450262011-11-04 Andreas Schwab <schwab@redhat.com>
45027
998832a4
AS
45028 [BZ #10103]
45029 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45030 declarations for long double functions.
45031 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45032
10fb0bfa
AS
45033 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45034
3d7ba52b
AS
450352011-11-03 Andreas Schwab <schwab@redhat.com>
45036
a9ae54a1
AS
45037 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45038 installed.
45039
3d7ba52b
AS
45040 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45041 is disabled.
45042
bc8db248
ST
450432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45044
45045 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45046
45b96dd6
AS
450472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45048
647776f6
AS
45049 * include/alloca.h (stackinfo_alloca_round): Define.
45050 (extend_alloca): Use it.
45051 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45052 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45053 here.
45054
d91a8b93
AS
45055 * scripts/check-local-headers.sh: Ignore libaudit.h.
45056
45b96dd6
AS
45057 * nscd/Makefile (extra-objs): Make recursively expanded.
45058
432d41ce
UD
450592011-11-01 Ulrich Drepper <drepper@gmail.com>
45060
34372fc6
UD
45061 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45063
fadb59f8
UD
45064 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45065 * posix/tst-rfc3484-2.c: Likewise.
45066 * posix/tst-rfc3484-3.c: Likewise.
45067
78239589
UD
45068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45069 process_vm_writev.
45070 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45071 process_vm_writev.
45072 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45073 process_vm_writev from libc using GLIBC_2.15 version.
45074
432d41ce
UD
45075 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45076
02f9c6cf
PP
450772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45078
45079 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45080 stack usage.
45081
3a2c0242
UD
450822011-10-31 Ulrich Drepper <drepper@gmail.com>
45083
f4ec4833
UD
45084 [BZ #13367]
45085 * nss/getent.c (initgroups_keys): Show error message in case no group
45086 names are given.
45087
3a2c0242
UD
45088 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45089 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45090 __bump_nl_timestamp.
45091 * nscd/connections (nscd_init): When host database is served open
45092 netlink socket and request notification about configuration changes.
45093 (main_loop_poll): Track netlink file descriptor and bump timestamp
45094 in case data becomes available.
45095 (main_loop_epoll): Likewise.
45096 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45097 (database_pers_head): Add extra_data fileds.
45098 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45099 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45100 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45101 Adjust caller.
45102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45103 in6ai data, call __free_in6ai.
45104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45105 Add -DHAVE_NETLINK.
45106 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45107 interface information. Reuse previous data if netlink timestamp
45108 is not changed.
45109 (__bump_nl_timestamp): New function.
45110 (__free_in6ai): New function.
45111
636064eb
UD
451122011-10-30 Ulrich Drepper <drepper@gmail.com>
45113
45114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45115 close_not_cancel_no_status here.
45116 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45117
9beb2334
UD
451182011-10-29 Ulrich Drepper <drepper@gmail.com>
45119
6ef76f3b
UD
45120 [BZ #13276]
45121 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45122 return value.
45123
0ffc4f3e 45124 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45125 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45126 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45127
cb95113e
UD
451282011-07-03 Andreas Jaeger <aj@suse.de>
45129
45130 [BZ #10709]
45131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45132 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45133 * math/libm-test.inc (sin_test): Add test case.
45134
a1b560ff
UD
451352011-10-29 Ulrich Drepper <drepper@gmail.com>
45136
c9aaface
UD
45137 [BZ #13337]
45138 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45139 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45140
d272e7f1
UD
45141 * elf/chroot_canon.c (chroot_canon): Cleanups.
45142
1bc33071
UD
45143 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45144
1760874d
TJ
45145 [BZ #13335]
45146 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45147 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45148
51d91b18
UD
45149 * string/test-strchr.c: Make usable for strchrnul testing.
45150 * string/test-strchrnul.c: New file.
45151 * string/Makefile (strop-tests): Add strchrnul.
45152
a1b560ff 45153 * po/it.po: Update from translation team.
b611fb81 45154 * po/es.po: Likewise.
a1b560ff 45155
a5b81e1f
UD
451562011-10-28 Ulrich Drepper <drepper@gmail.com>
45157
fd52bc6d
UD
45158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45159 the three constants needed as parameters. Drop the others.
45160 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45161 __m128i_strloadu_tolower.
52e4b9eb
UD
45162 Create and initialize variable zero and use it in all the places
45163 where _mm_setzero_si128 was used.
fd52bc6d 45164
a5b81e1f
UD
45165 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45166 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45167 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45169 anymore.
45170 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45171 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45172 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45173 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45174 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45175 __mpranred, __mptan.
45176 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45177 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45178 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45179 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45182 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45183 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45184 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45185
b4343346
AS
451862011-10-28 Andreas Schwab <schwab@redhat.com>
45187
0c92d8a8
AS
45188 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45189 redefine if SHARED.
45190 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45191
b4343346
AS
45192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45193 wide char related routines to wcsmbs subdir.
45194
3871f58f
AS
451952011-10-27 Andreas Schwab <schwab@redhat.com>
45196
45197 [BZ #13344]
45198 * misc/sys/cdefs.h (__THROWNL): Define.
45199 * posix/unistd.h: Use __THREADNL instead of __THREAD
45200 for memory synchronization functions.
45201
94d44d9f
RM
452022011-10-26 Roland McGrath <roland@hack.frob.com>
45203
21b64b15 45204 [BZ #13349]
94d44d9f
RM
45205 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45206 doesn't exist.
45207 * manual/stdio.texi (Obstack Streams): Node removed.
45208
f6ce9294
AS
452092011-10-26 Andreas Schwab <schwab@redhat.com>
45210
80479147
AS
45211 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45214
f6ce9294
AS
45215 * math/math_private.h (math_force_eval): Allow non-addressable
45216 arguments.
45217 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45218
618280a1
UD
452192011-10-25 Ulrich Drepper <drepper@gmail.com>
45220
e0016b11
UD
45221 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45222 file is not needed.
45223
45224 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45231 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45232 Add AVX variants.
45233 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45234 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45235 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45236 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45237 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45238 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45239 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45240 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45241 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45242 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45243 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45244 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45246 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45248 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45250 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45251 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45252
45253 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45254 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45255
618280a1
UD
45256 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45257 place. Use VEX encoding when compiling for AVX.
45258
37822576
AS
452592011-10-25 Andreas Schwab <schwab@redhat.com>
45260
1f1e1947
AS
45261 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45262 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45263
37822576
AS
45264 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45265
31ea014d
UD
452662011-10-25 Ulrich Drepper <drepper@gmail.com>
45267
d7826aa1 45268 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45269 useless if() expression.
d7826aa1
UD
45270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45275 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45280 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45281 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45282 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45283 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45285 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45288 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45289
31ea014d
UD
45290 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45291
16437fec
AS
452922011-10-25 Andreas Schwab <schwab@redhat.com>
45293
45294 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45295 condition.
45296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45297
31d3cc00
UD
452982011-10-25 Ulrich Drepper <drepper@gmail.com>
45299
45300 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45301 .text section. Avoid duplicate constants.
45302 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45304 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45312 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45314 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45315 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45316 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45317 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45318 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45320 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45322 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45323 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45324 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45329 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45330 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45331 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45344 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45345 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45346 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45347
58985aa9
UD
453482011-10-24 Ulrich Drepper <drepper@gmail.com>
45349
202c9deb
UD
45350 * sysdeps/x86_64/dla.h: Move to ...
45351 * sysdeps/x86_64/fpu/dla.h: ...here.
45352 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45353 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45354
af968f62
UD
45355 * config.make.in: Add have-mfma4 entry.
45356 * configure.in: Substitute libc_cv_cc_fma4.
45357 * math/Makefile (dbl-only-routines): Add sincostab.
45358 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45359 Use __sincostab not sincos.
45360 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45361 name is a macro.
45362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45366 using __copysign.
45367 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45368 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45369 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45370 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45371 and __inv.
45372 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45373 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45374 __copysign.
45375 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45376 define aliases when function name is a macro.
45377 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45378 sysdeps/ieee754/dbl-64/sincos.tbl.
45379 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45380 fma4-enabled routines.
45381 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45382 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45383 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45384 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45386 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45388 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45390 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45391 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45393 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45396 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45397 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45398 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45399 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45401 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45402 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45404 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45406 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45411
58985aa9
UD
45412 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45413 rename.
45414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45422
a201fbcf
AS
454232011-10-24 Andreas Schwab <schwab@redhat.com>
45424
45425 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45426
fc2ee42a
LD
454272011-10-23 Ulrich Drepper <drepper@gmail.com>
45428
bb3129bd
UD
45429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45430
0275fff8
UD
45431 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45432 prediction.
45433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45434
2fa2ae85
UD
45435 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45436 Remove unused variable magic_bits.
45437 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45438
fc2ee42a
LD
45439 * string/strnlen.c: Define and use STRNLEN macro.
45440 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45441 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45443 * wcsmbs/wcslen.c: Define and use WCSLEN.
45444 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45445 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45446 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45447 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45448 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45449 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45451
ce7dd29f
LD
454522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45453
45454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45455 strnlen-sse2-no-bsf.
45456 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45458 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45459 Add strnlen support.
45460 (USE_AS_STRNLEN): New macro.
45461 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45462 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45463 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45464 * sysdeps/x86_64/wcslen.S: New file.
45465
979c70a3
MZ
454662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45467
45468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45469 XMM-moves are used for copying on small sizes.
45470
2d09f82f
LD
454712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45472
45473 * wcsmbs/Makefile (strop-tests): Add wcschr.
45474 * wcsmbs/test-wcschr.c: New file.
45475 * string/test-strchr.c: Update.
45476 Add wcschr support.
45477 (WIDE): New macro.
45478
619fccca
LD
454792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45480
2d09f82f 45481 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45482 * wcsmbs/test-wcslen.c: New file.
45483 * string/test-strlen.c: Update.
45484 Add wcslen support.
45485 (WIDE): New macro.
45486
09f699ea
UD
454872011-10-23 Ulrich Drepper <drepper@gmail.com>
45488
45489 * po/it.po: Update from translation team.
45490
95584d3b
LD
454912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45492
45493 * sysdeps/x86_64/wcscmp.S: Update.
45494 Fix wrong comparison semantics.
45495 wcscmp shall use signed comparison not unsigned.
45496 Don't use substraction to avoid overflow bug.
45497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45498 * wcsmbc/wcscmp.c: Likewise.
45499 * string/test-strcmp.c: Likewise.
45500 Add new tests to check cases with negative values.
45501
c8b3296b
UD
455022011-10-23 Ulrich Drepper <drepper@gmail.com>
45503
45504 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45505 * sysdeps/x86_64/dla.h: ...here. New file.
45506 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45515
246ad57a
AS
455162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45517
45518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45519 __ynl_finite aliases.
45520
a1a87169
UD
455212011-10-22 Ulrich Drepper <drepper@gmail.com>
45522
0d355eb7
UD
45523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45524
a1a87169
UD
45525 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45526 define DLA_FMA.
45527 [DLA_FMA] (EMULV): Use DLA_FMA.
45528 [DLA_FMA] (MUL12): Use EMULV.
45529 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45530 that are not needed.
45531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45535 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45538
ee2aafe0
AS
455392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45540
45541 * math/s_nan.c: Undef __nan.
45542 * math/s_nanf.c: Undef __nanf.
45543 * math/s_nanl.c: Undef __nanl.
45544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45545 "math_private.h".
45546
bc62c2fb
UD
455472011-10-22 Ulrich Drepper <drepper@gmail.com>
45548
77425c63
UD
45549 * math/s_catan.c: Add branch predictions.
45550 * math/s_catanf.c: Likewise.
45551 * math/s_catanh.c: Likewise.
45552 * math/s_catanhf.c: Likewise.
45553 * math/s_catanhl.c: Likewise.
45554 * math/s_catanl.c: Likewise.
45555 * math/s_cexp.c: Likewise.
45556 * math/s_cexpf.c: Likewise.
45557 * math/s_cexpl.c: Likewise.
45558 * math/s_clog.c: Likewise.
45559 * math/s_clog10.c: Likewise.
45560 * math/s_clog10f.c: Likewise.
45561 * math/s_clog10l.c: Likewise.
45562 * math/s_clogf.c: Likewise.
45563 * math/s_clogl.c: Likewise.
45564 * math/s_csqrt.c: Likewise.
45565 * math/s_csqrtf.c: Likewise.
45566 * math/s_csqrtl.c: Likewise.
45567 * math/s_ctanf.c: Likewise.
45568 * math/s_ctanh.c: Likewise.
45569 * math/s_ctanhf.c: Likewise.
45570 * math/s_ctanhl.c: Likewise.
45571 * math/s_ctanl.c: Likewise.
45572
bc62c2fb
UD
45573 * math/math_private.h: Define __nan, __nanf, __nanl.
45574 * math/s_cacosh.c: Include <math_private.h>.
45575 * math/s_cacoshl.c: Likewise.
45576 * math/s_casinh.c: Likewise.
45577 * math/s_casinhf.c: Likewise.
45578 * math/s_casinhl.c: Likewise.
45579 * math/s_ccos.c: Rely entire on ccosh.
45580 * math/s_ccosf.c: Rely entire on ccoshf.
45581 * math/s_ccosl.c: Rely entirely on ccoshl.
45582 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45583 Remove tests for FE_INVALID.
45584 * math/s_ccoshf.c: Likewise.
45585 * math/s_ccoshl.c: Likewise.
45586 * math/s_csin.c: Likewise.
45587 * math/s_csinf.c: Likewise.
45588 * math/s_csinh.c Likewise.
45589 * math/s_csinhf.c: Likewise.
45590 * math/s_csinhl.c: Likewise.
45591 * math/s_csinl.c: Likewise.
45592 * math/s_ctan.c: Likewise.
45593 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45594 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45596
8ec250a4
UD
455972011-10-21 Ulrich Drepper <drepper@gmail.com>
45598
c196fed8
UD
45599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45600 compilation problems.
45601
8ec250a4
UD
45602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45603 __builtin_expect.
45604
8d4f46c6
UD
456052011-10-20 Ulrich Drepper <drepper@gmail.com>
45606
ed72b654
UD
45607 * sysdeps/i386/configure.in: Test for -mfma4 option.
45608 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45609 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45610 COMMON_CPUID_INDEX_80000001.
45611 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45612 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45613 use it if FMA3 is not supported.
45614 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45615
8d4f46c6
UD
45616 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45618
d45c60c2
AS
456192011-10-20 Andreas Schwab <schwab@redhat.com>
45620
45621 [BZ #12892]
45622 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45623 it would create a cycle with a link time dependency.
45624
d9a4d2ab
UD
456252011-10-19 Ulrich Drepper <drepper@gmail.com>
45626
855d1560
UD
45627 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45628 instruction.
45629 * string/Makefile (strop-tests): Add rawmemchr.
45630 * string/test-rawmemchr.c: New file.
45631
d9a4d2ab
UD
45632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45634 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45635 when compiling str{,n}casecmp and when AVX is available. Hook up
45636 new optimized code in initializers.
45637
8f3b1ffe
AS
456382011-10-19 Andreas Schwab <schwab@redhat.com>
45639
45640 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45641 __feraiseexcept instead of feraiseexcept.
45642
d38f1dba
UD
456432011-10-18 Ulrich Drepper <drepper@gmail.com>
45644
d9a8d0ab
UD
45645 * math/math_private.h: Define defaults for libc_fetestexcept and
45646 libc_feupdateenv.
45647 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45648 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45650 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45651 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45652 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45653 libc_fetestexcept and libc_feupdateenv.
45654
4855e3dd
UD
45655 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45656 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45657 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45658 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45659 libc_feholdexcept_setround.
45660
581d30e3
UD
45661 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45662 Add s_nearbyint-c and s_nearbyintf-c.
45663 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45664 nearbyintf inlines.
45665 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45667 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45669
d38f1dba
UD
45670 * math/math_private.h: Define defaults for libc_fegetround,
45671 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45672 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45673 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45675 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45676 standard functions.
45677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45678 Remove comments and hacks for old compiler versions.
45679 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45680 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45681 libc_feholdexceptl.
45682
caa6c9d8
AS
456832011-10-18 Andreas Schwab <schwab@redhat.com>
45684
45685 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45686 (__feraiseexcept_renamed): Add __NTH.
45687 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45688 namespace violations.
45689
97c066e6
UD
456902011-10-17 Ulrich Drepper <drepper@gmail.com>
45691
99ce7b04
UD
45692 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45693
1004d182
UD
45694 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45695
228a984d
UD
45696 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45697 recently added interfaces.
45698 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45699
c8553a6a
UD
45700 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45701 about macro parameter expansion.
45702
ed22dcf6
UD
45703 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45704 __NO_MATH_INLINES is defined. Cleanups.
45705
45706 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45707 and __floorf is target has SSE4.1.
45708 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45710 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45711 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45712
b171c137
UD
45713 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45714 name.
45715 (floorf): Likewise.
45716
97c066e6
UD
45717 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45718
629f62ef
AS
457192011-10-17 Andreas Schwab <schwab@redhat.com>
45720
49a43d80
AS
45721 * misc/sys/cdefs.h: Fix last change.
45722
629f62ef
AS
45723 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45724 database lookup.
45725
e453f6cd
UD
457262011-10-16 Ulrich Drepper <drepper@gmail.com>
45727
aa78043a
UD
45728 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45729
ad0f5cad
UD
45730 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45739 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45740 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45741 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45742 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45743 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45745 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45747 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45748 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45749 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45750 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45751 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45752
45753 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45754 ceil, ceilf, floor, floorf.
45755
45756 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45757 Perform IRELATIVE relocations last.
45758
e453f6cd
UD
45759 * elf/do-rel.h: Add another parameter nrelative, replacing the
45760 local variable with the same name. Change name of the function
45761 to end in Rel or Rela (uppercase).
45762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45763 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45764 elf_dynamic_do_##reloc function.
45765
fd5bdc09
UD
457662011-10-15 Ulrich Drepper <drepper@gmail.com>
45767
79b195b5
UD
45768 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45769 is sufficient, at least on modern CPUs.
45770
d4a28569
UD
45771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45772
b61099b5
UD
45773 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45775
bcf01e6d
UD
45776 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45777 __expl_finite.
45778 * math/bits/math-finite.h: Add entries for exp.
45779 * math/e_expl.c: Add __*_finite alias.
45780 * sysdeps/i386/fpu/e_exp.S: Likewise.
45781 * sysdeps/i386/fpu/e_expf.S: Likewise.
45782 * sysdeps/i386/fpu/e_expl.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45784 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45788 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45789 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45790
ba1a0d59
UD
45791 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45792 is sufficient, at least on modern CPUs.
45793
fd5bdc09
UD
45794 * ctype/ctype-info.c (__ctype_init): Define.
45795 * include/ctype.h (__ctype_init): Declare.
45796 (__ctype_b_loc): The variable is always initialized.
45797 (__ctype_toupper_loc): Likewise.
45798 (__ctype_tolower_loc): Likewise.
45799 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45800 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45801
7872cfb0
AS
458022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45803
b468825a
AS
45804 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45805
7872cfb0
AS
45806 * configure.in: Also look in $cxxmachine/include for C++ system
45807 headers.
45808
be13f7bf
LD
458092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45810
45811 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45812 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45813 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45814 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45816 (USE_AS_WMEMCMP): New macro.
45817 Fixing indents.
45818 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45819 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45820 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45821 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45823 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45824 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45825 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45826 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45827 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45829 (USE_AS_WMEMCMP): New macro.
45830 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45831 * sysdeps/string/test-memcmp.c: Update.
45832 Fix simple_wmemcmp.
45833 Add new tests.
45834 * wcsmbs/wmemcmp.c: Update.
45835 (WMEMCMP): New macro.
45836 Fix overflow bug.
45837
556a2007
AJ
458382011-10-12 Andreas Jaeger <aj@suse.de>
45839
45840 [BZ #13268]
45841 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45842
538faaa7
UD
458432011-10-15 Ulrich Drepper <drepper@gmail.com>
45844
ab6737ff
UD
45845 * libio/iofwide.c (do_length): Avoid warning.
45846
538faaa7
UD
45847 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45848
396a21b1
UD
458492011-10-14 Ulrich Drepper <drepper@gmail.com>
45850
cdf2901f
UD
45851 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45852
38ad40ce
UD
45853 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45854 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45855 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45856 * sysdeps/i386/i686/fpu/e_log.S: New file.
45857 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45858 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45859
396a21b1
UD
45860 * ctype/ctype.h: Add support for inlined isXXX functions when
45861 compiling C++ code.
45862
6b1f68c9
AS
458632011-10-14 Andreas Schwab <schwab@redhat.com>
45864
349290c0
AS
45865 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45866
6b1f68c9
AS
45867 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45868
f2282d42
RM
458692011-10-13 Roland McGrath <roland@hack.frob.com>
45870
45871 [BZ #13291]
45872 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45873
5298ffa8
AS
458742011-10-13 Andreas Schwab <schwab@redhat.com>
45875
714fad23
AS
45876 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45877 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45878 feraiseexcept.
45879
81dcc7fb
AS
45880 * sysdeps/x86_64/memrchr.S: Check for zero size.
45881
5298ffa8
AS
45882 * string/stratcliff.c: Add memrchr tests.
45883
951fbcec
LD
458842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45885
45886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45887 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45888 rawmemchr-sse2 rawmemchr-sse2-bsf.
45889 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45890 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45891 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45892 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45893 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45894 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45895 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45896 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45897 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45898 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45899 * string/memrchr.c (MEMRCHR): New macro.
45900
0ac5ae23
UD
459012011-10-12 Ulrich Drepper <drepper@gmail.com>
45902
45903 Add integration with gcc's -ffinite-math-only and optimize wrapper
45904 functions in libm.
45905 * Versions.def: Define GLIBC_2.15 version for libm.
45906 * math/Makefile (headers): Add bits/math-finite.h.
45907 * math/bits/math-finite.h: New file.
45908 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45909 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45910 * math/e_acoshl.c: Add __*_finite alias.
45911 * math/e_acosl.c: Likewise.
45912 * math/e_asinl.c: Likewise.
45913 * math/e_atan2l.c: Likewise.
45914 * math/e_atanhl.c: Likewise.
45915 * math/e_coshl.c: Likewise.
45916 * math/e_exp10.c: Likewise.
45917 * math/e_exp10f.c: Likewise.
45918 * math/e_exp10l.c: Likewise.
45919 * math/e_exp2l.c: Likewise.
45920 * math/e_fmodl.c: Likewise.
45921 * math/e_gammal_r.c: Likewise.
45922 * math/e_hypotl.c: Likewise.
45923 * math/e_j0l.c: Likewise.
45924 * math/e_j1l.c: Likewise.
45925 * math/e_jnl.c: Likewise.
45926 * math/e_lgammal_r.c: Likewise.
45927 * math/e_log10l.c: Likewise.
45928 * math/e_log2l.c: Likewise.
45929 * math/e_logl.c: Likewise.
45930 * math/e_powl.c: Likewise.
45931 * math/e_sinhl.c: Likewise.
45932 * math/e_sqrtl.c: Likewise.
45933 * math/e_scalb.c: Completely rewritten and optimized.
45934 * math/e_scalbf.c: Likewise.
45935 * math/e_scalbl.c: Likewise.
45936 * math/w_acos.c: Likewise.
45937 * math/w_acosf.c: Likewise.
45938 * math/w_acosl.c: Likewise.
45939 * math/w_acosh.c: Likewise.
45940 * math/w_acoshf.c: Likewise.
45941 * math/w_acoshl.c: Likewise.
45942 * math/w_asin.c: Likewise.
45943 * math/w_asinf.c: Likewise.
45944 * math/w_asinl.c: Likewise.
45945 * math/w_atan2.c: Likewise.
45946 * math/w_atan2f.c: Likewise.
45947 * math/w_atan2l.c: Likewise.
45948 * math/w_atanh.c: Likewise.
45949 * math/w_atanhf.c: Likewise.
45950 * math/w_atanhl.c: Likewise.
45951 * math/w_exp10.c: Likewise.
45952 * math/w_exp10f.c: Likewise.
45953 * math/w_exp10l.c: Likewise.
45954 * math/w_fmod.c: Likewise.
45955 * math/w_fmodf.c: Likewise.
45956 * math/w_fmodl.c: Likewise.
45957 * math/w_j0.c: Likewise.
45958 * math/w_j0f.c: Likewise.
45959 * math/w_j0l.c: Likewise.
45960 * math/w_j1.c: Likewise.
45961 * math/w_j1f.c: Likewise.
45962 * math/w_j1l.c: Likewise.
45963 * math/w_jn.c: Likewise.
45964 * math/w_jnf.c: Likewise.
45965 * math/w_log.c: Likewise.
45966 * math/w_logf.c: Likewise.
45967 * math/w_logl.c: Likewise.
45968 * math/w_log10.c: Likewise.
45969 * math/w_log10f.c: Likewise.
45970 * math/w_log10l.c: Likewise.
45971 * math/w_log2.c: Likewise.
45972 * math/w_log2f.c: Likewise.
45973 * math/w_log2l.c: Likewise.
45974 * math/w_pow.c: Likewise.
45975 * math/w_powf.c: Likewise.
45976 * math/w_powl.c: Likewise.
45977 * math/w_remainder.c: Likewise.
45978 * math/w_remainderf.c: Likewise.
45979 * math/w_remainderl.c: Likewise.
45980 * math/w_scalb.c: Likewise.
45981 * math/w_scalbf.c: Likewise.
45982 * math/w_scalbl.c: Likewise.
45983 * math/w_sqrt.c: Likewise.
45984 * math/w_sqrtf.c: Likewise.
45985 * math/w_sqrtl.c: Likewise.
45986 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45987 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45988 used.
45989 * math/math_private.h: Declare __kernel_standard_f.
45990 * math/w_cosh.c: Remove cruft and optimize a bit.
45991 * math/w_coshf.c: Likewise.
45992 * math/w_coshl.c: Likewise.
45993 * math/w_exp2.c: Likewise.
45994 * math/w_exp2f.c: Likewise.
45995 * math/w_exp2l.c: Likewise.
45996 * math/w_hypot.c: Likewise.
45997 * math/w_hypotf.c: Likewise.
45998 * math/w_hypotl.c: Likewise.
45999 * math/w_lgamma.c: Likewise.
46000 * math/w_lgamma_r.c: Likewise.
46001 * math/w_lgammaf.c: Likewise.
46002 * math/w_lgammaf_r.c: Likewise.
46003 * math/w_lgammal.c: Likewise.
46004 * math/w_lgammal_r.c: Likewise.
46005 * math/w_sinh.c: Likewise.
46006 * math/w_sinhf.c: Likewise.
46007 * math/w_sinhl.c: Likewise.
46008 * math/w_tgamma.c: Likewise.
46009 * math/w_tgammaf.c: Likewise.
46010 * math/w_tgammal.c: Likewise.
46011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46013 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46014 Minor optimizations. Pretty printing. Remove cruft.
46015 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46017 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46019 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46020 * sysdeps/i386/fpu/e_asin.S: Likewise.
46021 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46022 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46023 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46024 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46028 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46029 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46030 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46031 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46032 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46033 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46034 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46035 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46036 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46037 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46038 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46039 * sysdeps/i386/fpu/e_log.S: Likewise.
46040 * sysdeps/i386/fpu/e_log10.S: Likewise.
46041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46043 * sysdeps/i386/fpu/e_log2.S: Likewise.
46044 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46045 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46046 * sysdeps/i386/fpu/e_logf.S: Likewise.
46047 * sysdeps/i386/fpu/e_logl.S: Likewise.
46048 * sysdeps/i386/fpu/e_pow.S: Likewise.
46049 * sysdeps/i386/fpu/e_powf.S: Likewise.
46050 * sysdeps/i386/fpu/e_powl.S: Likewise.
46051 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46052 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46053 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46057 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46058 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46059 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46064 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46066 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46080 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46081 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46082 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46083 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46084 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46085 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46087 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46088 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46089 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46094 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46095 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46096 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46097 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46098 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46099 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46100 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46101 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46145 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46148 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46155 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46156 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46157 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46158 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46159 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46160 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46161 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46162 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46163 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46164 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46165 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46168 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46169 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46170 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46171 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46172 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46173 (__isnanf): Likewise.
46174 (__isinf_ns): Likewise.
46175 (__isinf_nsf): Likewise.
46176 (__finite): Likewise.
46177 (__finitef): Likewise.
46178 (__ieee754_sqrt): Define as macro.
46179 (__ieee754_sqrtf): Define as macro.
46180 (__ieee754_sqrtl): Define as macro.
46181 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46182 inlined copy.
46183 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46184 __FINITE_MATH_ONLY__ consistent.
46185 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46186
12cc2fcd
AS
461872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46188
a843a204
AS
46189 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46190 of rawmemchr.
46191
12cc2fcd
AS
46192 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46193
c853acd5
UD
461942011-10-09 Ulrich Drepper <drepper@gmail.com>
46195
46196 * po/ja.po: Update from translation team.
46197
c658d255
RM
461982011-10-08 Roland McGrath <roland@hack.frob.com>
46199
110946e4
RM
46200 * locale/programs/locarchive.c (prepare_address_space): New function.
46201 (create_archive, enlarge_archive, open_archive): Use it.
46202
50604220
RM
46203 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46204 inside [SHARED], where it is used.
46205
c658d255
RM
46206 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46207
46208 * nss/getent.c (netgroup_keys): Remove unused variable.
46209 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46210
6a621eb7
UD
462112011-10-08 Ulrich Drepper <drepper@gmail.com>
46212
7edb55ce
UD
46213 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46217 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46218 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46219 * math/Makefile (libm-calls): Add s_isinf_ns.
46220 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46221 * math/multc3.c: Likewise.
46222 * math/s_casin.c: Likewise.
46223 * math/s_casinf.c: Likewise.
46224 * math/s_casinl.c: Likewise.
46225 * math/s_ccos.c: Likewise.
46226 * math/s_ccosf.c: Likewise.
46227 * math/s_ccosl.c: Likewise.
46228 * math/s_ctan.c: Likewise.
46229 * math/s_ctanf.c: Likewise.
46230 * math/s_ctanh.c: Likewise.
46231 * math/s_ctanhf.c: Likewise.
46232 * math/s_ctanhl.c: Likewise.
46233 * math/s_ctanl.c: Likewise.
46234 * math/w_fmod.c: Likewise.
46235 * math/w_fmodf.c: Likewise.
46236 * math/w_fmodl.c: Likewise.
46237 * math/w_remainder.c: Likewise.
46238 * math/w_remainderf.c: Likewise.
46239 * math/w_remainderl.c: Likewise.
46240 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46241 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46244 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46245 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46246 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46247 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46248
187da0ae
UD
46249 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46250 of the number.
46251 * stdio-common/printf_fphex.c: Likewise.
46252 * stdio-common/printf_size.c: Likewise.
46253
9277c064
UD
46254 * math/e_exp10.c: Include math_private.h using <...> not "...".
46255 * math/e_exp10f.c: Likewise.
46256 * math/e_exp10l.c: Likewise.
46257 * math/e_exp2l.c: Likewise.
46258 * math/e_j0l.c: Likewise.
46259 * math/e_j1l.c: Likewise.
46260 * math/e_jnl.c: Likewise.
46261 * math/e_lgammal_r.c: Likewise.
46262 * math/e_rem_pio2l.c: Likewise.
46263 * math/e_scalb.c: Likewise.
46264 * math/e_scalbf.c: Likewise.
46265 * math/e_scalbl.c: Likewise.
46266 * math/k_cosl.c: Likewise.
46267 * math/k_sinl.c: Likewise.
46268 * math/k_tanl.c: Likewise.
46269 * math/s_cacoshf.c: Likewise.
46270 * math/s_catan.c: Likewise.
46271 * math/s_catanf.c: Likewise.
46272 * math/s_catanh.c: Likewise.
46273 * math/s_catanhf.c: Likewise.
46274 * math/s_catanhl.c: Likewise.
46275 * math/s_catanl.c: Likewise.
46276 * math/s_ccosh.c: Likewise.
46277 * math/s_ccoshf.c: Likewise.
46278 * math/s_ccoshl.c: Likewise.
46279 * math/s_cexp.c: Likewise.
46280 * math/s_cexpf.c: Likewise.
46281 * math/s_cexpl.c: Likewise.
46282 * math/s_clog.c: Likewise.
46283 * math/s_clog10.c: Likewise.
46284 * math/s_clog10f.c: Likewise.
46285 * math/s_clog10l.c: Likewise.
46286 * math/s_clogf.c: Likewise.
46287 * math/s_clogl.c: Likewise.
46288 * math/s_csin.c: Likewise.
46289 * math/s_csinf.c: Likewise.
46290 * math/s_csinh.c: Likewise.
46291 * math/s_csinhf.c: Likewise.
46292 * math/s_csinhl.c: Likewise.
46293 * math/s_csinl.c: Likewise.
46294 * math/s_csqrt.c: Likewise.
46295 * math/s_csqrtf.c: Likewise.
46296 * math/s_csqrtl.c: Likewise.
46297 * math/s_ctan.c: Likewise.
46298 * math/s_ctanf.c: Likewise.
46299 * math/s_ctanh.c: Likewise.
46300 * math/s_ctanhf.c: Likewise.
46301 * math/s_ctanhl.c: Likewise.
46302 * math/s_ctanl.c: Likewise.
46303 * math/s_ldexp.c: Likewise.
46304 * math/s_ldexpf.c: Likewise.
46305 * math/s_ldexpl.c: Likewise.
46306 * math/s_significand.c: Likewise.
46307 * math/s_significandf.c: Likewise.
46308 * math/s_significandl.c: Likewise.
46309 * math/w_acos.c: Likewise.
46310 * math/w_acosf.c: Likewise.
46311 * math/w_acosh.c: Likewise.
46312 * math/w_acoshf.c: Likewise.
46313 * math/w_acoshl.c: Likewise.
46314 * math/w_acosl.c: Likewise.
46315 * math/w_asin.c: Likewise.
46316 * math/w_asinf.c: Likewise.
46317 * math/w_asinl.c: Likewise.
46318 * math/w_atan2.c: Likewise.
46319 * math/w_atan2f.c: Likewise.
46320 * math/w_atan2l.c: Likewise.
46321 * math/w_atanh.c: Likewise.
46322 * math/w_atanhf.c: Likewise.
46323 * math/w_atanhl.c: Likewise.
46324 * math/w_cosh.c: Likewise.
46325 * math/w_coshf.c: Likewise.
46326 * math/w_coshl.c: Likewise.
46327 * math/w_dremf.c: Likewise.
46328 * math/w_exp10.c: Likewise.
46329 * math/w_exp10f.c: Likewise.
46330 * math/w_exp10l.c: Likewise.
46331 * math/w_exp2.c: Likewise.
46332 * math/w_exp2f.c: Likewise.
46333 * math/w_fmod.c: Likewise.
46334 * math/w_fmodf.c: Likewise.
46335 * math/w_fmodl.c: Likewise.
46336 * math/w_hypot.c: Likewise.
46337 * math/w_hypotf.c: Likewise.
46338 * math/w_hypotl.c: Likewise.
46339 * math/w_j0.c: Likewise.
46340 * math/w_j0f.c: Likewise.
46341 * math/w_j0l.c: Likewise.
46342 * math/w_j1.c: Likewise.
46343 * math/w_j1f.c: Likewise.
46344 * math/w_j1l.c: Likewise.
46345 * math/w_jn.c: Likewise.
46346 * math/w_jnf.c: Likewise.
46347 * math/w_jnl.c: Likewise.
46348 * math/w_lgamma.c: Likewise.
46349 * math/w_lgamma_r.c: Likewise.
46350 * math/w_lgammaf.c: Likewise.
46351 * math/w_lgammaf_r.c: Likewise.
46352 * math/w_lgammal.c: Likewise.
46353 * math/w_lgammal_r.c: Likewise.
46354 * math/w_log.c: Likewise.
46355 * math/w_log10.c: Likewise.
46356 * math/w_log10f.c: Likewise.
46357 * math/w_log10l.c: Likewise.
46358 * math/w_log2.c: Likewise.
46359 * math/w_log2f.c: Likewise.
46360 * math/w_log2l.c: Likewise.
46361 * math/w_logf.c: Likewise.
46362 * math/w_logl.c: Likewise.
46363 * math/w_pow.c: Likewise.
46364 * math/w_powf.c: Likewise.
46365 * math/w_powl.c: Likewise.
46366 * math/w_remainder.c: Likewise.
46367 * math/w_remainderf.c: Likewise.
46368 * math/w_remainderl.c: Likewise.
46369 * math/w_scalb.c: Likewise.
46370 * math/w_scalbf.c: Likewise.
46371 * math/w_scalbl.c: Likewise.
46372 * math/w_sinh.c: Likewise.
46373 * math/w_sinhf.c: Likewise.
46374 * math/w_sinhl.c: Likewise.
46375 * math/w_sqrt.c: Likewise.
46376 * math/w_sqrtf.c: Likewise.
46377 * math/w_sqrtl.c: Likewise.
46378 * math/w_tgamma.c: Likewise.
46379 * math/w_tgammaf.c: Likewise.
46380 * math/w_tgammal.c: Likewise.
46381
6a621eb7
UD
46382 * po/ja.po: Update from translation team.
46383
bf582445
AJ
463842011-09-29 Andreas Jaeger <aj@suse.de>
46385
f9efbf3a
AJ
46386 [BZ #13179]
46387 * sunrpc/netname.c (netname2host): Fix logic.
46388
bf582445
AJ
46389 [BZ #6779]
46390 [BZ #6783]
46391 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46392 correctly.
46393 * math/w_remainder.c (__remainder): Likewise.
46394 * math/w_remainderf.c (__remainderf): Likewise.
46395 * math/libm-test.inc (remainder_test): Add test cases.
46396
48693bea
AK
463972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46398
46399 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46400 sdiv_qrnnd.
46401
42622229
LD
464022011-10-07 Ulrich Drepper <drepper@gmail.com>
46403
46404 * string/test-memcmp.c: Avoid unncessary #defines.
46405 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46406
093ecf92
LD
464072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46408
46409 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46410 Use new sse2 version for core i3 - i7 as it's faster
46411 than sse42 version.
46412 (bit_Prefer_PMINUB_for_stringop): New.
46413 * sysdeps/x86_64/rawmemchr.S: Update.
46414 Replace with faster SSE2 version.
46415 * sysdeps/x86_64/memrchr.S: New file.
46416 * sysdeps/x86_64/memchr.S: Update.
46417 Replace with faster SSE2 version.
46418
fde56e5c
MP
464192011-09-12 Marek Polacek <mpolacek@redhat.com>
46420
46421 * elf/dl-load.c (lose): Add cast to avoid warning.
46422
21fd49a9
UD
464232011-10-07 Ulrich Drepper <drepper@gmail.com>
46424
5a06e643
UD
46425 * po/ca.po: Update from translation team.
46426
684ae515
UD
46427 * inet/getnetgrent_r.c: Hook up nscd.
46428 * nscd/Makefile (routines): Add nscd_netgroup.
46429 (nscd-modules): Add netgroupcache.
46430 (CFLAGS-netgroupcache.c): Define.
46431 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46432 (cache_search): Add const to second parameter.
46433 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46434 INNETGR.
46435 (dbs): Add netgrdb entry.
46436 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46437 (verify_persistent_db): Handle netgrdb.
46438 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46439 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46440 GETFDNETGR.
46441 (netgroup_response_header): Define.
46442 (innetgroup_response_header): Define.
46443 (datahead): Add netgroup_response_header and innetgroup_response_header
46444 elements.
46445 * nscd/nscd.conf: Add entries for netgroup cache.
46446 * nscd/nscd.h (dbtype): Add netgrdb.
46447 (_PATH_NSCD_NETGROUP_DB): Define.
46448 (netgroup_iov_disabled): Declare.
46449 (xmalloc, xcalloc, xrealloc): Move declarations here.
46450 (cache_search): Adjust prototype.
46451 Add netgroup-related prototypes.
46452 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46453 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46454 (__nscd_innetgr): Declare.
46455 * nscd/selinux.c (perms): Use access_vector_t as element type and
46456 add netgroup-related initializers.
46457 * nscd/netgroupcache.c: New file.
46458 * nscd/nscd_netgroup.c: New file.
46459 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46460 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46461 For four parameters use innetgr.
46462 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46463 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46464 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46465 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46466
21fd49a9
UD
46467 * nscd/connections.c (register_traced_file): Don't register file
46468 for disabled databases.
46469
054c0457
UD
464702011-10-06 Ulrich Drepper <drepper@gmail.com>
46471
32b63198
UD
46472 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46473
054c0457
UD
46474 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46475 from tree and freeing node.
46476
64031225
JO
464772011-09-25 Jiri Olsa <jolsa@redhat.com>
46478
46479 * nss/nsswitch.c (__nss_database_lookup): Handle
46480 nss_parse_service_list out of memory case.
46481
0490345c
JO
464822011-09-15 Jiri Olsa <jolsa@redhat.com>
46483
46484 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46485 out of memory case.
46486
3a62d00d
AS
464872011-10-04 Andreas Schwab <schwab@redhat.com>
46488
46489 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46490 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46491 pass it down.
46492 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46493 elf_machine_rela, elf_machine_lazy_rel.
46494 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46495 (ELF_DYNAMIC_DO_REL): Likewise.
46496 (ELF_DYNAMIC_DO_RELA): Likewise.
46497 (ELF_DYNAMIC_RELOCATE): Likewise.
46498 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46499 to ELF_DYNAMIC_DO_REL.
46500 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46501 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46502 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46503 elf_machine_rela.
46504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46505 skip_ifunc, don't call ifunc function if non-zero.
46506 (elf_machine_rela): Likewise.
46507 (elf_machine_lazy_rel): Likewise.
46508 (elf_machine_lazy_rela): Likewise.
46509 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46510 (elf_machine_lazy_rel): Likewise.
46511 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46512 Likewise.
46513 (elf_machine_lazy_rel): Likewise.
46514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46515 Likewise.
46516 (elf_machine_lazy_rel): Likewise.
46517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46518 (elf_machine_lazy_rel): Likewise.
46519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46520 (elf_machine_lazy_rel): Likewise.
46521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46522 (elf_machine_lazy_rel): Likewise.
46523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46524 (elf_machine_lazy_rel): Likewise.
46525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46526 (elf_machine_lazy_rel): Likewise.
46527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46528 (elf_machine_lazy_rel): Likewise.
46529
68577918
UD
465302011-09-28 Ulrich Drepper <drepper@gmail.com>
46531
46532 * nss/nss_files/files-init.c (_nss_files_init): Use static
46533 initialization for all the *_traced_file variables.
46534
68822d74
AS
465352011-09-28 Andreas Schwab <schwab@redhat.com>
46536
46537 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46538
2056100b
RM
465392011-09-27 Roland McGrath <roland@hack.frob.com>
46540
46541 [BZ #13226]
46542 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46543
32c76b63
AS
465442011-09-27 Andreas Schwab <schwab@redhat.com>
46545
46546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46547 Reread the line before reparsing it.
46548
bf972c9d
AS
465492011-09-26 Andreas Schwab <schwab@redhat.com>
46550
46551 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46552
e057a1b5
JM
465532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46554 Maxim Kuvyrkov <maxim@codesourcery.com>
46555 Joseph Myers <joseph@codesourcery.com>
46556
46557 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46558 if needed for __stack_chk_guard.
46559
bc7e1c36
RM
465602011-09-19 Roland McGrath <roland@hack.frob.com>
46561
ecb1482f
RM
46562 * sysdeps/posix/spawni.c (script_execute): Always define it.
46563 It will be optimized away if unused.
46564 (maybe_script_execute): New function.
46565 (__spawni): Call it.
46566
bc7e1c36
RM
46567 * Makerules: Don't include tls.make.
46568 (config-tls): Always set to thread.
46569 * tls.make.c: File removed.
46570
1c3b002b
MF
465712011-09-19 Mike Frysinger <vapier@gentoo.org>
46572
46573 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46574 * config.make.in (CPPFLAGS-config): New substituted variable.
46575
2840865d
UD
465762011-09-15 Ulrich Drepper <drepper@gmail.com>
46577
88738eb6
UD
46578 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46579
cbf645a6 46580 [BZ #13192]
2840865d
UD
46581 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46582 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46583
b402e91a
RM
465842011-09-15 Roland McGrath <roland@hack.frob.com>
46585
46586 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46587 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46589 (CALL_FAIL): Likewise.
46590 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46591 (CALL_FAIL): Macro removed.
46592 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46593
4c1a1f71
UD
465942011-09-15 Ulrich Drepper <drepper@gmail.com>
46595
46596 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46597 for __FINITE_MATH_ONLY__ == 1.
46598
edc121be
AS
465992011-09-15 Andreas Schwab <schwab@redhat.com>
46600
46601 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46602 __ieee754_sqrt instead of sqrt.
46603 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46604 __ieee754_sqrtf instead of sqrtf.
46605 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46606 __floorf instead of floorf.
46607 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46608 __floorf, __truncf instead of floorf, truncf.
46609
cd205654
UD
466102011-09-14 Ulrich Drepper <drepper@gmail.com>
46611
ee4d0315
UD
46612 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46613
cd205654
UD
46614 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46615 __extern_always_inline.
46616 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46617 32-bit.
46618
48b67d71
AS
466192011-09-14 Andreas Schwab <schwab@redhat.com>
46620
46621 * elf/rtld.c (dl_main): Also relocate in dependency order when
46622 doing symbol dependency testing.
46623
1ae12c75
AS
466242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46625
46626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46627 Always define `refsym'.
46628
995a80df
AS
466292011-09-13 Andreas Schwab <schwab@redhat.com>
46630
e529793b
AS
46631 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46632 (__FD_ELT): Renamed from __FDELT.
46633 * misc/bits/select2.h (__FD_ELT): Likewise.
46634 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46635 __FD_MASK instead of __FDELT, __FDMASK.
46636 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46637 Likewise.
46638 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46639 Likewise.
46640
52d4fef8
AS
46641 * elf/Makefile (gen-ldd): Fix pattern.
46642
995a80df
AS
46643 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46644 (init_tls): Likewise.
46645
8682f8b0
UD
466462011-09-12 Ulrich Drepper <drepper@gmail.com>
46647
46648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46649
de82006d
AS
466502011-09-12 Andreas Schwab <schwab@redhat.com>
46651
a7c8e6a1
AS
46652 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46653 `struct cmsghdr *' instead of `void *'.
46654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46655 Likewise.
46656
0f31fe77
AS
466572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46658
46659 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46660 if non-absolute.
46661 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46662 ldd_rewrite_script.
0f31fe77 46663
32b4c839
UD
466642011-09-11 Ulrich Drepper <drepper@gmail.com>
46665
83cd1420
UD
46666 * configure.in: Remove --with-tls option.
46667 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46668 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46669 out in case it is missing.
46670 * sysdeps/ia64/elf/configure.in: Likewise.
46671 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46672 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46673 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46674 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46675 * sysdeps/sh/elf/configure.in: Likewise.
46676 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46677 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46678 * sysdeps/x86_64/elf/configure.in: Likewise.
46679 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46680 * sysdeps/mach/hurd/tls.h: Likewise.
46681
633f745d
UD
46682 [BZ #13067]
46683 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46684
f318beb8
UD
46685 [BZ #13090]
46686 * configure.in: Fix use of AC_INIT.
46687
32b4c839
UD
46688 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46689
3ce1f295
UD
466902011-09-10 Ulrich Drepper <drepper@gmail.com>
46691
bb016596
UD
46692 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46693 __set_errno.
8e58439c
UD
46694 * malloc/hooks.c: Likewise.
46695
aebae053 46696 [BZ #11929]
02d46fc4
UD
46697 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46698 variables statically.
46699 (narenas): Initialize.
46700 (list_lock): Initialize.
bb016596
UD
46701 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46702 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46703 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46704 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46705 Add initializers to main_arena and mp_.
46706 (malloc_state): Remove pagesize member. Change all users to use
46707 GLRO(dl_pagesize).
46708
46709 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46710 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46711 is always initialized.
46712
22a89187
UD
46713 * malloc/malloc.c: Removed unused configurations and dead code.
46714 * malloc/arena.c: Likewise.
46715 * malloc/hooks.c: Likewise.
02d46fc4 46716 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46717
d063d164
UD
46718 * include/tls.h: Removed. USE___THREAD must always be defined.
46719 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46720 * elf/dl-libc.c: Likewise.
46721 * elf/dl-tsd.c: Likewise.
46722 * include/errno.h: Likewise.
46723 * include/netdb.h: Likewise.
46724 * include/resolv.h: Likewise.
46725 * inet/herrno-loc.c: Likewise.
46726 * inet/herrno.c: Likewise.
46727 * malloc/arena.c: Likewise.
46728 * malloc/hooks.c: Likewise.
46729 * malloc/malloc.c: Likewise.
46730 * resolv/res-state.c: Likewise.
46731 * resolv/res_libc.c: Likewise.
46732 * sysdeps/i386/dl-machine.h: Likewise.
46733 * sysdeps/ia64/dl-machine.h: Likewise.
46734 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46736 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46737 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46738 * sysdeps/sh/dl-machine.h: Likewise.
46739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46741 * sysdeps/unix/i386/sysdep.S: Likewise.
46742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46743 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46748 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46752 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46753 * sysdeps/x86_64/dl-machine.h: Likewise.
46754 * tls.make.c: Likewise.
46755
3ce1f295
UD
46756 * configure.in: Remove --with-__thread option. Make tests for
46757 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46758 tls_model attribute fail if no support is available. Remove
46759 USE_IN_LIBIO.
46760 * Makeconfig: Adjust for dropped configure option. All features are
46761 now mandatory.
46762 * Makerules: Likewise.
46763 * Versions.def: Likewise.
46764 * argp/argp-fmtstream.c: Likewise.
46765 * argp/argp-fmtstream.h: Likewise.
46766 * argp/argp-help.c: Likewise.
46767 * assert/assert.c: Likewise.
46768 * config.h.in: Likewise.
46769 * config.make.in: Likewise.
46770 * configure: Likewise.
46771 * configure.in: Likewise.
46772 * csu/Versions: Likewise.
46773 * csu/init.c: Likewise.
46774 * elf/tst-audit2.c: Likewise.
46775 * elf/tst-tls10.c: Likewise.
46776 * elf/tst-tls10.h: Likewise.
46777 * elf/tst-tls11.c: Likewise.
46778 * elf/tst-tls12.c: Likewise.
46779 * elf/tst-tls14.c: Likewise.
46780 * elf/tst-tlsmod11.c: Likewise.
46781 * elf/tst-tlsmod12.c: Likewise.
46782 * elf/tst-tlsmod13.c: Likewise.
46783 * elf/tst-tlsmod13a.c: Likewise.
46784 * elf/tst-tlsmod14a.c: Likewise.
46785 * elf/tst-tlsmod15b.c: Likewise.
46786 * elf/tst-tlsmod16a.c: Likewise.
46787 * elf/tst-tlsmod16b.c: Likewise.
46788 * elf/tst-tlsmod7.c: Likewise.
46789 * elf/tst-tlsmod8.c: Likewise.
46790 * elf/tst-tlsmod9.c: Likewise.
46791 * gmon/gmon.c: Likewise.
46792 * grp/fgetgrent_r.c: Likewise.
46793 * grp/putgrent.c: Likewise.
46794 * hurd/fopenport.c: Likewise.
46795 * include/libc-symbols.h: Likewise.
46796 * include/tls.h: Likewise.
46797 * intl/gettextP.h: Likewise.
46798 * intl/loadinfo.h: Likewise.
46799 * locale/global-locale.c: Likewise.
46800 * locale/localeinfo.h: Likewise.
46801 * mach/devstream.c: Likewise.
46802 * malloc/arena.c: Likewise.
46803 * malloc/set-freeres.c: Likewise.
46804 * misc/err.c: Likewise.
46805 * misc/getttyent.c: Likewise.
46806 * misc/mntent_r.c: Likewise.
46807 * posix/getopt.c: Likewise.
46808 * posix/wordexp.c: Likewise.
46809 * pwd/fgetpwent_r.c: Likewise.
46810 * resolv/Versions: Likewise.
46811 * resolv/res_hconf.c: Likewise.
46812 * shadow/fgetspent_r.c: Likewise.
46813 * shadow/putspent.c: Likewise.
46814 * stdio-common/printf_fphex.c: Likewise.
46815 * stdio-common/tmpfile.c: Likewise.
46816 * stdlib/abort.c: Likewise.
46817 * stdlib/fmtmsg.c: Likewise.
46818 * sunrpc/auth_unix.c: Likewise.
46819 * sunrpc/clnt_perr.c: Likewise.
46820 * sunrpc/clnt_tcp.c: Likewise.
46821 * sunrpc/clnt_udp.c: Likewise.
46822 * sunrpc/clnt_unix.c: Likewise.
46823 * sunrpc/openchild.c: Likewise.
46824 * sunrpc/svc_simple.c: Likewise.
46825 * sunrpc/svc_tcp.c: Likewise.
46826 * sunrpc/svc_udp.c: Likewise.
46827 * sunrpc/svc_unix.c: Likewise.
46828 * sunrpc/xdr.c: Likewise.
46829 * sunrpc/xdr_array.c: Likewise.
46830 * sunrpc/xdr_rec.c: Likewise.
46831 * sunrpc/xdr_ref.c: Likewise.
46832 * sunrpc/xdr_stdio.c: Likewise.
46833
1248c1c4
PB
468342011-09-09 Ulrich Drepper <drepper@gmail.com>
46835
46836 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46837
468382011-07-03 Andreas Jaeger <aj@suse.de>
46839
46840 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46841 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46842 regenerate with gen-libm-tests.pl.
46843
468442010-05-12 Petr Baudis <pasky@suse.cz>
46845
46846 [BZ #11589]
46847 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46848 around j0() zero points by switching to j1().
46849 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46853
f22e1074
UD
468542011-09-09 Ulrich Drepper <drepper@gmail.com>
46855
f19009c1
UD
46856 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46857 instead of 0.
46858 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46859 instead of 0.
f19009c1
UD
46860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46861 Patch in part by Pavel Roskin <proski@gnu.org>.
46862
3f8cc204
UD
46863 [BZ #13138]
46864 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46865 realloc.
46866 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46867 Free memory block if necessary.
46868
f22e1074
UD
46869 [BZ #12847]
46870 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46871 be NULL. Don't lock in this case.
46872
0a2349f9
RM
468732011-09-09 Roland McGrath <roland@hack.frob.com>
46874
46875 * elf/elf.h (ELFOSABI_GNU): New macro.
46876 (ELFOSABI_LINUX): Define to that.
46877
f3cdd467
DZ
468782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46879
46880 * string/strncat.c (strncat): Undef the symbol in case it has been
46881 defined in bits/string.h.
46882
74718d13
UD
468832011-09-09 Ulrich Drepper <drepper@gmail.com>
46884
633e9e0f
UD
46885 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46886
0a2349f9 46887 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46888 link map.
46889
f9924780
AJ
468902011-08-17 Andreas Jaeger <aj@suse.de>
46891
46892 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46893
7f5517aa
PP
468942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46895 Ian Lance Taylor <iant@google.com>
46896
46897 * math/libm-test.inc (lround_test): New testcase.
46898 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46899
762011fe
UD
469002011-09-08 Ulrich Drepper <drepper@gmail.com>
46901
92963737
UD
46902 * Makefile: Remove support for automatic cvs check-ins.
46903 * Makerules: Likewise.
46904 * config.make.in: Likewise.
46905 * configure.in: Likewise.
46906 * intl/Makefile: Likewise.
46907 * locale/Makefile: Likewise.
46908 * po/Makefile: Likewise.
46909 * posix/Makefile: Likewise.
46910 * sysdeps/gnu/Makefile: Likewise.
46911 * sysdeps/mach/hurd/Makefile: Likewise.
46912 * sysdeps/sparc/sparc32/Makefile: Likewise.
46913
b0727fd8
JS
46914 [BZ #13118]
46915 * posix/Makefile (bug-regex32-ENV): Define.
46916 Patch by John Stanley <jpsinthemix@verizon.net>.
46917
a0f33f99
UD
46918 * misc/Makefile (headers): Add bits/select2.h.
46919 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46920 * misc/bits/select2.h: New file.
46921 * include/bits/select2.h: New file.
46922 * debug/Makefile (routines): Add fdelt_chk.
46923 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46924 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46925 FD_ISSET.
46926 * debug/fdelt_chk.c: New file.
46927
762011fe
UD
46928 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46929 * wcsmbs/test-wmemcmp.c: Likewise.
46930 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46931 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46932
469332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46934
46935 * string/Makefile (strop-tests): Add memcmp.
46936 * string/test-wmemcmp.c: New file.
46937 * string/test-memcmp.c: Add wmemcmp support.
46938
7f513ec8
RM
469392011-09-08 Roland McGrath <roland@hack.frob.com>
46940
0442afb4
RM
46941 [BZ #13153]
46942 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46943 2011-07-19 change.
46944
7f513ec8
RM
46945 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46946 garbage value in a __mach_port_mod_refs call in the cases of the
46947 task-self and thread-self ports.
46948
a12b2239
ST
469492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46950
46951 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46952
610f9ab4
AS
469532011-09-08 Andreas Schwab <schwab@redhat.com>
46954
7f513ec8 46955 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46956
48882a1a
LD
469572011-09-07 Ulrich Drepper <drepper@gmail.com>
46958
b49865be
UD
46959 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46960
fdc86bc9
UD
46961 * elf/dl-libc.c (dlerror_run): Pass back error code from
46962 dl_catch_error.
46963
c966526a
UD
46964 [BZ #13123]
46965 * elf/dl-load.c (lose): Free l_origin if it is valid.
46966
48882a1a
LD
46967 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46968 names.
46969 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46974 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46975
77a2a8b4
AZ
469762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46977
46978 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46979 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46980 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46981 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46982 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46983 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46984 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46985 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46986 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46987 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46988
24f579d8
AM
469892011-08-15 Alan Modra <amodra@gmail.com>
46990
46991 [BZ #13092]
46992 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46993 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46994 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46995 ppc_mcount to static-only-routines.
46996 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46997 __mcount_internal.
46998 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46999 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47000
3d4837df
UD
470012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47002
47003 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47004 for finite and infinity parameters.
47005
22700377
WS
470062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47007
47008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47009 and add nop instructions for throughput optimization.
47010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47011
5025581e
WS
470122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47013
47014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47015 aligned copy for power7 with vector-scalar instructions.
47016 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47017
08a300c9
L
470182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47019
47020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47021 AVX check.
47022
59178ef9
AS
470232011-09-07 Andreas Schwab <schwab@redhat.com>
47024
47025 [BZ #13144]
47026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47027 last change.
47028
e38ba7ab
UD
470292011-09-07 Ulrich Drepper <drepper@gmail.com>
47030
47031 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47032 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47033 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47034 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47035 clock_gettime.
47036
d53a73ac
UD
470372011-09-06 Ulrich Drepper <drepper@gmail.com>
47038
fc8bffcc
UD
47039 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47040 Forgot to demangle the pointer.
47041
ceaa0c5d
UD
47042 * sysdeps/i386/sysdep.h: Define atom_text_section.
47043 * sysdeps/x86_64/sysdep.h: Likewise.
47044 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47045 section with atom_text_section.
47046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47048 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47050 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47051
a77d3c17
UD
47052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47053 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47054 already be defined. Change to take two parameters and don't assign
47055 result to variable. Adjust all users.
47056 Define INTERNAL_GETTIME if not already defined.
47057 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47058 call.
47059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47060 HAVE_CLOCK_GETTIME_VSYSCALL.
47061 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47062
d53a73ac
UD
47063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47064 gettimeofday vsyscall, just use time.
47065
a8f84144
AS
470662011-09-06 Andreas Schwab <schwab@redhat.com>
47067
47068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47069 <errno.h>.
47070
ef606249
UD
470712011-09-06 Ulrich Drepper <drepper@gmail.com>
47072
47073 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47074 syscall on x86-64.
47075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47076 syscall.
47077 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47079 syscall if possible.
47080
6585cb60
UD
470812011-09-05 Ulrich Drepper <drepper@gmail.com>
47082
47083 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47084 e_ident. Don't pass to find_mapsXX.
47085 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47086
a5f524e4
LD
470872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47088
47089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47090 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47091 * sysdeps/x86_64/multiarch/strchr.S: Update.
47092 Check bit_slow_BSF bit.
47093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47094 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47096
554881ef
UD
470972011-09-05 Ulrich Drepper <drepper@gmail.com>
47098
d96de963
UD
47099 [BZ #13134]
47100 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47101 before glibc 2.15.
47102 (tryshell): Define.
47103 (__spawni): Change last parameter to be flag. Test
47104 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47105 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47106 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47107 * posix/spawni.c: Likewise.
47108 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47109 * posix/spawnp.c: Likewise. Change normal version to use
47110 SPAWN_XFLAGS_USE_PATH.
47111 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47112 SPAWN_XFLAGS_TRY_SHELL.
47113
d48e5868
UD
47114 [BZ #13150]
47115 * posix/glob.h: Remove gcc 1.x support.
47116
554881ef
UD
47117 [BZ #13068]
47118 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47119
693fb948
LD
471202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47121
47122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47123 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47124 strrchr-sse2-bsf
47125 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47126 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47127 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47130 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47131
1b48c537
UD
471322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47133
49d42c37
UD
47134 * sysdeps/x86_64/wcscmp.S: New file.
47135
1b48c537
UD
47136 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47137 wcscmp-c wcscmp-sse2
47138 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47139 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47141 * wcsmbs/wcscmp.c: Allow renaming.
47142
15c95c5d
DM
471432011-09-05 David S. Miller <davem@davemloft.net>
47144
47145 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47146 stack slot, rather than the struct return pointer slot.
47147 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47148 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47150 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47151
2f0ad8f3
UD
471522011-09-05 Ulrich Drepper <drepper@gmail.com>
47153
d88ae418
UD
47154 * po/ja.po: Update from translation team.
47155
2f0ad8f3
UD
47156 [BZ #13144]
47157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47158 kernel in 64-bit binaries.
47159
5f4318d1
DM
471602011-09-01 David S. Miller <davem@davemloft.net>
47161
47162 * elf/elf.h (HWCAP_SPARC_*): Move to..
47163 * sysdeps/sparc/sysdep.h: this new file and add new values.
47164 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47165 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47166 _DL_HWCAP_COUNT to 24.
47167 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47168 entries.
47169 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47170 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47171 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47173 instead of magic constants.
47174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47175
3ba57516
DM
471762011-08-31 David S. Miller <davem@davemloft.net>
47177
47178 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47180 Reimplement to do errno handling inline.
47181 (SYSCALL_ERROR_HANDLER): New macro.
47182 (__SYSCALL_STRING): Do not do errno handling in asm.
47183 (__CLONE_SYSCALL_STRING): Delete.
47184 (__INTERNAL_SYSCALL_STRING): Delete.
47185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47186 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47187 (PSEUDO): Reimplement to do errno handling inline.
47188 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47189 (SYSCALL_ERROR_HANDLER): New macro.
47190 (__SYSCALL_STRING): Do not do errno handling in asm.
47191 (__CLONE_SYSCALL_STRING): Delete.
47192 (__INTERNAL_SYSCALL_STRING): Delete.
47193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47194 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47195 i386.
47196 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47197 (inline_syscall*): Add 'err' argument.
47198 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47199 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47200 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47201 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47202
47203 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47204 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47205
2bc17433
AS
472062011-08-30 Andreas Schwab <schwab@redhat.com>
47207
47208 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47209
fbeb5f4d
JO
472102011-08-29 Jiri Olsa <jolsa@redhat.com>
47211
47212 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47213 directive.
47214
ad69cc26
DM
472152011-08-24 David S. Miller <davem@davemloft.net>
47216
47217 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47218
39dd69df
AS
472192011-08-24 Andreas Schwab <schwab@redhat.com>
47220
47221 * elf/Makefile: Add rules to build and run unload8 test.
47222 * elf/unload8.c: New file.
47223 * elf/unload8mod1.c: New file.
47224 * elf/unload8mod1x.c: New file.
47225 * elf/unload8mod2.c: New file.
47226 * elf/unload8mod3.c: New file.
47227
47228 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47229 it wasn't used.
47230
2c0b250a
DM
472312011-08-23 David S. Miller <davem@davemloft.net>
47232
47233 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47234 subtract stack bias.
47235 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47236 %sp not %fp in calculations.
47237 (_JMPBUF_UNWINDS_ADJ): Likewise.
47238
22044b48
DM
47239 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47240 (aio_suspend): Call it to force an exception region around the
47241 AIO_MISC_WAIT() invocation.
47242
2cae4995
AS
472432011-08-23 Andreas Schwab <schwab@redhat.com>
47244
47245 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47246 backslash.
47247
873a772e
AJ
472482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47249
47250 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47251 protection macro.
47252 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47253 and <dl-machine.h>.
47254 (Elf64_FuncDesc): Remove.
47255
25ad0df1
DM
472562011-08-22 David S. Miller <davem@davemloft.net>
47257
47258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47259 sigaltstack check, add missing cfi directives.
47260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47261 missing cfi directives, and sigaltstack handling.
47262
e888bcbe
AS
472632011-08-16 Andreas Schwab <schwab@redhat.com>
47264
47265 [BZ #11724]
47266 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47267 object is seen twice.
47268 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47269
47270 * elf/Makefile (distribute): Add tst-initorder2.c.
47271 (tests): Add tst-initorder2.
47272 (modules-names): Add tst-initorder2a tst-initorder2b
47273 tst-initorder2c tst-initorder2d. Add rules to build them.
47274 ($(objpfx)tst-initorder2.out): New rule.
47275 * elf/tst-initorder2.c: New file.
47276 * elf/tst-initorder2.exp: New file.
47277
87162f46
AS
472782011-08-22 Andreas Schwab <schwab@redhat.com>
47279
70538b7f
AS
47280 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47281
f55ffe58
AS
47282 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47283 dependencies back to end of function.
47284
87162f46
AS
47285 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47286 $(elfobjdir)/ld.so.
47287
91b392a4
UD
472882011-08-21 Ulrich Drepper <drepper@gmail.com>
47289
47290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47291 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47293 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47294 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47295 of __vdso_gettimeofday.
47296 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47297 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47298 attribute_hidden.
47299 (_libc_vdso_platform_setup): Remove initialization of
47300 __vdso_gettimeofday and __vdso_time.
47301
5c43483f
UD
473022011-08-20 Ulrich Drepper <drepper@gmail.com>
47303
775a77e7
UD
47304 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47305 and fgetc_unlocked.
47306 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47307 getc_unlocked.
89f447ed 47308
49c74ba9
UD
47309 * elf/dl-open.c (add_to_global): Report additions to the global scope
47310 for LD_DEBUG=scopes.
47311 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47312 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47313
5c43483f
UD
47314 [BZ #13114]
47315 * stdio-common/Makefile (tests): Add bug24.
47316 * stdio-common/bug24.c: New file.
47317
a101b025
AJ
473182011-08-19 Andreas Jaeger <aj@suse.de>
47319
47320 [BZ #13114]
47321 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47322 non-existant file when using close-on-exec mode.
47323
c88f1766
UD
473242011-08-20 Ulrich Drepper <drepper@gmail.com>
47325
0276a718
UD
47326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47327 the very first instruction.
47328
c88f1766
UD
47329 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47330 the CFI state in the end.
47331 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47332 inclusion of dl-trampoline.h.
47333 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47334
51ccffa0
AS
473352011-08-19 Andreas Schwab <schwab@redhat.com>
47336
94d7165f
AS
47337 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47338 expectations for long double.
47339
51ccffa0
AS
47340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47341 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47342
fd708658 473432011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47344
47345 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47346 artificual limit depends upon the system page size.
47347
44f0a71e
UD
473482011-08-17 Ulrich Drepper <drepper@gmail.com>
47349
47350 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47351 * resolv/Makefile: Define CFLAGS-libresolv.
47352
8de79a24
AS
473532011-08-17 Andreas Schwab <schwab@redhat.com>
47354
47355 * nss/makedb.c (compute_tables): Make variables used in nested
47356 function static.
47357
27724598
UD
473582011-08-17 Ulrich Drepper <drepper@gmail.com>
47359
c5305d88
UD
47360 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47361 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47362 if buffer was too small.
47363
27724598
UD
47364 * elf/pldd.c (main): Attach to all threads in the process.
47365 Rewrite /proc handling to use *at functions.
47366
076fe015
UD
473672011-08-16 Ulrich Drepper <drepper@gmail.com>
47368
174baab3
UD
47369 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47370 specifies first scope to show.
47371 (dl_open_worker): Update callers. Move printing scope of new
47372 object to before the relocation.
44f0a71e 47373 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47374 * sysdeps/generic/ldsodefs.h: Update declaration.
47375
076fe015
UD
47376 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47377 string for the scope number.
47378
a60df2c3
UD
473792011-08-14 Ulrich Drepper <drepper@gmail.com>
47380
47381 * nscd/servicescache.c (cache_addserv): Make sure written is always
47382 initialized.
47383
5e4287d1
RM
473842011-08-14 Roland McGrath <roland@hack.frob.com>
47385
85ae0589
RM
47386 * sysdeps/i386/i486/bits/atomic.h
47387 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47388 statement expression, so as to suppress "set but not used" warning.
47389 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47390
69f63097
RM
47391 * string/strncat.c (STRNCAT): Use prototype definition.
47392
675456ef
RM
47393 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47394 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47395 -Iprograms here.
47396 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47397 (localedef-modules): Add localedef.
47398 (locale-modules): Add locale.
47399
5e4287d1
RM
47400 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47401 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47402 to avoid a warning.
47403
9c96ff23
DM
474042011-08-14 David S. Miller <davem@davemloft.net>
47405
47406 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47407 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47408
f9ddf089
UD
474092011-08-13 Ulrich Drepper <drepper@gmail.com>
47410
44f0a71e 47411 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47412 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47413 * elf/rtld.c (dl_main): Set l_name of vDSO.
47414 Call _dl_show_scope when DL_DEBUG_SCOPES.
47415 (process_dl_debug): Recognize scopes flag and also set it for all.
47416 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47417 Declare _dl_show_scope.
47418
1dc27704
UD
47419 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47420 (do_dlopen): Pass caller_dlopen to dl_open.
47421 (__libc_dlopen_mode): Initialize caller_dlopen.
47422
f9ddf089
UD
47423 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47424 of libc. Make tolower call locale-independent. Optimize a bit by
47425 using isdigit instead of isalnum.
47426 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47427
9ac533d3
UD
474282011-08-12 Ulrich Drepper <drepper@gmail.com>
47429
47430 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47431 was a dependency or dynamically loaded.
47432
89edf2e9
UD
474332011-08-11 Ulrich Drepper <drepper@gmail.com>
47434
8e999d29
UD
47435 * intl/l10nflist.c: Allow architecture-specific pop function.
47436 * sysdeps/x86_64/l10nflist.c: New file.
47437
89edf2e9
UD
47438 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47439 classification.
47440
14d96785
AS
474412011-08-10 Andreas Schwab <schwab@redhat.com>
47442
47443 * include/dirent.h: Add libc_hidden_proto for scandirat and
47444 scandirat64. Don't declare __scandirat64.
47445 * dirent/scandirat.c: Add libc_hidden_def.
47446 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47447 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47448
6761ac04
DM
474492011-08-10 David S. Miller <davem@davemloft.net>
47450
47451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47452 enum.
47453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47455 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47456
c55fbd1e
UD
474572011-08-09 Ulrich Drepper <drepper@gmail.com>
47458
47459 * Versions.def [libc]: Add GLIBC_2.15.
47460 * dirent/Makefile (routines): Add scandirat and scandirat64.
47461 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47462 GLIBC_2.15.
47463 * dirent/dirent.h: Declare scandirat and scandirat64.
47464 * dirent/scandirat.c: New file.
47465 * dirent/scandirat64.c: New file.
47466 * sysdeps/wordsize-64/scandirat.c: New file.
47467 * sysdeps/wordsize-64/scandirat64.c: New file.
47468 * dirent/opendir.c: Define opendirat.
47469 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47470 using scandirat.
47471 * dirent/scandir64.c: Adjust for scandir.c change.
47472 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47473 __scandirat64, and __scandir_cancel_handler.
47474 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47475 additional parameter and use openat instead of open (outside of ld.so).
47476 Add new __opendir as wrapper around __opendirat.
47477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47478 here without requiring old scandirat implementation.
47479
879165f2
UD
474802011-08-08 Ulrich Drepper <drepper@gmail.com>
47481
47482 * dirent/scandir.c (cancel_handler): Renamed to
47483 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47484 defined. Adjust users.
47485 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47487
cb7e923b
UD
474882011-08-04 Ulrich Drepper <drepper@gmail.com>
47489
16292edd
UD
47490 * string/test-string.h (IMPL): Use __STRING to expand name and then
47491 stringify it.
47492
cb7e923b
UD
47493 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47494 of cleanups.
47495
cff82933
LD
474962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47497
47498 * string/Makefile: Update.
47499 (strop-tests): Append strncat.
47500 * string/test-wcscmp.c: New file.
47501 New comprehensive test for wcscmp.
47502 * string/test-strcmp.c: Update.
47503 (WIDE): New define.
47504
9be9bfcc
AS
475052011-07-22 Andreas Schwab <schwab@redhat.com>
47506
47507 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47508 line.
47509
2e96f1c7
AS
475102011-07-26 Andreas Schwab <schwab@redhat.com>
47511
47512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47513 encoding to ACE if AI_IDN.
47514
85188888
JJ
475152011-08-01 Jakub Jelinek <jakub@redhat.com>
47516
47517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47518 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47519
5fa16e9b
LD
475202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47521
47522 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47523 Fix overflow bug in strncat.
47524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47525
47526 * string/test-strncat.c: Update.
47527 Add new tests for checking overflow bugs.
47528
475292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47530
47531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47532 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47533 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47534 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47536 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47537 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47538 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47539 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47540
47541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47542 (USE_AS_STRCAT): Define.
47543 Add strcat and strncat support.
47544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47545
8c1a459f
AS
475462011-07-25 Andreas Schwab <schwab@redhat.com>
47547
47548 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47549 __n bigger than INT_MAX+1.
47550 (__strncmp_g): Likewise.
47551
bba33c28
UD
475522011-07-23 Ulrich Drepper <drepper@gmail.com>
47553
798be72d
UD
47554 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47555 * libio/stido.h: Likewise.
47556
8accd4dc
UD
47557 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47558 (AF_NFC): Define.
47559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47560 (AF_NFC): Define.
47561
cbff0d96
UD
47562 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47567
9191c04a
UD
47568 [BZ #13021]
47569 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47570 installed.
47571
bba33c28
UD
47572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47573 typo.
47574 (_dl_x86_64_save_sse): Likewise.
47575
90f139dd
UD
475762011-07-22 Ulrich Drepper <drepper@gmail.com>
47577
1aae088a
UD
47578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47579 OSXSAVE.
47580 (_dl_x86_64_save_sse): Likewise.
47581
8e2045f5
UD
47582 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47583
90f139dd
UD
47584 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47585
1d002f25
AS
475862011-07-21 Andreas Schwab <schwab@redhat.com>
47587
47588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47589 change.
47590 (_dl_x86_64_save_sse): Use correct AVX check.
47591
21137f89
UD
475922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47593
47594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47595 bug in strncpy/strncat.
47596 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47597
a65c0b7a
UD
475982011-07-21 Ulrich Drepper <drepper@gmail.com>
47599
47600 * string/tester.c (test_strcat): Add tests for different alignments
47601 of source and destination.
47602 (test_strncat): Likewise.
47603
6986b98a
UD
476042011-07-20 Ulrich Drepper <drepper@gmail.com>
47605
90bb2039
UD
47606 [BZ #12852]
47607 * posix/glob.c (glob): Check passed in values before using them in
47608 expressions to avoid some overflows.
47609 (glob_in_dir): Likewise.
47610
5644ef54
UD
47611 [BZ #13007]
47612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47613 check for AVX enablement so that we don't crash with old kernels and
47614 new hardware.
47615 * elf/tst-audit4.c: Add same checks here.
47616 * elf/tst-audit6.c: Likewise.
47617
47618 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47619
bfc9dc9b
AS
476202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47621
47622 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47623
702e64bb
UD
476242011-07-20 Ulrich Drepper <drepper@gmail.com>
47625
47626 * po/cs.po: Update from translation team.
47627 * po/bg.po: Likewise.
47628
295e904f
MP
476292011-07-12 Marek Polacek <mpolacek@redhat.com>
47630
47631 * misc/sys/cdefs.h: Add support for const attribute.
47632 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47633 to gnu_dev_{major,minor,makedev} functions.
47634
3ff94596
MP
476352011-07-20 Marek Polacek <mpolacek@redhat.com>
47636
47637 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47638
28b59fca
AS
476392011-07-20 Andreas Schwab <schwab@redhat.com>
47640
47641 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47642 strlen results.
47643
19df733e
AK
476442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47645
47646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47647 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47648 register in order to avoid conflicts with the soft frame pointer
47649 being held in r11 when necessary.
47650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47651 (INTERNAL_VSYSCALL_NCS): Likewise.
47652
c8835729
MP
476532011-07-14 Marek Polacek <mpolacek@redhat.com>
47654
47655 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47656 * elf/dl-fini.c (_dl_fini): Adjust caller.
47657 * elf/dl-close.c (_dl_close_worker): Likewise.
47658 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47659
b902330c
MP
476602011-07-15 Marek Polacek <mpolacek@redhat.com>
47661
8991e135
MP
47662 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47663 "aux_cache->nlibs < 0".
47664
b902330c
MP
47665 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47666 in the reload-count case.
47667
99710781
LD
476682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47669
47670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47671 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47672 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47673 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47674 * sysdeps/x86_64/multiarch/strcat.S: New file.
47675 * sysdeps/x86_64/multiarch/strncat.S: New file.
47676 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47677 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47678 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47679 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47681 (USE_AS_STRCAT): Define.
47682 Add strcat and strncat support.
47683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47685 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47686 * string/strncat.c: Update.
47687 (USE_AS_STRNCAT): Define.
47688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47689 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47690 and i7.
47691 * sysdeps/x86_64/multiarch/init-arch.h
47692 (bit_Prefer_PMINUB_for_stringop): New.
47693 (index_Prefer_PMINUB_for_stringop): Likewise.
47694 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47695 bit_Prefer_PMINUB_for_stringop.
47696
7dc6bd90
UD
476972011-07-19 Ulrich Drepper <drepper@gmail.com>
47698
47699 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47700 buffer64.
47701 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47702 of casting of buffer.
47703 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47704 buffer32 and buffer64.
47705 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47706 writes instead of casting of buffer.
47707 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47708 buffer32.
47709 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47710 casting of buffer.
47711
e0e72284
AS
477122011-07-19 Andreas Schwab <schwab@redhat.com>
47713
47714 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47715
feb1eb0b
UD
477162011-07-19 Ulrich Drepper <drepper@gmail.com>
47717
47718 * nscd/nscd.c (termination_handler): Don't do anything for a database
47719 if it has not yet been initialized.
47720
298711ff
UD
477212011-07-18 Ulrich Drepper <drepper@gmail.com>
47722
47723 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47724
477252011-07-15 Marek Polacek <mpolacek@redhat.com>
47726
47727 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47728
f9d68389
UD
477292011-07-18 Ulrich Drepper <drepper@gmail.com>
47730
47731 * po/nl.po: Update from translation team.
47732 * po/sv.po: Likewise.
47733
db290cf5
RM
477342011-07-16 Roland McGrath <roland@hack.frob.com>
47735
47736 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47737 now disallowed by GCC.
5c550700 47738
fd5e21c7
RM
47739 * configure.in (use-default-link): Default to yes if a test -shared
47740 link meets our qualifications.
47741 * configure: Regenerated.
47742
5c550700
RM
47743 * config.make.in (output-format): New variable.
47744 * configure.in: Check for ld --print-output-format support.
47745 * configure: Regenerated.
47746 * Makerules ($(common-objpfx)format.lds)
47747 [$(output-format) != unknown]: Just use $(output-format),
47748 instead of the linker-script munging.
47749
9fa2c032
RM
477502011-07-14 Roland McGrath <roland@hack.frob.com>
47751
a6928d51
RM
47752 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47753 of $(common-objpfx)shlib.lds.
47754 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47755
661607b3
RM
47756 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47757 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47758
9fa2c032
RM
47759 * configure.in (-z relro check): Adjust test code to add a large
47760 writable data section after it.
47761 * configure: Regenerated.
47762
defe9061
RM
477632011-07-11 Roland McGrath <roland@hack.frob.com>
47764
47765 * configure.in (-z relro check): Fix test code to make the variable
47766 truly const.
47767 * configure: Regenerated.
47768
319b9ad4
UD
477692011-07-11 Ulrich Drepper <drepper@gmail.com>
47770
47771 * nscd/nscd.h (struct traced_file): Define.
47772 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47773 elements. Add traced_files.
47774 (inotify_fd): Declare.
47775 (register_traced_file): Declare.
47776 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47777 (inotify_fd): Export.
47778 (resolv_conf_descr): Remove.
47779 (nscd_init): Move inotify descriptor creation to main.
47780 Don't register files for notification here.
47781 (register_traced_file): New function.
47782 (invalidate_cache): Don't use reset_res to determine whether to call
47783 res_init, go through the list of registered files.
47784 (main_loop_poll): The inotify descriptors are now stored in the
47785 structures for the traced files.
47786 (main_loop_epoll): Likewise
47787 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47788 to __nss_disable_nscd.
47789 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47790 for a database anymore. Check the records for all the registered
47791 files instead.
47792 * nss/Makefile (libnss_files-routines): Add files-init.
47793 (libnss_db-routines): Add db-init.
47794 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47795 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47796 * nss/nss_db/db-init.c: New file.
47797 * nss/nss_files/files-init.c: New file.
47798 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47799 __nss_lookup_function.
47800 (__nss_lookup_function): Call nss_load_library.
47801 (nss_load_all_libraries): New function.
47802 (__nss_disable_nscd): Take parameter with callback function for files
47803 to register. Set is_nscd. Load all the DSOs for the NSS modules
47804 used for the cached services.
47805 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47806 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47807 options for features to all the files in nscd.
47808
47809 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47810
23bee3e8
RM
478112011-07-10 Roland McGrath <roland@hack.frob.com>
47812
47813 * csu/elf-init.c (__libc_csu_init): Comment typo.
47814
46a5b7f0
UD
478152011-07-09 Ulrich Drepper <drepper@gmail.com>
47816
47817 * po/pl.po: Update from translation team.
47818 * po/ja.po: Likewise.
47819 * po/ru.po: Likewise.
47820 * po/ko.po: Likewise.
47821 * po/fr.po: Likewise.
47822
d30cf5bb
RM
478232011-07-09 Roland McGrath <roland@hack.frob.com>
47824
113ddea4
RM
47825 * configure.in (.ctors/.dtors header and trailer check):
47826 Use an empirical test on a built program.
47827 * configure: Regenerated.
47828
574920b4
RM
47829 * configure.in (-z relro check): Use an empirical test on a built DSO.
47830 Detect, but do not require, on ia64.
47831 * configure: Regenerated.
47832
d30cf5bb
RM
47833 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47834 Update tests that use readelf to use $READELF instead.
47835 * configure: Regenerated.
47836
8538fdb3
UD
478372011-07-08 Ulrich Drepper <drepper@gmail.com>
47838
47839 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47840 if the result is not used.
47841
04d08991
AJ
478422011-07-05 Andreas Jaeger <aj@suse.de>
47843
47844 [BZ#9696]
47845 * stdlib/tst-strtod.c: Add testcase.
47846
de283087
AD
478472011-07-07 Ulrich Drepper <drepper@gmail.com>
47848
4e5f31c8 47849 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47850 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47851 The latter has a higher limit. Take additional parameter to pass to
47852 the new function.
47853 (__pathconf): Pass file to __statfs_link_max.
47854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47855 __statfs_link_max.
47856 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47857 __statfs_link_max.
47858
de283087
AD
47859 [BZ #12868]
47860 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47862 Handle Lustre.
47863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47864 (__statfs_filesize_max): Likewise.
47865 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47866
c75fa153
AJ
478672011-07-05 Andreas Jaeger <aj@suse.de>
47868
47869 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47870
1a544854
UD
478712011-07-06 Marek Polacek <mpolacek@redhat.com>
47872
47873 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47874 `status' variable.
47875 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47876 Likewise.
47877
6f0eec67
UD
478782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47879
47880 * Makefile (strop-tests): Add strncat.
47881 * string/test-strncat.c: New file.
47882
aae30307
UD
478832011-06-30 Marek Polacek <mpolacek@redhat.com>
47884
47885 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47886
c0cfb5eb
UD
478872011-06-21 Andreas Jaeger <aj@suse.de>
47888
47889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47890 Copy rule from iconvdata/Makefile.
47891
01636b21
UD
478922011-07-06 Ulrich Drepper <drepper@gmail.com>
47893
47894 [BZ #12922]
47895 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47896 but no long options are defined, just return 'W'.
47897
9895c8bc
UD
478982011-06-22 Marek Polacek <mpolacek@redhat.com>
47899
47900 [BZ #9696]
47901 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47902
5d4cf042
UD
479032011-07-06 Ulrich Drepper <drepper@gmail.com>
47904
47905 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47906 netgroups to read.
960e5535 47907 (innetgr): Likewise.
5d4cf042 47908
751eb97e
RM
479092011-07-05 Roland McGrath <roland@hack.frob.com>
47910
47911 * config.make.in (install_root): Default to $(DESTDIR).
47912
f15f1e45
UD
479132011-07-05 Ulrich Drepper <drepper@gmail.com>
47914
47915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47916
4e34ac6a
RM
479172011-07-02 Roland McGrath <roland@hack.frob.com>
47918
5e9b6af4
RM
47919 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47920
84f9ea0f
RM
47921 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47922 containing directory rather than embedding absolute directory names.
47923
ea5ee9f7
RM
47924 * scripts/check-local-headers.sh: Rewritten using awk.
47925 Match by word, not by line. Print error messages for matches.
47926 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47927
1b74661a
RM
47928 * Makerules [shlib-lds-flags empty]:
47929 ($(common-objpfx)libc_pic.opts): New target.
47930 ($(common-objpfx)libc_pic.os.clean): New target.
47931 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47932
47933 * config.make.in (OBJCOPY): New variable.
47934 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47935 * configure: Regenerated.
47936
f781ef40
RM
47937 * config.make.in (use-default-link): New variable.
47938 * configure.in (use_default_link): Grok --with-default-link to set it.
47939 * configure: Regenerated.
47940 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47941 (shlib-lds, shlib-lds-flags): Define to empty.
47942
2d4fa81e
RM
47943 * Makerules (shlib-lds): New variable.
47944 (shlib-lds-flags): New variable.
47945 (build-shlib, build-moduile, build-module-asneeded): Use it.
47946 ($(common-objpfx)libc.so): Use $(shlib-lds).
47947 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47948 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47949
31fffa6b
RM
47950 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47951 DT_FLAGS/DT_FLAGS_1 with zero flags.
47952
4e34ac6a
RM
47953 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47954 linker script munging.
47955
fcfc776b
UD
479562011-07-02 Ulrich Drepper <drepper@gmail.com>
47957
47958 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47959 as 128-bit value.
47960 * crypt/sha512.c (sha512_process_block): Perform total addition using
47961 128-bit if possible.
47962 (__sha512_finish_ctx): Likewise.
47963 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47964 as 64-bit value.
47965 * crypt/sha256.c (SWAP64): Define.
47966 (sha256_process_block): Perform total addition using 64-bit if
47967 possible.
47968 (__sha256_finish_ctx): Likewise.
47969
99231d9a
UD
479702011-07-01 Ulrich Drepper <drepper@gmail.com>
47971
47972 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47974 * nscd/hstcache.c (cache_addhst): Likewise.
47975 * nscd/grpcache.c (cache_addgr): Likewise.
47976 * nscd/aicache.c (addhstaiX): Likewise
47977 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47978
445b4a53
TK
479792011-07-01 Thorsten Kukuk <kukuk@suse.de>
47980
47981 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47983 * nscd/hstcache.c (cache_addhst): Likewise.
47984 * nscd/grpcache.c (cache_addgr): Likewise.
47985 * nscd/aicache.c (addhstaiX): Likewise
47986
6d4d8e8e
AS
479872011-07-01 Andreas Schwab <schwab@redhat.com>
47988
47989 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47990 domain only when needed.
47991
89f654c5
AS
479922011-06-30 Andreas Schwab <schwab@redhat.com>
47993
47994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47995 is always restored.
47996
cf3b23ff
UD
479972011-06-29 Ulrich Drepper <drepper@gmail.com>
47998
47999 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48000 are re-adding the entry.
48001 * nscd/servicescache.c (cache_addserv): Likewise.
48002
751626f9
AJ
480032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48004
48005 * sysdeps/generic/dl-irel.h: fix protection against multiple
48006 inclusions.
48007 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48008
9113ea1f
UD
480092011-06-28 Ulrich Drepper <drepper@gmail.com>
48010
5c0b8d90
UD
48011 [BZ #12935]
48012 * malloc/memusage.sh: Fix quoting in message.
48013 * debug/xtrace.sh: Likewise.
48014
9113ea1f
UD
48015 * configure.in: Remove support for --experimental-malloc option, make
48016 it the default.
48017 * config.make.in: Likewise.
48018 * malloc/Makefile: Likewise.
48019
a4172181
AS
480202011-06-27 Andreas Schwab <schwab@redhat.com>
48021
48022 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48023 two-byte characters.
48024
78a7eee7
RM
480252011-06-27 Roland McGrath <roland@hack.frob.com>
48026
62bede13
RM
48027 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48028 AC_CACHE_CHECK invocation.
48029 * configure: Regenerated.
48030
78a7eee7
RM
48031 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48032
5ce33a62
UD
480332011-06-27 Ulrich Drepper <drepper@gmail.com>
48034
034807a9
UD
48035 [BZ #12350]
48036 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48037 bit from old_res_options.
48038
4902da17
UD
48039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48040
5ce33a62
UD
48041 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48042 value type for setfct.
48043
c2344f56
L
480442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48045
48046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48047 __gettimeofday instead of gettimeofday.
48048
68468076
UD
480492011-06-26 Ulrich Drepper <drepper@gmail.com>
48050
48051 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48052
acb0d739
L
480532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48054
48055 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48056
48057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48058 info.
48059
8912479f
L
480602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48061
48062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48063 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48064 strcpy-sse2-unaligned strncpy-sse2-unaligned
48065 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48066 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48067 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48068 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48069 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48072 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48073 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48074 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48075 (STRCPY): Support SSE2 and SSSE3 versions.
48076
d5495a11
UD
480772011-06-24 Ulrich Drepper <drepper@gmail.com>
48078
48079 [BZ #12874]
48080 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48081 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48082 kernels which artificially limit size of requests.
48083
0b1cbaae
L
480842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48085
48086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48087 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48088 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48089 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48090 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48091 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48092 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48093 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48094 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48096 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48097 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48098 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48099 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48100 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48102 Enable unaligned load optimization for Intel Core i3, i5 and i7
48103 processors.
48104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48105 Define.
48106 (index_Fast_Unaligned_Load): Define.
48107 (HAS_FAST_UNALIGNED_LOAD): Define.
48108
07f494a0
MP
481092011-06-23 Marek Polacek <mpolacek@redhat.com>
48110
48111 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48112
fa3fc0fe
UD
481132011-06-22 Ulrich Drepper <drepper@gmail.com>
48114
48115 [BZ #12907]
48116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48117 until it is clear that the information is realy needed.
48118 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48119
e12df166
AS
481202011-06-22 Andreas Schwab <schwab@redhat.com>
48121
48122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48123
852eb34d
UD
481242011-06-22 Ulrich Drepper <drepper@gmail.com>
48125
84e2a551
UD
48126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48127 /sys/devices/system/cpu/online if it is usable.
48128
852eb34d
UD
48129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48130 reading the information from the /proc filesystem to once a second.
48131
6e502e19
UD
481322011-06-21 Andreas Jaeger <aj@suse.de>
48133
48134 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48135 NULL after inclusion of kernel headers.
48136
75d39ff2
UD
481372011-06-21 Ulrich Drepper <drepper@gmail.com>
48138
51f9aa6a
UD
48139 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48140 calls to internal_setent.
48141
c0244a9d
UD
48142 [BZ #12885]
48143 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48144 addresses using gethostbyname4_r ignore IPv4 addresses.
48145
c5e3c2ae
UD
48146 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48147 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48148
75d39ff2
UD
48149 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48150
42675c6f
DM
481512011-06-20 David S. Miller <davem@davemloft.net>
48152
48153 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48154 inclusions.
48155 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48156
48157 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48158 (elf_irel): Use it.
48159 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48160 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48161 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48162 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48163 * sysdeps/x86_64/dl-irel.h: Likewise.
48164
48165 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48166 * elf/dl-sym.c: Likewise.
48167
57912a71
UD
481682011-06-15 Ulrich Drepper <drepper@gmail.com>
48169
48170 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48171 need to dereference resplen2.
48172
ee22793d
AS
481732011-06-14 Andreas Schwab <schwab@redhat.com>
48174
48175 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48176
a9e836b0
UD
481772011-06-15 Ulrich Drepper <drepper@gmail.com>
48178
77fb9117
UD
48179 * Makeconfig: Define vardbdir and inst_vardbdir.
48180 * nss/Makefile: Add rules to install db-Makefile.
48181
40c1b22c
UD
48182 * nss/nss_db/db-XXX.c: Cleanup.
48183
9f2da732
UD
48184 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48185 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48186 GLIBC_PRIVATE.
48187 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48188 * nss/makedb.c: Implement -g option to specify that value strings
48189 are generated and should not be added to table iterated over for
48190 get*ent calls.
48191 * nss/nss_db/db-initgroups.c: New file.
48192
82e9a1f7
UD
48193 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48194 interface.
48195
c41af17e
UD
48196 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48197 (internal_getgrouplist): Adjust to name change.
48198 Update use_initgroups_entry if this is not the first call.
48199 * nss/databases.def: Add initgroups entry.
48200
a9e836b0
UD
48201 * nss/makedb.c (compute_tables): Check result of multiple hash table
48202 sizes to minimize maximum chain length.
48203
2666d441
UD
482042011-06-14 Ulrich Drepper <drepper@gmail.com>
48205
48206 * Versions.def: Add entry for libnss_db.
48207 * shlib-versions: Likewise.
48208 * nss/Makefile: Add rules to build libnss_db.
48209 * nss/Versions: Add libnss_db information. Organize libnss_files
48210 entries better.
48211 * nss/db-Makefile: Add gshadow support. Change rules for the new
48212 makedb progra. Some minor improvements to generate smaller files.
48213 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48214 here from...
48215 * nss/makedb.c: ...here.
48216 Improve database format to be smaller and require less memory at
48217 runtime.
48218 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48219 db anymore.
48220 * nss/nss_db/db-netgrp.c: Likewise.
48221 * nss/nss_db/db-open.c: Likewise.
48222 * nss/nss_files/flies-XXX.x: Adjust comments.
48223 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48224 * nss/nss_files/files-grp.c: Likewise.
48225 * nss/nss_files/files-hosts.c: Likewise.
48226 * nss/nss_files/files-network.c: Likewise.
48227 * nss/nss_files/files-proto.c: Likewise.
48228 * nss/nss_files/files-pwd.c: Likewise.
48229 * nss/nss_files/files-rpc.c: Likewise.
48230 * nss/nss_files/files-service.c: Likewise.
48231 * nss/nss_files/files-sgrp.c: Likewise.
48232 * nss/nss_files/files-spwd.c: Likewise.
48233 * nss/nss_db/db-alias.c: Removed.
48234 * nss/nss_db/dummy-db.h: Removed.
48235
9ee76b5a
UD
482362011-06-02 Ulrich Drepper <drepper@gmail.com>
48237
48238 * nss/makedb.c: Rewritten to not use database library.
48239 * nss/Makefile: Update to build new makedb program.
48240
c71ca1f8
AJ
482412011-06-14 Andreas Jaeger <aj@suse.de>
48242
48243 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48244 memset declaration.
48245
3154bfb8
UD
482462011-06-10 Andreas Schwab <schwab@redhat.com>
48247
48248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48249 tmpbuf.
48250
b350afab
RM
482512011-06-10 Roland McGrath <roland@hack.frob.com>
48252
decd4e50
RM
48253 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48254 * elf/Makefile ($(objpfx)ld.so): Likewise.
48255
5615eaf2
RM
48256 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48257 Don't list ld.so twice in dependencies.
48258
48259 * posix/bug-regex31.c: Include <stdlib.h>.
48260
48261 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48262
48263 * nis/nss_compat/compat-spwd.c
48264 (getspent_next_nss_netgr): Remove unused variable.
48265 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48266
48267 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48268 nonmembers" output to use the right array.
48269
48270 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48271
48272 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48273
48274 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48275 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48276 * catgets/gencat.c (read_input_file): Likewise.
48277 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48278
48279 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48280 variable definition inside #if's controlling its use.
48281
48282 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48283
48284 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48285
48286 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48287
48288 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48289 unreachable code.
48290
48291 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48292
b68e08db
RM
48293 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48294 * configure: Regenerated.
48295
b350afab
RM
48296 * Makerules: Revert last change.
48297 * elf/Makefile: Likewise.
48298
28368601
RM
482992011-06-09 Roland McGrath <roland@hack.frob.com>
48300
48301 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48302 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48303 (reloc-link): Likewise.
48304
11988f8f
UD
483052011-06-09 Ulrich Drepper <drepper@gmail.com>
48306
48307 * elf/Makefile: Add rules to build pldd.
48308 * elf/pldd.c: New file.
48309 * elf/pldd-xx.c: New file.
48310
e80fab37
UD
483112011-06-07 Ulrich Drepper <drepper@gmail.com>
48312
48313 * version.h: Update for 2.15 development version.
48314
9b849836
DM
483152011-06-07 David S. Miller <davem@davemloft.net>
48316
48317 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48318 ifuncs.
48319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48320 elf_machine_lazy_rel): Likewise.
48321 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48323 elf_machine_lazy_rel): Likewise.
48324 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48325 dl_hwcap via passed in argument.
48326 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48327 Likewise.
48328
5a31b283
AK
483292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48330
48331 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48332
069e52f8
RM
483332011-06-06 Roland McGrath <roland@hack.frob.com>
48334
48335 [BZ #12849]
48336 * manual/fdl-1.1.texi: New file, verbatim from:
48337 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48338 * manual/lgpl-2.1.texi: New file, verbatim from:
48339 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48340 * manual/Makefile (licenses): New variable, list those new file names.
48341 (texis): Use it.
48342 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48343
48344 * manual/fdl.texi: File removed.
48345 * manual/lesser.texi: File removed.
48346 * manual/libc.texinfo (Copying, Documentation License):
48347 Use new @include file names, put @appendix directive before @include.
48348
f16846a5
JJ
483492011-06-04 Jakub Jelinek <jakub@redhat.com>
48350
48351 [BZ #12841]
48352 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48353 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48354 (mq_open): Add __NTH.
48355
3d29045b
L
483562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48357
48358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48359 Assume Intel Core i3/i5/i7 processor if AVX is available.
48360
8c297311
UD
483612011-05-31 Ulrich Drepper <drepper@gmail.com>
48362
48363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48364 typo.
48365
c8fc0c91
UD
483662011-05-31 Andreas Schwab <schwab@redhat.com>
48367
48368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48369 memory. Use alloca_account. Fix memory leak when retrying.
48370
5b27a807
UD
483712011-05-31 Ulrich Drepper <drepper@gmail.com>
48372
356f8bc6
UD
48373 * version.h (RELEASE): Bump for 2.14 release.
48374 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48375
5b27a807
UD
48376 * config.make.in (RANLIB): Remove entry.
48377
01f16ab0
UD
483782011-05-30 Ulrich Drepper <drepper@gmail.com>
48379
41fce8bd
UD
48380 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48381 (libc.pot): Work around missing support for .ksh extension in xgettext.
48382
4769ae77
UD
48383 [BZ #12684]
48384 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48385 if both request failed.
48386 (send_dg): In case of server errors clear resplen or *resplen2.
48387
6b1e7d19
UD
48388 [BZ #12454]
48389 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48390 when there are multiple maps.
48391 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48392 (_dl_fini): Remove test here.
48393
01f16ab0
UD
48394 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48395
b1ebd700
UD
483962011-05-29 Ulrich Drepper <drepper@gmail.com>
48397
7ae22829
UD
48398 [BZ #12350]
48399 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48400 bit from old_res_options.
48401 (gaih_inet): Likewise.
48402
553149f6 48403 [BZ #11099]
18a84741 48404 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48405 as signed.
48406
652ffab1
UD
48407 * resolv/res_init.c (res_setoptions): Make the code more compact.
48408
16985fd0
UD
48409 [BZ #11558]
48410 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48411 set RES_USEVC.
48412
0464f746
UD
48413 [BZ #11634]
48414 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48415
7d17596c
UD
48416 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48417
cf6bbbd7
UD
48418 [BZ #11781]
48419 * malloc/malloc.h: Declare malloc hook variables as volatile.
48420
13f1ab36
UD
48421 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48422 in last patch.
48423
b1ebd700
UD
48424 [BZ #11799]
48425 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48426 raise in the comment.
80e2212d
UD
48427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48428 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48429 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48430
ce67228d
UD
484312011-05-28 Ulrich Drepper <drepper@gmail.com>
48432
8887a920
UD
48433 [BZ #12811]
48434 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48435 grow the buffers more if it already has to be sufficient.
48436 (build_wcs_upper_buffer): Likewise.
48437 * posix/regexec.c (check_matching): Likewise.
48438 (clean_state_log_if_needed): Likewise.
48439 (extend_buffers): Don't enlarge buffers beyond size of the input
48440 buffer.
48441 Patches mostly by Emil Wojak <emil@wojak.eu>.
48442 * posix/bug-regex32.c: New file.
48443 * posix/Makefile (tests): Add bug-regex32.
48444
4f031072
UD
48445 * locale/findlocale.c (_nl_find_locale): Return right away if
48446 _nl_explode_name failed.
48447 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48448
d0478f0c
UD
48449 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48450
de81b246
UD
48451 * debug/xtrace.sh: Unify messages.
48452 * malloc/memusage.sh: Likewise.
48453
c738465a
UD
48454 [BZ #12813]
48455 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48456 time symbol from vDSO. Substitute with vsyscall if not available.
48457 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48458 __vdso_time.
48459
f1f929d7
UD
48460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48461 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48462 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48463 Add sendmmsg and internal_sendmmsg.
48464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48465 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48466 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48467
ce67228d
UD
48468 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48469 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48471
e57420c6
UD
484722011-05-27 Ulrich Drepper <drepper@gmail.com>
48473
a8509ca5
UD
48474 [BZ #12813]
48475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48476 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48477 available.
48478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48479 __vdso_getcpu.
48480
e57420c6
UD
48481 [BZ #12814]
48482 * iconvdata/Makefile (tests): Add bug-iconv9.
48483 * iconvdata/bug-iconv9.c: New file.
48484
4d07db15
AS
484852011-05-27 Andreas Schwab <schwab@redhat.com>
48486
48487 [BZ #12814]
48488 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48489
ea486f69
JJ
484902011-05-25 Jakub Jelinek <jakub@redhat.com>
48491
48492 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48493 (struct user_regs_struct): Change intcs field back to cs.
48494
6f038433
UD
484952011-05-25 Ulrich Drepper <drepper@gmail.com>
48496
48497 * po/ja.po: Update from translation team.
48498
67f86a25
UD
484992011-05-23 Ulrich Drepper <drepper@gmail.com>
48500
48501 [BZ #12795]
48502 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48504
def7fbd6
AS
485052011-05-20 Andreas Schwab <schwab@redhat.com>
48506
48507 * stdlib/longlong.h: Update from GCC.
48508
f50ef8f1
AS
485092011-05-23 Andreas Schwab <schwab@redhat.com>
48510
48511 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48512 parameter name.
48513 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48514 Add parameter name.
48515 (__sysconf): Pass it down.
48516
de7ce8f1
UD
485172011-05-22 Ulrich Drepper <drepper@gmail.com>
48518
f2962a71
UD
48519 [BZ #12671]
48520 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48521 some situations.
48522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48523 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48524 add in in __libc_use_alloca calls. Adjust callers.
48525 (glob): Use malloc in some situations.
48526
de7ce8f1
UD
48527 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48528 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48529 pltexit.
48530
aec84f53
UD
485312011-05-21 Ulrich Drepper <drepper@gmail.com>
48532
05bb4a68
UD
48533 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48534 and CLOCK_BOOTTIME_ALARM.
48535
7ea72f99
UD
48536 [BZ #12782]
48537 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48538 is returned.
48539
7e4afad5
UD
48540 * string/_strerror.c (__strerror_r): Print negative errors as signed
48541 numbers.
48542
8e211fec
UD
48543 [BZ #12777]
48544 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48545 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48546 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48547
f7d82dc9
UD
48548 * configure.in: Fix typo in redirection and correct removal of test
48549 files in two cases.
48550
cc9e536d
UD
48551 [BZ #12788]
48552 * locale/setlocale.c (new_composite_name): Fix test to check for
48553 identical name of all categories.
48554
aec84f53
UD
48555 [BZ #12792]
48556 * libio/filedoalloc.c (local_isatty): New function.
48557 (_IO_file_doallocate): Use local_isatty.
48558 * stdio-common/perror.c (perror): In case a new stream is used
48559 forward the stream error.
48560 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48561 error flag.
48562
78e64fdc
RT
485632011-05-20 Ulrich Drepper <drepper@gmail.com>
48564
34a9094f
UD
48565 [BZ #11869]
48566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48567 alloca.
48568 * include/alloca.h (extend_alloca_account): Define.
48569
78e64fdc
RT
48570 [BZ #11857]
48571 * posix/regex.h: Fix comments with documentation of user-accessible
48572 fields after compilation and describe correct free'ing of pattern
48573 after re_compile_pattern.
48574 Patch by Reuben Thomas <rrt@sc3d.org>.
48575
457bddfc
RA
485762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48577
48578 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48579 and -mno-altivec to prevent the compiler from using Altivec and/or
48580 VSX instructions when the corresponding registers are not available.
48581
a4527b51
AS
485822011-05-19 Andreas Schwab <schwab@redhat.com>
48583
48584 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48585
ed690b2f
UD
485862011-05-19 Ulrich Drepper <drepper@gmail.com>
48587
48588 * libio/freopen.c (freopen): Use __dup2, not dup2.
48589 * libio/freopen64.c (freopen64): Likewise.
48590
8db73634
L
485912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48592
48593 [BZ #12775]
48594 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48595 * math/Makefile (tests): Add test-powl.
48596 (CFLAGS-test-powl.c): Define.
48597 * math/test-powl.c: New file.
48598
0a197a9d
L
485992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48600
48601 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48602
ee30c380
UD
486032011-05-17 Ulrich Drepper <drepper@gmail.com>
48604
48605 [BZ #11837]
48606 * iconvdata/gb18030.c: Update to GB18020-2005.
48607
6ce75379
UD
486082011-05-16 Ulrich Drepper <drepper@gmail.com>
48609
a4b89fd8
AR
48610 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48611 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48612 Patch by Aharon Robbins <arnold@skeeve.com>.
48613
ea389b12
UD
48614 [BZ #11892]
48615 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48616 on the stack.
48617
68a3f91f
UD
48618 [BZ #11895]
48619 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48620 through underflows.
48621
15cc7dd1
UD
48622 [BZ #12766]
48623 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48624 point to strings before performing equality test for error_one_per_line
48625 mode.
48626
f3799213
UD
48627 [BZ #11697]
48628 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48629
d79a9c94
UD
48630 [BZ #11820]
48631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48632 (struct user_fpregs_struct): Avoid __uint*_t types.
48633
56e5eb46
UD
48634 [BZ #6420]
48635 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48636 symbol info. Use it instead of calling _dl_addr locally.
48637 (lock_and_info): New function.
48638 (tr_freehook): Call lock_and_info and pass symbol info as additional
48639 parameter to tr_where.
48640 (tr_mallochook): Likewise.
48641 (tr_reallochook): Likewise.
48642 (tr_memalignhook): Likewise.
48643
6ce75379
UD
48644 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48645 used and couldn't be at all thread-safe.
48646
f8a3b5bf
UD
486472011-05-15 Ulrich Drepper <drepper@gmail.com>
48648
94b7cc37
UD
48649 * libio/freopen.c (freopen): Don't close old file descriptor
48650 before the new one is opened. Instead dup the new file descriptor
48651 to the old one after the new stream is created.
48652 * libio/freopen64.c (freopen64): Likewise.
48653 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48654 * libio/fileops.c (_IO_new_file_close_it): Handle new
48655 _IO_FLAGS2_NOCLOSE flag.
48656 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48657 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48658 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48659 _IO_FLAGS2_NOCLOSE flag.
48660 * include/unistd.h: Add hidden_proto for dup3.
48661 Define __have_dup3.
48662 * io/dup3.c: Define hidden symbol.
48663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48664
bd25564e
UD
48665 [BZ #7101]
48666 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48667 when an incomplete long option is used.
48668 * posix/tst-getopt_long1.c: New file.
48669 * posix/Makefile (tests): Add tst-getopt_long1.
48670
c84cfef4
UD
48671 [BZ #10138]
48672 * scripts/config.guess: Update from autoconf-2.68.
48673 * scripts/config.sub: Likewise.
48674
3b85df27
UD
48675 [BZ #10157]
48676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48677 tests into ...
48678 (has_cpuclock): ...this. New function.
48679 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48680 macro here based on has_cpuclock code.
48681
15a856b1
UD
48682 [BZ #10149]
48683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48684 First byte (not low byte) is now always NUL.
48685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48686
05f399e6
UD
48687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48688 Use non-cancelable interfaces.
48689
10a52685 48690 [BZ #9809]
94ecc67d
UD
48691 * locale/iso-639.def: Add entry for Sorani.
48692
f8a3b5bf
UD
48693 [BZ #11901]
48694 * include/stdlib.h: Move include protection to the right place.
48695 Define abort_msg_s. Declare __abort_msg with it.
48696 * stdlib/abort.c (__abort_msg): Adjust type.
48697 * assert/assert.c (__assert_fail_base): New function. Majority
48698 of code from __assert_fail. Allocate memory for __abort_msg with
48699 mmap.
48700 (__assert_fail): Now call __assert_fail_base.
48701 * assert/assert-perr.c: Remove bulk of implementation. Use
48702 __assert_fail_base.
48703 * include/assert.hL Declare __assert_fail_base.
48704 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48705 mmap.
48706 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48707
1af4e298
UD
487082011-05-14 Ulrich Drepper <drepper@gmail.com>
48709
f8a3b5bf 48710 [BZ #11952]
d26dfc60
MG
48711 [BZ #12453]
48712 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48713 until all modules are registered in the DTV.
48714 * elf/Makefile: Add rules to build and run tst-tls19.
48715 * elf/tst-tls19.c: New file.
48716 * elf/tst-tls19mod1.c: New file.
48717 * elf/tst-tls19mod2.c: New file.
48718 * elf/tst-tls19mod3.c: New file.
48719 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48720
2fc54d6f
UD
48721 [BZ #12083]
48722 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48723 correctly.
48724
98d76b46
UD
48725 [BZ #12601]
48726 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48727 two-byte sequence errors.
48728 * iconvdata/Makefile (tests): Add bug-iconv8.
48729 * iconvdata/bug-iconv8.c: New file.
48730
da3c19ef
UD
48731 [BZ #12626]
48732 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48733 buf2 definition.
48734
ca408c15
UD
48735 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48736
d6f67f7d
UD
48737 [BZ #12432]
48738 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48739 (dummy_getcfa): New function.
48740 (init): Get _Unwind_GetCFA address, use dummy if not found.
48741 (backtrace_helper): In recursion check, also check whether CFA changes.
48742 (__backtrace): Completely initialize arg.
48743
1af4e298 48744 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48745 storing incomplete byte sequence in state object. Avoid testing for
48746 guaranteed too small input if we know there is enough data available.
1af4e298 48747
da62f81b
AS
487482011-05-11 Andreas Schwab <schwab@redhat.com>
48749
48750 * Makeconfig (+link-pie): Indent.
48751 * Rules (binaries-pie): Define if $(have-fpie) and
48752 $(build-shared).
48753 (binaries-shared): Also filter out $(binaries-pie).
48754 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48755 * nscd/Makefile (others-pie): Add nscd.
48756 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48757 ($(objpfx)nscd): Remove command override.
48758 * login/Makefile (others-pie): Add pt_chown.
48759 ($(objpfx)pt_chown): Remove command override.
48760 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48761 remove command overrides.
48762
fcabc0f8
UD
487632011-05-13 Ulrich Drepper <drepper@gmail.com>
48764
20030ae6
UD
48765 * libio/tst_putwc.c: Fix error messages.
48766
fcabc0f8
UD
48767 [BZ #12724]
48768 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48769 currently writing and seek to current position when not.
48770 * libio/Makefile (tests): Add bug-fclose1.
48771 * libio/bug-fclose1.c: New file.
48772
320a5dc0
PB
487732011-05-12 Ulrich Drepper <drepper@gmail.com>
48774
48775 [BZ #12511]
48776 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48777 don't set DF_1_NODELETE here.
48778 (do_lookup_x): When entering new entry test for copy relocation
48779 and if necessary set DF_1_NODELETE flag.
48780 * elf/tst-unique4.cc: New file.
48781 * elf/tst-unique4.h: New file.
48782 * elf/tst-unique4lib.cc: New file.
48783 * elf/Makefile: Add rules to build and run tst-unique4.
48784 Patch by Piotr Bury <pbury@goahead.com>.
48785
22836f52
UD
487862011-05-11 Ulrich Drepper <drepper@gmail.com>
48787
f574184a
UD
48788 [BZ #12052]
48789 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48790
e1fb097f
UD
48791 [BZ #12625]
48792 * misc/mntent_r.c (addmntent): Flush the stream after the output
48793
22836f52
UD
48794 [BZ #12393]
48795 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48796 (is_trusted_path_normalize): Skip initial colon. Append slash
48797 to empty buffer. Duplicate is_trusted_path code but allow
48798 constructed patch to be prefix.
48799 (is_dst): Allow $ORIGIN followed by /.
48800 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48801 Correct testing of result of is_trusted_path_normalize
48802 (decompose_rpath): Fix warning.
48803
7b3b0b2a
UD
488042011-05-10 Ulrich Drepper <drepper@gmail.com>
48805
48806 [BZ #11257]
48807 * grp/initgroups.c (internal_getgrouplist): When we found the service
48808 list through the initgroups entry in nsswitch.conf do not always
48809 continue on a successful lookup. Don't always use the
eac80ce2 48810 __nss_group_database value if it is set.
7b3b0b2a
UD
48811 * nss/nsswitch.conf (initgroups): Change action for successful db
48812 lookup to continue for compatibility.
48813
2a81eaa5
UD
488142011-05-09 Ulrich Drepper <drepper@gmail.com>
48815
be97a69e
UD
48816 [BZ #11532]
48817 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48818 and CP774 modules.
48819 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48820 and CP774 modules.
48821 * iconvdata/tst-tables.sh: Likewise.
48822 * iconvdata/cp770.c: New file.
48823 * iconvdata/cp771.c: New file.
48824 * iconvdata/cp772.c: New file.
48825 * iconvdata/cp773.c: New file.
48826 * iconvdata/cp774.c: New file.
48827 * iconvdata/testdata/CP770: New file.
48828 * iconvdata/testdata/CP770..UTF8: New file.
48829 * iconvdata/testdata/CP771: New file.
48830 * iconvdata/testdata/CP771..UTF8: New file.
48831 * iconvdata/testdata/CP772: New file.
48832 * iconvdata/testdata/CP772..UTF8: New file.
48833 * iconvdata/testdata/CP773: New file.
48834 * iconvdata/testdata/CP773..UTF8: New file.
48835 * iconvdata/testdata/CP774: New file.
48836 * iconvdata/testdata/CP774..UTF8: New file.
48837
48838 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48839 END CHARMAP line.
48840 * iconvdata/gen-8bit-gap.sh: Likewise.
48841 * iconvdata/gen-8bit.sh: Likewise.
48842
c1e9e399
UD
48843 * locale/iso-639.def: Add ary entry.
48844
24c55fb3 48845 [BZ #11258]
96b4b1b0
UD
48846 * locale/C-translit.h.in: Add U20A1 transliteration.
48847
bdc2f971
KB
48848 [BZ #12178]
48849 * locale/iso-639.def: Add wae entry.
48850 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48851
2952b117
UD
48852 [BZ #12545]
48853 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48854 for n.
48855
2a81eaa5
UD
48856 [BZ #12711]
48857 * locale/C-translit.h.in: Add entry for U20B9.
48858 Patch by pravin.d.s@gmail.com.
48859
28377d1b
UD
488602011-05-08 Ulrich Drepper <drepper@gmail.com>
48861
7fb90fb8
UD
48862 [BZ #12713]
48863 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48864 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48865 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48866 in rtld. Use *stat64.
7fb90fb8 48867 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48868 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48869 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48870 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48871 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48872 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48873 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48874 __fstatat64 macros.
7fb90fb8
UD
48875 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48876 * dirent/rewinddir.c: Add libc_hidden_def.
48877 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48878 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48879
28377d1b
UD
48880 * include/dirent.h (__alloc_dir): Add flags parameter.
48881 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48882 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48883 __alloc_dir.
48884 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48885 from fdopendir if O_CLOEXEC is already set.
48886
66bdbaa4
AM
488872011-03-15 Alan Modra <amodra@gmail.com>
48888
48889 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48890 l_tls_firstbyte_offset non-zero. Save padding offset in
48891 l_tls_firstbyte_offset for later use.
48892 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48893 freeing static tls block.
48894
95721191
JN
488952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48896
48897 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48898 where #ifdef was intended. The intent is to prevent ARG_MAX from
48899 being defined by the kernel headers.
48900
f87dfb1f
UD
489012011-05-07 Ulrich Drepper <drepper@gmail.com>
48902
48903 [BZ #12734]
48904 * resolv/resolv.h: Define RES_NOTLDQUERY.
48905 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48906 no-tld-query and set RES_NOTLDQUERY.
48907 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48908 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48909 modern BIND to search name as TLD unless forbidden.
48910
47c3cd7a
UD
489112011-05-07 Petr Baudis <pasky@suse.cz>
48912 Ulrich Drepper <drepper@gmail.com>
48913
48914 [BZ #12393]
48915 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48916 (is_trusted_path): ...to here.
c1e9ea35 48917 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48918 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48919 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48920
8a35c912
PP
489212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48922
48923 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48924 __BEGIN/__END_DECLS.
48925
acd41f47
UD
489262011-05-06 Ulrich Drepper <drepper@gmail.com>
48927
48928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48929 NSS_STATUS_NOTFOUND if no record was found.
48930
597df647
AS
489312011-05-05 Andreas Schwab <schwab@redhat.com>
48932
48933 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48934 (headers-not-in-tirpc): Remove rpc/netdb.h
48935 * resolv/netdb.h: Revert last change.
48936
b9af1301
PP
489372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48938
48939 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48940 circular dependency between libgcc.a and libc.a.
48941
4e34d5f5
AS
489422011-05-05 Andreas Schwab <schwab@redhat.com>
48943
48944 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48945 * nis/Makefile: Don't install rpcsvc/*.
48946 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48947 instead of <rpc/types.h>.
48948 (MAXHOSTNAMELEN): Define.
48949
00ee369c
AS
489502011-05-03 Andreas Schwab <schwab@redhat.com>
48951
48952 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48953
0b592a30
MB
489542011-04-28 Maciej Babinski <mbabinski@google.com>
48955
48956 [BZ #12714]
48957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48958 gethostbyname4_r when IPv6 results are possible.
48959
6e04cbbe
UD
489602011-05-02 Ulrich Drepper <drepper@gmail.com>
48961
48962 [BZ #12723]
48963 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48964 _PC_PIPE_BUF handling.
48965
e4ecafe0
BH
489662011-04-30 Bruno Haible <bruno@clisp.org>
48967
48968 [BZ #12717]
48969 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48970 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48971 to 'int'.
48972 * inet/getnameinfo.c (getnameinfo): Likewise.
48973
125ee683
UD
489742011-04-29 Ulrich Drepper <drepper@gmail.com>
48975
48976 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48977 to groups setting in database lookup.
48978 * nss/nsswitch.conf: Add initgroups entry.
48979
b722481a
EB
489802011-04-22 Ulrich Drepper <drepper@gmail.com>
48981
48982 [BZ #12685]
48983 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48984 mode string.
48985 Patch by Eric Blake <eblake@redhat.com>.
48986
4df46dbd
L
489872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48988
48989 * sunrpc/Makefile (need-export-routines): Add svc_run.
48990 (routines): Remove svc_run.
48991 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48992 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48993 * sunrpc/svc_run.c (svc_run): Likewise.
48994 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48995
e84142d2
UD
489962011-04-21 Ulrich Drepper <drepper@gmail.com>
48997
48998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48999 problem in reallocation in last patch.
49000
877175d8
UD
490012011-04-20 Ulrich Drepper <drepper@gmail.com>
49002
49003 * sunrpc/Makefile: Move inclusion of Rules.
49004
ab8eed78
UD
490052011-04-19 Ulrich Drepper <drepper@gmail.com>
49006
49007 * nss/nss_files/files-initgroups.c: New file.
49008 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49009 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49010 _nss_files_initgroups_dyn.
49011
e3d8f584
RS
490122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49013
49014 * elf/elf.h (R_ARM_IRELATIVE): Define.
49015
af190f45
UD
490162011-04-19 Ulrich Drepper <drepper@gmail.com>
49017
49018 * po/ru.po: Update from translation team.
49019
53cf59ef
UD
490202011-04-17 Ulrich Drepper <drepper@gmail.com>
49021
49022 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49023 dependencies.
49024
4c559bcd
MF
490252011-02-06 Mike Frysinger <vapier@gentoo.org>
49026
49027 [BZ #12653]
49028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49029 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49033
4420675c
AS
490342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49035
49036 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49037 differing bytes.
49038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49041
75ea32ab
UD
490422011-04-17 Ulrich Drepper <drepper@gmail.com>
49043
49044 [BZ #12420]
49045 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49046 storing it.
49047 * stdlib/bug-getcontext.c: New file.
49048 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49049
27390476
AK
490502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49051
49052 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49053 instructions into .machine "z9-109".
49054 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49055 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49056
10442705
AK
490572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49058
49059 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49060 between environment variables and auxiliary vector.
49061
7b57bfe5
UD
490622011-04-16 Ulrich Drepper <drepper@gmail.com>
49063
49064 * Makefile: Add rules to build linkobj/libc.so.
49065 * include/libc-symbols.h: Define libc_hidden_nolink.
49066 * include/rpc/auth.h: Mark functions which are to be hidden.
49067 * include/rpc/auth_des.h: Likewise.
49068 * include/rpc/auth_unix.h: Likewise.
49069 * include/rpc/clnt.h: Likewise.
49070 * include/rpc/des_crypt.h: Likewise.
49071 * include/rpc/key_prot.h: Likewise.
49072 * include/rpc/pmap_clnt.h: Likewise.
49073 * include/rpc/pmap_prot.h: Likewise.
49074 * include/rpc/pmap_rmt.h: Likewise.
49075 * include/rpc/rpc_msg.h: Likewise.
49076 * include/rpc/svc.h: Likewise.
49077 * include/rpc/svc_auth.h: Likewise.
49078 * include/rpc/xdr.h: Likewise.
49079 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49080 * nss/Makefile: Likewise.
49081 * sunrpc/Makefile: Don't install headers. Build library with normal
49082 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49083 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49084 for the compat linking library. Remove use of INTDEF/INTUSE.
49085 * sunrpc/auth_none.c: Likewise.
49086 * sunrpc/auth_unix.c: Likewise.
49087 * sunrpc/authdes_prot.c: Likewise.
49088 * sunrpc/authuxprot.c: Likewise.
49089 * sunrpc/clnt_gen.c: Likewise.
49090 * sunrpc/clnt_perr.c: Likewise.
49091 * sunrpc/clnt_raw.c: Likewise.
49092 * sunrpc/clnt_simp.c: Likewise.
49093 * sunrpc/clnt_tcp.c: Likewise.
49094 * sunrpc/clnt_udp.c: Likewise.
49095 * sunrpc/clnt_unix.c: Likewise.
49096 * sunrpc/des_crypt.c: Likewise.
49097 * sunrpc/des_soft.c: Likewise.
49098 * sunrpc/get_myaddr.c: Likewise.
49099 * sunrpc/key_call.c: Likewise.
49100 * sunrpc/key_prot.c: Likewise.
49101 * sunrpc/netname.c: Likewise.
49102 * sunrpc/pm_getmaps.c: Likewise.
49103 * sunrpc/pm_getport.c: Likewise.
49104 * sunrpc/pmap_clnt.c: Likewise.
49105 * sunrpc/pmap_prot.c: Likewise.
49106 * sunrpc/pmap_prot2.c: Likewise.
49107 * sunrpc/pmap_rmt.c: Likewise.
49108 * sunrpc/publickey.c: Likewise.
49109 * sunrpc/rpc_cmsg.c: Likewise.
49110 * sunrpc/rpc_common.c: Likewise.
49111 * sunrpc/rpc_dtable.c: Likewise.
49112 * sunrpc/rpc_prot.c: Likewise.
49113 * sunrpc/rpc_thread.c: Likewise.
49114 * sunrpc/rtime.c: Likewise.
49115 * sunrpc/svc.c: Likewise.
49116 * sunrpc/svc_auth.c: Likewise.
49117 * sunrpc/svc_authux.c: Likewise.
49118 * sunrpc/svc_raw.c: Likewise.
49119 * sunrpc/svc_run.c: Likewise.
49120 * sunrpc/svc_simple.c: Likewise.
49121 * sunrpc/svc_tcp.c: Likewise.
49122 * sunrpc/svc_udp.c: Likewise.
49123 * sunrpc/svc_unix.c: Likewise.
49124 * sunrpc/svcauth_des.c: Likewise.
49125 * sunrpc/xcrypt.c: Likewise.
49126 * sunrpc/xdr.c: Likewise.
49127 * sunrpc/xdr_array.c: Likewise.
49128 * sunrpc/xdr_float.c: Likewise.
49129 * sunrpc/xdr_intXX_t.c: Likewise.
49130 * sunrpc/xdr_mem.c: Likewise.
49131 * sunrpc/xdr_rec.c: Likewise.
49132 * sunrpc/xdr_ref.c: Likewise.
49133 * sunrpc/xdr_sizeof.c: Likewise.
49134 * sunrpc/xdr_stdio.c: Likewise.
49135
e6c61494
UD
491362011-04-10 Ulrich Drepper <drepper@gmail.com>
49137
49138 [BZ #12650]
49139 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49140 * sysdeps/ia64/dl-tls.h: Likewise.
49141 * sysdeps/powerpc/dl-tls.h: Likewise.
49142 * sysdeps/s390/dl-tls.h: Likewise.
49143 * sysdeps/sh/dl-tls.h: Likewise.
49144 * sysdeps/sparc/dl-tls.h: Likewise.
49145 * sysdeps/x86_64/dl-tls.h: Likewise.
49146 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49147
34fe483e
AS
491482011-03-14 Andreas Schwab <schwab@redhat.com>
49149
49150 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49151 rpath element also skip the following colon.
49152 (expand_dynamic_string_token): Add is_path parameter and pass
49153 down to DL_DST_REQUIRED and _dl_dst_substitute.
49154 (decompose_rpath): Call expand_dynamic_string_token with
49155 non-zero is_path. Ignore empty rpaths.
49156 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49157 with zero is_path.
49158
f12a32e6
AS
491592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49160
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49162 Make cancelable.
49163
38a7d692
UD
491642011-04-09 Ulrich Drepper <drepper@gmail.com>
49165
49166 [BZ #12655]
49167 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49168 Patch by Filipe David Manana <fdmanana@apache.org>.
49169
e451d22b
AS
491702011-04-07 Andreas Schwab <schwab@redhat.com>
49171
49172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49173 Maintain aligned stack.
49174 (CHECK_RSP): Remove unused macro.
49175
dedc7c7b
UD
491762011-04-03 Ulrich Drepper <drepper@gmail.com>
49177
49178 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49180
94521213
UD
491812011-04-02 Ulrich Drepper <drepper@gmail.com>
49182
49183 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49184
8cb700c0 49185 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49186
0354e355
L
491872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49188
49189 [BZ #12518]
49190 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49191 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49192 * sysdeps/x86_64/memmove.c: New file.
49193 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49194 (memcpy): Renamed to ...
49195 (__new_memcpy): This.
49196 (memcpy): Provide GLIBC_2_14 memcpy.
49197 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49198 (memcpy): Provide GLIBC_2_2_5 memcpy.
49199
8593482f
UD
492002011-04-01 Ulrich Drepper <drepper@gmail.com>
49201
49202 [BZ #12631]
49203 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49204
81a5726b
AS
492052011-03-30 Andreas Schwab <schwab@redhat.com>
49206
49207 * misc/syncfs.c: New file.
49208 * misc/Makefile (routines): Add syncfs.
49209 * posix/unistd.h: Declare syncfs.
49210 * sysdeps/unix/syscalls.list: Add syncfs.
49211
00e5419f
AS
492122011-04-01 Andreas Schwab <schwab@redhat.com>
49213
49214 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49215 open_by_handle_at.
49216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49221 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49223
748876bf
UD
492242011-04-01 Ulrich Drepper <drepper@gmail.com>
49225
658e451d
UD
49226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49233
748876bf
UD
49234 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49235 sync_file_range.c with -fexceptions.
49236 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49237 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49238 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49239 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49240 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49241 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49243 sync_file_range as cancellation point
49244 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49245 now a wrapper around __call_sync_file_range with cancellation handling.
49246 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49247 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49248 function name to __call_sync_file_range.
49249 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49250 Add call_sync_file_range.
748876bf 49251
6e63d5e1
AS
492522011-04-01 Andreas Schwab <schwab@redhat.com>
49253
49254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49255 bits/timex.h.
6e63d5e1 49256
46998f74
UD
492572011-04-01 Ulrich Drepper <drepper@gmail.com>
49258
4c1423ed
UD
49259 * iconv/iconv.h: Fix typo in comment.
49260 * io/fcntl.h: Likewise.
49261 * libio/stdio.h: Likewise.
49262 * posix/spawn.h: Likewise.
49263 * posix/unistd.h: Likewise.
49264 * stdlib/stdlib.h: Likewise.
49265 * time/time.h: Likewise.
49266 * wcsmbs/wchar.h: Likewise.
49267
158648c0
UD
49268 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49269 open_by_handle): Add.
49270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49271 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49272 Augment a few comments.
49273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49278 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49279 open_by_handle.
49280
46998f74
UD
49281 * io/fcntl.h (AT_EMPTY_PATH): Define.
49282
83fe108b
UD
492832011-03-30 Ulrich Drepper <drepper@gmail.com>
49284
49285 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49286 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49287 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49288 to...
49289 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49290 * Versions.def: Add GLIBC_2.14.
49291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49292 Export.
83fe108b 49293
bb242059
UD
492942011-03-22 Ulrich Drepper <drepper@gmail.com>
49295
49296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49297 round counter.
49298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49299
c97a1282
L
493002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49301
49302 [BZ #12597]
49303 * string/test-strncmp.c (do_page_test): New function.
49304 (check2): Likewise.
49305 (test_main): Call check2.
49306 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49307
2a115601
UD
493082011-03-20 Ulrich Drepper <drepper@gmail.com>
49309
49310 [BZ #12587]
49311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49312 Handle cache information in CPU leaf 4.
49313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49314
8126d904
UD
493152011-03-18 Ulrich Drepper <drepper@gmail.com>
49316
042c49c6 49317 [BZ #12583]
8126d904
UD
49318 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49319 character representation.
49320 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49321
ccfe366e
RA
493222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49323
49324 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49325 END(__isnan) to END(__isnanf) to match function entry point/label
49326 EALIGN(__isnanf,...).
49327
c6e13027
JJ
493282011-03-10 Jakub Jelinek <jakub@redhat.com>
49329
49330 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49331
33f85a3f
UD
493322011-03-10 Ulrich Drepper <drepper@gmail.com>
49333
028478fa
UD
49334 [BZ #12510]
49335 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49336 copy from the symbol referenced in the relocation to initialize the
49337 used variable.
49338 Patch by Piotr Bury <pbury@goahead.com>.
49339 * elf/Makefile: Add rules to build and tst-unique3.
49340 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49341 * elf/tst-unique3.cc: New file.
49342 * elf/tst-unique3.h: New file.
49343 * elf/tst-unique3lib.cc: New file.
49344 * elf/tst-unique3lib2.cc: New file.
49345
33f85a3f
UD
49346 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49347
03592fc7
MF
493482011-03-10 Mike Frysinger <vapier@gentoo.org>
49349
49350 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49351 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49352 to _start.
03592fc7 49353
6a5ee102
UD
493542011-03-06 Ulrich Drepper <drepper@gmail.com>
49355
49356 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49357 to-be-loaded object along a path to loader is ld.so.
49358
7e4ba49c
HJ
493592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49360 Ulrich Drepper <drepper@gmail.com>
49361
49362 * sysdeps/x86_64/memset.S: After aligning destination, code
49363 branches to different locations depending on the value of
49364 misalignment, when multiarch is enabled. Fix this.
49365
493662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49367
49368 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49369 Set _x86_64_preferred_memory_instruction for AMD processsors.
49370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49371 Set bit_Prefer_SSE_for_memop for AMD processors.
49372
13a804de
UD
493732011-03-04 Ulrich Drepper <drepper@gmail.com>
49374
49375 * libio/fmemopen.c (fmemopen): Optimize a bit.
49376
9d25c392
AS
493772011-03-03 Andreas Schwab <schwab@redhat.com>
49378
49379 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49380
a5543c6a
RM
493812011-03-03 Roland McGrath <roland@redhat.com>
49382
49383 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49384
012d35f7
DM
493852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49386
7e4ba49c 49387 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49388 __bzero_ultra1 instead of __memset_ultra1.
49389
4bff6e01
AS
493902011-02-23 Andreas Schwab <schwab@redhat.com>
49391 Ulrich Drepper <drepper@gmail.com>
49392
49393 [BZ #12509]
49394 * include/link.h (struct link_map): Add l_orig_initfini.
49395 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49396 returning unsuccessfully.
49397 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49398 close of a file loaded at startup, restore the original l_initfini
49399 list.
49400 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49401 list, store the pointer.
49402 * elf/Makefile ($(objpfx)noload-mem): New rule.
49403 (noload-ENV): Define.
49404 (tests): Add $(objpfx)noload-mem.
49405 * elf/noload.c: Include <memcheck.h>.
49406 (main): Call mtrace. Close all opened handles.
49407
f2092faf
AS
494082011-02-17 Andreas Schwab <schwab@redhat.com>
49409
49410 [BZ #12454]
49411 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49412 dependencies are missing.
49413
6c8a2e88
ST
494142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49415
f2092faf 49416 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49417 Hurd needs munmap.
49418 * sysdeps/mach/hurd/ifreq.h: New file.
49419
84a42118
PB
494202011-01-27 Petr Baudis <pasky@suse.cz>
49421 Ulrich Drepper <drepper@gmail.com>
49422
071f805e 49423 [BZ 12445]#
84a42118
PB
49424 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49425 to extend_alloca().
49426 * stdio-common/bug23.c: New file.
49427 * stdio-common/Makefile (tests): Add bug23.
49428
e23fe25b
AS
494292010-09-28 Andreas Schwab <schwab@redhat.com>
49430 Ulrich Drepper <drepper@gmail.com>
49431
49432 [BZ #12489]
49433 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49434 before performing relro protection. At old place add assertion
49435 to make sure nothing changed.
49436
d3f02e10
NS
494372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49438 Glauber de Oliveira Costa <glommer@gmail.com>
49439
49440 * elf/elf.h: Add new ARM TLS relocs.
49441
d55fd7a5
RA
494422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49443
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49445 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49446 cast from r3.
49447 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49448 'tests' variable.
49449 * sysdeps/wordsize-64/tst-writev.c: New file.
49450
2206397e
RA
494512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49452
49453 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49454 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49455 insns in _dl_start to prevent a TOC reference before relocs are
49456 resolved.
49457
e9433893
UD
494582011-02-15 Ulrich Drepper <drepper@gmail.com>
49459
49460 [BZ #12469]
49461 * Makeconfig: Remove RANLIB definition.
49462 * Makerules: Don't use RANLIB.
49463 * aclocal.m4: Remove ranlib test.
49464 * configure.in: No need to check for ranlib.
49465 * elf/rtld-Rules: Don't use RANLIB.
49466
f75286c6
ST
494672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49468
8e31c82d
ST
49469 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49470 protection macro.
49471 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49472 inclusion protection macro.
49473
f75286c6
ST
49474 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49475 SIGRTMIN and SIGRTMAX and print information in that case only when
49476 SIGRTMIN is defined.
49477
c1d0e639
JJ
494782011-02-11 Jakub Jelinek <jakub@redhat.com>
49479
49480 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49481 arginfo fn returning -1.
49482
49483 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49484 and thousands string is zero terminated.
49485
edf9294e
AS
494862011-02-03 Andreas Schwab <schwab@redhat.com>
49487
49488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49489 sysdeps/unix/sysv/linux/bits/socket.h.
49490
2b7e92df
ST
494912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49492
edf9294e
AS
49493 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49494 (__CPU_COUNT): Remove old macros.
49495 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49496 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49497 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49498 (__sched_cpualloc, __sched_cpufree): Add declarations.
49499
a4c7ea7b
UD
495002011-02-05 Ulrich Drepper <drepper@gmail.com>
49501
49502 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49503 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49504 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49505 (readdhstai): Return value of addhstaiX call.
49506 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49507 (addgrbyX): Return value returned by cache_addgr.
49508 (readdgrbyname): Return value returned by addgrbyX.
49509 (readdgrbygid): Likewise.
49510 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49511 (addpwbyX): Return value returned by cache_addpw.
49512 (readdpwbyname): Return value returned by addhstbyX.
49513 (readdpwbyuid): Likewise.
49514 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49515 (addservbyX): Return value returned by cache_addserv.
49516 (readdservbyname): Return value returned by addservbyX:
49517 (readdservbyport): Likewise.
49518 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49519 (addhstbyX): Return value returned by cache_addhst.
49520 (readdhstbyname): Return value returned by addhstbyX.
49521 (readdhstbyaddr): Likewise.
49522 (readdhstbynamev6): Likewise.
49523 (readdhstbyaddrv6): Likewise.
49524 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49525 (readdinitgroups): Return value returned by addinitgroupsX.
49526 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49527 (prune_cache): Keep track of timeout value of re-added entries.
49528 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49529 * nscd/nscd.h: Adjust prototypes of readd* functions.
49530
a0bf67cc
RM
495312011-02-04 Roland McGrath <roland@redhat.com>
49532
49533 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49534 (nis_stats): Likewise.
49535 * nis/nis_modify.c (nis_modify): Likewise.
49536 * nis/nis_remove.c (nis_remove): Likewise.
49537 * nis/nis_add.c (nis_add): Likewise.
49538
49539 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49540
49541 * posix/fnmatch_loop.c: Add some consts.
49542
49543 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49544
435b95eb
L
495452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49546
49547 [BZ #12460]
49548 * config.make.in (config-cflags-novzeroupper): Define.
49549 * configure.in: Substitute libc_cv_cc_novzeroupper.
49550 * elf/Makefile (AVX-CFLAGS): Define.
49551 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49552 (CFLAGS-tst-auditmod4a.c): Likewise.
49553 (CFLAGS-tst-auditmod4b.c): Likewise.
49554 (CFLAGS-tst-auditmod6b.c): Likewise.
49555 (CFLAGS-tst-auditmod6c.c): Likewise.
49556 (CFLAGS-tst-auditmod7b.c): Likewise.
49557 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49558
8517b15e
UD
495592011-02-02 Ulrich Drepper <drepper@gmail.com>
49560
49561 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49562 function to the callback.
49563 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49564
10a656fe
AS
495652011-02-02 Andreas Schwab <schwab@redhat.com>
49566
49567 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49568 of errno.
49569
968dad0a
UD
495702011-01-19 Ulrich Drepper <drepper@gmail.com>
49571
9f94d2ea 49572 [BZ #11724]
968dad0a
UD
49573 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49574 of constructors.
49575 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49576 of destructors.
49577 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49578
49579 [BZ #11724]
49580 * elf/Makefile: Add rules to build and run new test.
49581 * elf/tst-initorder.c: New file.
49582 * elf/tst-initorder.exp: New file.
49583 * elf/tst-initordera1.c: New file.
49584 * elf/tst-initordera2.c: New file.
49585 * elf/tst-initordera3.c: New file.
49586 * elf/tst-initordera4.c: New file.
49587 * elf/tst-initorderb1.c: New file.
49588 * elf/tst-initorderb2.c: New file.
49589 * elf/tst-order-a1.c: New file.
49590 * elf/tst-order-a2.c: New file.
49591 * elf/tst-order-a3.c: New file.
49592 * elf/tst-order-a4.c: New file.
49593 * elf/tst-order-b1.c: New file.
49594 * elf/tst-order-b2.c: New file.
49595 * elf/tst-order-main.c: New file.
49596 New test case by George Gensure <werkt0@gmail.com>.
49597
86e92359
UD
495982010-10-01 Andreas Schwab <schwab@redhat.com>
49599
49600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49601 decoding ACE if AI_CANONIDN.
49602
5d5732b0
UD
496032011-01-18 Ulrich Drepper <drepper@gmail.com>
49604
49605 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49606
a77e8cbc
UD
496072011-01-17 Ulrich Drepper <drepper@gmail.com>
49608
6392473f
UD
49609 * version.h (RELEASE): Bump for 2.13 release.
49610 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49611
620a0529
UD
49612 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49613
18ba70a5
UD
49614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49615 MADV_NOHUGEPAGE.
32465c3e
UD
49616 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49618 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49622
c0dafcf1
UD
49623 * posix/getconf.c: Update copyright year.
49624 * catgets/gencat.c: Likewise.
49625 * csu/version.c: Likewise.
49626 * debug/catchsegv.sh: Likewise.
49627 * debug/xtrace.sh: Likewise.
49628 * elf/ldconfig.c: Likewise.
49629 * elf/ldd.bash.in: Likewise.
49630 * elf/sprof.c (print_version): Likewise.
49631 * iconv/iconv_prog.c: Likewise.
49632 * iconv/iconvconfig.c: Likewise.
49633 * locale/programs/locale.c: Likewise.
49634 * locale/programs/localedef.c: Likewise.
49635 * malloc/memusage.sh: Likewise.
49636 * malloc/mtrace.pl: Likewise.
49637 * nscd/nscd.c (print_version): Likewise.
49638 * nss/getent.c: Likewise.
49639
a77e8cbc
UD
49640 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49641 PF_CAIF, and PF_ALG.
49642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49643
77e8bddf
AS
496442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49645
1f20b93a
AS
49646 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49647 (modules-names): Use them.
49648 (ifunc-test-modules, ifunc-pie-tests): Define.
49649 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49650 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49651 (test-extras): Likewise.
49652 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49653 $(compile-command.c).
49654 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49655 (all-built-dso): Define.
49656 (check-textrel.out, check-execstack.out): Depend on it.
49657
77e8bddf
AS
49658 * configure.in: Don't override --enable-multi-arch.
49659
bc425b33
UD
496602011-01-15 Ulrich Drepper <drepper@gmail.com>
49661
49662 [BZ #6812]
49663 * nscd/hstcache.c (tryagain): Define.
49664 (cache_addhst): Return tryagain not notfound for temporary errors.
49665 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49666 failed.
49667
794c3ad3
UD
496682011-01-14 Ulrich Drepper <drepper@gmail.com>
49669
70181fdd
UD
49670 [BZ #10563]
49671 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49672 to make the syscall.
49673 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49674
794c3ad3
UD
49675 [BZ #12378]
49676 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49677 and fall back to matching as normal character if the string ends before
49678 the matching ']' is found. This is what POSIX requires.
49679 * posix/testfnm.c: Adjust test result.
49680 * posix/globtest.sh: Adjust test result. Add new test.
49681 * posix/tst-fnmatch.input: Likewise.
49682 * posix/tst-fnmatch2.c: Add new test.
49683
68dc9497
AS
496842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49685
49686 * elf/Makefile (check-execstack): Revert last change. Depend on
49687 check-execstack.h.
49688 (check-execstack.h): New target.
49689 (generated): Add check-execstack.h.
49690 * elf/check-execstack.c: Include "check-execstack.h".
49691 (main): Revert last change.
49692 (handle_file): Return zero if GNU_STACK is absent and
49693 DEFAULT_STACK_PERMS doesn't include PF_X.
49694
451f001b
UD
496952011-01-13 Ulrich Drepper <drepper@gmail.com>
49696
cfa28e56
UD
49697 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49698 in child fails because the descriptor is already closed.
8cf8ce17
UD
49699 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49700 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49701 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49702
1086d70d
UD
49703 [BZ #12397]
49704 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49705 syscall.
49706
451f001b
UD
49707 [BZ #10484]
49708 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49709 temporary buffer used to handle multi lookups locally.
a85b5cb4 49710 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49711
08769175
UD
497122011-01-12 Ulrich Drepper <drepper@gmail.com>
49713
49714 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49715 loader is ld.so.
49716
5e49c52e
UD
497172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49718
49719 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49720 alignment for SSE2.
49721
60522a5f
UD
497222011-01-12 Ulrich Drepper <drepper@gmail.com>
49723
49724 [BZ #12394]
49725 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49726 characters. When rounding increased number of integer digits recompute
49727 number of groups.
49728 * stdio-common/tst-grouping.c: New file.
49729 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49730
f257bbd7
UD
497312011-01-09 Ulrich Drepper <drepper@gmail.com>
49732
49733 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49734 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49735
49736 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49737 void.
49738 * bits/select.h: Likewise.
49739
fa9c15cb
UD
497402011-01-08 Ulrich Drepper <drepper@gmail.com>
49741
49742 * po/ja.po: Update from translation team.
49743
16c2895f
DM
497442011-01-04 David S. Miller <davem@sunset.davemloft.net>
49745
49746 [BZ #11155]
49747 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49748 implementation just like for lxstat, fxstatat, et al.
49749
2543fef2
JM
497502010-12-27 Jim Meyering <meyering@redhat.com>
49751
49752 [BZ #12348]
49753 * posix/regexec.c (build_trtable): Return failure indication upon
49754 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49755
98727dbe
UD
497562010-12-25 Ulrich Drepper <drepper@gmail.com>
49757
5bd6dc5c
UD
49758 [BZ #12201]
49759 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49760 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49763
97983464
UD
49764 [BZ #12207]
49765 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49766
98727dbe
UD
49767 [BZ #12204]
49768 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49769 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49770
4a531bb0
L
497712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49772
49773 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49774 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49775 script has SORT_BY_INIT_PRIORITY.
49776 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49777 NO_CTORS_DTORS_SECTIONS is defined.
49778 * elf/soinit.c: Likewise.
49779 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49780 NO_CTORS_DTORS_SECTIONS is defined.
49781 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49782 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49783 * sysdeps/sh/init-first.c: Likewise.
49784 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49785
07eb4b71
UD
497862010-12-24 Ulrich Drepper <drepper@gmail.com>
49787
49788 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49789 always use the slow path.
49790
30950a5f
RA
497912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49792
49793 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49794 similar rule which adds the sysdep directories to the header search in
49795 order to pick up the correct platform stackinfo.h.
49796 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49797 perform test if it is, otherwise return successfully without testing.
49798 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49799 DEFAULT_STACK_PERMS define in stackinfo.h.
49800 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49801 defined in stackinfo.h.
49802 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49803 DEFAULT_STACK_PERMS defined in stackinfo.h.
49804 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49805 * sysdeps/ia64/stackinfo.h: Likewise.
49806 * sysdeps/s390/stackinfo.h: Likewise.
49807 * sysdeps/sh/stackinfo.h: Likewise.
49808 * sysdeps/sparc/stackinfo.h: Likewise.
49809 * sysdeps/x86_64/stackinfo.h: Likewise.
49810 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49811 PF_X for powerpc64. Retain PF_X for powerpc32.
49812
db753e2c
UD
498132010-12-19 Ulrich Drepper <drepper@gmail.com>
49814
14b697f7
UD
49815 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49816 accurately.
db753e2c
UD
49817 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49818 GETDENTS_64BIT_ALIGNED.
49819
28300719
UD
498202010-12-14 Ulrich Drepper <dreper@gmail.com>
49821
14b697f7 49822 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49823
4f197237
AS
498242010-12-10 Andreas Schwab <schwab@redhat.com>
49825
dbb0472f
AS
49826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49827 _GNU_SOURCE.
49828
4f197237
AS
49829 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49830 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49831 Remove __restrict.
49832 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49833 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49834
fb88ac72
UD
498352010-12-09 Ulrich Drepper <drepper@gmail.com>
49836
49837 [BZ #11655]
49838 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49839 are initialized.
49840
42acbb92
JJ
498412010-12-09 Jakub Jelinek <jakub@redhat.com>
49842
49843 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49844
c038d98d
UD
498452010-12-03 Ulrich Drepper <drepper@gmail.com>
49846
49847 * po/it.po: Update from translation team.
49848
3a4a2499
L
498492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49850
49851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49852 unused codes.
49853
1e24cf6e
UD
498542010-11-30 Ulrich Drepper <drepper@gmail.com>
49855
49856 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49857
a7690819
AS
498582010-11-24 Andreas Schwab <schwab@redhat.com>
49859
49860 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49861 specially.
49862 (gaih_getanswer_slice): Likewise.
49863
3bf8d1b1
JJ
498642010-10-20 Jakub Jelinek <jakub@redhat.com>
49865
49866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49867
6db52fbb
PB
498682010-05-31 Petr Baudis <pasky@suse.cz>
49869
49870 [BZ #11149]
49871 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49872 silently even in the chroot mode.
49873
eaca7569
UD
498742010-11-22 Ulrich Drepper <drepper@gmail.com>
49875
49876 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49877 last patch a bit. Pretty printing
49878
3056dcdb
UD
498792010-05-31 Petr Baudis <pasky@suse.cz>
49880
49881 [BZ #10085]
49882 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49883 initialization of skip_initgroups_dyn.
49884
cf7c9078
UD
498852010-11-19 Ulrich Drepper <drepper@gmail.com>
49886
49887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49889
a1fb5e3e
UD
498902010-11-16 Ulrich Drepper <drepper@gmail.com>
49891
49892 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49893
3540d66b
AS
498942010-11-11 Andreas Schwab <schwab@redhat.com>
49895
49896 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49897 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49898 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49899 ($(objpfx)tst-fnmatch-mem): New rule.
49900 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49901 * posix/tst-fnmatch.c (main): Call mtrace.
49902
13b69574
L
499032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49904
49905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49906 Support Intel processor model 6 and model 0x2c.
49907
da93d214
LM
499082010-11-10 Luis Machado <luisgpm@br.ibm.com>
49909
49910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49911 signed comparison.
49912
8ca52c6e
L
499132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49914
49915 [BZ #12205]
49916 * string/test-strncasecmp.c (check_result): New function.
49917 (do_one_test): Use it.
49918 (check1): New function.
49919 (test_main): Use it.
49920 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49921 Support strcasecmp and strncasecmp.
49922
69da074d
UD
499232010-11-08 Ulrich Drepper <drepper@gmail.com>
49924
49925 [BZ #12194]
49926 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49928
ff02d528
L
499292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49930
49931 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49932 IFUNC support.
49933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49934 memset-x86-64.
49935 * sysdeps/x86_64/multiarch/bzero.S: New file.
49936 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49937 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49938 * sysdeps/x86_64/multiarch/memset.S: New file.
49939 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49941 Set bit_Prefer_SSE_for_memop for Intel processors.
49942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49943 Define.
49944 (index_Prefer_SSE_for_memop): Define.
49945 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49946
344d0b54
LM
499472010-11-04 Luis Machado <luisgpm@br.ibm.com>
49948
49949 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49950 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49951
c0dde15b
UD
499522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49953
49954 [BZ #12191]
49955 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49956 (__x86_64_raw_data_cache_size_half): Likewise.
49957 (__x86_64_raw_shared_cache_size): Likewise.
49958 (__x86_64_raw_shared_cache_size_half): Likewise.
49959
49960 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49961 (__x86_64_raw_data_cache_size_half): Likewise.
49962 (__x86_64_raw_shared_cache_size): Likewise.
49963 (__x86_64_raw_shared_cache_size_half): Likewise.
49964 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49965 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49966 and __x86_64_raw_shared_cache_size_half. Round
49967 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49968 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49969 to multiple of 256 bytes.
49970
0e516e0e
MS
499712010-11-03 Ulrich Drepper <drepper@gmail.com>
49972
49973 [BZ #12167]
49974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49975 of inacessible symlinks. Verify result of symlink before returning it.
49976 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49977 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49978
0e012e87
ER
499792010-10-28 Erich Ritz <erichritz@gmail.com>
49980
49981 * math/math.h (isinf): Fix typo in comment.
49982
de0ff7bc
UD
499832010-11-01 Ulrich Drepper <drepper@gmail.com>
49984
49985 * po/da.po: Update from translation team.
49986
fa41c84d
UD
499872010-10-26 Ulrich Drepper <drepper@gmail.com>
49988
49989 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49990 is added to the list.
49991
f0967738
AK
499922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49993 Ulrich Drepper <drepper@gmail.com>
49994
49995 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49996 the global list here. Move code to...
49997 (_dl_add_to_namespace_list): ...here. New function.
49998 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49999 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50000 * elf/dl-load.c (lose): Don't remove the element from the list.
50001 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50002 (_dl_map_object): Likewise.
50003
500042010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50005
50006 [BZ #12159]
50007 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50008 into all bytes of SSE register.
50009 Patch by Richard Li <richardpku@gmail.com>.
50010
f0967738 500112010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50012
50013 [BZ #12140]
50014 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50015 perturbing.
50016
d0b9e94f
MB
500172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50018
50019 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50020 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50024 submachine.
50025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50026
8e9f92e9
AS
500272010-10-22 Andreas Schwab <schwab@redhat.com>
50028
50029 * include/dlfcn.h (__RTLD_SECURE): Define.
50030 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50031 mode & __RTLD_SECURE instead.
50032 (open_path): Rename preloaded parameter to secure.
50033 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50034 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50035 * elf/dl-deps.c (openaux): Likewise.
50036 * elf/rtld.c (struct map_args): Remove is_preloaded.
50037 (map_doit): Don't use it.
50038 (dl_main): Likewise.
50039 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50040 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50041
bc96fbda
AS
500422010-09-09 Andreas Schwab <schwab@redhat.com>
50043
50044 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50045 (sysd-rules-targets): Remove duplicates.
50046 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50047 rtld-%.$o dependency.
50048
22cd1c9b
AS
500492010-10-18 Andreas Schwab <schwab@redhat.com>
50050
50051 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50052 _dl_map_object do it.
50053
18edac48
UD
500542010-10-19 Ulrich Drepper <drepper@gmail.com>
50055
50056 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50057 fast fma builtins, define the macros in the C99 standard.
50058 (FP_FAST_FMAF): Likewise.
50059 (FP_FAST_FMAL): Likewise.
50060 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50061
50062 * bits/mathdef.h: Update copyright year.
50063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50064
d2050124
MM
500652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50066
50067 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50068 builtins, define the macros in the C99 standard.
50069 (FP_FAST_FMAF): Likewise.
50070 (FP_FAST_FMAL): Likewise.
50071 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50072 multiply/add.
50073 (FP_FAST_FMAF): Likewise.
50074
475facd1
JJ
500752010-10-15 Jakub Jelinek <jakub@redhat.com>
50076
50077 [BZ #3268]
50078 * math/libm-test.inc (fma_test): Some new testcases.
50079 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50080 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50081 y and infinite z. Do multiplication by C already in long double.
50082 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50084 y and infinite z. Do bitwise or of inexact bit into u.d.
50085 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50086 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50087 * sysdeps/i386/fpu/s_fma.S: Removed.
50088 * sysdeps/i386/fpu/s_fmal.S: Removed.
50089
7c08a05c
JJ
500902010-10-16 Jakub Jelinek <jakub@redhat.com>
50091
50092 [BZ #3268]
50093 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50095 computation is not scheduled after fetestexcept. Fix value
50096 of minimum denormal long double.
50097
f3f7372d
JJ
500982010-10-14 Jakub Jelinek <jakub@redhat.com>
50099
50100 [BZ #3268]
50101 * math/libm-test.inc (fma_test): Add some more tests.
50102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50103 correctly.
50104
14d43591
AS
501052010-10-15 Andreas Schwab <schwab@redhat.com>
50106
50107 * scripts/data/localplt-s390-linux-gnu.data: New file.
50108 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50109
5e908464
JJ
501102010-10-13 Jakub Jelinek <jakub@redhat.com>
50111
50112 [BZ #3268]
50113 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50114 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50115 instead of dbl-64.
50116 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50117 inlines.
50118 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50120 if one of x and y is very large and the other is subnormal.
50121 * sysdeps/s390/fpu/s_fmaf.c: New file.
50122 * sysdeps/s390/fpu/s_fma.c: New file.
50123 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50124 * sysdeps/powerpc/fpu/s_fma.S: New file.
50125 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50126 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50127 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50128
501292010-10-12 Jakub Jelinek <jakub@redhat.com>
50130
50131 [BZ #3268]
50132 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50133 fma tests.
50134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50135 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50136 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50137 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50138 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50139 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50140 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50141
b833d51f
UD
501422010-10-12 Ulrich Drepper <drepper@redhat.com>
50143
50144 [BZ #12078]
50145 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50146 * posix/bug-regex31.input: Add test case.
50147
1751705d
UD
501482010-10-11 Ulrich Drepper <drepper@gmail.com>
50149
e9b9cbf5
UD
50150 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50151 * posix/bug-regex31.input: New file.
50152
50153 [BZ #12078]
50154 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50155 (parse_sub_exp): Fix last change, use postorder.
50156
ef06edbe
UD
50157 * posix/bug-regex31.c: New file.
50158 * posix/Makefile: Add rules to build and run bug-regex31.
50159
a129c80d
UD
50160 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50161
50162 [BZ #12078]
50163 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50164
b76b818e
UD
50165 [BZ #12108]
50166 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50167 to have entries in sys_siglist.
50168
1751705d
UD
50169 [BZ #12093]
50170 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50171 be NULL.
50172
9ff8d36f
JJ
501732010-10-07 Jakub Jelinek <jakub@redhat.com>
50174
50175 [BZ #3268]
50176 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50177 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50178 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50179 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50181 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50182 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50183 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50184 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50185 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50186 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50187 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50188 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50189 * math/ftestexcept.c (fetestexcept): Likewise.
50190 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50191 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50192 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50193 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50194 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50195 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50197
af325969
UD
501982010-10-11 Ulrich Drepper <drepper@gmail.com>
50199
c579b202 50200 [BZ #12107]
af325969
UD
50201 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50202 newline.
50203
67a67b95
UD
502042010-10-06 Ulrich Drepper <drepper@gmail.com>
50205
50206 * string/bug-strstr1.c: New file.
50207 * string/Makefile: Add rules to build and run bug-strstr1.
50208
5fb308bc
EB
502092010-10-05 Eric Blake <eblake@redhat.com>
50210
50211 [BZ #12092]
50212 * string/str-two-way.h (two_way_long_needle): Always clear memory
50213 when skipping input due to the shift table.
50214
45db99c7
UD
502152010-10-03 Ulrich Drepper <drepper@gmail.com>
50216
3b111893
UD
50217 [BZ #12005]
50218 * malloc/mcheck.c: Handle large requests.
50219
45db99c7
UD
50220 [BZ #12077]
50221 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50222 for strncmp and strncasecmp.
50223 * string/stratcliff.c: Add tests for strcmp and strncmp.
50224 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50225
cf7a1eb8
NI
502262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50227
50228 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50229 __set_fpscr.
50230
6484ba5e
AJ
502312010-09-30 Andreas Jaeger <aj@suse.de>
50232
50233 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50234 (CGROUP_SUPER_MAGIC): Define.
50235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50236 Handle btrfs and cgroup file systems.
50237 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50238 Likewise.
50239
91c42559
LM
502402010-09-27 Luis Machado <luisgpm@br.ibm.com>
50241
50242 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50243 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50244
87a97932
AK
502452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50246
50247 [BZ #12067]
50248 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50249 trying to locate the ELF header.
50250
c21cc9bc
AS
502512010-09-27 Andreas Schwab <schwab@redhat.com>
50252
50253 [BZ #11611]
50254 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50255 Mask out sign-bit copies when constructing f_fsid.
50256
315970f6
PB
502572010-09-24 Petr Baudis <pasky@suse.cz>
50258
50259 * debug/stack_chk_fail_local.c: Add missing licence exception.
50260 * debug/warning-nop.c: Likewise.
50261
1ac7a2c7
JM
502622010-09-15 Joseph Myers <joseph@codesourcery.com>
50263
50264 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50265 implementing getdents64 using getdents syscall, set d_type if
50266 __ASSUME_GETDENTS32_D_TYPE.
50267
56801c50
AS
502682010-09-16 Andreas Schwab <schwab@redhat.com>
50269
50270 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50271 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50272
dda51327
UD
502732010-09-21 Ulrich Drepper <drepper@redhat.com>
50274
50275 [BZ #12037]
50276 * posix/unistd.h: Undo change of feature selection for ftruncate from
50277 2010-01-11.
50278
8ffcee4a
UD
502792010-09-20 Ulrich Drepper <drepper@redhat.com>
50280
a545ecd9 50281 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50282 detection.
50283
e24f0a8b
AS
502842010-09-20 Andreas Schwab <schwab@redhat.com>
50285
50286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50287 fanotify_mark.
50288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50289
7291c56f
AS
502902010-09-14 Andreas Schwab <schwab@redhat.com>
50291
50292 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50293 variables after CHECK_SP call.
50294 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50295
bc5fb037
AS
502962010-09-13 Andreas Schwab <schwab@redhat.com>
50297 Ulrich Drepper <drepper@redhat.com>
50298
50299 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50300 re-relocationg ld.so.
50301 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50302 _dl_init_paths call.
50303 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50304 here anymore.
50305
e66e7419
UD
503062010-09-14 Ulrich Drepper <drepper@redhat.com>
50307
50308 * resolv/res_init.c (__res_vinit): Count the default server we added.
50309
c044aa75
CLT
503102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50311 Ulrich Drepper <drepper@redhat.com>
50312
50313 [BZ #11968]
50314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50315 (____longjmp_chk): Use %ebx for saving value across system call.
50316 Add unwind info.
50317
32cf4069
AS
503182010-09-06 Andreas Schwab <schwab@redhat.com>
50319
50320 * manual/Makefile: Don't mix pattern rules with normal rules.
50321
817328ee
AS
503222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50323
50324 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50325 operation.
50326 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50327 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50328 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50329 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50331 Likewise.
50332
29fddf61
UD
503332010-09-04 Ulrich Drepper <drepper@redhat.com>
50334
50335 [BZ #11979]
50336 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50337 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50338
0959ffc9
UD
503392010-09-02 Ulrich Drepper <drepper@redhat.com>
50340
50341 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50342 * sysdeps/x86_64/addmul_1.S: Likewise.
50343 * sysdeps/x86_64/lshift.S: Likewise.
50344 * sysdeps/x86_64/mul_1.S: Likewise.
50345 * sysdeps/x86_64/rshift.S: Likewise.
50346 * sysdeps/x86_64/sub_n.S: Likewise.
50347 * sysdeps/x86_64/submul_1.S: Likewise.
50348
ece29840
ST
503492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50350
0959ffc9
UD
50351 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50352 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50353 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50354 * bits/sched.h [__need_schedparam]
ece29840 50355 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50356 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50357 (__defined_schedparam): Define to 1.
ece29840
ST
50358 (__sched_param): New structure, identical to sched_param.
50359 (__need_schedparam): Undefine.
50360
e53a31fe
MF
503612010-08-31 Mike Frysinger <vapier@gentoo.org>
50362
fdc0c10d
MF
50363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50364 (epoll_create1): Declare.
50365
e53a31fe
MF
50366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50367
a726d796
AS
503682010-08-31 Andreas Schwab <schwab@redhat.com>
50369
50370 [BZ #7066]
50371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50372 shifting retval into place.
50373
2f3e3dc7
UD
503742010-09-01 Ulrich Drepper <drepper@redhat.com>
50375
f2933da9
UD
50376 * nis/rpcsvc/nis.h: Update copyright notice.
50377 * nis/rpcsvc/nis.x: Likewise.
50378 * nis/rpcsvc/nis_callback.h: Likewise.
50379 * nis/rpcsvc/nis_callback.x: Likewise.
50380 * nis/rpcsvc/nis_object.x: Likewise.
50381 * nis/rpcsvc/nis_tags.h: Likewise.
50382 * nis/rpcsvc/yp.h: Likewise.
50383 * nis/rpcsvc/yp.x: Likewise.
50384 * nis/rpcsvc/ypupd.h: Likewise.
50385 * nis/yp_xdr.c: Likewise.
50386 * nis/ypupdate_xdr.c: Likewise.
50387
2f3e3dc7
UD
50388 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50389 mainly the body of pmap_getport. Add parameters to specify timeouts.
50390 (pmap_getport): Use __libc_rpc_getport.
50391 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50392 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50393 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50394
f3dcc2f9
AS
503952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50396
50397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50398 fanotify_mark.
50399
6d34eb5b
RM
504002010-08-27 Roland McGrath <roland@redhat.com>
50401
50402 * sysdeps/i386/i686/multiarch/Makefile
50403 (CFLAGS-varshift.c): New variable.
50404
9ea3de11
UD
504052010-08-27 Ulrich Drepper <drepper@redhat.com>
50406
c96d23fc
UD
50407 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50408 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50409
9ea3de11
UD
50410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50411
50412 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50413
623aac7f
L
504142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50415
50416 * sysdeps/x86_64/strlen.S: Unroll the loop.
50417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50418 strlen-sse2 strlen-sse2-bsf.
50419 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50420 __strlen_no_bsf if bit_Slow_BSF is set.
50421 (__strlen_sse42): Removed.
50422 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50423 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50424
8b2b7715
RM
504252010-08-25 Roland McGrath <roland@redhat.com>
50426
50427 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50428 * sysdeps/x86_64/multiarch/varshift.c: New file.
50429 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50430 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50431 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50432 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50433
e73015f2
L
504342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50435
50436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50437 strlen-sse2 strlen-sse2-bsf.
50438 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50439 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50440 (__strlen_sse2): Removed.
50441 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50444 bit_Slow_BSF for Atom.
50445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50446 (index_Slow_BSF): Define.
50447 (HAS_SLOW_BSF): Define.
50448
df24a73e
UD
504492010-08-25 Ulrich Drepper <drepper@redhat.com>
50450
50451 [BZ #10851]
50452 * resolv/res_init.c (__res_vinit): When no server address at all
50453 is given default to loopback.
50454
f2ac4868
RM
504552010-08-24 Roland McGrath <roland@redhat.com>
50456
09055553
RM
50457 * configure.in: Remove config-name.h generation.
50458 * configure: Regenerated.
50459 * config-name.in: File removed.
50460 * scripts/config-uname.sh: New file.
50461 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50462 ($(objdir)config-name.h): New target.
50463
f2ac4868
RM
50464 * sunrpc/rpc_parse.h: Avoid nested comment.
50465
73f27d5e
RH
504662010-08-24 Richard Henderson <rth@redhat.com>
50467 Ulrich Drepper <drepper@redhat.com>
50468 H.J. Lu <hongjiu.lu@intel.com>
50469
50470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50472 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50473 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50474 _mm_alignr_epi8 with _mm_loadu_si128.
50475 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50476 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50477 (__m128i_shift_right): Removed.
50478 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50479 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50480 * sysdeps/x86_64/multiarch/varshift.h: New file.
50481 * sysdeps/x86_64/multiarch/varshift.S: New file.
50482
84b9230c
MF
504832010-08-21 Mike Frysinger <vapier@gentoo.org>
50484
50485 * configure.in: Move assembler checks to before sysdep dir checking.
50486
9bbd0ddc
PB
504872010-08-20 Petr Baudis <pasky@suse.cz>
50488
50489 * LICENSES: Sync the sunrpc license.
50490
9da4bb31
UD
504912010-08-19 Ulrich Drepper <drepper@redhat.com>
50492
a7ab6ec8
UD
50493 * sunrpc/auth_des.c: Update copyright notice once again.
50494 * sunrpc/auth_none.c: Likewise.
50495 * sunrpc/auth_unix.c: Likewise.
50496 * sunrpc/authdes_prot.c: Likewise.
50497 * sunrpc/authuxprot.c: Likewise.
50498 * sunrpc/bindrsvprt.c: Likewise.
50499 * sunrpc/clnt_gen.c: Likewise.
50500 * sunrpc/clnt_perr.c: Likewise.
50501 * sunrpc/clnt_raw.c: Likewise.
50502 * sunrpc/clnt_simp.c: Likewise.
50503 * sunrpc/clnt_tcp.c: Likewise.
50504 * sunrpc/clnt_udp.c: Likewise.
50505 * sunrpc/clnt_unix.c: Likewise.
50506 * sunrpc/des_crypt.c: Likewise.
50507 * sunrpc/des_soft.c: Likewise.
50508 * sunrpc/get_myaddr.c: Likewise.
50509 * sunrpc/getrpcport.c: Likewise.
50510 * sunrpc/key_call.c: Likewise.
50511 * sunrpc/key_prot.c: Likewise.
50512 * sunrpc/openchild.c: Likewise.
50513 * sunrpc/pm_getmaps.c: Likewise.
50514 * sunrpc/pm_getport.c: Likewise.
50515 * sunrpc/pmap_clnt.c: Likewise.
50516 * sunrpc/pmap_prot.c: Likewise.
50517 * sunrpc/pmap_prot2.c: Likewise.
50518 * sunrpc/pmap_rmt.c: Likewise.
50519 * sunrpc/rpc/auth.h: Likewise.
50520 * sunrpc/rpc/auth_unix.h: Likewise.
50521 * sunrpc/rpc/clnt.h: Likewise.
50522 * sunrpc/rpc/des_crypt.h: Likewise.
50523 * sunrpc/rpc/key_prot.h: Likewise.
50524 * sunrpc/rpc/netdb.h: Likewise.
50525 * sunrpc/rpc/pmap_clnt.h: Likewise.
50526 * sunrpc/rpc/pmap_prot.h: Likewise.
50527 * sunrpc/rpc/pmap_rmt.h: Likewise.
50528 * sunrpc/rpc/rpc.h: Likewise.
50529 * sunrpc/rpc/rpc_des.h: Likewise.
50530 * sunrpc/rpc/rpc_msg.h: Likewise.
50531 * sunrpc/rpc/svc.h: Likewise.
50532 * sunrpc/rpc/svc_auth.h: Likewise.
50533 * sunrpc/rpc/types.h: Likewise.
50534 * sunrpc/rpc/xdr.h: Likewise.
50535 * sunrpc/rpc_clntout.c: Likewise.
50536 * sunrpc/rpc_cmsg.c: Likewise.
50537 * sunrpc/rpc_common.c: Likewise.
50538 * sunrpc/rpc_cout.c: Likewise.
50539 * sunrpc/rpc_dtable.c: Likewise.
50540 * sunrpc/rpc_hout.c: Likewise.
50541 * sunrpc/rpc_main.c: Likewise.
50542 * sunrpc/rpc_parse.c: Likewise.
50543 * sunrpc/rpc_parse.h: Likewise.
50544 * sunrpc/rpc_prot.c: Likewise.
50545 * sunrpc/rpc_sample.c: Likewise.
50546 * sunrpc/rpc_scan.c: Likewise.
50547 * sunrpc/rpc_scan.h: Likewise.
50548 * sunrpc/rpc_svcout.c: Likewise.
50549 * sunrpc/rpc_tblout.c: Likewise.
50550 * sunrpc/rpc_util.c: Likewise.
50551 * sunrpc/rpc_util.h: Likewise.
50552 * sunrpc/rpcinfo.c: Likewise.
50553 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50554 * sunrpc/rpcsvc/key_prot.x: Likewise.
50555 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50556 * sunrpc/rpcsvc/mount.x: Likewise.
50557 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50558 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50559 * sunrpc/rpcsvc/rex.x: Likewise.
50560 * sunrpc/rpcsvc/rstat.x: Likewise.
50561 * sunrpc/rpcsvc/rusers.x: Likewise.
50562 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50563 * sunrpc/rpcsvc/spray.x: Likewise.
50564 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50565 * sunrpc/rtime.c: Likewise.
50566 * sunrpc/svc.c: Likewise.
50567 * sunrpc/svc_auth.c: Likewise.
50568 * sunrpc/svc_authux.c: Likewise.
50569 * sunrpc/svc_raw.c: Likewise.
50570 * sunrpc/svc_run.c: Likewise.
50571 * sunrpc/svc_simple.c: Likewise.
50572 * sunrpc/svc_tcp.c: Likewise.
50573 * sunrpc/svc_udp.c: Likewise.
50574 * sunrpc/svc_unix.c: Likewise.
50575 * sunrpc/svcauth_des.c: Likewise.
50576 * sunrpc/xcrypt.c: Likewise.
50577 * sunrpc/xdr.c: Likewise.
50578 * sunrpc/xdr_array.c: Likewise.
50579 * sunrpc/xdr_float.c: Likewise.
50580 * sunrpc/xdr_mem.c: Likewise.
50581 * sunrpc/xdr_rec.c: Likewise.
50582 * sunrpc/xdr_ref.c: Likewise.
50583 * sunrpc/xdr_sizeof.c: Likewise.
50584 * sunrpc/xdr_stdio.c: Likewise.
50585
9da4bb31
UD
50586 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50587 handling.
50588
bdaa77bc
AS
505892010-08-19 Andreas Schwab <schwab@redhat.com>
50590
50591 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50592
fe2f79db
LM
505932010-08-19 Luis Machado <luisgpm@br.ibm.com>
50594
50595 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50596 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50597 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50598 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50599 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50600 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50601 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50602 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50605 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50606 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50607 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50608 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50609
b9b42ee0
AB
506102010-07-26 Anton Blanchard <anton@samba.org>
50611
50612 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50613 * malloc/arena.c (heap_trim): Likewise.
50614
1c06ba31
UD
506152010-08-16 Ulrich Drepper <drepper@redhat.com>
50616
50617 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50618 here. Not...
50619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50620 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50621
f8392f40
L
506222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50623
50624 * sysdeps/i386/elf/Makefile: New file.
50625
3162f12e
AS
506262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50627
50628 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50629 from fanotify_init.
50630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50632
28c90b2c
UD
506332010-08-15 Ulrich Drepper <drepper@redhat.com>
50634
50635 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50636 of strncasecmp_l.
1feccb6c 50637 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50638
ca6bb004
UD
506392010-08-14 Ulrich Drepper <drepper@redhat.com>
50640
e9f82e0d
UD
50641 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50642 strncase_l-nonascii.
50643 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50644 Add strncase_l-ssse3.
50645 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50646 * sysdeps/x86_64/strcmp.S: Likewise.
50647 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50648 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50649 * sysdeps/x86_64/strncase.S: New file.
50650 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50651 * sysdeps/x86_64/strncase_l.S: New file.
50652 * string/Makefile (strop-tests): Add strncasecmp.
50653 * string/test-strncasecmp.c: New file.
50654
50655 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50656 warning.
50657
ca6bb004
UD
50658 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50660
052fa7b3
AS
506612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50662
50663 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50664
962dba78
UD
506652010-08-12 Ulrich Drepper <drepper@redhat.com>
50666
50667 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50668 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50669 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50670
bebff237
AM
506712010-05-01 Alan Modra <amodra@gmail.com>
50672
50673 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50674 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50675 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50676 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50677 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50678 tidying. Don't tail-call __sigjmp_save for static lib.
50679 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50680 save location.
50681 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50682 (CALL_MCOUNT): Add eh info, and nop after bl.
50683 (TAIL_CALL_SYSCALL_ERROR): New macro.
50684 (PSEUDO_RET): Use it.
50685 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50686 Correct save location of integer regs and cr.
50687 (_dl_profile_resolve): Correct cr save location. Delete nops
50688 after bl when SHARED. Reduce cfi size a little by better
50689 placement of cfi directives.
50690 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50691 make a stack frame. Instead use parm save area as a temp.
50692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50693 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50695 Don't make a stack frame for parent, use parm save area.
50696 Increase child stack frame to 112 bytes. Don't save unused reg,
50697 and adjust reg usage. Set up cfi on error recovery and
50698 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50700 (__makecontext): Add dummy nop after jump to exit.
50701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50702 Use correct parm save area and cr save, reduce stack frame.
50703 Correct cfi for possible PSEUDO_RET frame setup.
50704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50705 Branch to local label emitted by PSEUDO_RET rather than
50706 __syscall_error.
50707
02637374
AS
507082010-08-12 Andreas Schwab <schwab@redhat.com>
50709
50710 [BZ #11904]
50711 * locale/programs/locale.c (print_assignment): New function.
50712 (show_locale_vars): Use it.
50713
c3e2f19b
UD
507142010-08-11 Ulrich Drepper <drepper@redhat.com>
50715
3cdaa6ad
UD
50716 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50717 field.
50718 (struct statfs64): Likewise.
50719 (_STATFS_F_FLAGS): Define.
50720 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50722 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50723 (ST_VALID): Define locally.
50724 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50725 __statvfs_getflags, use the provided value.
50726 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50727 __ASSUME_STATFS_F_FLAGS.
50728
754f7da3
UD
50729 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50730
10b3bedc
UD
50731 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50732 Add sys/fanotify.h.
50733 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50734 fanotify_mask for GLIBC_2.13.
50735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50736 fanotify_init and fanotify_mark.
50737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50738 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50739
c08fb0d7
UD
50740 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50741 Add prlimit.
50742 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50743 prlimit64 for GLIBC_2.13.
50744 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50745 prlimit64.
50746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50747 syscall.
50748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50749 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50750 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50751 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50753 add prlimit alias.
50754 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50755
15bac72b
UD
50756 [BZ #11903]
50757 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50758 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50759
c3e2f19b
UD
50760 * nss/Makefile: Add rules to build and run tst-nss-test1.
50761 * shlib-versions: Add entry for libnss_test1.
50762 * nss/nss_test1.c: New file.
50763 * nss/tst-nss-test1.c: New file.
50764
50765 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50766 (__nss_configure_lookup): Set appropriate entry in
50767 __nss_configure_lookup to true.
50768 * nss/nsswitch.h: Define enum with indeces of databases in
50769 databases and __nss_database_custom arrays. Declare
50770 __nss_database_custom.
50771 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50772 to avoid using nscd when custom rules are installed.
50773 * nss/getXXbyYY_r.c: Likewise.
50774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50775
50776 * nss/nss_files/files-parse.c: Whitespace fixes.
50777
f15ce4d8
UD
507782010-08-09 Ulrich Drepper <drepper@redhat.com>
50779
50780 [BZ #11883]
50781 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50782 * posix/fnmatch_loop.c: Likewise.
50783
d22e4cc9
AK
507842010-07-17 Andi Kleen <ak@linux.intel.com>
50785
50786 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50787 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50788 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50789 * Versions.def [GLIBC_2.13]: Add.
50790
805bc17d
UD
507912010-08-06 Ulrich Drepper <drepper@redhat.com>
50792
50793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50794 Also fail if tpwd after pwuid call is NULL.
50795
5a42321d
ST
507962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50797
50798 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50799 when converting to ms.
50800
fd3ebeda
ST
508012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50802
50803 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50804 EOPNOTSUPP errors with ENOTTY.
50805 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50806 EOPNOTSUPP errors with ENOTTY.
50807
73507d3a
UD
508082010-07-31 Ulrich Drepper <drepper@redhat.com>
50809
50810 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50811 Add strcasecmp_l-ssse3.
50812 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50813 strcasecmp.
50814 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50815 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50816 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50817
fe36dd02
UD
508182010-07-30 Ulrich Drepper <drepper@redhat.com>
50819
66f6765a
UD
50820 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50821
42e08a54
UD
50822 * string/Makefile (strop-tests): Add strcasecmp.
50823 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50824 strcasecmp_l-nonascii.
50825 (gen-as-const-headers): Add locale-defines.sym.
50826 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50827 * sysdeps/x86_64/strcasecmp.S: New file.
50828 * sysdeps/x86_64/strcasecmp_l.S: New file.
50829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50830 * sysdeps/x86_64/locale-defines.sym: New file.
50831 * string/test-strcasecmp.c: New file.
50832
fe36dd02
UD
50833 * string/test-strcasestr.c: Test both ends of the range of characters.
50834 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50835
48cbc0d6
RM
508362010-07-29 Roland McGrath <roland@redhat.com>
50837
76e6d6bc 50838 [BZ #11856]
48cbc0d6
RM
50839 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50840
880113d9
UD
508412010-07-27 Ulrich Drepper <drepper@redhat.com>
50842
50843 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50844 for ld.so.
50845
deb9cabb
AS
508462010-07-27 Andreas Schwab <schwab@redhat.com>
50847
50848 * manual/memory.texi (Malloc Tunable Parameters): Document
50849 M_PERTURB.
50850
1c7570ff
RM
508512010-07-26 Roland McGrath <roland@redhat.com>
50852
50853 [BZ #11840]
50854 * configure.in (-fgnu89-inline check): Set and substitute
50855 gnu89_inline, not libc_cv_gnu89_inline.
50856 * configure: Regenerated.
50857 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50858
24fb0f88
UD
508592010-07-26 Ulrich Drepper <drepper@redhat.com>
50860
50861 * string/test-strnlen.c: New file.
50862 * string/Makefile (strop-tests): Add strnlen.
50863 * string/tester.c (test_strnlen): Add a few more test cases.
50864 * string/tst-strlen.c: Better error reporting.
50865
50866 * sysdeps/x86_64/strnlen.S: New file.
50867
8e96b93a
UD
508682010-07-24 Ulrich Drepper <drepper@redhat.com>
50869
50870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50871 lower-latency instructions.
50872
dbc676d4
UD
508732010-07-23 Ulrich Drepper <drepper@redhat.com>
50874
50875 * string/test-strcasestr.c: New file.
50876 * string/test-strstr.c: New file.
50877 * string/Makefile (strop-tests): Add strstr and strcasestr.
50878 * string/str-two-way.h: Don't undefine MAX.
50879 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50880
f6a31e0e
AS
508812010-07-21 Andreas Schwab <schwab@redhat.com>
50882
50883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50884 strcasestr-nonascii.
50885 (CFLAGS-strcasestr-nonascii.c): Define.
50886 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50888 Remove unused attribute.
50889
5dbc3b6c
RM
508902010-07-20 Roland McGrath <roland@redhat.com>
50891
50892 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50893 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50894 ld.so.cache was broken. With it, there is no way to disable dsocaps
50895 like LD_HWCAP_MASK can disable hwcaps.
50896
23d101d8
EPM
508972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50898
50899 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50900
cc9f2e47
UD
509012010-07-16 Ulrich Drepper <drepper@redhat.com>
50902
50903 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50904 call in strcasestr.
50905 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50906 __strcasestr_sse42_nonascii.
50907 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50908 strcasestr-nonascii.c.
50909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50910
77c1b069
LM
509112010-06-15 Luis Machado <luisgpm@br.ibm.com>
50912
50913 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50917
440566c3
UD
509182010-07-09 Ulrich Drepper <drepper@redhat.com>
50919
50920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50921 fcntl.
50922
5be9d05d
AS
509232010-07-06 Andreas Schwab <schwab@redhat.com>
50924
c30b7ee2 50925 [BZ #11577]
5be9d05d
AS
50926 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50927 dl_signal_cerror.
50928
8a492a67
UD
509292010-07-06 Ulrich Drepper <drepper@redhat.com>
50930
50931 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50932 _PC_PIPE_BUF using F_GETPIPE_SZ.
50933
713df3d5
RM
509342010-07-05 Roland McGrath <roland@redhat.com>
50935
50936 * manual/arith.texi (Rounding Functions): Fix rint description
50937 implicit in round description.
50938
702e8f14
UD
509392010-07-02 Ulrich Drepper <drepper@redhat.com>
50940
50941 * elf/Makefile: Fix linking for a few tests to make recent linker
50942 happy.
50943
52ed8be9
AS
509442010-06-30 Andreas Schwab <schwab@redhat.com>
50945
50946 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50947 $(common-objpfx)libc_nonshared.a.
50948
f47c9a11
LM
509492010-06-21 Luis Machado <luisgpm@br.ibm.com>
50950
50951 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50952 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50953 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50954 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50955 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50957 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50958 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50973 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50974 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50975 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50976 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50977 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50978 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50979 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50980 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50981 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50982 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50983 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50984 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50999
6fb8cbcb
L
510002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51001
51002 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51003 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51004 * string/memmove.c (memmove): Renamed to ...
51005 (MEMMOVE): ...this. Default to memmove.
51006 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51007 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51008 (END_CHK): Define.
51009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51010 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51011 mempcpy-ssse3-back memmove-ssse3-back.
51012 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51015 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51016 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51017 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51018 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51019 * sysdeps/x86_64/multiarch/memmove.c: New file.
51020 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51021 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51022 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51023 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51024 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51025 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51026 Define.
51027 (index_Fast_Copy_Backward): Define.
51028 (HAS_ARCH_FEATURE): Define.
51029 (HAS_FAST_REP_STRING): Define.
51030 (HAS_FAST_COPY_BACKWARD): Define.
51031
4e733bac 510322010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51033
51034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51035 Restore proper fallback handling.
51036
63c4ed22
UD
510372010-06-19 Ulrich Drepper <drepper@redhat.com>
51038
ac2b484c
UD
51039 [BZ #11701]
51040 * posix/group_member.c (__group_member): Correct checking loop.
51041
63c4ed22
UD
51042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51043 OOM in getpwuid_r correctly. Return error number when the caller
51044 should return, otherwise -1.
51045 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51046 call returning > 0 value.
51047 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51048
765ade4b
AS
510492010-06-07 Andreas Schwab <schwab@redhat.com>
51050
51051 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51052 libc_nonshared.a from targets in modules-names.
51053
80da2e09
KS
510542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51055
51056 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51057 requires it.
51058
158db122
LM
510592010-06-10 Luis Machado <luisgpm@br.ibm.com>
51060
51061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51065
caa78cf8
AS
510662010-06-02 Andreas Schwab <schwab@redhat.com>
51067
51068 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51069
b2ef2c01
UD
510702010-06-14 Ulrich Drepper <drepper@redhat.com>
51071
51072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51073 and F_GETPIPE_SZ.
51074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51080
fbd643b6
RM
510812010-06-14 Roland McGrath <roland@redhat.com>
51082
51083 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51084
f32f2869
JJ
510852010-06-07 Jakub Jelinek <jakub@redhat.com>
51086
51087 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51088 __REDIRECT followed by __THROW.
51089 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51090 * posix/getopt.h (getopt): Likewise.
51091
2a50c078
EPM
510922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51093
51094 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51095 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51096 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51097 in AT_FLAGS.
51098 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51099 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51100
eb5ad2eb
LM
511012010-05-28 Luis Machado <luisgpm@br.ibm.com>
51102
51103 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51104
3c88fe1e
L
511052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51106
51107 [BZ #11640]
51108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51109 Properly check family and model.
51110
d2f73151
TY
511112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51112
51113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51114
ebd2e13d
LM
511152010-05-24 Luis Machado <luisgpm@br.ibm.com>
51116
51117 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51118
b32b8b45
UD
511192010-05-21 Ulrich Drepper <drepper@redhat.com>
51120
51121 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51122 symbol reference.
51123
9acbe24d
AS
511242010-05-19 Andreas Schwab <schwab@redhat.com>
51125
51126 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51127 symbol reference.
51128
f0ccf6ea
AS
511292010-05-21 Andreas Schwab <schwab@redhat.com>
51130
3d04ff3a
AS
51131 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51132 and internal_recvmmsg.
51133 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51134 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51136 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51137
f0ccf6ea
AS
51138 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51139 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51140 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51141
5b08ac57
AS
511422010-05-20 Andreas Schwab <schwab@redhat.com>
51143
51144 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51145
4828935d
LM
511462010-05-17 Luis Machado <luisgpm@br.ibm.com>
51147
51148 POWER7 optimizations.
51149 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51150 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51151
373d545e
UD
511522010-05-19 Ulrich Drepper <drepper@redhat.com>
51153
51154 * version.h: Update for 2.13 development version.
51155
21a2b1ae
AS
511562010-05-12 Andrew Stubbs <ams@codesourcery.com>
51157
51158 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51159 exceptions. Return 0.
51160
3f7dcb2b
RM
511612010-05-07 Roland McGrath <roland@redhat.com>
51162
51163 * elf/ldconfig.c (main): Add a const.
51164
5f24d53a 511652010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51166
a160f8d8
UD
51167 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51168 (args_options): Add no-idn option.
51169 (ahosts_keys_int): Add idn_flags to ai_flags.
51170 (parse_option): Handle 'i' option to clear idn_flags.
51171
5f24d53a
UD
51172 * malloc/malloc.c (_int_free): Possible race in the most recently
51173 added check. Only act on the data if no current modification
51174 happened.
265bb1ce
UD
51175
51176See ChangeLog.17 for earlier changes.